Skip to content

update vi_diff.{txt,jax} #740

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Dec 4, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 6 additions & 1 deletion doc/vi_diff.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*vi_diff.txt* For Vim バージョン 8.1. Last change: 2019 Oct 12
*vi_diff.txt* For Vim バージョン 8.1. Last change: 2019 Nov 12


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -1349,6 +1349,11 @@ Vim起動時にオプション 'cpoptions' にPOSIXフラグを含めるには
$VIM_POSIX を設定してください。そうするとVimができるだけPOSIXに従うようになり
ます。これは Vi互換であることとは少し違います。

ViのPOSIX仕様についてはここにあります:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html
および関連するEx仕様:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html

以下はVimがPOSIX仕様に従わない点とその理由です:

*posix-screen-size*
Expand Down
7 changes: 6 additions & 1 deletion en/vi_diff.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*vi_diff.txt* For Vim version 8.1. Last change: 2019 Oct 12
*vi_diff.txt* For Vim version 8.1. Last change: 2019 Nov 12


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -1323,6 +1323,11 @@ Set the $VIM_POSIX environment variable to have 'cpoptions' include the POSIX
flags when Vim starts up. This makes Vim run as POSIX as it can. That's
a bit different from being Vi compatible.

You can find the Posix specification for Vi here:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

原文の前後を見る限り、s/Posix/POSIX/ のtypoかと思われます。typo報告スレに報告お願いします。

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@h-east
わかりました。

https://pubs.opengroup.org/onlinepubs/9699919799/utilities/vi.html
And the related Ex specification:
https://pubs.opengroup.org/onlinepubs/9699919799/utilities/ex.html

This is where Vim does not behave as POSIX specifies and why:

*posix-screen-size*
Expand Down