mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-08-11 12:40:42 +02:00
change redisplay to handle some cases where the line consumes more than the number of physical screen lines; add regerror() error messages if regular expression compilation fails; make sure active region readline variables are displayed with bind -v; partial fix for bind -x and commands containing quoting characters
This commit is contained in:
@@ -6,9 +6,9 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet.ramey@case.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Feb 17 10:59:58 EST 2023
|
||||
.\" Last Change: Mon Jul 17 16:46:23 EDT 2023
|
||||
.\"
|
||||
.TH READLINE 3 "2023 February 17" "GNU Readline 8.2"
|
||||
.TH READLINE 3 "2023 July 17" "GNU Readline 8.3"
|
||||
.\"
|
||||
.\" File Name macro. This used to be `.PN', for Path Name,
|
||||
.\" but Sun doesn't seem to like that very much.
|
||||
@@ -371,8 +371,12 @@ If set to \fBaudible\fP, readline attempts to ring the terminal's bell.
|
||||
.TP
|
||||
.B bind\-tty\-special\-chars (On)
|
||||
If set to \fBOn\fP (the default), readline attempts to bind the control
|
||||
characters treated specially by the kernel's terminal driver to their
|
||||
characters that are
|
||||
treated specially by the kernel's terminal driver to their
|
||||
readline equivalents.
|
||||
These override the default readline bindings described here.
|
||||
Type \f(CWstty -a\fP at a bash prompt to see your current terminal settings,
|
||||
including the special control characters (usually \fBcchars\fP).
|
||||
.TP
|
||||
.B blink\-matching\-paren (Off)
|
||||
If set to \fBOn\fP, readline attempts to briefly move the cursor to an
|
||||
|
||||
@@ -1348,14 +1348,19 @@ If @var{c} is a number, return the value it represents.
|
||||
Bind the key sequence @var{keyseq} to invoke the macro @var{macro}.
|
||||
The binding is performed in @var{map}. When @var{keyseq} is invoked, the
|
||||
@var{macro} will be inserted into the line. This function is deprecated;
|
||||
use @code{rl_generic_bind()} instead.
|
||||
use @code{rl_generic_bind} instead.
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun void rl_macro_dumper (int readable)
|
||||
Print the key sequences bound to macros and their values, using
|
||||
the current keymap, to @code{rl_outstream}.
|
||||
If @var{readable} is non-zero, the list is formatted in such a way
|
||||
If @var{readable} is greater than zero, the list is formatted in such a way
|
||||
that it can be made part of an @code{inputrc} file and re-read.
|
||||
If @var{readable} is less than zero, the list is printed in a
|
||||
"translated" form that can be used by applications that wish to bind
|
||||
key sequences directly without calling @code{rl_parse_and_bind}
|
||||
(e.g., by calling @code{rl_generic_bind}).
|
||||
|
||||
@end deftypefun
|
||||
|
||||
@deftypefun int rl_variable_bind (const char *variable, const char *value)
|
||||
|
||||
@@ -456,8 +456,12 @@ the terminal's bell.
|
||||
@item bind-tty-special-chars
|
||||
@vindex bind-tty-special-chars
|
||||
If set to @samp{on} (the default), Readline attempts to bind the control
|
||||
characters treated specially by the kernel's terminal driver to their
|
||||
characters that are
|
||||
treated specially by the kernel's terminal driver to their
|
||||
Readline equivalents.
|
||||
These override the default Readline bindings described here.
|
||||
Type @samp{stty -a} at a Bash prompt to see your current terminal settings,
|
||||
including the special control characters (usually @code{cchars}).
|
||||
|
||||
@item blink-matching-paren
|
||||
@vindex blink-matching-paren
|
||||
@@ -1464,6 +1468,16 @@ 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.
|
||||
|
||||
@ifset BashFeatures
|
||||
@item shell-transpose-words (M-C-t)
|
||||
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.
|
||||
Word boundaries are the same as @code{shell-forward-word} and
|
||||
@code{shell-backward-word}.
|
||||
@end ifset
|
||||
|
||||
@item upcase-word (M-u)
|
||||
Uppercase the current (or following) word. With a negative argument,
|
||||
uppercase the previous word, but do not move the cursor.
|
||||
@@ -1534,14 +1548,6 @@ Kill the word behind point.
|
||||
Word boundaries are the same as @code{shell-backward-word}.
|
||||
@end ifset
|
||||
|
||||
@item shell-transpose-words (M-C-t)
|
||||
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.
|
||||
Word boundaries are the same as @code{shell-forward-word} and
|
||||
@code{shell-backward-word}.
|
||||
|
||||
@item unix-word-rubout (C-w)
|
||||
Kill the word behind point, using white space as a word boundary.
|
||||
The killed text is saved on the kill-ring.
|
||||
|
||||
@@ -2,10 +2,10 @@
|
||||
Copyright (C) 1988-2023 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set EDITION 8.2
|
||||
@set VERSION 8.2
|
||||
@set EDITION 8.3
|
||||
@set VERSION 8.3
|
||||
|
||||
@set UPDATED 15 June 2023
|
||||
@set UPDATED-MONTH June 2023
|
||||
@set UPDATED 17 July 2023
|
||||
@set UPDATED-MONTH July 2023
|
||||
|
||||
@set LASTCHANGE Thu Jun 15 14:37:40 EDT 2023
|
||||
@set LASTCHANGE Mon Jul 17 16:47:01 EDT 2023
|
||||
|
||||
Reference in New Issue
Block a user