mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-07-02 09:50:50 +02:00
commit bash-20080911 snapshot
This commit is contained in:
+16
-5
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Sat Sep 6 13:05:54 EDT 2008
|
||||
.\" Last Change: Sat Sep 13 18:27:41 EDT 2008
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2008 September 6" "GNU Bash-4.0"
|
||||
.TH BASH 1 "2008 September 13" "GNU Bash-4.0"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -4535,18 +4535,27 @@ This is the library that handles reading input when using an interactive
|
||||
shell, unless the
|
||||
.B \-\-noediting
|
||||
option is given at shell invocation.
|
||||
Line editing is also used when using the \fB\-e\fP option to the
|
||||
\fBread\fP builtin.
|
||||
By default, the line editing commands are similar to those of emacs.
|
||||
A vi-style line editing interface is also available.
|
||||
To turn off line editing after the shell is running, use the
|
||||
.B +o emacs
|
||||
Line editing can be enabled at any time using the
|
||||
.B \-o emacs
|
||||
or
|
||||
.B +o vi
|
||||
.B \-o vi
|
||||
options to the
|
||||
.B set
|
||||
builtin (see
|
||||
.SM
|
||||
.B SHELL BUILTIN COMMANDS
|
||||
below).
|
||||
To turn off line editing after the shell is running, use the
|
||||
.B +o emacs
|
||||
or
|
||||
.B +o vi
|
||||
options to the
|
||||
.B set
|
||||
builtin.
|
||||
.SS "Readline Notation"
|
||||
.PP
|
||||
In this section, the emacs-style notation is used to denote
|
||||
@@ -7842,6 +7851,8 @@ is coming from a terminal,
|
||||
.SM
|
||||
.B READLINE
|
||||
above) is used to obtain the line.
|
||||
Readline uses the current (or default, if line editing was not previously
|
||||
active) editing settings.
|
||||
.TP
|
||||
.B \-i \fItext\fP
|
||||
If
|
||||
|
||||
+4
-2
@@ -5,12 +5,12 @@
|
||||
.\" Case Western Reserve University
|
||||
.\" chet@po.cwru.edu
|
||||
.\"
|
||||
.\" Last Change: Fri Aug 22 12:45:34 EDT 2008
|
||||
.\" Last Change: Sat Sep 6 13:05:54 EDT 2008
|
||||
.\"
|
||||
.\" bash_builtins, strip all but Built-Ins section
|
||||
.if \n(zZ=1 .ig zZ
|
||||
.if \n(zY=1 .ig zY
|
||||
.TH BASH 1 "2008 August 22" "GNU Bash-4.0"
|
||||
.TH BASH 1 "2008 September 6" "GNU Bash-4.0"
|
||||
.\"
|
||||
.\" There's some problem with having a `@'
|
||||
.\" in a tagged paragraph with the BSD man macros.
|
||||
@@ -7876,6 +7876,8 @@ the decimal point.
|
||||
This option is only effective if \fBread\fP is reading input from a
|
||||
terminal, pipe, or other special file; it has no effect when reading
|
||||
from regular files.
|
||||
If \fItimeout\fP is 0, \fBread\fP returns success if input is available on
|
||||
the specified file descriptor, failure otherwise.
|
||||
The exit status is greater than 128 if the timeout is exceeded.
|
||||
.TP
|
||||
.B \-u \fIfd\fP
|
||||
|
||||
@@ -3716,6 +3716,8 @@ rather than newline.
|
||||
|
||||
@item -e
|
||||
Readline (@pxref{Command Line Editing}) is used to obtain the line.
|
||||
Readline uses the current (or default, if line editing was not previously
|
||||
active) editing settings.
|
||||
|
||||
@item -i @var{text}
|
||||
If Readline is being used to read the line, @var{text} is placed into
|
||||
|
||||
@@ -3748,6 +3748,8 @@ the decimal point.
|
||||
This option is only effective if @code{read} is reading input from a
|
||||
terminal, pipe, or other special file; it has no effect when reading
|
||||
from regular files.
|
||||
If @var{timeout} is 0, @code{read} returns success if input is available on
|
||||
the specified file descriptor, failure otherwise.
|
||||
The exit status is greater than 128 if the timeout is exceeded.
|
||||
|
||||
@item -u @var{fd}
|
||||
|
||||
+2
-2
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2008 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Sat Sep 6 13:05:30 EDT 2008
|
||||
@set LASTCHANGE Sat Sep 13 18:27:23 EDT 2008
|
||||
|
||||
@set EDITION 4.0
|
||||
@set VERSION 4.0
|
||||
@set UPDATED 6 September 2008
|
||||
@set UPDATED 13 September 2008
|
||||
@set UPDATED-MONTH September 2008
|
||||
|
||||
+3
-3
@@ -2,9 +2,9 @@
|
||||
Copyright (C) 1988-2008 Free Software Foundation, Inc.
|
||||
@end ignore
|
||||
|
||||
@set LASTCHANGE Fri Aug 22 12:46:16 EDT 2008
|
||||
@set LASTCHANGE Sat Sep 6 13:05:30 EDT 2008
|
||||
|
||||
@set EDITION 4.0
|
||||
@set VERSION 4.0
|
||||
@set UPDATED 22 August 2008
|
||||
@set UPDATED-MONTH August 2008
|
||||
@set UPDATED 6 September 2008
|
||||
@set UPDATED-MONTH September 2008
|
||||
|
||||
Reference in New Issue
Block a user