From 8e8df410167f2d3e055c11a19f5c033d90cdfce8 Mon Sep 17 00:00:00 2001 From: h-east Date: Wed, 30 Jan 2019 10:16:48 +0900 Subject: [PATCH 1/4] Update eval.{txt,jax} --- doc/eval.jax | 58 ++++++++++++++++++++++++++++------------------ en/eval.txt | 65 +++++++++++++++++++++++++++++++++------------------- 2 files changed, 77 insertions(+), 46 deletions(-) diff --git a/doc/eval.jax b/doc/eval.jax index 19cb59356..e97e63936 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -1,4 +1,4 @@ -*eval.txt* For Vim バージョン 8.1. Last change: 2019 Jan 24 +*eval.txt* For Vim バージョン 8.1. Last change: 2019 Jan 29 VIMリファレンスマニュアル by Bram Moolenaar @@ -2476,7 +2476,10 @@ remote_read({serverid} [, {timeout}]) remote_send({server}, {string} [, {idvar}]) 文字列 キーシーケンスを送信する remote_startserver({name}) なし サーバー {name} になる -remove({list}, {idx} [, {end}]) 任意 {list}から{idx}と{end}間の要素を削除 +remove({list}, {idx} [, {end}]) 任意/リスト + {list}から{idx}と{end}間の要素を削除 +remove({blob}, {idx} [, {end}]) 数値/Blob + {Blob}から{idx}と{end}間のバイトを削除 remove({dict}, {key}) 任意 {dict}から要素{key}を削除 rename({from}, {to}) 数値 {file}から{to}へファイル名変更 repeat({expr}, {count}) 文字列 {expr}を{count}回繰り返す @@ -5927,14 +5930,9 @@ line({expr}) 結果は数値で、{expr}で与えられた位置のファイル line(".") カーソルの行番号 line("'t") マークtの位置の行番号 line("'" . marker) マークmarkerの位置の行番号 -< *last-position-jump* - このオートコマンドはファイルを開いた時に、最後に開かれていた時 - の行へ自動的にジャンプするものである。これは '" マークがセット - されている時にのみ有効である: > - :au BufReadPost * - \ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit' - \ | exe "normal! g`\"" - \ | endif +< + ファイルを開くときに最後の既知の位置にジャンプするには、 + |last-position-jump| を参照。 line2byte({lnum}) *line2byte()* バッファの先頭から、{lnum}行目までのバイト数を返す。これには現 @@ -6362,8 +6360,10 @@ min({expr}) {expr}の全要素の値の最小値を返す。 *mkdir()* *E739* mkdir({name} [, {path} [, {prot}]]) ディレクトリ{name}を作成する。 + {path}が "p" のときは必要に応じて途中のディレクトリも作成され る。そうでないときは "" にすること。 + {prot}は作成するディレクトリの保護ビット。デフォルトは0755 (rwxr-xr-x: 所有者は読み書き可能、他の人は読み込み可能)。 他の人が読み込めないようにするには0700とすること。{prot} は @@ -6371,9 +6371,16 @@ mkdir({name} [, {path} [, {prot}]]) を作成すると /tmp/foo は 0755 で作成される。 例: > :call mkdir($HOME . "/tmp/foo/bar", "p", 0700) + < |sandbox|の中ではこの関数は使用できない。 + ディレクトリが既に存在して、かつフラグ "p" が渡された場合エラー - は発生しない (パッチ 8.0.1708 より)。 + は発生しない (パッチ 8.0.1708 より)。ただし、"p" オプション未 + 指定だと、呼び出しは失敗する。 + + 関数の結果は数値である。呼び出しが成功した場合は1、ディレクト + リの作成に失敗したか部分的に失敗した場合は0である。 + システムによっては利用できない場合がある。これを確認するには次 のようにする: > :if exists("*mkdir") @@ -7137,6 +7144,9 @@ remove({list}, {idx} [, {end}]) *remove()* 例: > :echo "last item: " . remove(mylist, -1) :call remove(mylist, 0, 9) +< + ファイルを削除するには |delete()| を使う。 + remove({blob}, {idx} [, {end}]) {end}を指定しなかった場合: |Blob| {blob}から{idx}位置のバイト を削除し、そのバイトを返す。 @@ -7147,13 +7157,12 @@ remove({blob}, {idx} [, {end}]) 例: > :echo "last byte: " . remove(myblob, -1) :call remove(mylist, 0, 9) + remove({dict}, {key}) {dict}からキー{key}を持つ要素を削除する。例: > :echo "removed " . remove(dict, "one") < {dict}に{key}がない場合はエラーになる。 - ファイルを削除するには|delete()|を使う。 - rename({from}, {to}) *rename()* ファイルの名前を{from}から{to}へ変える。ファイルシステムを越え てファイルを移動するのにも使用できる。結果は数値で、成功すれば @@ -9880,7 +9889,7 @@ all_builtin_terms 全ての組込みターミナルを有効にしてコンパ amiga AMIGAバージョン arabic アラビア語をサポート |Arabic| arp ARPをサポート (Amiga) -autocmd オートコマンドをサポート |autocommand| +autocmd オートコマンドをサポート (常に true) autochdir 'autochdir' をサポート autoservername |clientserver| を自動的に有効化する balloon_eval |balloon-eval| をサポート @@ -9888,6 +9897,7 @@ balloon_multiline 複数行バルーンをサポート beos BeOSバージョン browse |:browse|をサポートし、browse()が動作する browsefilter |browsefilter| をサポート +bsd BSDファミリのOSでコンパイルされている (macOS を除く) builtin_terms 幾つかの組込みターミナルが有効 byte_offset 'statusline' において 'o' がサポートされる cindent 'cindent' をサポート @@ -9900,6 +9910,7 @@ comments |'comments'| をサポート compatible Vi互換度を非常に高めてコンパイルされている cryptv 暗号化をサポート |encryption| cscope |cscope|をサポート +cursorbind |cursorbind| をサポート (常に true) debug デバッグバージョンである dialog_con コンソールダイアログのサポート dialog_gui GUIダイアログのサポート @@ -9910,7 +9921,7 @@ dnd レジスタ "~ をサポート |quote_~| ebcdic EBCDIC文字集合のマシン用 emacs_tags Emacs式のタグファイルをサポート eval 式評価をサポート。もちろん常に真。 -ex_extra 今は常に真 |+ex_extra| +ex_extra |+ex_extra| (常に true) extra_search |'incsearch'| と |'hlsearch'| をサポート farsi |farsi|をサポート file_in_path |gf|と||をサポート @@ -9937,6 +9948,7 @@ gui_running VimがGUIモードで起動している、もしくは間もなく gui_win32 Win32のGUIが有効である gui_win32s Win32sのGUIが有効である (Windows 3.1) hangul_input ハングル入力サポート +hpux HP-UXバージョン iconv iconv()をサポート insert_expand 挿入モード時にCTRL-Xの展開がサポートされる jumplist |jumplist| をサポート @@ -9946,6 +9958,7 @@ langmap 'langmap' サポート libcall |libcall()| をサポート linebreak 'linebreak'、'breakat'、'showbreak'、'breakindent' を サポート +linux Linuxバージョン lispindent lisp式のインデントをサポート listcmds バッファリスト用のコマンド|:files|と引数リスト用のコマ ンド|arglist|をサポート @@ -10000,7 +10013,7 @@ quickfix |quickfix|をサポート reltime |reltime()|をサポート rightleft 'rightleft' をサポート ruby Rubyインターフェイスをサポート -scrollbind 'scrollbind' をサポート +scrollbind 'scrollbind' をサポート (常に true) showcmd 'showcmd' をサポート signs |:sign|をサポート smartindent 'smartindent' をサポート @@ -10008,6 +10021,7 @@ spell スペルチェックをサポート |spell| startuptime |--startuptime| をサポート statusline 'statusline', 'rulerformat' そして 'titlestring' と 'iconstring' の特殊フォーマットをサポート +sun SunOSバージョン sun_workshop Sun |workshop| のサポートは削除された syntax 構文ハイライトをサポート syntax_items 現在のバッファに有効なシンタックスが設定されている @@ -10033,27 +10047,27 @@ unnamedplus 'clipboard' に "unnamedplus" をサポート user_commands ユーザー定義コマンドをサポート vcon Win32: 仮想コンソールサポートが機能していて、 'termguicolors' を使用することができる。|+vtp| も参照。 -vertsplit ウィンドウの垂直分割をサポート |:vsplit| +vertsplit ウィンドウの垂直分割をサポート |:vsplit| (常に true) vim_starting Vimの初期化プロセス中は真となる。|startup| *vim_starting* viminfo viminfoをサポート -virtualedit オプション 'virtualedit' をサポート +virtualedit オプション 'virtualedit' をサポート (常に true) visual ビジュアルモードをサポート (常に true) visualextra 拡張ビジュアルモードをサポート (常に true) |blockwise-operators| vms VMSバージョン -vreplace コマンド|gR|と|gr|をサポート +vreplace コマンド|gR|と|gr|をサポート (常に true) vtp vcon をサポート |+vtp| (現在のコンソール内で機能するか どうかを調べるには vcon を確認する) wildignore オプション 'wildignore' をサポート wildmenu オプション 'wildmenu' を指定してコンパイル -win16 MS-Windows 3.1 用の古いバージョン (常に False) +win16 MS-Windows 3.1 用の古いバージョン (常に false) win32 Win32バージョン(MS-Windows 95 以上の 32 or 64 ビット) win32unix Win32バージョン。Unixファイルを使用 (Cygwin) win64 Win64バージョン(MS-Windows 64 bit) -win95 Win32バージョン。MS-Windows 95/98/ME用 (常に False) +win95 Win32バージョン。MS-Windows 95/98/ME用 (常に false) winaltkeys オプション 'winaltkeys' を指定してコンパイル -windows 複数ウィンドウをサポート +windows 複数ウィンドウをサポート (常に true) writebackup オプション 'writebackup' が起動時にonになる xfontset X fontsetをサポート |xfontset| xim XIMをサポート |xim| diff --git a/en/eval.txt b/en/eval.txt index c41fdcee1..24baa8feb 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.1. Last change: 2019 Jan 24 +*eval.txt* For Vim version 8.1. Last change: 2019 Jan 29 VIM REFERENCE MANUAL by Bram Moolenaar @@ -696,7 +696,6 @@ similar to -1. > :let otherblob = myblob[:] " make a copy of the Blob If the first index is beyond the last byte of the Blob or the second index is -before the first byte, the result is an empty list. There is no error message. If the second index is equal to or greater than the length of the list the @@ -2511,7 +2510,10 @@ remote_read({serverid} [, {timeout}]) remote_send({server}, {string} [, {idvar}]) String send key sequence remote_startserver({name}) none become server {name} -remove({list}, {idx} [, {end}]) any remove items {idx}-{end} from {list} +remove({list}, {idx} [, {end}]) any/List + remove items {idx}-{end} from {list} +remove({blob}, {idx} [, {end}]) Number/Blob + remove bytes {idx}-{end} from {blob} remove({dict}, {key}) any remove entry {key} from {dict} rename({from}, {to}) Number rename (move) file from {from} to {to} repeat({expr}, {count}) String repeat {expr} {count} times @@ -6056,13 +6058,9 @@ line({expr}) The result is a Number, which is the line number of the file line(".") line number of the cursor line("'t") line number of mark t line("'" . marker) line number of mark marker -< *last-position-jump* - This autocommand jumps to the last known position in a file - just after opening it, if the '" mark is set: > - :au BufReadPost * - \ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit' - \ | exe "normal! g`\"" - \ | endif +< + To jump to the last known position when opening a file see + |last-position-jump|. line2byte({lnum}) *line2byte()* Return the byte count from the start of the buffer for line @@ -6504,8 +6502,10 @@ min({expr}) Return the minimum value of all items in {expr}. *mkdir()* *E739* mkdir({name} [, {path} [, {prot}]]) Create directory {name}. + If {path} is "p" then intermediate directories are created as necessary. Otherwise it must be "". + If {prot} is given it is used to set the protection bits of the new directory. The default is 0755 (rwxr-xr-x: r/w for the user readable for others). Use 0700 to make it unreadable @@ -6514,9 +6514,17 @@ mkdir({name} [, {path} [, {prot}]]) with 0755. Example: > :call mkdir($HOME . "/tmp/foo/bar", "p", 0700) + < This function is not available in the |sandbox|. + There is no error if the directory already exists and the "p" - flag is passed (since patch 8.0.1708). + flag is passed (since patch 8.0.1708). However, without the + "p" option the call will fail. + + The function result is a Number, which is 1 if the call was + successful or 0 if the directory creation failed or partly + failed. + Not available on all systems. To check use: > :if exists("*mkdir") < @@ -7325,6 +7333,9 @@ remove({list}, {idx} [, {end}]) *remove()* Example: > :echo "last item: " . remove(mylist, -1) :call remove(mylist, 0, 9) +< + Use |delete()| to remove a file. + remove({blob}, {idx} [, {end}]) Without {end}: Remove the byte at {idx} from |Blob| {blob} and return the byte. @@ -7335,13 +7346,12 @@ remove({blob}, {idx} [, {end}]) Example: > :echo "last byte: " . remove(myblob, -1) :call remove(mylist, 0, 9) + remove({dict}, {key}) Remove the entry from {dict} with key {key}. Example: > :echo "removed " . remove(dict, "one") < If there is no {key} in {dict} this is an error. - Use |delete()| to remove a file. - rename({from}, {to}) *rename()* Rename the file by the name {from} to the name {to}. This should also work to move files across file systems. The @@ -9724,10 +9734,10 @@ type({expr}) The result is a Number representing the type of {expr}. Dictionary: 4 |v:t_dict| Float: 5 |v:t_float| Boolean: 6 |v:t_bool| (v:false and v:true) - None 7 |v:t_none| (v:null and v:none) - Job 8 |v:t_job| - Channel 9 |v:t_channel| - Blob 10 |v:t_blob| + None: 7 |v:t_none| (v:null and v:none) + Job: 8 |v:t_job| + Channel: 9 |v:t_channel| + Blob: 10 |v:t_blob| For backward compatibility, this method can be used: > :if type(myvar) == type(0) :if type(myvar) == type("") @@ -10150,7 +10160,7 @@ all_builtin_terms Compiled with all builtin terminals enabled. amiga Amiga version of Vim. arabic Compiled with Arabic support |Arabic|. arp Compiled with ARP support (Amiga). -autocmd Compiled with autocommand support. |autocommand| +autocmd Compiled with autocommand support. (always true) autochdir Compiled with support for 'autochdir' autoservername Automatically enable |clientserver| balloon_eval Compiled with |balloon-eval| support. @@ -10159,6 +10169,7 @@ beos BeOS version of Vim. browse Compiled with |:browse| support, and browse() will work. browsefilter Compiled with support for |browsefilter|. +bsd Compiled on an OS in the BSD family (excluding macOS). builtin_terms Compiled with some builtin terminals. byte_offset Compiled with support for 'o' in 'statusline' cindent Compiled with 'cindent' support. @@ -10171,6 +10182,7 @@ comments Compiled with |'comments'| support. compatible Compiled to be very Vi compatible. cryptv Compiled with encryption support |encryption|. cscope Compiled with |cscope| support. +cursorbind Compiled with |cursorbind| (always true) debug Compiled with "DEBUG" defined. dialog_con Compiled with console dialog support. dialog_gui Compiled with GUI dialog support. @@ -10182,7 +10194,7 @@ ebcdic Compiled on a machine with ebcdic character set. emacs_tags Compiled with support for Emacs tags. eval Compiled with expression evaluation support. Always true, of course! -ex_extra |+ex_extra|, always true now +ex_extra |+ex_extra| (always true) extra_search Compiled with support for |'incsearch'| and |'hlsearch'| farsi Compiled with Farsi support |farsi|. @@ -10211,6 +10223,7 @@ gui_running Vim is running in the GUI, or it will start soon. gui_win32 Compiled with MS Windows Win32 GUI. gui_win32s idem, and Win32s system being used (Windows 3.1) hangul_input Compiled with Hangul input support. |hangul| +hpux HP-UX version of Vim. iconv Can use iconv() for conversion. insert_expand Compiled with support for CTRL-X expansion commands in Insert mode. @@ -10221,6 +10234,7 @@ langmap Compiled with 'langmap' support. libcall Compiled with |libcall()| support. linebreak Compiled with 'linebreak', 'breakat', 'showbreak' and 'breakindent' support. +linux Linux version of Vim. lispindent Compiled with support for lisp indenting. listcmds Compiled with commands for the buffer list |:files| and the argument list |arglist|. @@ -10271,7 +10285,7 @@ quickfix Compiled with |quickfix| support. reltime Compiled with |reltime()| support. rightleft Compiled with 'rightleft' support. ruby Compiled with Ruby interface |ruby|. -scrollbind Compiled with 'scrollbind' support. +scrollbind Compiled with 'scrollbind' support. (always true) showcmd Compiled with 'showcmd' support. signs Compiled with |:sign| support. smartindent Compiled with 'smartindent' support. @@ -10279,6 +10293,7 @@ spell Compiled with spell checking support |spell|. startuptime Compiled with |--startuptime| support. statusline Compiled with support for 'statusline', 'rulerformat' and special formats of 'titlestring' and 'iconstring'. +sun SunOS version of Vim. sun_workshop Support for Sun |workshop| has been removed. syntax Compiled with syntax highlighting support |syntax|. syntax_items There are active syntax highlighting items for the @@ -10310,27 +10325,29 @@ user_commands User-defined commands. vcon Win32: Virtual console support is working, can use 'termguicolors'. Also see |+vtp|. vertsplit Compiled with vertically split windows |:vsplit|. + (always true) vim_starting True while initial source'ing takes place. |startup| *vim_starting* viminfo Compiled with viminfo support. -virtualedit Compiled with 'virtualedit' option. +virtualedit Compiled with 'virtualedit' option. (always true) visual Compiled with Visual mode. (always true) visualextra Compiled with extra Visual mode commands. (always true) |blockwise-operators|. vms VMS version of Vim. -vreplace Compiled with |gR| and |gr| commands. +vreplace Compiled with |gR| and |gr| commands. (always true) vtp Compiled for vcon support |+vtp| (check vcon to find out if it works in the current console). wildignore Compiled with 'wildignore' option. wildmenu Compiled with 'wildmenu' option. -win16 old version for MS-Windows 3.1 (always False) +win16 old version for MS-Windows 3.1 (always false) win32 Win32 version of Vim (MS-Windows 95 and later, 32 or 64 bits) win32unix Win32 version of Vim, using Unix files (Cygwin) win64 Win64 version of Vim (MS-Windows 64 bit). -win95 Win32 version for MS-Windows 95/98/ME (always False) +win95 Win32 version for MS-Windows 95/98/ME (always false) winaltkeys Compiled with 'winaltkeys' option. windows Compiled with support for more than one window. + (always true) writebackup Compiled with 'writebackup' default on. xfontset Compiled with X fontset support |xfontset|. xim Compiled with X input method support |xim|. From ab94d247fb31d83cd04e1c29424342b5c0987e9a Mon Sep 17 00:00:00 2001 From: h-east Date: Fri, 1 Feb 2019 08:58:48 +0900 Subject: [PATCH 2/4] Update#2 --- doc/eval.jax | 7 +++++-- en/eval.txt | 6 ++++++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/doc/eval.jax b/doc/eval.jax index e97e63936..0bbbe2ded 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -650,8 +650,6 @@ Blobの繰り返し ~ これは、0x11, 0x22 および 0x33 で Doit() を呼び出す。 - - Blobの連結 ~ 2つのBlobは "+" 演算子で連結できる: > @@ -5626,6 +5624,11 @@ job_info([{job}]) *job_info()* "exit_cb" 終了時に呼び出される関数 "stoponexit" |job-stoponexit| + Unixのみ: + "termsig" プロセスを終了させたシグナル + (値については |job_stop()| を参照) + "status"が "dead" の場合にのみ有効である + 引数なしの場合、すべてのジョブオブジェクトのリストを返す。 job_setoptions({job}, {options}) *job_setoptions()* diff --git a/en/eval.txt b/en/eval.txt index 24baa8feb..d888d9c49 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -696,6 +696,7 @@ similar to -1. > :let otherblob = myblob[:] " make a copy of the Blob If the first index is beyond the last byte of the Blob or the second index is +before the first index, the result is an empty list. There is no error message. If the second index is equal to or greater than the length of the list the @@ -5744,6 +5745,11 @@ job_info([{job}]) *job_info()* "exit_cb" function to be called on exit "stoponexit" |job-stoponexit| + Only in Unix: + "termsig" the signal which terminated the process + (See |job_stop()| for the values) + only valid when "status" is "dead" + Without any arguments, returns a List with all Job objects. job_setoptions({job}, {options}) *job_setoptions()* From a76c943ad0331c15d52beedaf814e0049f962fd3 Mon Sep 17 00:00:00 2001 From: h-east Date: Mon, 4 Feb 2019 11:00:24 +0900 Subject: [PATCH 3/4] Update#3 --- doc/eval.jax | 8 ++++++-- en/eval.txt | 11 ++++++++--- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/doc/eval.jax b/doc/eval.jax index d955d6d22..502ed6903 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -1,4 +1,4 @@ -*eval.txt* For Vim バージョン 8.1. Last change: 2019 Jan 29 +*eval.txt* For Vim バージョン 8.1. Last change: 2019 Feb 03 VIMリファレンスマニュアル by Bram Moolenaar @@ -9217,6 +9217,9 @@ term_start({cmd}, {options}) *term_start()* を定義する 16 個のカラー名もしくは 16 進 数コード。|g:terminal_ansi_colors| を参 照。 + "term_mode" (MS-Windowsのみ): 使用する pty を指定する: + "winpty": winpty を使う + "conpty": ConPTY を使う(使用可能な場合) {|+terminal| 機能付きでコンパイルされたときのみ有効} @@ -9911,9 +9914,10 @@ cmdline_hist |cmdline-history| コマンドライン履歴をサポート cmdline_info 'showcmd' と 'ruler' をサポート comments |'comments'| をサポート compatible Vi互換度を非常に高めてコンパイルされている +conpty |ConPTY| を使用できるプラットフォームである cryptv 暗号化をサポート |encryption| cscope |cscope|をサポート -cursorbind |cursorbind| をサポート (常に true) +cursorbind |'cursorbind'| をサポート (常に true) debug デバッグバージョンである dialog_con コンソールダイアログのサポート dialog_gui GUIダイアログのサポート diff --git a/en/eval.txt b/en/eval.txt index d888d9c49..50ca3769b 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -1,4 +1,4 @@ -*eval.txt* For Vim version 8.1. Last change: 2019 Jan 29 +*eval.txt* For Vim version 8.1. Last change: 2019 Feb 03 VIM REFERENCE MANUAL by Bram Moolenaar @@ -696,7 +696,7 @@ similar to -1. > :let otherblob = myblob[:] " make a copy of the Blob If the first index is beyond the last byte of the Blob or the second index is -before the first index, the result is an empty list. There is no error +before the first index, the result is an empty Blob. There is no error message. If the second index is equal to or greater than the length of the list the @@ -9469,6 +9469,10 @@ term_start({cmd}, {options}) *term_start()* "ansi_colors" A list of 16 color names or hex codes defining the ANSI palette used in GUI color modes. See |g:terminal_ansi_colors|. + "term_mode" (MS-Windows only): Specify which pty to + use: + "winpty": Use winpty + "conpty": Use ConPTY (if available) {only available when compiled with the |+terminal| feature} @@ -10186,9 +10190,10 @@ cmdline_hist Compiled with |cmdline-history| support. cmdline_info Compiled with 'showcmd' and 'ruler' support. comments Compiled with |'comments'| support. compatible Compiled to be very Vi compatible. +conpty Platform where |ConPTY| can be used. cryptv Compiled with encryption support |encryption|. cscope Compiled with |cscope| support. -cursorbind Compiled with |cursorbind| (always true) +cursorbind Compiled with |'cursorbind'| (always true) debug Compiled with "DEBUG" defined. dialog_con Compiled with console dialog support. dialog_gui Compiled with GUI dialog support. From e3399e8c0ef0e1b56429d40b8337c275cbcf0186 Mon Sep 17 00:00:00 2001 From: h-east Date: Sat, 9 Feb 2019 08:59:53 +0900 Subject: [PATCH 4/4] Update#4 --- doc/eval.jax | 10 +++++++--- en/eval.txt | 11 +++++++---- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/doc/eval.jax b/doc/eval.jax index 502ed6903..0c9c02ca7 100644 --- a/doc/eval.jax +++ b/doc/eval.jax @@ -5628,6 +5628,11 @@ job_info([{job}]) *job_info()* "termsig" プロセスを終了させたシグナル (値については |job_stop()| を参照) "status"が "dead" の場合にのみ有効である + MS-Windowsのみ: + "tty_type" 使用している仮想コンソールのタイプ。 + 値は "winpty" または "conpty"。 + 'termwintype' を参照。 + 引数なしの場合、すべてのジョブオブジェクトのリストを返す。 @@ -9217,9 +9222,8 @@ term_start({cmd}, {options}) *term_start()* を定義する 16 個のカラー名もしくは 16 進 数コード。|g:terminal_ansi_colors| を参 照。 - "term_mode" (MS-Windowsのみ): 使用する pty を指定する: - "winpty": winpty を使う - "conpty": ConPTY を使う(使用可能な場合) + "tty_type" (MS-Windowsのみ): 使用する pty を指定す + る。値については 'termwintype' を参照。 {|+terminal| 機能付きでコンパイルされたときのみ有効} diff --git a/en/eval.txt b/en/eval.txt index 50ca3769b..0fc249c8b 100644 --- a/en/eval.txt +++ b/en/eval.txt @@ -5750,6 +5750,11 @@ job_info([{job}]) *job_info()* (See |job_stop()| for the values) only valid when "status" is "dead" + Only in MS-Windows: + "tty_type" Type of virtual console in use. + Values are "winpty" or "conpty". + See 'termwintype'. + Without any arguments, returns a List with all Job objects. job_setoptions({job}, {options}) *job_setoptions()* @@ -9469,10 +9474,8 @@ term_start({cmd}, {options}) *term_start()* "ansi_colors" A list of 16 color names or hex codes defining the ANSI palette used in GUI color modes. See |g:terminal_ansi_colors|. - "term_mode" (MS-Windows only): Specify which pty to - use: - "winpty": Use winpty - "conpty": Use ConPTY (if available) + "tty_type" (MS-Windows only): Specify which pty to + use. See 'termwintype' for the values. {only available when compiled with the |+terminal| feature}