Skip to content

Update os_dos.{txt,jax} #2213

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

Closed
wants to merge 1 commit into from
Closed
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
16 changes: 8 additions & 8 deletions doc/os_dos.jax
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*os_dos.txt* For Vim バージョン 9.1. Last change: 2024 Dec 25
*os_dos.txt* For Vim バージョン 9.1. Last change: 2025 Aug 06


VIMリファレンスマニュアル by Bram Moolenaar
Expand Down Expand Up @@ -142,8 +142,8 @@ Vimが使用する画面の色を変更するには|:highlight|コマンドを
DOSコンソールは太字や下線のような属性をサポートしていない。5つのモードで使用す
る色は9つの端末のオプションで設定できる。":highlight" コマンドによって直接色を
設定した場合には必要ないので注意すること; これらのオプションは古いバージョンの
Vimに互換性がある。|'highlight'| オプションは5つのモードがどの操作のときに使用
されるかを特定する。 >
Vimに互換性がある。'highlight' オプションは5つのモードがどの操作のときに使用さ
れるかを特定する。 >

:set t_mr=^V^[\|xxm 反転モードの開始
:set t_md=^V^[\|xxm 太字モードの開始
Expand Down Expand Up @@ -232,7 +232,7 @@ VimはDosモードで読み込み、Unixモードで保存する(":se ff=unix")

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

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

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

DOS 16ビット DOS 32ビット Win32 ~
Expand Down
10 changes: 5 additions & 5 deletions en/os_dos.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
*os_dos.txt* For Vim version 9.1. Last change: 2024 Dec 25
*os_dos.txt* For Vim version 9.1. Last change: 2025 Aug 06


VIM REFERENCE MANUAL by Bram Moolenaar
Expand Down Expand Up @@ -139,7 +139,7 @@ A DOS console does not support attributes like bold and underlining. You can
set the color used in five modes with nine terminal options. Note that this
is not necessary since you can set the color directly with the ":highlight"
command; these options are for backward compatibility with older Vim versions.
The |'highlight'| option specifies which of the five modes is used for which
The 'highlight' option specifies which of the five modes is used for which
action. >

:set t_mr=^V^[\|xxm start of invert mode
Expand Down Expand Up @@ -231,7 +231,7 @@ writing in Unix mode (":se ff=unix").

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

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

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