|
|
Line 1,319: |
Line 1,319: |
|
| |
|
| === Readline Notation === | | === Readline Notation === |
| In this section, the Emacs-style notation is used to denote keystrokes. Control keys are denoted
| | このセクションでは、Emacs流の表記法でキーストロークを表す。 例えば、C-nはControl-Nを意味する。 同様に、メタ・キーはM-keyで表記されるので、M-xはMeta-Xを意味する。 (メタキーのないキーボードでは、M-xはESC x、つまりEscapeキーを押してからxキーを押すことを意味する)。 つまり、Escapeキーを押してからxキーを押す。 M-C-xの組み合わせはESC-Control-xを意味し、つまりEscapeキーを押してからControlキーを押しながらxキーを押す)。 |
| by C-key, e.g., C-n means Control-N. Similarly, meta keys are denoted by M-key, so M-x means
| |
| Meta-X. (On keyboards without a meta key, M-x means ESC x, i.e., press the Escape key then the x
| |
| key. This makes ESC the meta prefix. The combination M-C-x means ESC-Control-x, or press the
| |
| Escape key then hold the Control key while pressing the x key.)
| |
|
| |
|
| Readline commands may be given numeric arguments, which normally act as a repeat count. Some‐
| | Readlineコマンドには数値引数を与えることができ、通常は繰り返し回数として機能する。 しかし、引数の符号が重要な意味を持つこともある。 順方向に動作するコマンド(例えば、kill-line)に負の引数を渡すと、そのコマンドは逆方向に動作する。 引数による動作がこれと異なるコマンドを以下に記す。 |
| times, however, it is the sign of the argument that is significant. Passing a negative argument
| |
| to a command that acts in the forward direction (e.g., kill-line) causes that command to act in a
| |
| backward direction. Commands whose behavior with arguments deviates from this are noted below.
| |
|
| |
|
| When a command is described as killing text, the text deleted is saved for possible future re‐
| | あるコマンドがテキストを殺すと記述されている場合、削除されたテキストは将来取り出せるように保存される(yanking)。 キルされたテキストはキルリングに保存される。 連続してキルされると、テキストは1つのユニットに蓄積され、一度にすべてヤンクすることができる。 テキストをキルしないコマンドは、キルリング上のテキストの塊を分離する。 |
| trieval (yanking). The killed text is saved in a kill ring. Consecutive kills cause the text to
| |
| be accumulated into one unit, which can be yanked all at once. Commands which do not kill text
| |
| separate the chunks of text on the kill ring.
| |
|
| |
|
| === Readline Initialization === | | === Readline Initialization === |