|
|
Line 1,618: |
Line 1,618: |
| === Commands for Changing Text === | | === Commands for Changing Text === |
| ;end-of-file (usually C-d) | | ;end-of-file (usually C-d) |
| :The character indicating end-of-file as set, for example, by ``stty''. If this character is read when there are no characters on the line, and point is at the beginning of the line, Readline interprets it as the end of input and returns EOF. | | :’’stty''などで設定されているファイル終了を示す文字である。 行に文字がなく、pointが行頭にあるときにこの文字が読み込まれると、 Readlineはこれを入力の終わりと解釈し、EOFを返す。 |
| ;delete-char (C-d) | | ;delete-char (C-d) |
| :Delete the character at point. If this function is bound to the same character as the tty EOF character, as C-d commonly is, see above for the effects. | | :pointの文字を削除する。 C-dが一般的であるように、この関数がttyのEOF文字と同じ文字にバインドされている場合、その影響については上記を参照のこと。 |
| ;backward-delete-char (Rubout) | | ;backward-delete-char (Rubout) |
| :Delete the character behind the cursor. When given a numeric argument, save the deleted text on the kill ring. | | :カーソルの後ろの文字を削除する。 数値引数が与えられた場合、削除したテキストをキルリングに保存する。 |
| ;forward-backward-delete-char | | ;forward-backward-delete-char |
| :Delete the character under the cursor, unless the cursor is at the end of the line, in which case the character behind the cursor is deleted. | | :カーソルが行末にある場合を除き、カーソルの下にある文字を削除する。 |
| ;quoted-insert (C-q, C-v) | | ;quoted-insert (C-q, C-v) |
| :Add the next character typed to the line verbatim. This is how to insert characters like C-q, for example. | | :入力された次の文字をそのまま行に追加する。 これは、例えばC-qのような文字を挿入する方法である。 |
| ;tab-insert (C-v TAB) | | ;tab-insert (C-v TAB) |
| :Insert a tab character. | | :タブ文字を挿入する。 |
| ;self-insert (a, b, A, 1, !, ...) | | ;self-insert (a, b, A, 1, !, ...) |
| :Insert the character typed. | | :入力された文字を挿入する。 |
| ;transpose-chars (C-t) | | ;transpose-chars (C-t) |
| :Drag the character before point forward over the character at point, moving point forward as well. If point is at the end of the line, then this transposes the two characters before point. Negative arguments have no effect. | | :pointの前の文字をpointの文字の上にドラッグし、pointも前に移動させる。 pointが行末にある場合、pointの前の2文字を転置する。 負の引数は効果がない。 |
| ;transpose-words (M-t) | | ;transpose-words (M-t) |
| :Drag the word before point past the word after point, moving point over that word as well. If point is at the end of the line, this transposes the last two words on the line. | | :pointの前の単語をドラッグして、pointの後の単語の上にpointを移動させる。pointが行末にある場合は、行末の2つの単語を入れ替える。 |
| ;upcase-word (M-u) | | ;upcase-word (M-u) |
| :Uppercase the current (or following) word. With a negative argument, uppercase the previous word, but do not move point. | | :現在の(またはそれに続く)単語を大文字にする。 負の引数を指定すると、前の単語を大文字にするが、pointは移動しない。 |
| ;downcase-word (M-l) | | ;downcase-word (M-l) |
| :Lowercase the current (or following) word. With a negative argument, lowercase the previous word, but do not move point. | | :現在の(またはそれに続く)単語を小文字にする。 負の引数を指定すると、前の単語を小文字にするが、pointは移動しない。 |
| ;capitalize-word (M-c) | | ;capitalize-word (M-c) |
| :Capitalize the current (or following) word. With a negative argument, capitalize the previous word, but do not move point. | | :現在の(または次の)単語を大文字にする。 否定引数では、前の単語を大文字にするが、pointは動かさない。 |
| ;overwrite-mode | | ;overwrite-mode |
| :Toggle overwrite mode. With an explicit positive numeric argument, switches to overwrite mode. With an explicit non-positive numeric argument, switches to insert mode. This command affects only emacs mode; vi mode does overwrite differently. Each call to readline() starts in insert mode. In overwrite mode, characters bound to self-insert replace the text at point rather than pushing the text to the right. Characters bound to backward-delete-char replace the character before point with a space. By default, this command is unbound. | | :上書きモードを切り替える。 明示的な正の数値引数を指定すると、上書きモードに切り替わる。 正でない数値引数を指定すると、挿入モードに切り替わる。 このコマンドはemacsモードにのみ影響する。 readline()の各呼び出しは、insertモードで始まる。 overwriteモードでは、self-insertに束縛された文字は、テキストを右に押し出すのではなく、その位置でテキストを置き換える。 backward-delete-charにバインドされた文字は、pointの前の文字をスペースに置き換える。 デフォルトでは、このコマンドはバインドされていない。 |
|
| |
|
| === Killing and Yanking === | | === Killing and Yanking === |