Skip to content

Commit 229febc

Browse files
authored
Merge pull request #1400 from vim-jp/hh-update-os_vms
Update os_vms.{txt,jax}
2 parents 18e70d2 + 32d62f2 commit 229febc

File tree

2 files changed

+78
-38
lines changed

2 files changed

+78
-38
lines changed

doc/os_vms.jax

Lines changed: 40 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_vms.txt* For Vim バージョン 9.0. Last change: 2022 Nov 25
1+
*os_vms.txt* For Vim バージョン 9.0. Last change: 2023 Dec 09
22

33

44
VIMリファレンスマニュアル
@@ -44,14 +44,16 @@ Vimのソースコードは公式サイトからftpでダウンロードする
4444

4545
コンパイル済みバイナリを利用するには、以下のどれか1つのアーカイブが必要:
4646

47-
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif用実行可能ファイル
48-
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK用実行可能ファイル
49-
vim-XX-exe-ia64-term.zip IA64 console用実行可能ファイル
47+
vim-XX-exe-x86-gui.zip X86_64 GUI/Motif用実行可能ファイル
48+
vim-XX-exe-x86-term.zip X86_64 console用実行可能ファイル
49+
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif用実行可能ファイル
50+
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK用実行可能ファイル
51+
vim-XX-exe-ia64-term.zip IA64 console用実行可能ファイル
5052
vim-XX-exe-axp-gui.zip Alpha GUI/Motif用実行可能ファイル
5153
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK用実行可能ファイル
52-
vim-XX-exe-axp-term.zip Alpha console用実行可能ファイル
54+
vim-XX-exe-axp-term.zip Alpha console用実行可能ファイル
5355
vim-XX-exe-vax-gui.zip VAX GUI用実行可能ファイル
54-
vim-XX-exe-vax-term.zip VAX console用実行可能ファイル
56+
vim-XX-exe-vax-term.zip VAX console用実行可能ファイル
5557

5658
そしてもちろん(これはなくてもよい)
5759
vim-XX-runtime.zip Vim用ランタイムファイル
@@ -71,10 +73,10 @@ GTK 用実行可能ファイルでは Alpha と IA64 プラットフォームで
7173

7274
4. 問題点 *vms-problems*
7375

74-
コードはDEC Cコンパイラを用いて、Alpha, VAX, IA64 プラットフォームのOpen VMS
75-
バージョン 6.2 から 8.2 でテストされた。それらでは大きな問題もなく動作するだろ
76-
う。利用しているシステムにインクルードライブラリの欠けがある場合には、ファイル
77-
OS_VMS_CONF.Hを修正することで対応する
76+
コードはDEC Cコンパイラを用いて、Alpha, VAX, IA64, X86_64 プラットフォームの
77+
Open VMSバージョン 6.2 から 9.2 でテストされた。それらでは大きな問題もなく動作
78+
するだろう。利用しているシステムにインクルードライブラリがない場合は、
79+
OS_VMS_CONF.H ファイルで調整できる
7880

7981
Vimを+perlや+python、その他のオプションを追加して構築するならば、まず始めに
8082
OpenVMS版のPerlやPythonを入手する必要がある。それらのライブラリを構築しインス
@@ -88,8 +90,8 @@ NOTE: VAXではDEC Cコンパイラを使えば問題ない。VAXCコンパイ
8890
ラの解釈できる形へ変換するプログラムを使用しなければならない。詳細は
8991
INSTALLvms.txt を参照。
9092

91-
MMS_VIM.EXEはVIM.EXEと一緒に構築されるが、XXD.EXEは手動でサブディレクトリへ
92-
移動して個別に構築しなければならない
93+
XXD.EXE をビルドするには、サブディレクトリに移動して個別にビルドする必要があ
94+
9395

