Skip to content

Commit 06c9d87

Browse files
authored
Merge pull request #2225 from h-east/update-os_dos
Update os_dos.{txt,jax}
2 parents 92fc97e + 0958db7 commit 06c9d87

File tree

2 files changed

+11
-13
lines changed

2 files changed

+11
-13
lines changed

doc/os_dos.jax

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_dos.txt* For Vim バージョン 9.1. Last change: 2024 Dec 25
1+
*os_dos.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06
22

33

44
VIMリファレンスマニュアル by Bram Moolenaar
@@ -142,8 +142,8 @@ Vimが使用する画面の色を変更するには|:highlight|コマンドを
142142
DOSコンソールは太字や下線のような属性をサポートしていない。5つのモードで使用す
143143
る色は9つの端末のオプションで設定できる。":highlight" コマンドによって直接色を
144144
設定した場合には必要ないので注意すること; これらのオプションは古いバージョンの
145-
Vimに互換性がある。|'highlight'| オプションは5つのモードがどの操作のときに使用
146-
されるかを特定する>
145+
Vimに互換性がある。'highlight' オプションは5つのモードがどの操作のときに使用さ
146+
れるかを特定する>
147147
148148
:set t_mr=^V^[\|xxm 反転モードの開始
149149
:set t_md=^V^[\|xxm 太字モードの開始
@@ -232,7 +232,6 @@ VimはDosモードで読み込み、Unixモードで保存する(":se ff=unix")
232232

233233
Vimは 'fileformats' が設定されている(標準)ときには自動的に 'fileformat' を設定
234234
するので、あなたがしていることについて全く悩む必要がない。
235-
|'fileformat'| |'fileformats'|
236235

237236
スクリプトファイルやバイナリファイルを編集したいのならば、ファイルを読み込む前
238237
'binary' オプションを設定するとよい。スクリプトファイルやバイナリファイルは
@@ -283,11 +282,11 @@ Vimは標準的なWindows関数を使って一時ファイル名(フィルタ用
283282
SHELLが定義されていない状態でCOMSPECが定義されている場合はCOMSPECを代わりに使
284283
用する。Vimは外部コマンドを "<shell> /c <command_name>" として起動する。新しい
285284
コマンドシェルを起動するにはCTRL-Zをタイプする。"exit" でVimに戻る。
286-
|'shell'| |CTRL-Z|
285+
'shell' |CTRL-Z|
287286

288-
サードパーティのシェルを使用する場合は、|'shellcmdflag'| ('shcf')と
289-
|'shellquote'| ('shq')|'shellxquote'| ('sxq')オプションを設定する必要がある
290-
かもしれない。不幸なことに、これは使っているVimのバージョンに依存する。例えば、
287+
サードパーティのシェルを使用する場合は、'shellcmdflag' ('shcf')
288+
'shellquote' ('shq')'shellxquote' ('sxq') オプションを設定する必要があるか
289+
もしれない。不幸なことに、これは使っているVimのバージョンに依存する。例えば、
291290
MKS Kornシェルやbashでは、オプションの値を以下のようになる:
292291

293292
DOS 16ビット DOS 32ビット Win32 ~

en/os_dos.txt

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
*os_dos.txt* For Vim version 9.1. Last change: 2024 Dec 25
1+
*os_dos.txt* For Vim version 9.1. Last change: 2025 Aug 06
22

33

44
VIM REFERENCE MANUAL by Bram Moolenaar
@@ -139,7 +139,7 @@ A DOS console does not support attributes like bold and underlining. You can
139139
set the color used in five modes with nine terminal options. Note that this
140140
is not necessary since you can set the color directly with the ":highlight"
141141
command; these options are for backward compatibility with older Vim versions.
142-
The |'highlight'| option specifies which of the five modes is used for which
142+
The 'highlight' option specifies which of the five modes is used for which
143143
action. >
144144
145145
:set t_mr=^V^[\|xxm start of invert mode
@@ -231,7 +231,6 @@ writing in Unix mode (":se ff=unix").
231231

232232
Vim sets 'fileformat' automatically when 'fileformats' is not empty (which is
233233
the default), so you don't really have to worry about what you are doing.
234-
|'fileformat'| |'fileformats'|
235234

236235
If you want to edit a script file or a binary file, you should set the
237236
'binary' option before loading the file. Script files and binary files may
@@ -279,10 +278,10 @@ The default for the 'sh' ('shell') option is "command.com" on Windows 95 and
279278
"cmd.exe" on Windows NT. If SHELL is defined, Vim uses SHELL instead, and if
280279
SHELL is not defined but COMSPEC is, Vim uses COMSPEC. Vim starts external
281280
commands with "<shell> /c <command_name>". Typing CTRL-Z starts a new command
282-
subshell. Return to Vim with "exit". |'shell'| |CTRL-Z|
281+
subshell. Return to Vim with "exit". 'shell' |CTRL-Z|
283282

284283
If you are running a third-party shell, you may need to set the
285-
|'shellcmdflag'| ('shcf') and |'shellquote'| ('shq') or |'shellxquote'|
284+
'shellcmdflag' ('shcf') and 'shellquote' ('shq') or 'shellxquote'
286285
('sxq') options. Unfortunately, this also depends on the version of Vim used.
287286
For example, with the MKS Korn shell or with bash, the values of the options
288287
should be:

0 commit comments

Comments
 (0)