commit bash-20171215 snapshot

This commit is contained in:
Chet Ramey
2018-01-02 10:51:40 -05:00
parent aa54feee4e
commit 32dc2bf525
47 changed files with 12683 additions and 12572 deletions
+243 -199
View File
@@ -1,6 +1,6 @@
<HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on July, 1 2015 by texi2html 1.64 -->
<!-- Created on December, 14 2017 by texi2html 1.64 -->
<!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org>
@@ -674,7 +674,9 @@ The default limit is <CODE>100</CODE>.
If set to <SAMP>`on'</SAMP>, Readline will convert characters with the
eighth bit set to an ASCII key sequence by stripping the eighth
bit and prefixing an <KBD>ESC</KBD> character, converting them to a
meta-prefixed key sequence. The default value is <SAMP>`on'</SAMP>.
meta-prefixed key sequence. The default value is <SAMP>`on'</SAMP>, but
will be set to <SAMP>`off'</SAMP> if the locale is one that contains
eight-bit characters.
<P>
<DT><CODE>disable-completion</CODE>
@@ -684,8 +686,15 @@ Completion characters will be inserted into the line as if they had
been mapped to <CODE>self-insert</CODE>. The default is <SAMP>`off'</SAMP>.
<P>
<DT><CODE>editing-mode</CODE>
<DT><CODE>echo-control-characters</CODE>
<DD><A NAME="IDX18"></A>
When set to <SAMP>`on'</SAMP>, on operating systems that indicate they support it,
readline echoes a character corresponding to a signal generated from the
keyboard. The default is <SAMP>`on'</SAMP>.
<P>
<DT><CODE>editing-mode</CODE>
<DD><A NAME="IDX19"></A>
The <CODE>editing-mode</CODE> variable controls which default set of
key bindings is used. By default, Readline starts up in Emacs editing
mode, where the keystrokes are most similar to Emacs. This variable can be
@@ -693,8 +702,9 @@ set to either <SAMP>`emacs'</SAMP> or <SAMP>`vi'</SAMP>.
<P>
<DT><CODE>emacs-mode-string</CODE>
<DD><A NAME="IDX19"></A>
This string is displayed immediately before the last line of the primary
<DD><A NAME="IDX20"></A>
If the <VAR>show-mode-in-prompt</VAR> variable is enabled,
this string is displayed immediately before the last line of the primary
prompt when emacs editing mode is active. The value is expanded like a
key binding, so the standard set of meta- and control prefixes and
backslash escape sequences is available.
@@ -704,13 +714,6 @@ sequence into the mode string.
The default is <SAMP>`@'</SAMP>.
<P>
<DT><CODE>echo-control-characters</CODE>
<DD><A NAME="IDX20"></A>
When set to <SAMP>`on'</SAMP>, on operating systems that indicate they support it,
readline echoes a character corresponding to a signal generated from the
keyboard. The default is <SAMP>`on'</SAMP>.
<P>
<DT><CODE>enable-bracketed-paste</CODE>
<DD><A NAME="IDX21"></A>
When set to <SAMP>`On'</SAMP>, Readline will configure the terminal in a way
@@ -756,6 +759,8 @@ are saved.
If set to a value less than zero, the number of history entries is not
limited.
By default, the number of history entries is not limited.
If an attempt is made to set <VAR>history-size</VAR> to a non-numeric value,
the maximum number of history entries will be set to 500.
<P>
<DT><CODE>horizontal-scroll-mode</CODE>
@@ -773,8 +778,9 @@ this variable is set to <SAMP>`off'</SAMP>.
If set to <SAMP>`on'</SAMP>, Readline will enable eight-bit input (it
will not clear the eighth bit in the characters it reads),
regardless of what the terminal claims it can support. The
default value is <SAMP>`off'</SAMP>. The name <CODE>meta-flag</CODE> is a
synonym for this variable.
default value is <SAMP>`off'</SAMP>, but Readline will set it to <SAMP>`on'</SAMP> if the
locale contains eight-bit characters.
The name <CODE>meta-flag</CODE> is a synonym for this variable.
<P>
<DT><CODE>isearch-terminators</CODE>
@@ -797,8 +803,9 @@ Acceptable <CODE>keymap</CODE> names are
<CODE>vi-move</CODE>,
<CODE>vi-command</CODE>, and
<CODE>vi-insert</CODE>.
<CODE>vi</CODE> is equivalent to <CODE>vi-command</CODE>; <CODE>emacs</CODE> is
equivalent to <CODE>emacs-standard</CODE>. The default value is <CODE>emacs</CODE>.
<CODE>vi</CODE> is equivalent to <CODE>vi-command</CODE> (<CODE>vi-move</CODE> is also a
synonym); <CODE>emacs</CODE> is equivalent to <CODE>emacs-standard</CODE>.
The default value is <CODE>emacs</CODE>.
The value of the <CODE>editing-mode</CODE> variable also affects the
default keymap.
<P>
@@ -861,7 +868,9 @@ the list. The default is <SAMP>`off'</SAMP>.
<DD><A NAME="IDX35"></A>
If set to <SAMP>`on'</SAMP>, Readline will display characters with the
eighth bit set directly rather than as a meta-prefixed escape
sequence. The default is <SAMP>`off'</SAMP>.
sequence.
The default is <SAMP>`off'</SAMP>, but Readline will set it to <SAMP>`on'</SAMP> if the
locale contains eight-bit characters.
<P>
<DT><CODE>page-completions</CODE>
@@ -908,9 +917,9 @@ The default value is <SAMP>`off'</SAMP>.
<DT><CODE>show-mode-in-prompt</CODE>
<DD><A NAME="IDX40"></A>
If set to <SAMP>`on'</SAMP>, add a character to the beginning of the prompt
If set to <SAMP>`on'</SAMP>, add a string to the beginning of the prompt
indicating the editing mode: emacs, vi command, or vi insertion.
The mode strings are user-settable.
The mode strings are user-settable (e.g., <VAR>emacs-mode-string</VAR>).
The default value is <SAMP>`off'</SAMP>.
<P>
@@ -931,7 +940,8 @@ The default value is <SAMP>`off'</SAMP>.
<DT><CODE>vi-cmd-mode-string</CODE>
<DD><A NAME="IDX42"></A>
This string is displayed immediately before the last line of the primary
If the <VAR>show-mode-in-prompt</VAR> variable is enabled,
this string is displayed immediately before the last line of the primary
prompt when vi editing mode is active and in command mode.
The value is expanded like a
key binding, so the standard set of meta- and control prefixes and
@@ -944,7 +954,8 @@ The default is <SAMP>`(cmd)'</SAMP>.
<DT><CODE>vi-ins-mode-string</CODE>
<DD><A NAME="IDX43"></A>
This string is displayed immediately before the last line of the primary
If the <VAR>show-mode-in-prompt</VAR> variable is enabled,
this string is displayed immediately before the last line of the primary
prompt when vi editing mode is active and in insertion mode.
The value is expanded like a
key binding, so the standard set of meta- and control prefixes and
@@ -1158,6 +1169,19 @@ allows <CODE>sun</CODE> to match both <CODE>sun</CODE> and <CODE>sun-cmd</CODE>,
for instance.
<P>
<DT><CODE>version</CODE>
<DD>The <CODE>version</CODE> test may be used to perform comparisons against
specific Readline versions.
The <CODE>version</CODE> expands to the current Readline version.
The set of comparison operators includes
<SAMP>`='</SAMP> (and <SAMP>`=='</SAMP>), <SAMP>`!='</SAMP>, <SAMP>`&#60;='</SAMP>, <SAMP>`&#62;='</SAMP>, <SAMP>`&#60;'</SAMP>,
and <SAMP>`&#62;'</SAMP>.
The version number supplied on the right side of the operator consists
of a major version number, an optional decimal point, and an optional
minor version (e.g., <SAMP>`7.1'</SAMP>). If the minor version is omitted, it
is assumed to be <SAMP>`0'</SAMP>.
<P>
<DT><CODE>application</CODE>
<DD>The <VAR>application</VAR> construct is used to include
application-specific settings. Each program using the Readline
@@ -1411,15 +1435,34 @@ Words are composed of letters and digits.
<P>
<A NAME="IDX57"></A>
<DT><CODE>clear-screen (C-l)</CODE>
<DT><CODE>previous-screen-line ()</CODE>
<DD><A NAME="IDX58"></A>
Attempt to move point to the same physical screen column on the previous
physical screen line. This will not have the desired effect if the current
Readline line does not take up more than one physical line or if point is not
greater than the length of the prompt plus the screen width.
<P>
<A NAME="IDX59"></A>
<DT><CODE>next-screen-line ()</CODE>
<DD><A NAME="IDX60"></A>
Attempt to move point to the same physical screen column on the next
physical screen line. This will not have the desired effect if the current
Readline line does not take up more than one physical line or if the length
of the current Readline line is not greater than the length of the prompt
plus the screen width.
<P>
<A NAME="IDX61"></A>
<DT><CODE>clear-screen (C-l)</CODE>
<DD><A NAME="IDX62"></A>
Clear the screen and redraw the current line,
leaving the current line at the top of the screen.
<P>
<A NAME="IDX59"></A>
<A NAME="IDX63"></A>
<DT><CODE>redraw-current-line ()</CODE>
<DD><A NAME="IDX60"></A>
<DD><A NAME="IDX64"></A>
Refresh the current line. By default, this is unbound.
<P>
@@ -1445,9 +1488,9 @@ Refresh the current line. By default, this is unbound.
<P>
<DL COMPACT>
<A NAME="IDX61"></A>
<A NAME="IDX65"></A>
<DT><CODE>accept-line (Newline or Return)</CODE>
<DD><A NAME="IDX62"></A>
<DD><A NAME="IDX66"></A>
Accept the line regardless of where the cursor is.
If this line is
non-empty, it may be added to the history list for future recall with
@@ -1456,106 +1499,106 @@ If this line is a modified history line, the history line is restored
to its original state.
<P>
<A NAME="IDX63"></A>
<A NAME="IDX67"></A>
<DT><CODE>previous-history (C-p)</CODE>
<DD><A NAME="IDX64"></A>
<DD><A NAME="IDX68"></A>
Move `back' through the history list, fetching the previous command.
<P>
<A NAME="IDX65"></A>
<A NAME="IDX69"></A>
<DT><CODE>next-history (C-n)</CODE>
<DD><A NAME="IDX66"></A>
<DD><A NAME="IDX70"></A>
Move `forward' through the history list, fetching the next command.
<P>
<A NAME="IDX67"></A>
<A NAME="IDX71"></A>
<DT><CODE>beginning-of-history (M-&#60;)</CODE>
<DD><A NAME="IDX68"></A>
<DD><A NAME="IDX72"></A>
Move to the first line in the history.
<P>
<A NAME="IDX69"></A>
<A NAME="IDX73"></A>
<DT><CODE>end-of-history (M-&#62;)</CODE>
<DD><A NAME="IDX70"></A>
<DD><A NAME="IDX74"></A>
Move to the end of the input history, i.e., the line currently
being entered.
<P>
<A NAME="IDX71"></A>
<A NAME="IDX75"></A>
<DT><CODE>reverse-search-history (C-r)</CODE>
<DD><A NAME="IDX72"></A>
<DD><A NAME="IDX76"></A>
Search backward starting at the current line and moving `up' through
the history as necessary. This is an incremental search.
<P>
<A NAME="IDX73"></A>
<A NAME="IDX77"></A>
<DT><CODE>forward-search-history (C-s)</CODE>
<DD><A NAME="IDX74"></A>
<DD><A NAME="IDX78"></A>
Search forward starting at the current line and moving `down' through
the history as necessary. This is an incremental search.
<P>
<A NAME="IDX75"></A>
<A NAME="IDX79"></A>
<DT><CODE>non-incremental-reverse-search-history (M-p)</CODE>
<DD><A NAME="IDX76"></A>
<DD><A NAME="IDX80"></A>
Search backward starting at the current line and moving `up'
through the history as necessary using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
<P>
<A NAME="IDX77"></A>
<A NAME="IDX81"></A>
<DT><CODE>non-incremental-forward-search-history (M-n)</CODE>
<DD><A NAME="IDX78"></A>
<DD><A NAME="IDX82"></A>
Search forward starting at the current line and moving `down'
through the history as necessary using a non-incremental search
for a string supplied by the user.
The search string may match anywhere in a history line.
<P>
<A NAME="IDX79"></A>
<DT><CODE>history-search-forward ()</CODE>
<DD><A NAME="IDX80"></A>
Search forward through the history for the string of characters
between the start of the current line and the point.
The search string must match at the beginning of a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX81"></A>
<DT><CODE>history-search-backward ()</CODE>
<DD><A NAME="IDX82"></A>
Search backward through the history for the string of characters
between the start of the current line and the point.
The search string must match at the beginning of a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX83"></A>
<DT><CODE>history-substr-search-forward ()</CODE>
<DT><CODE>history-search-forward ()</CODE>
<DD><A NAME="IDX84"></A>
Search forward through the history for the string of characters
between the start of the current line and the point.
The search string may match anywhere in a history line.
The search string must match at the beginning of a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX85"></A>
<DT><CODE>history-substr-search-backward ()</CODE>
<DT><CODE>history-search-backward ()</CODE>
<DD><A NAME="IDX86"></A>
Search backward through the history for the string of characters
between the start of the current line and the point.
The search string must match at the beginning of a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX87"></A>
<DT><CODE>history-substring-search-forward ()</CODE>
<DD><A NAME="IDX88"></A>
Search forward through the history for the string of characters
between the start of the current line and the point.
The search string may match anywhere in a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX89"></A>
<DT><CODE>history-substring-search-backward ()</CODE>
<DD><A NAME="IDX90"></A>
Search backward through the history for the string of characters
between the start of the current line and the point.
The search string may match anywhere in a history line.
This is a non-incremental search.
By default, this command is unbound.
<P>
<A NAME="IDX87"></A>
<A NAME="IDX91"></A>
<DT><CODE>yank-nth-arg (M-C-y)</CODE>
<DD><A NAME="IDX88"></A>
<DD><A NAME="IDX92"></A>
Insert the first argument to the previous command (usually
the second word on the previous line) at point.
With an argument <VAR>n</VAR>,
@@ -1566,9 +1609,9 @@ Once the argument <VAR>n</VAR> is computed, the argument is extracted
as if the <SAMP>`!<VAR>n</VAR>'</SAMP> history expansion had been specified.
<P>
<A NAME="IDX89"></A>
<A NAME="IDX93"></A>
<DT><CODE>yank-last-arg (M-. or M-_)</CODE>
<DD><A NAME="IDX90"></A>
<DD><A NAME="IDX94"></A>
Insert last argument to the previous command (the last word of the
previous history entry).
With a numeric argument, behave exactly like <CODE>yank-nth-arg</CODE>.
@@ -1605,60 +1648,60 @@ as if the <SAMP>`!$'</SAMP> history expansion had been specified.
<DL COMPACT>
<A NAME="IDX91"></A>
<A NAME="IDX95"></A>
<DT><CODE><I>end-of-file</I> (usually C-d)</CODE>
<DD><A NAME="IDX92"></A>
<DD><A NAME="IDX96"></A>
The character indicating end-of-file as set, for example, by
<CODE>stty</CODE>. 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.
<P>
<A NAME="IDX93"></A>
<A NAME="IDX97"></A>
<DT><CODE>delete-char (C-d)</CODE>
<DD><A NAME="IDX94"></A>
<DD><A NAME="IDX98"></A>
Delete the character at point. If this function is bound to the
same character as the tty EOF character, as <KBD>C-d</KBD>
commonly is, see above for the effects.
<P>
<A NAME="IDX95"></A>
<A NAME="IDX99"></A>
<DT><CODE>backward-delete-char (Rubout)</CODE>
<DD><A NAME="IDX96"></A>
<DD><A NAME="IDX100"></A>
Delete the character behind the cursor. A numeric argument means
to kill the characters instead of deleting them.
<P>
<A NAME="IDX97"></A>
<A NAME="IDX101"></A>
<DT><CODE>forward-backward-delete-char ()</CODE>
<DD><A NAME="IDX98"></A>
<DD><A NAME="IDX102"></A>
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. By default, this is not bound to a key.
<P>
<A NAME="IDX99"></A>
<A NAME="IDX103"></A>
<DT><CODE>quoted-insert (C-q or C-v)</CODE>
<DD><A NAME="IDX100"></A>
<DD><A NAME="IDX104"></A>
Add the next character typed to the line verbatim. This is
how to insert key sequences like <KBD>C-q</KBD>, for example.
<P>
<A NAME="IDX101"></A>
<A NAME="IDX105"></A>
<DT><CODE>tab-insert (M-<KBD>TAB</KBD>)</CODE>
<DD><A NAME="IDX102"></A>
<DD><A NAME="IDX106"></A>
Insert a tab character.
<P>
<A NAME="IDX103"></A>
<A NAME="IDX107"></A>
<DT><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE>
<DD><A NAME="IDX104"></A>
<DD><A NAME="IDX108"></A>
Insert yourself.
<P>
<A NAME="IDX105"></A>
<A NAME="IDX109"></A>
<DT><CODE>bracketed-paste-begin ()</CODE>
<DD><A NAME="IDX106"></A>
<DD><A NAME="IDX110"></A>
This function is intended to be bound to the "bracketed paste" escape
sequence sent by some terminals, and such a binding is assigned by default.
It allows Readline to insert the pasted text as a single unit without treating
@@ -1667,9 +1710,9 @@ are inserted as if each one was bound to <CODE>self-insert</CODE>) instead of
executing any editing commands.
<P>
<A NAME="IDX107"></A>
<A NAME="IDX111"></A>
<DT><CODE>transpose-chars (C-t)</CODE>
<DD><A NAME="IDX108"></A>
<DD><A NAME="IDX112"></A>
Drag the character before the cursor forward over
the character at the cursor, moving the
cursor forward as well. If the insertion point
@@ -1678,39 +1721,39 @@ transposes the last two characters of the line.
Negative arguments have no effect.
<P>
<A NAME="IDX109"></A>
<A NAME="IDX113"></A>
<DT><CODE>transpose-words (M-t)</CODE>
<DD><A NAME="IDX110"></A>
<DD><A NAME="IDX114"></A>
Drag the word before point past the word after point,
moving point past that word as well.
If the insertion point is at the end of the line, this transposes
the last two words on the line.
<P>
<A NAME="IDX111"></A>
<A NAME="IDX115"></A>
<DT><CODE>upcase-word (M-u)</CODE>
<DD><A NAME="IDX112"></A>
<DD><A NAME="IDX116"></A>
Uppercase the current (or following) word. With a negative argument,
uppercase the previous word, but do not move the cursor.
<P>
<A NAME="IDX113"></A>
<A NAME="IDX117"></A>
<DT><CODE>downcase-word (M-l)</CODE>
<DD><A NAME="IDX114"></A>
<DD><A NAME="IDX118"></A>
Lowercase the current (or following) word. With a negative argument,
lowercase the previous word, but do not move the cursor.
<P>
<A NAME="IDX115"></A>
<A NAME="IDX119"></A>
<DT><CODE>capitalize-word (M-c)</CODE>
<DD><A NAME="IDX116"></A>
<DD><A NAME="IDX120"></A>
Capitalize the current (or following) word. With a negative argument,
capitalize the previous word, but do not move the cursor.
<P>
<A NAME="IDX117"></A>
<A NAME="IDX121"></A>
<DT><CODE>overwrite-mode ()</CODE>
<DD><A NAME="IDX118"></A>
<DD><A NAME="IDX122"></A>
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
@@ -1750,106 +1793,106 @@ By default, this command is unbound.
<DL COMPACT>
<A NAME="IDX119"></A>
<A NAME="IDX123"></A>
<DT><CODE>kill-line (C-k)</CODE>
<DD><A NAME="IDX120"></A>
<DD><A NAME="IDX124"></A>
Kill the text from point to the end of the line.
<P>
<A NAME="IDX121"></A>
<DT><CODE>backward-kill-line (C-x Rubout)</CODE>
<DD><A NAME="IDX122"></A>
Kill backward from the cursor to the beginning of the current line.
<P>
<A NAME="IDX123"></A>
<DT><CODE>unix-line-discard (C-u)</CODE>
<DD><A NAME="IDX124"></A>
Kill backward from the cursor to the beginning of the current line.
<P>
<A NAME="IDX125"></A>
<DT><CODE>kill-whole-line ()</CODE>
<DT><CODE>backward-kill-line (C-x Rubout)</CODE>
<DD><A NAME="IDX126"></A>
Kill backward from the cursor to the beginning of the current line.
<P>
<A NAME="IDX127"></A>
<DT><CODE>unix-line-discard (C-u)</CODE>
<DD><A NAME="IDX128"></A>
Kill backward from the cursor to the beginning of the current line.
<P>
<A NAME="IDX129"></A>
<DT><CODE>kill-whole-line ()</CODE>
<DD><A NAME="IDX130"></A>
Kill all characters on the current line, no matter where point is.
By default, this is unbound.
<P>
<A NAME="IDX127"></A>
<A NAME="IDX131"></A>
<DT><CODE>kill-word (M-d)</CODE>
<DD><A NAME="IDX128"></A>
<DD><A NAME="IDX132"></A>
Kill from point to the end of the current word, or if between
words, to the end of the next word.
Word boundaries are the same as <CODE>forward-word</CODE>.
<P>
<A NAME="IDX129"></A>
<A NAME="IDX133"></A>
<DT><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE>
<DD><A NAME="IDX130"></A>
<DD><A NAME="IDX134"></A>
Kill the word behind point.
Word boundaries are the same as <CODE>backward-word</CODE>.
<P>
<A NAME="IDX131"></A>
<A NAME="IDX135"></A>
<DT><CODE>unix-word-rubout (C-w)</CODE>
<DD><A NAME="IDX132"></A>
<DD><A NAME="IDX136"></A>
Kill the word behind point, using white space as a word boundary.
The killed text is saved on the kill-ring.
<P>
<A NAME="IDX133"></A>
<A NAME="IDX137"></A>
<DT><CODE>unix-filename-rubout ()</CODE>
<DD><A NAME="IDX134"></A>
<DD><A NAME="IDX138"></A>
Kill the word behind point, using white space and the slash character
as the word boundaries.
The killed text is saved on the kill-ring.
<P>
<A NAME="IDX135"></A>
<A NAME="IDX139"></A>
<DT><CODE>delete-horizontal-space ()</CODE>
<DD><A NAME="IDX136"></A>
<DD><A NAME="IDX140"></A>
Delete all spaces and tabs around point. By default, this is unbound.
<P>
<A NAME="IDX137"></A>
<A NAME="IDX141"></A>
<DT><CODE>kill-region ()</CODE>
<DD><A NAME="IDX138"></A>
<DD><A NAME="IDX142"></A>
Kill the text in the current region.
By default, this command is unbound.
<P>
<A NAME="IDX139"></A>
<A NAME="IDX143"></A>
<DT><CODE>copy-region-as-kill ()</CODE>
<DD><A NAME="IDX140"></A>
<DD><A NAME="IDX144"></A>
Copy the text in the region to the kill buffer, so it can be yanked
right away. By default, this command is unbound.
<P>
<A NAME="IDX141"></A>
<A NAME="IDX145"></A>
<DT><CODE>copy-backward-word ()</CODE>
<DD><A NAME="IDX142"></A>
<DD><A NAME="IDX146"></A>
Copy the word before point to the kill buffer.
The word boundaries are the same as <CODE>backward-word</CODE>.
By default, this command is unbound.
<P>
<A NAME="IDX143"></A>
<A NAME="IDX147"></A>
<DT><CODE>copy-forward-word ()</CODE>
<DD><A NAME="IDX144"></A>
<DD><A NAME="IDX148"></A>
Copy the word following point to the kill buffer.
The word boundaries are the same as <CODE>forward-word</CODE>.
By default, this command is unbound.
<P>
<A NAME="IDX145"></A>
<A NAME="IDX149"></A>
<DT><CODE>yank (C-y)</CODE>
<DD><A NAME="IDX146"></A>
<DD><A NAME="IDX150"></A>
Yank the top of the kill ring into the buffer at point.
<P>
<A NAME="IDX147"></A>
<A NAME="IDX151"></A>
<DT><CODE>yank-pop (M-y)</CODE>
<DD><A NAME="IDX148"></A>
<DD><A NAME="IDX152"></A>
Rotate the kill-ring, and yank the new top. You can only do this if
the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>.
</DL>
@@ -1873,16 +1916,16 @@ the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>.
<!--docid::SEC18::-->
<DL COMPACT>
<A NAME="IDX149"></A>
<A NAME="IDX153"></A>
<DT><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE>
<DD><A NAME="IDX150"></A>
<DD><A NAME="IDX154"></A>
Add this digit to the argument already accumulating, or start a new
argument. <KBD>M--</KBD> starts a negative argument.
<P>
<A NAME="IDX151"></A>
<A NAME="IDX155"></A>
<DT><CODE>universal-argument ()</CODE>
<DD><A NAME="IDX152"></A>
<DD><A NAME="IDX156"></A>
This is another way to specify an argument.
If this command is followed by one or more digits, optionally with a
leading minus sign, those digits define the argument.
@@ -1917,33 +1960,33 @@ By default, this is not bound to a key.
<P>
<DL COMPACT>
<A NAME="IDX153"></A>
<A NAME="IDX157"></A>
<DT><CODE>complete (<KBD>TAB</KBD>)</CODE>
<DD><A NAME="IDX154"></A>
<DD><A NAME="IDX158"></A>
Attempt to perform completion on the text before point.
The actual completion performed is application-specific.
The default is filename completion.
<P>
<A NAME="IDX155"></A>
<A NAME="IDX159"></A>
<DT><CODE>possible-completions (M-?)</CODE>
<DD><A NAME="IDX156"></A>
<DD><A NAME="IDX160"></A>
List the possible completions of the text before point.
When displaying completions, Readline sets the number of columns used
for display to the value of <CODE>completion-display-width</CODE>, the value of
the environment variable <CODE>COLUMNS</CODE>, or the screen width, in that order.
<P>
<A NAME="IDX157"></A>
<A NAME="IDX161"></A>
<DT><CODE>insert-completions (M-*)</CODE>
<DD><A NAME="IDX158"></A>
<DD><A NAME="IDX162"></A>
Insert all completions of the text before point that would have
been generated by <CODE>possible-completions</CODE>.
<P>
<A NAME="IDX159"></A>
<A NAME="IDX163"></A>
<DT><CODE>menu-complete ()</CODE>
<DD><A NAME="IDX160"></A>
<DD><A NAME="IDX164"></A>
Similar to <CODE>complete</CODE>, but replaces the word to be completed
with a single match from the list of possible completions.
Repeated execution of <CODE>menu-complete</CODE> steps through the list
@@ -1958,17 +2001,17 @@ This command is intended to be bound to <KBD>TAB</KBD>, but is unbound
by default.
<P>
<A NAME="IDX161"></A>
<A NAME="IDX165"></A>
<DT><CODE>menu-complete-backward ()</CODE>
<DD><A NAME="IDX162"></A>
<DD><A NAME="IDX166"></A>
Identical to <CODE>menu-complete</CODE>, but moves backward through the list
of possible completions, as if <CODE>menu-complete</CODE> had been given a
negative argument.
<P>
<A NAME="IDX163"></A>
<A NAME="IDX167"></A>
<DT><CODE>delete-char-or-list ()</CODE>
<DD><A NAME="IDX164"></A>
<DD><A NAME="IDX168"></A>
Deletes the character under the cursor if not at the beginning or
end of the line (like <CODE>delete-char</CODE>).
If at the end of the line, behaves identically to
@@ -1997,29 +2040,29 @@ This command is unbound by default.
<!--docid::SEC20::-->
<DL COMPACT>
<A NAME="IDX165"></A>
<A NAME="IDX169"></A>
<DT><CODE>start-kbd-macro (C-x ()</CODE>
<DD><A NAME="IDX166"></A>
<DD><A NAME="IDX170"></A>
Begin saving the characters typed into the current keyboard macro.
<P>
<A NAME="IDX167"></A>
<A NAME="IDX171"></A>
<DT><CODE>end-kbd-macro (C-x ))</CODE>
<DD><A NAME="IDX168"></A>
<DD><A NAME="IDX172"></A>
Stop saving the characters typed into the current keyboard macro
and save the definition.
<P>
<A NAME="IDX169"></A>
<A NAME="IDX173"></A>
<DT><CODE>call-last-kbd-macro (C-x e)</CODE>
<DD><A NAME="IDX170"></A>
<DD><A NAME="IDX174"></A>
Re-execute the last keyboard macro defined, by making the characters
in the macro appear as if typed at the keyboard.
<P>
<A NAME="IDX171"></A>
<A NAME="IDX175"></A>
<DT><CODE>print-last-kbd-macro ()</CODE>
<DD><A NAME="IDX172"></A>
<DD><A NAME="IDX176"></A>
Print the last keboard macro defined in a format suitable for the
<VAR>inputrc</VAR> file.
<P>
@@ -2045,87 +2088,88 @@ Print the last keboard macro defined in a format suitable for the
<!--docid::SEC21::-->
<DL COMPACT>
<A NAME="IDX173"></A>
<A NAME="IDX177"></A>
<DT><CODE>re-read-init-file (C-x C-r)</CODE>
<DD><A NAME="IDX174"></A>
<DD><A NAME="IDX178"></A>
Read in the contents of the <VAR>inputrc</VAR> file, and incorporate
any bindings or variable assignments found there.
<P>
<A NAME="IDX175"></A>
<A NAME="IDX179"></A>
<DT><CODE>abort (C-g)</CODE>
<DD><A NAME="IDX176"></A>
<DD><A NAME="IDX180"></A>
Abort the current editing command and
ring the terminal's bell (subject to the setting of
<CODE>bell-style</CODE>).
<P>
<A NAME="IDX177"></A>
<DT><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE>
<DD><A NAME="IDX178"></A>
If the metafied character <VAR>x</VAR> is lowercase, run the command
that is bound to the corresponding uppercase character.
<A NAME="IDX181"></A>
<DT><CODE>do-lowercase-version (M-A, M-B, M-<VAR>x</VAR>, <small>...</small>)</CODE>
<DD><A NAME="IDX182"></A>
If the metafied character <VAR>x</VAR> is upper case, run the command
that is bound to the corresponding metafied lower case character.
The behavior is undefined if <VAR>x</VAR> is already lower case.
<P>
<A NAME="IDX179"></A>
<A NAME="IDX183"></A>
<DT><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE>
<DD><A NAME="IDX180"></A>
<DD><A NAME="IDX184"></A>
Metafy the next character typed. This is for keyboards
without a meta key. Typing <SAMP>`<KBD>ESC</KBD> f'</SAMP> is equivalent to typing
<KBD>M-f</KBD>.
<P>
<A NAME="IDX181"></A>
<A NAME="IDX185"></A>
<DT><CODE>undo (C-_ or C-x C-u)</CODE>
<DD><A NAME="IDX182"></A>
<DD><A NAME="IDX186"></A>
Incremental undo, separately remembered for each line.
<P>
<A NAME="IDX183"></A>
<A NAME="IDX187"></A>
<DT><CODE>revert-line (M-r)</CODE>
<DD><A NAME="IDX184"></A>
<DD><A NAME="IDX188"></A>
Undo all changes made to this line. This is like executing the <CODE>undo</CODE>
command enough times to get back to the beginning.
<P>
<A NAME="IDX185"></A>
<A NAME="IDX189"></A>
<DT><CODE>tilde-expand (M-~)</CODE>
<DD><A NAME="IDX186"></A>
<DD><A NAME="IDX190"></A>
Perform tilde expansion on the current word.
<P>
<A NAME="IDX187"></A>
<A NAME="IDX191"></A>
<DT><CODE>set-mark (C-@)</CODE>
<DD><A NAME="IDX188"></A>
<DD><A NAME="IDX192"></A>
Set the mark to the point. If a
numeric argument is supplied, the mark is set to that position.
<P>
<A NAME="IDX189"></A>
<A NAME="IDX193"></A>
<DT><CODE>exchange-point-and-mark (C-x C-x)</CODE>
<DD><A NAME="IDX190"></A>
<DD><A NAME="IDX194"></A>
Swap the point with the mark. The current cursor position is set to
the saved position, and the old cursor position is saved as the mark.
<P>
<A NAME="IDX191"></A>
<A NAME="IDX195"></A>
<DT><CODE>character-search (C-])</CODE>
<DD><A NAME="IDX192"></A>
<DD><A NAME="IDX196"></A>
A character is read and point is moved to the next occurrence of that
character. A negative count searches for previous occurrences.
<P>
<A NAME="IDX193"></A>
<A NAME="IDX197"></A>
<DT><CODE>character-search-backward (M-C-])</CODE>
<DD><A NAME="IDX194"></A>
<DD><A NAME="IDX198"></A>
A character is read and point is moved to the previous occurrence
of that character. A negative count searches for subsequent
occurrences.
<P>
<A NAME="IDX195"></A>
<A NAME="IDX199"></A>
<DT><CODE>skip-csi-sequence ()</CODE>
<DD><A NAME="IDX196"></A>
<DD><A NAME="IDX200"></A>
Read enough characters to consume a multi-key sequence such as those
defined for keys like Home and End. Such sequences begin with a
Control Sequence Indicator (CSI), usually ESC-[. If this sequence is
@@ -2135,9 +2179,9 @@ stray characters into the editing buffer. This is unbound by default,
but usually bound to ESC-[.
<P>
<A NAME="IDX197"></A>
<A NAME="IDX201"></A>
<DT><CODE>insert-comment (M-#)</CODE>
<DD><A NAME="IDX198"></A>
<DD><A NAME="IDX202"></A>
Without a numeric argument, the value of the <CODE>comment-begin</CODE>
variable is inserted at the beginning of the current line.
If a numeric argument is supplied, this command acts as a toggle: if
@@ -2148,43 +2192,43 @@ the line.
In either case, the line is accepted as if a newline had been typed.
<P>
<A NAME="IDX199"></A>
<A NAME="IDX203"></A>
<DT><CODE>dump-functions ()</CODE>
<DD><A NAME="IDX200"></A>
<DD><A NAME="IDX204"></A>
Print all of the functions and their key bindings to the
Readline output stream. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part
of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P>
<A NAME="IDX201"></A>
<A NAME="IDX205"></A>
<DT><CODE>dump-variables ()</CODE>
<DD><A NAME="IDX202"></A>
<DD><A NAME="IDX206"></A>
Print all of the settable variables and their values to the
Readline output stream. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part
of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P>
<A NAME="IDX203"></A>
<A NAME="IDX207"></A>
<DT><CODE>dump-macros ()</CODE>
<DD><A NAME="IDX204"></A>
<DD><A NAME="IDX208"></A>
Print all of the Readline key sequences bound to macros and the
strings they output. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part
of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P>
<A NAME="IDX205"></A>
<A NAME="IDX209"></A>
<DT><CODE>emacs-editing-mode (C-e)</CODE>
<DD><A NAME="IDX206"></A>
<DD><A NAME="IDX210"></A>
When in <CODE>vi</CODE> command mode, this causes a switch to <CODE>emacs</CODE>
editing mode.
<P>
<A NAME="IDX207"></A>
<A NAME="IDX211"></A>
<DT><CODE>vi-editing-mode (M-C-j)</CODE>
<DD><A NAME="IDX208"></A>
<DD><A NAME="IDX212"></A>
When in <CODE>emacs</CODE> editing mode, this causes a switch to <CODE>vi</CODE>
editing mode.
<P>
@@ -2911,7 +2955,7 @@ to permit their use in free software.
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="rluserman.html#SEC_About"> ? </A>]</TD>
</TR></TABLE>
<H1>About this document</H1>
This document was generated by <I>Chet Ramey</I> on <I>July, 1 2015</I>
This document was generated by <I>Chet Ramey</I> on <I>December, 14 2017</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>
<P></P>
@@ -3073,7 +3117,7 @@ the following structure:
<BR>
<FONT SIZE="-1">
This document was generated
by <I>Chet Ramey</I> on <I>July, 1 2015</I>
by <I>Chet Ramey</I> on <I>December, 14 2017</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A>