9496
もはやCTAGSはVimとは独立したソフトウェアになっているが、以下で述べるように
9597
OpenVMS特有のソースコードにはCTAGSのソースコードファイルも含まれている。
@@ -205,6 +207,7 @@ LOGIN.COMの例: >
205207
$ define/nolog VIM DKA0:[UTIL.VIM81]
206208
$ vi*m :== mcr VIM:VIM.EXE
207209
$ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
210+
$ set term/inq/ins ! 端末の機能を問い合わせる
208211
$ set disp/create/node=192.168.10.202/trans=tcpip
209212
210213
NOTE: 独立サーバーやクラスタ環境で使用しているならばこの設定で充分であろう。し
@@ -447,7 +450,12 @@ defaulting to 'vt320'
447450
{訳注: メッセージの翻訳は省略します。実際には翻訳されて表示される可能性があり
448451
ます。}
449452

450-
解決法はデフォルトの端末名を設定することである: >
453+
次のようにして強制的に端末の能力を問い合わせるようにする: >
454+
455+
$ set term/inquire
456+
457+
問い合わせが役に立たなかった場合、解決策はデフォルトの端末名を定義することであ
458+
る: >
451459
452460
$ ! 不明な端末名。代わりにvt320かansiを使用する。
453461
$ ! 注意: この名前は大文字小文字が区別される。
@@ -758,7 +766,19 @@ GNU_TOOLS.ZIP の [GNU]gnu_tools.com スクリプトである。
758766

759767
9. VMS関連の変更点 *vms-changes*
760768

761-
Version 8.2
769+
Version 9.0 (2023 Nov 27)
770+
- Vim は X86_64 アーキテクチャに移植された
771+
- 重要: X86_64 の ex_cmds.h などの構造体で getline 関数名が使用されて
772+
いるため、CRTL_VER は 80500000 レベル未満に保たれる。適切な解決策は、
773+
構造体 (および使用されるすべての場所) 内で getline 関数の名前を別の名
774+
前に変更し、構造体内で POSIX 関数を使用しないようにすることだが、この
775+
変更は他のすべてのオペレーティングシステムに影響を与える。(VMS TODO リ
776+
ストを追加)
777+
詳細については、https://forum.vmssoftware.com/viewtopic.php?f=38&t=8914&p=20049
778+
- os_vms_conf.h のインクルードはすべてのアーキテクチャでレビューされている
779+
- MODIFIED_BY 定義のサポートを追加
780+
781+
Version 8.2 (2020 Feb 6)
762782
- 全プラットフォームの VMS Vim 8.2 クリーンビルドで必要となる全ての変更を実施
763783
- mkdir 呼び出しバグの修正 ([email protected])
764784
- VSI OpenVMS Alpha と Itanium プラットフォーム上のテスト
@@ -767,17 +787,18 @@ Version 8.2
767787
- XPM v3.4.11 ライブラリの IA64、AXP、VAX 版を追加
768788
- 新テストスクリプト統合を開始
769789

770-
Version 8.1
790+
Version 8.1 (2019 Jan 9)
771791
- VMSで v8.1 をビルドするために必要な変更
792+
- GTK1.2.10 on VAX
772793

773-
Version 8.0
794+
Version 8.0 (2016 Nov 21)
774795
- キーストロークを待っている間、CPU使用率 100% の問題を解決
775796
- INFINITY(json.c で使用)の取り扱いに関するVMSの警告とエラーを修正
776797
- 小さなVMSの移植に関連した変更
777798
- make_vms.mms file を 8.0用に修正
778799
- [.TESTDIR]make_vms.mms を 8.0用に修正
779800

780-
Version 7.4
801+
Version 7.4 (2013 Aug 10)
781802
- Undo: VMS はファイル名に複数のドットを使えないので "dir/name" -> "dir/_un_name" とする
782803
先頭に _un_ を追加して拡張子を維持する
783804
- スワップファイル名のワイルドカードの扱いを修正
@@ -794,7 +815,7 @@ Version 7.4
794815
- マイナーなコンパイラ警告の修正
795816
- CTAGS 5.8 +regex 取り込み
796817

