From cebc5f3b4a0b3c3973aee6e44a5210a2cf129750 Mon Sep 17 00:00:00 2001 From: kazukazuinaina Date: Mon, 2 Dec 2019 13:51:52 +0900 Subject: [PATCH] update vi_diff.{txt,jax} --- doc/vi_diff.jax | 7 ++++++- en/vi_diff.txt | 7 ++++++- 2 files changed, 12 insertions(+), 2 deletions(-) diff --git a/doc/vi_diff.jax b/doc/vi_diff.jax index 501900810..18b69647c 100644 --- a/doc/vi_diff.jax +++ b/doc/vi_diff.jax @@ -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 @@ -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* diff --git a/en/vi_diff.txt b/en/vi_diff.txt index 82f627434..f762e8af1 100644 --- a/en/vi_diff.txt +++ b/en/vi_diff.txt @@ -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 @@ -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: +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*