797-
バージョン 7.3
818+
Version 7.3 (2010 Aug 15)
798819
- CTAGS 5.8 の取り込み
799820
- VMS コンパイル警告の修正 - VAX の浮動小数点数オーバーフローの警告を直した
800821
- ファイルパス補完の修正 - ファイル名とシェルコマンドにおいて余計な文字がエス
@@ -959,7 +980,7 @@ Version 4.5 (1996 Dec 16)
959980
10. 著者 *vms-authors*
960981

961982
OpenVMSの文章とコンパイル済みバイナリは以下がメンテナンスしている:
962-
Zoltan Arpadffy <arpadffy@polarhome.com>
983+
Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
963984
OpenVMS Vim page: http://www.polarhome.com/vim/
964985

965986
この文章には、初期の著者や貢献者の書いた部分や記述が含まれている:

en/os_vms.txt

Lines changed: 38 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_vms.txt* For Vim version 9.0. Last change: 2022 Nov 25
1+
*os_vms.txt* For Vim version 9.0. Last change: 2023 Dec 09
22

33

44
VIM REFERENCE MANUAL
@@ -44,22 +44,24 @@ You can download precompiled executables from:
4444

4545
To use the precompiled binary version, you need one of these archives:
4646

47-
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
48-
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
49-
vim-XX-exe-ia64-term.zip IA64 console executables
47+
vim-XX-exe-x86-gui.zip X86_64 GUI/Motif executables
48+
vim-XX-exe-x86-term.zip X86_64 console executables
49+
vim-XX-exe-ia64-gui.zip IA64 GUI/Motif executables
50+
vim-XX-exe-ia64-gtk.zip IA64 GUI/GTK executables
51+
vim-XX-exe-ia64-term.zip IA64 console executables
5052
vim-XX-exe-axp-gui.zip Alpha GUI/Motif executables
5153
vim-XX-exe-axp-gtk.zip Alpha GUI/GTK executables
52-
vim-XX-exe-axp-term.zip Alpha console executables
54+
vim-XX-exe-axp-term.zip Alpha console executables
5355
vim-XX-exe-vax-gui.zip VAX GUI executables
54-
vim-XX-exe-vax-term.zip VAX console executables
56+
vim-XX-exe-vax-term.zip VAX console executables
5557

5658
and of course (optional)
5759
vim-XX-runtime.zip runtime files
5860

5961
The binary archives contain: vim.exe, ctags.exe, xxd.exe files.
6062

6163
For GTK executables you will need GTKLIB that is available for
62-
Alpha and IA64 platform.
64+
Alpha and IA64 platforms.
6365

6466
==============================================================================
6567

@@ -71,9 +73,9 @@ See the file [.SRC]INSTALLVMS.TXT.
7173

7274
4. Problems *vms-problems*
7375

74-
The code has been tested under Open VMS 6.2 - 8.2 on Alpha, VAX and IA64
75-
platforms with the DEC C compiler. It should work without major problems.
76-
If your system does not have some include libraries you can tune up in
76+
The code has been tested under Open VMS 6.2 - 9.2 on Alpha, VAX, IA64 and
77+
X86_64 platforms with the DEC C compiler. It should work without major problems.
78+
If your system does not have some include libraries you can tune in the
7779
OS_VMS_CONF.H file.
7880

7981
If you decided to build Vim with +perl, +python, etc. options, first you need
@@ -88,8 +90,7 @@ VAX C compiler is not fully ANSI C compatible in pre-processor directives
8890
semantics, therefore you have to use a converter program that will do the lion
8991
part of the job. For detailed instructions read file INSTALLvms.txt
9092

91-
MMS_VIM.EXE is built together with VIM.EXE, but for XXD.EXE you should
92-
change to a subdirectory and build it separately.
93+
To build XXD.EXE, you should change to the subdirectory and build it separately.
9394

9495
CTAGS is not part of the Vim source distribution anymore, however the OpenVMS
9596
specific source might contain CTAGS source files as described above.
@@ -206,6 +207,7 @@ Example LOGIN.COM: >
206207
$ define/nolog VIM DKA0:[UTIL.VIM81]
207208
$ vi*m :== mcr VIM:VIM.EXE
208209
$ gv*im:== spawn/nowait/input=NLA0 mcr VIM:VIM.EXE -g -GEOMETRY 80x40
210+
$ set term/inq/ins ! inquire the terminal capabilities
209211
$ set disp/create/node=192.168.10.202/trans=tcpip
210212
211213
Note: This set-up should be enough, if you are working on a standalone server or
@@ -443,7 +445,12 @@ Terminal entry not found in termcap
443445
builtin_dumb
444446
defaulting to 'vt320'
445447
---
446-
The solution is to define the default terminal name: >
448+
449+
Try to force to inquire the terminal capabilities with: >
450+
451+
$ set term/inquire
452+
453+
If the inquire did not help, the solutions is to define the default terminal name: >
447454
448455
$ ! unknown terminal name. Let us use vt320 or ansi instead.
449456
$ ! Note: it's case sensitive
@@ -758,7 +765,18 @@ GNU_TOOLS.ZIP package downloadable from http://www.polarhome.com/vim/
758765

759766
9. VMS related changes *vms-changes*
760767

761-
Version 8.2
768+
Version 9.0 (2023 Nov 27)
769+
- Vim is ported to the X86_64 architecture
770+
- IMPORTANT: because of the getline function name used in structs like in ex_cmds.h
771+
on X86_64 the CRTL_VER is kept under 80500000 level. The proper solution would be
772+
to rename the getline function to something else in the struct (and in all places
773+
it is used) - and avoiding to use POSIX functions in structs, but this change would
774+
impact on all other operating systems. (added the the VMS TODO list)
775+
Read more about at https://forum.vmssoftware.com/viewtopic.php?f=38&t=8914&p=20049
776+
- os_vms_conf.h includes have been reviewed for all architectures
777+
- added support for the MODIFIED_BY define
778+
779+
Version 8.2 (2020 Feb 6)
762780
- make all changes needed for clean compile build of v8.2 on VMS on all platforms
763781
- fix the call mkdir bug ([email protected])
764782
- test on VSI OpenVMS Alpha and Itanium platforms
@@ -767,17 +785,18 @@ Version 8.2
767785
- XPM v3.4.11 libraries for IA64, AXP and VAX are added
768786
- start integrating the new test scripts
769787

770-
Version 8.1
788+
Version 8.1 (2019 Jan 9)
771789
- make necessary changes to build v8.1 on VMS
790+
- GTK1.2.10 on VAX
772791

773-
Version 8.0
792+
Version 8.0 (2016 Nov 21)
774793
- solve the 100% cpu usage issue while waiting for a keystroke
775794
- correct the VMS warnings and errors around handling the INFINITY (used in json.c)
776795
- minor VMS port related changes
777796
- correct the make_vms.mms file for 8.0
778797
- fix [.TESTDIR]make_vms.mms for 8.0
779798

780-
Version 7.4
799+
Version 7.4 (2013 Aug 10)
781800
- Undo: VMS can not handle more than one dot in the filenames use "dir/name" -> "dir/_un_name"
782801
add _un_ at the beginning to keep the extension
783802
- correct swap file name wildcard handling
@@ -793,7 +812,7 @@ Version 7.4
793812
- minor compiler warnings fixed
794813
- CTAGS 5.8 +regex included
795814

796-
Version 7.3
815+
Version 7.3 (2010 Aug 15)
797816
- CTAGS 5.8 included
798817
- VMS compile warnings fixed - floating-point overflow warning corrected on VAX
799818
- filepath completion corrected - too many chars were escaped in filename
@@ -956,7 +975,7 @@ Version 4.5 (1996 Dec 16)
956975
10. Authors *vms-authors*
957976

958977
OpenVMS documentation and executables are maintained by:
959-
Zoltan Arpadffy <arpadffy@polarhome.com>
978+
Zoltan Arpadffy <zoltan.arpadffy@gmail.com>
960979
OpenVMS Vim page: http://www.polarhome.com/vim/
961980

962981
This document uses parts and remarks from earlier authors and contributors

0 commit comments

Comments
 (0)