commit bash-20051027 snapshot

This commit is contained in:
Chet Ramey
2011-12-03 13:52:48 -05:00
parent 7027abcba9
commit bc7bed5099
43 changed files with 19531 additions and 11461 deletions
+1 -9
View File
@@ -1,9 +1 @@
break maybe_make_export_env quit
r --norc
qui
break maybe_make_export_env
r
where
p export_env
p export_env_size
qui
+59
View File
@@ -1,3 +1,62 @@
This document details the changes between this version, bash-3.1-rc1,
and the previous version, bash-3.1-beta1.
1. Changes to Bash
a. Fixed a bug that could cause core dumps due of accessing the current
pipeline while in the middle of modifying it.
b. Fixed a bug that caused pathnames with backslashes still quoting characters
to be passed to opendir().
c. Command word completion now obeys the setting of completion-ignore-case.
d. Fixed a problem with redirection that caused file descriptors greater than
2 to be inappropriately marked as close-on-exec.
e. In Posix mode, after `wait' is called to wait for a particular process
explicitly, that process is removed from the list of processes known to
the shell, and subsequent attempts to wait for it return errors.
f. Fixed a bug that caused extended pattern matching to incorrectly scan
backslash-escaped pattern characters.
g. Fixed a synchronization problem that could cause core dumps when handling
a SIGWINCH.
h. Fixed a bug that caused an unmatched backquote to be accepted without an
error when processing here documents.
i. Fixed a small memory leak in the `cd' builtin.
j. Fix for MacOS X so it gets the values for the HOSTTYPE, MACHTYPE, and
OSTYPE variables at build time, to support universal binaries.
k. Fixed a bug that could cause an exit trap to return the exit status of
the trap command rather than the status as it was before the trap was
run as the shell's exit status.
2. New Features in Bash
3. Changes to Readline
a. Fixed a bug that caused reversing the incremental search direction to
not work correctly.
b. Fixed the vi-mode `U' command to only undo up to the first time insert mode
was entered, as Posix specifies.
4. New Features in Readline
a. New application-callable auxiliary function, rl_variable_value, returns
a string corresponding to a readline variable's value.
b. When parsing inputrc files and variable binding commands, the parser
strips trailing whitespace from values assigned to boolean variables
before checking them.
------------------------------------------------------------------------------
This document details the changes between this version, bash-3.1-beta1, This document details the changes between this version, bash-3.1-beta1,
and the previous version, bash-3.1-alpha1. and the previous version, bash-3.1-alpha1.
+183
View File
@@ -1,3 +1,177 @@
This document details the changes between this version, bash-3.1-rc1,
and the previous version, bash-3.1-beta1.
1. Changes to Bash
a. Fixed a bug that could cause core dumps due of accessing the current
pipeline while in the middle of modifying it.
b. Fixed a bug that caused pathnames with backslashes still quoting characters
to be passed to opendir().
c. Command word completion now obeys the setting of completion-ignore-case.
d. Fixed a problem with redirection that caused file descriptors greater than
2 to be inappropriately marked as close-on-exec.
e. In Posix mode, after `wait' is called to wait for a particular process
explicitly, that process is removed from the list of processes known to
the shell, and subsequent attempts to wait for it return errors.
f. Fixed a bug that caused extended pattern matching to incorrectly scan
backslash-escaped pattern characters.
g. Fixed a synchronization problem that could cause core dumps when handling
a SIGWINCH.
h. Fixed a bug that caused an unmatched backquote to be accepted without an
error when processing here documents.
i. Fixed a small memory leak in the `cd' builtin.
j. Fix for MacOS X so it gets the values for the HOSTTYPE, MACHTYPE, and
OSTYPE variables at build time, to support universal binaries.
2. New Features in Bash
3. Changes to Readline
a. Fixed a bug that caused reversing the incremental search direction to
not work correctly.
b. Fixed the vi-mode `U' command to only undo up to the first time insert mode
was entered, as Posix specifies.
4. New Features in Readline
a. New application-callable auxiliary function, rl_variable_value, returns
a string corresponding to a readline variable's value.
b. When parsing inputrc files and variable binding commands, the parser
strips trailing whitespace from values assigned to boolean variables
before checking them.
------------------------------------------------------------------------------
This document details the changes between this version, bash-3.1-beta1,
and the previous version, bash-3.1-alpha1.
1. Changes to Bash
a. Added some system-specific signal names.
b. Fixed a typo in the ulimit builtin to make `x' the right option to
maniuplate the limit on file locks.
c. Fixed a problem with using += to append to index 0 of an array variable
when not using subscript syntax.
d. A few changes to configure.in to remove calls to obsolete or outdated
macros.
e. Make sure changes to variables bash handles specially (e.g., LC_ALL) are
made when the variable is set in the temporary environment to a command.
f. Make sure changes to variables bash handles specially (e.g., LC_ALL) are
made when the variable is modified using `printf -v'.
g. The export environment is now remade on cygwin when HOME is changed, so
DLLs bash is linked against pick up the new value. This fixes problems
with tilde expansion when linking against and already-installed readline.
h. Small fix to the logic for performing tilde expansion in posix mode, so
expansion on the right-hand side of an assignment statement takes place.
i. Fixed a bug that prevented redirections associated with a shell function
from being executed when in a subshell.
j. Fixed `source' and `.' builtins to not require an executable file when
searching $PATH for a file to source.
k. Fixed a bug that caused incorrect word splitting in a function when IFS
was declared local, then unset.
l. Fixed a problem with the `kill' builtin that prevented sending signals
to a process group under certain circumstances when providing a pid < 0.
m. When in POSIX mode, `pwd' now checks that the value it prints is the same
directory as `.', even when displaying $PWD.
n. Fixed a problem with the `read' builtin when reading a script from standard
input and reading data from the same file.
o. Fixed a problem with the `type' and `command' builtins that caused absolute
pathnames to be displayed incorrectly.
p. Some changes to the `bg' builtin for POSIX conformance.
q. The `fc' builtin now removes the `fc' command that caused it to invoke an
editor on specified history entries from the history entirely, rather than
simply ignoring it.
r. When in POSIX mode, the `v' command in vi editing mode simply invokes vi
on the current command, rather than checking $FCEDIT and $EDITOR.
s. Fixed a small memory leak in the pathname canonicalization code.
t. Fixed a bug that caused the expanded value of a $'...' string to be
incorrectly re-quoted if it occurred within a double-quoted ${...}
parameter expansion.
u. Restored default emacs-mode key binding of M-TAB to dynamic-complete-history.
v. Fixed a bug that caused core dumps when interrupting loops running builtins
on some systems.
w. Make sure that some of the functions bash provides replacements for are
not cpp defines.
x. The code that scans embedded commands for the parser (`...` and $(...)) is
now more aware of embedded comments and their effect on quoted strings.
y. Changed the `-n' option to the `history' builtin to not reset the number of
history lines read in the current session after reading the new lines from
the history file if the history is being appended when it is written to
the file, since the appending takes care of the problem that the adjustment
was intended to solve.
z. Improved the error message displayed when a shell script fails to execute
because the environment and size of command line arguments are too large.
aa. A small fix to make sure that $HISTCMD is evaluated whenever the shell is
saving commands to the history list, not just when HISTSIZE is defined.
2. Changes to Readline
a. The `change-case' command now correctly changes the case of multibyte
characters.
b. Changes to the shared library construction scripts to deal with Windows
DLL naming conventions for Cygwin.
c. Fixed the redisplay code to avoid core dumps resulting from a poorly-timed
SIGWINCH.
d. Fixed the non-incremental search code in vi mode to dispose of any current
undo list when copying a line from the history into the current editing
buffer.
e. The variable assignment code now ignores whitespace at the end of lines.
f. The `C-w' binding in incremental search now understands multibyte
characters.
3. New Features in Bash
a. A new configuration option, `--enable-strict-posix-default', which will
build bash to be POSIX conforming by default.
4. New Features in Readline
a. If the rl_completion_query_items is set to a value < 0, readline never
asks the user whether or not to view the possible completions.
------------------------------------------------------------------------------
This document details the changes between this version, bash-3.1-alpha1, This document details the changes between this version, bash-3.1-alpha1,
and the previous version, bash-3.0-release. and the previous version, bash-3.0-release.
@@ -223,6 +397,12 @@ qqq. Fixed a bug that caused core dumps when the shell was reading its non-
interactive input from fd 0 and fd 0 was duplicated and restored using a interactive input from fd 0 and fd 0 was duplicated and restored using a
combination of `exec' (to save) and redirection (to restore). combination of `exec' (to save) and redirection (to restore).
rrr. Fixed a problem that caused loops in sourced scripts to not be cleaned
up properly when a `return' is executed.
sss. Change internal command substitution completion function to append a slash
to directory names in the command.
2. Changes to Readline 2. Changes to Readline
a. Fixed a bug that caused multiliine prompts to be wrapped and displayed a. Fixed a bug that caused multiliine prompts to be wrapped and displayed
@@ -284,6 +464,9 @@ r. Lots of changes so readline builds and runs on MinGW.
s. Readline no longer tries to modify the terminal settings when running in s. Readline no longer tries to modify the terminal settings when running in
callback mode. callback mode.
t. The Readline display code no longer sets the location of the last invisible
character in the prompt if the \[\] sequence is empty.
3. New Features in Bash 3. New Features in Bash
a. Bash now understands LC_TIME as a special variable so that time display a. Bash now understands LC_TIME as a special variable so that time display
+24
View File
@@ -12311,3 +12311,27 @@ builtins/cd.def
- make sure we free TDIR in change_to_directory after calling - make sure we free TDIR in change_to_directory after calling
set_working_directory (which allocates new memory) and other places set_working_directory (which allocates new memory) and other places
we short-circuit and return we short-circuit and return
10/24
-----
subst.c
- modified fix from 10/22 to allow bare ` to pass through (for
some backwards compatibility and more correctness)
10/27
-----
conftypes.h
- make MacOS X use the RHAPSODY code that gets HOSTTYPE, et al.
at build rather than configure time, to support universal binaries
(fix from llattanzi@apple.com)
10/30
-----
builtins/evalstring.c
- make sure we don't turn on CMD_NO_FORK in parse_and_execute if
we're running a trap command on signal receipt or exit
execute_cmd.c
- in shell_execve, improve the error message a little bit if the
interpreter name in a #! exec header ends with a ^M (as in a DOS-
format file)
+22 -1
View File
@@ -12309,4 +12309,25 @@ subst.c
----- -----
builtins/cd.def builtins/cd.def
- make sure we free TDIR in change_to_directory after calling - make sure we free TDIR in change_to_directory after calling
set_working_directory (which allocates new memory) set_working_directory (which allocates new memory) and other places
we short-circuit and return
10/24
-----
subst.c
- modified fix from 10/22 to allow bare ` to pass through (for
some backwards compatibility and more correctness)
10/27
-----
conftypes.h
- make MacOS X use the RHAPSODY code that gets HOSTTYPE, et al.
at build rather than configure time, to support universal binaries
(fix from llattanzi@apple.com)
10/30
-----
builtins/evalstring.c
- make sure we don't turn on CMD_NO_FORK in parse_and_execute if
we're running a trap command on signal receipt or exit
+1 -1
View File
@@ -120,7 +120,7 @@ CFLAGS = @CFLAGS@
CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@ CFLAGS_FOR_BUILD = @CFLAGS_FOR_BUILD@ @CROSS_COMPILE@
CPPFLAGS = @CPPFLAGS@ CPPFLAGS = @CPPFLAGS@
CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@ CPPFLAGS_FOR_BUILD = @CPPFLAGS_FOR_BUILD@
LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} LOCAL_CFLAGS = @LOCAL_CFLAGS@ ${DEBUG} ${MALLOC_DEBUG}
DEFS = @DEFS@ DEFS = @DEFS@
LOCAL_DEFS = @LOCAL_DEFS@ LOCAL_DEFS = @LOCAL_DEFS@
+10 -10
View File
@@ -1,7 +1,7 @@
@%:@! /bin/sh @%:@! /bin/sh
@%:@ From configure.in for Bash 3.1, version 3.180. @%:@ From configure.in for Bash 3.1, version 3.180.
@%:@ Guess values for system-dependent variables and create Makefiles. @%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.59 for bash 3.1-beta1. @%:@ Generated by GNU Autoconf 2.59 for bash 3.1-rc1.
@%:@ @%:@
@%:@ Report bugs to <bug-bash@gnu.org>. @%:@ Report bugs to <bug-bash@gnu.org>.
@%:@ @%:@
@@ -270,8 +270,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='bash' PACKAGE_NAME='bash'
PACKAGE_TARNAME='bash' PACKAGE_TARNAME='bash'
PACKAGE_VERSION='3.1-beta1' PACKAGE_VERSION='3.1-rc1'
PACKAGE_STRING='bash 3.1-beta1' PACKAGE_STRING='bash 3.1-rc1'
PACKAGE_BUGREPORT='bug-bash@gnu.org' PACKAGE_BUGREPORT='bug-bash@gnu.org'
ac_unique_file="shell.h" ac_unique_file="shell.h"
@@ -785,7 +785,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures bash 3.1-beta1 to adapt to many kinds of systems. \`configure' configures bash 3.1-rc1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -846,7 +846,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of bash 3.1-beta1:";; short | recursive ) echo "Configuration of bash 3.1-rc1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1039,7 +1039,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
bash configure 3.1-beta1 bash configure 3.1-rc1
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1053,7 +1053,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by bash $as_me 3.1-beta1, which was It was created by bash $as_me 3.1-rc1, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@@ -1422,7 +1422,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
BASHVERS=3.1 BASHVERS=3.1
RELSTATUS=beta1 RELSTATUS=rc1
case "$RELSTATUS" in case "$RELSTATUS" in
alp*|bet*|dev*|rc*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; alp*|bet*|dev*|rc*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;;
@@ -27212,7 +27212,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by bash $as_me 3.1-beta1, which was This file was extended by bash $as_me 3.1-rc1, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -27275,7 +27275,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
bash config.status 3.1-beta1 bash config.status 3.1-rc1
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
+17 -17
View File
@@ -17,19 +17,19 @@
{ {
'm4_pattern_forbid' => 1, 'm4_pattern_forbid' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1, 'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_C_VOLATILE' => 1,
'AC_TYPE_OFF_T' => 1, 'AC_TYPE_OFF_T' => 1,
'AC_C_VOLATILE' => 1,
'AC_FUNC_CLOSEDIR_VOID' => 1, 'AC_FUNC_CLOSEDIR_VOID' => 1,
'AC_REPLACE_FNMATCH' => 1, 'AC_REPLACE_FNMATCH' => 1,
'AC_PROG_LIBTOOL' => 1, 'AC_PROG_LIBTOOL' => 1,
'AC_FUNC_STAT' => 1, 'AC_FUNC_STAT' => 1,
'AC_HEADER_TIME' => 1,
'AC_FUNC_WAIT3' => 1, 'AC_FUNC_WAIT3' => 1,
'AC_FUNC_LSTAT' => 1, 'AC_HEADER_TIME' => 1,
'AC_STRUCT_TM' => 1,
'AM_AUTOMAKE_VERSION' => 1, 'AM_AUTOMAKE_VERSION' => 1,
'AC_TYPE_MODE_T' => 1, 'AC_STRUCT_TM' => 1,
'AC_FUNC_LSTAT' => 1,
'AC_FUNC_GETMNTENT' => 1, 'AC_FUNC_GETMNTENT' => 1,
'AC_TYPE_MODE_T' => 1,
'AC_FUNC_STRTOD' => 1, 'AC_FUNC_STRTOD' => 1,
'AC_CHECK_HEADERS' => 1, 'AC_CHECK_HEADERS' => 1,
'AC_FUNC_STRNLEN' => 1, 'AC_FUNC_STRNLEN' => 1,
@@ -48,17 +48,17 @@
'AC_STRUCT_ST_BLOCKS' => 1, 'AC_STRUCT_ST_BLOCKS' => 1,
'AC_TYPE_SIGNAL' => 1, 'AC_TYPE_SIGNAL' => 1,
'AC_TYPE_UID_T' => 1, 'AC_TYPE_UID_T' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'AC_PROG_MAKE_SET' => 1, 'AC_PROG_MAKE_SET' => 1,
'sinclude' => 1, 'AC_CONFIG_AUX_DIR' => 1,
'm4_pattern_allow' => 1, 'm4_pattern_allow' => 1,
'sinclude' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1, 'AC_DEFINE_TRACE_LITERAL' => 1,
'AC_FUNC_STRERROR_R' => 1, 'AC_FUNC_STRERROR_R' => 1,
'AC_PROG_CC' => 1, 'AC_PROG_CC' => 1,
'AC_FUNC_FORK' => 1,
'AC_DECL_SYS_SIGLIST' => 1, 'AC_DECL_SYS_SIGLIST' => 1,
'AC_FUNC_VPRINTF' => 1, 'AC_FUNC_FORK' => 1,
'AC_FUNC_STRCOLL' => 1, 'AC_FUNC_STRCOLL' => 1,
'AC_FUNC_VPRINTF' => 1,
'AC_PROG_YACC' => 1, 'AC_PROG_YACC' => 1,
'AC_INIT' => 1, 'AC_INIT' => 1,
'AC_STRUCT_TIMEZONE' => 1, 'AC_STRUCT_TIMEZONE' => 1,
@@ -80,33 +80,33 @@
'AM_MAINTAINER_MODE' => 1, 'AM_MAINTAINER_MODE' => 1,
'AC_FUNC_UTIME_NULL' => 1, 'AC_FUNC_UTIME_NULL' => 1,
'AC_FUNC_SELECT_ARGTYPES' => 1, 'AC_FUNC_SELECT_ARGTYPES' => 1,
'AC_FUNC_STRFTIME' => 1,
'AC_HEADER_STAT' => 1, 'AC_HEADER_STAT' => 1,
'AC_PROG_CPP' => 1, 'AC_FUNC_STRFTIME' => 1,
'AC_C_INLINE' => 1, 'AC_C_INLINE' => 1,
'AC_TYPE_PID_T' => 1, 'AC_PROG_CPP' => 1,
'AC_PROG_LEX' => 1,
'AC_C_CONST' => 1, 'AC_C_CONST' => 1,
'AC_PROG_LEX' => 1,
'AC_TYPE_PID_T' => 1,
'AC_CONFIG_FILES' => 1, 'AC_CONFIG_FILES' => 1,
'include' => 1, 'include' => 1,
'AC_FUNC_SETVBUF_REVERSED' => 1, 'AC_FUNC_SETVBUF_REVERSED' => 1,
'AC_PROG_INSTALL' => 1, 'AC_PROG_INSTALL' => 1,
'AM_GNU_GETTEXT' => 1, 'AM_GNU_GETTEXT' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_OBSTACK' => 1, 'AC_FUNC_OBSTACK' => 1,
'AC_CHECK_LIB' => 1,
'AC_FUNC_MALLOC' => 1, 'AC_FUNC_MALLOC' => 1,
'AC_FUNC_GETGROUPS' => 1, 'AC_FUNC_GETGROUPS' => 1,
'AC_FUNC_GETLOADAVG' => 1, 'AC_FUNC_GETLOADAVG' => 1,
'AH_OUTPUT' => 1, 'AH_OUTPUT' => 1,
'AC_FUNC_FSEEKO' => 1, 'AC_FUNC_FSEEKO' => 1,
'AM_PROG_CC_C_O' => 1, 'AM_PROG_CC_C_O' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_CONDITIONAL' => 1, 'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AC_FUNC_MKTIME' => 1,
'AC_CONFIG_HEADERS' => 1, 'AC_CONFIG_HEADERS' => 1,
'AC_HEADER_SYS_WAIT' => 1, 'AC_HEADER_SYS_WAIT' => 1,
'AC_FUNC_MEMCMP' => 1,
'AC_PROG_LN_S' => 1, 'AC_PROG_LN_S' => 1,
'AC_FUNC_MEMCMP' => 1,
'm4_include' => 1, 'm4_include' => 1,
'AC_HEADER_DIRENT' => 1, 'AC_HEADER_DIRENT' => 1,
'AC_CHECK_FUNCS' => 1 'AC_CHECK_FUNCS' => 1
+1 -1
View File
@@ -1,4 +1,4 @@
m4trace:configure.in:30: -1- AC_INIT([bash], [3.1-beta1], [bug-bash@gnu.org]) m4trace:configure.in:30: -1- AC_INIT([bash], [3.1-rc1], [bug-bash@gnu.org])
m4trace:configure.in:30: -1- m4_pattern_forbid([^_?A[CHUM]_]) m4trace:configure.in:30: -1- m4_pattern_forbid([^_?A[CHUM]_])
m4trace:configure.in:30: -1- m4_pattern_forbid([_AC_]) m4trace:configure.in:30: -1- m4_pattern_forbid([_AC_])
m4trace:configure.in:30: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS']) m4trace:configure.in:30: -1- m4_pattern_forbid([^LIBOBJS$], [do not use LIBOBJS directly, use AC_LIBOBJ (see section `AC_LIBOBJ vs LIBOBJS'])
+5 -1
View File
@@ -1,4 +1,6 @@
/* Copyright (C) 1996 Free Software Foundation, Inc. /* Evaluate a string as one or more shell commands.
Copyright (C) 1996-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell. This file is part of GNU Bash, the Bourne Again SHell.
@@ -233,6 +235,7 @@ parse_and_execute (string, from_file, flags)
* IF * IF
* we were invoked as `bash -c' (startup_state == 2) AND * we were invoked as `bash -c' (startup_state == 2) AND
* parse_and_execute has not been called recursively AND * parse_and_execute has not been called recursively AND
* we're not running a trap AND
* we have parsed the full command (string == '\0') AND * we have parsed the full command (string == '\0') AND
* we have a simple command without redirections AND * we have a simple command without redirections AND
* the command is not being timed AND * the command is not being timed AND
@@ -241,6 +244,7 @@ parse_and_execute (string, from_file, flags)
* tell the execution code that we don't need to fork * tell the execution code that we don't need to fork
*/ */
if (startup_state == 2 && parse_and_execute_level == 1 && if (startup_state == 2 && parse_and_execute_level == 1 &&
running_trap == 0 &&
*bash_input.location.string == '\0' && *bash_input.location.string == '\0' &&
command->type == cm_simple && command->type == cm_simple &&
!command->redirects && !command->value.Simple->redirects && !command->redirects && !command->value.Simple->redirects &&
+9 -1
View File
@@ -1,4 +1,6 @@
/* Copyright (C) 1996 Free Software Foundation, Inc. /* Evaluate a string as one or more shell commands.
Copyright (C) 1996-2005 Free Software Foundation, Inc.
This file is part of GNU Bash, the Bourne Again SHell. This file is part of GNU Bash, the Bourne Again SHell.
@@ -58,6 +60,7 @@ extern int indirection_level, startup_state, subshell_environment;
extern int line_number; extern int line_number;
extern int last_command_exit_value; extern int last_command_exit_value;
extern int running_trap; extern int running_trap;
extern int loop_level;
extern int posixly_correct; extern int posixly_correct;
int parse_and_execute_level = 0; int parse_and_execute_level = 0;
@@ -105,6 +108,7 @@ parse_and_execute (string, from_file, flags)
unwind_protect_jmp_buf (top_level); unwind_protect_jmp_buf (top_level);
unwind_protect_int (indirection_level); unwind_protect_int (indirection_level);
unwind_protect_int (line_number); unwind_protect_int (line_number);
unwind_protect_int (loop_level);
if (flags & (SEVAL_NONINT|SEVAL_INTERACT)) if (flags & (SEVAL_NONINT|SEVAL_INTERACT))
unwind_protect_int (interactive); unwind_protect_int (interactive);
@@ -231,6 +235,7 @@ parse_and_execute (string, from_file, flags)
* IF * IF
* we were invoked as `bash -c' (startup_state == 2) AND * we were invoked as `bash -c' (startup_state == 2) AND
* parse_and_execute has not been called recursively AND * parse_and_execute has not been called recursively AND
* we're not running a trap AND
* we have parsed the full command (string == '\0') AND * we have parsed the full command (string == '\0') AND
* we have a simple command without redirections AND * we have a simple command without redirections AND
* the command is not being timed AND * the command is not being timed AND
@@ -239,12 +244,14 @@ parse_and_execute (string, from_file, flags)
* tell the execution code that we don't need to fork * tell the execution code that we don't need to fork
*/ */
if (startup_state == 2 && parse_and_execute_level == 1 && if (startup_state == 2 && parse_and_execute_level == 1 &&
running_trap == 0 &&
*bash_input.location.string == '\0' && *bash_input.location.string == '\0' &&
command->type == cm_simple && command->type == cm_simple &&
!command->redirects && !command->value.Simple->redirects && !command->redirects && !command->value.Simple->redirects &&
((command->flags & CMD_TIME_PIPELINE) == 0) && ((command->flags & CMD_TIME_PIPELINE) == 0) &&
((command->flags & CMD_INVERT_RETURN) == 0)) ((command->flags & CMD_INVERT_RETURN) == 0))
{ {
itrace("parse_and_execute: turning on CMD_NO_FORK");
command->flags |= CMD_NO_FORK; command->flags |= CMD_NO_FORK;
command->value.Simple->flags |= CMD_NO_FORK; command->value.Simple->flags |= CMD_NO_FORK;
} }
@@ -300,6 +307,7 @@ parse_and_execute (string, from_file, flags)
if (should_jump_to_top_level) if (should_jump_to_top_level)
jump_to_top_level (code); jump_to_top_level (code);
itrace("parse_and_execute: returning %d", last_result);
return (last_result); return (last_result);
} }
+4 -2
View File
@@ -814,8 +814,10 @@ vbadd (buf, blen)
} }
vbuf[vblen] = '\0'; vbuf[vblen] = '\0';
if (strlen (vbuf) != vblen) #ifdef DEBUG
internal_error ("printf:vbadd: vblen (%d) != strlen (vbuf) (%d)", vblen, strlen (vbuf)); if (strlen (vbuf) != vblen)
internal_error ("printf:vbadd: vblen (%d) != strlen (vbuf) (%d)", vblen, strlen (vbuf));
#endif
return vbuf; return vbuf;
} }
+10 -5
View File
@@ -115,7 +115,10 @@ extern int errno;
do \ do \
{ \ { \
if (vflag) \ if (vflag) \
bind_variable (vname, vbuf, 0); \ { \
bind_variable (vname, vbuf, 0); \
stupidly_hack_special_variables (vname); \
} \
if (conv_bufsize > 4096 ) \ if (conv_bufsize > 4096 ) \
{ \ { \
free (conv_buf); \ free (conv_buf); \
@@ -300,9 +303,10 @@ printf_builtin (list)
else else
{ {
/* Negative precisions are allowed but treated as if the /* Negative precisions are allowed but treated as if the
precision were missing; as an extension we allow a precision were missing; I would like to allow a leading
leading `+' in the precision number. */ `+' in the precision number as an extension, but lots
#if 1 of asprintf/fprintf implementations get this wrong. */
#if 0
if (*fmt == '-' || *fmt == '+') if (*fmt == '-' || *fmt == '+')
#else #else
if (*fmt == '-') if (*fmt == '-')
@@ -374,7 +378,7 @@ printf_builtin (list)
int rlen, r; int rlen, r;
p = getstr (); p = getstr ();
ch = rlen = 0; ch = rlen = r = 0;
xp = bexpand (p, strlen (p), &ch, &rlen); xp = bexpand (p, strlen (p), &ch, &rlen);
if (xp) if (xp)
@@ -401,6 +405,7 @@ printf_builtin (list)
char *p, *xp; char *p, *xp;
int r; int r;
r = 0;
p = getstr (); p = getstr ();
if (ansic_shouldquote (p)) if (ansic_shouldquote (p))
xp = ansic_quote (p, 0, (int *)0); xp = ansic_quote (p, 0, (int *)0);
Vendored
+11 -10
View File
@@ -1,7 +1,7 @@
#! /bin/sh #! /bin/sh
# From configure.in for Bash 3.1, version 3.180. # From configure.in for Bash 3.1, version 3.180.
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for bash 3.1-beta1. # Generated by GNU Autoconf 2.59 for bash 3.1-rc1.
# #
# Report bugs to <bug-bash@gnu.org>. # Report bugs to <bug-bash@gnu.org>.
# #
@@ -270,8 +270,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='bash' PACKAGE_NAME='bash'
PACKAGE_TARNAME='bash' PACKAGE_TARNAME='bash'
PACKAGE_VERSION='3.1-beta1' PACKAGE_VERSION='3.1-rc1'
PACKAGE_STRING='bash 3.1-beta1' PACKAGE_STRING='bash 3.1-rc1'
PACKAGE_BUGREPORT='bug-bash@gnu.org' PACKAGE_BUGREPORT='bug-bash@gnu.org'
ac_unique_file="shell.h" ac_unique_file="shell.h"
@@ -785,7 +785,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures bash 3.1-beta1 to adapt to many kinds of systems. \`configure' configures bash 3.1-rc1 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
@@ -846,7 +846,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of bash 3.1-beta1:";; short | recursive ) echo "Configuration of bash 3.1-rc1:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
@@ -1039,7 +1039,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
bash configure 3.1-beta1 bash configure 3.1-rc1
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
@@ -1053,7 +1053,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by bash $as_me 3.1-beta1, which was It was created by bash $as_me 3.1-rc1, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
@@ -1422,7 +1422,7 @@ ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
BASHVERS=3.1 BASHVERS=3.1
RELSTATUS=beta1 RELSTATUS=rc1
case "$RELSTATUS" in case "$RELSTATUS" in
alp*|bet*|dev*|rc*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;; alp*|bet*|dev*|rc*) DEBUG='-DDEBUG' MALLOC_DEBUG='-DMALLOC_DEBUG' ;;
@@ -27212,7 +27212,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by bash $as_me 3.1-beta1, which was This file was extended by bash $as_me 3.1-rc1, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
@@ -27275,7 +27275,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
bash config.status 3.1-beta1 bash config.status 3.1-rc1
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
@@ -28319,3 +28319,4 @@ if test "$no_create" != yes; then
# would make configure fail if this is the last instruction. # would make configure fail if this is the last instruction.
$ac_cs_success || { (exit 1); exit 1; } $ac_cs_success || { (exit 1); exit 1; }
fi fi
+1 -1
View File
@@ -25,7 +25,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_REVISION([for Bash 3.1, version 3.180])dnl AC_REVISION([for Bash 3.1, version 3.180])dnl
define(bashvers, 3.1) define(bashvers, 3.1)
define(relstatus, beta1) define(relstatus, rc1)
AC_INIT(bash, bashvers-relstatus, bug-bash@gnu.org) AC_INIT(bash, bashvers-relstatus, bug-bash@gnu.org)
+2 -2
View File
@@ -25,7 +25,7 @@ dnl Process this file with autoconf to produce a configure script.
AC_REVISION([for Bash 3.1, version 3.180])dnl AC_REVISION([for Bash 3.1, version 3.180])dnl
define(bashvers, 3.1) define(bashvers, 3.1)
define(relstatus, alpha1) define(relstatus, beta1)
AC_INIT(bash, bashvers-relstatus, bug-bash@gnu.org) AC_INIT(bash, bashvers-relstatus, bug-bash@gnu.org)
@@ -230,7 +230,7 @@ AC_ARG_ENABLE(restricted, AC_HELP_STRING([--enable-restricted], [enable a restri
AC_ARG_ENABLE(select, AC_HELP_STRING([--enable-select], [include select command]), opt_select=$enableval) AC_ARG_ENABLE(select, AC_HELP_STRING([--enable-select], [include select command]), opt_select=$enableval)
AC_ARG_ENABLE(separate-helpfiles, AC_HELP_STRING([--enable-separate-helpfiles], [use external files for help builtin documentation]), opt_separate_help=$enableval) AC_ARG_ENABLE(separate-helpfiles, AC_HELP_STRING([--enable-separate-helpfiles], [use external files for help builtin documentation]), opt_separate_help=$enableval)
AC_ARG_ENABLE(single-help-strings, AC_HELP_STRING([--enable-single-help-strings], [store help documentation as a single string to ease translation]), opt_single_longdoc_strings=$enableval) AC_ARG_ENABLE(single-help-strings, AC_HELP_STRING([--enable-single-help-strings], [store help documentation as a single string to ease translation]), opt_single_longdoc_strings=$enableval)
AC_ARG_ENABLE(strict-posix-default, AC_HELP_STRING([--strict-posix-default], [configure bash to be posix-conformant by default]), opt_strict_posix=$enableval) AC_ARG_ENABLE(strict-posix-default, AC_HELP_STRING([--enable-strict-posix-default], [configure bash to be posix-conformant by default]), opt_strict_posix=$enableval)
AC_ARG_ENABLE(usg-echo-default, AC_HELP_STRING([--enable-usg-echo-default], [a synonym for --enable-xpg-echo-default]), opt_xpg_echo=$enableval) AC_ARG_ENABLE(usg-echo-default, AC_HELP_STRING([--enable-usg-echo-default], [a synonym for --enable-xpg-echo-default]), opt_xpg_echo=$enableval)
AC_ARG_ENABLE(xpg-echo-default, AC_HELP_STRING([--enable-xpg-echo-default], [make the echo builtin expand escape sequences by default]), opt_xpg_echo=$enableval) AC_ARG_ENABLE(xpg-echo-default, AC_HELP_STRING([--enable-xpg-echo-default], [make the echo builtin expand escape sequences by default]), opt_xpg_echo=$enableval)
+1 -1
View File
@@ -24,7 +24,7 @@
/* Placeholder for future modifications if cross-compiling or building a /* Placeholder for future modifications if cross-compiling or building a
`fat' binary, e.g. on Apple Rhapsody. These values are used in multiple `fat' binary, e.g. on Apple Rhapsody. These values are used in multiple
files, so they appear here. */ files, so they appear here. */
#if !defined (RHAPSODY) #if !defined (RHAPSODY) && !defined (MACOSX)
# define HOSTTYPE CONF_HOSTTYPE # define HOSTTYPE CONF_HOSTTYPE
# define OSTYPE CONF_OSTYPE # define OSTYPE CONF_OSTYPE
# define MACHTYPE CONF_MACHTYPE # define MACHTYPE CONF_MACHTYPE
+9
View File
@@ -3870,9 +3870,18 @@ shell_execve (command, args, env)
if (sample_len > 2 && sample[0] == '#' && sample[1] == '!') if (sample_len > 2 && sample[0] == '#' && sample[1] == '!')
{ {
char *interp; char *interp;
int ilen;
interp = getinterp (sample, sample_len, (int *)NULL); interp = getinterp (sample, sample_len, (int *)NULL);
ilen = strlen (interp);
errno = i; errno = i;
if (interp[ilen - 1] == '\r')
{
interp = xrealloc (interp, ilen + 2);
interp[ilen - 1] = '^';
interp[ilen] = 'M';
interp[ilen + 1] = '\0';
}
sys_error (_("%s: %s: bad interpreter"), command, interp ? interp : ""); sys_error (_("%s: %s: bad interpreter"), command, interp ? interp : "");
FREE (interp); FREE (interp);
return (EX_NOEXEC); return (EX_NOEXEC);
+23 -15
View File
@@ -3050,13 +3050,9 @@ execute_builtin (builtin, words, flags, subshell)
/* The temporary environment for a builtin is supposed to apply to /* The temporary environment for a builtin is supposed to apply to
all commands executed by that builtin. Currently, this is a all commands executed by that builtin. Currently, this is a
#if 0 problem only with the `unset', `source' and `eval' builtins. */
problem only with the `source' and `eval' builtins. */
isbltinenv = (builtin == source_builtin || builtin == eval_builtin);
#else
problem only with the `source', `unset', and `eval' builtins. */
isbltinenv = (builtin == source_builtin || builtin == eval_builtin || builtin == unset_builtin); isbltinenv = (builtin == source_builtin || builtin == eval_builtin || builtin == unset_builtin);
#endif
if (isbltinenv) if (isbltinenv)
{ {
@@ -3228,18 +3224,12 @@ execute_function (var, words, flags, fds_to_close, async, subshell)
/* Number of the line on which the function body starts. */ /* Number of the line on which the function body starts. */
line_number = function_line_number = tc->line; line_number = function_line_number = tc->line;
if (subshell)
{
#if defined (JOB_CONTROL) #if defined (JOB_CONTROL)
stop_pipeline (async, (COMMAND *)NULL); if (subshell)
stop_pipeline (async, (COMMAND *)NULL);
#endif #endif
fc = (tc->type == cm_group) ? tc->value.Group->command : tc;
if (fc && (flags & CMD_IGNORE_RETURN)) fc = tc;
fc->flags |= CMD_IGNORE_RETURN;
}
else
fc = tc;
return_catch_flag++; return_catch_flag++;
return_val = setjmp (return_catch); return_val = setjmp (return_catch);
@@ -3790,6 +3780,7 @@ initialize_subshell ()
/* Forget about the way job control was working. We are in a subshell. */ /* Forget about the way job control was working. We are in a subshell. */
without_job_control (); without_job_control ();
set_sigchld_handler (); set_sigchld_handler ();
init_job_stats ();
#endif /* JOB_CONTROL */ #endif /* JOB_CONTROL */
/* Reset the values of the shell flags and options. */ /* Reset the values of the shell flags and options. */
@@ -3864,6 +3855,12 @@ shell_execve (command, args, env)
errno = i; errno = i;
file_error (command); file_error (command);
} }
/* errors not involving the path argument to execve. */
else if (i == E2BIG || i == ENOMEM)
{
errno = i;
file_error (command);
}
else else
{ {
/* The file has the execute bits set, but the kernel refuses to /* The file has the execute bits set, but the kernel refuses to
@@ -3873,9 +3870,20 @@ shell_execve (command, args, env)
if (sample_len > 2 && sample[0] == '#' && sample[1] == '!') if (sample_len > 2 && sample[0] == '#' && sample[1] == '!')
{ {
char *interp; char *interp;
int ilen;
interp = getinterp (sample, sample_len, (int *)NULL); interp = getinterp (sample, sample_len, (int *)NULL);
ilen = strlen (interp);
errno = i; errno = i;
itrace("shell_execve: interp = `%s', ilen = %d", interp, ilen);
itrace("shell_execve: interp[ilen - 1] = %d", interp[ilen - 1]);
if (interp[ilen - 1] == '\r')
{
interp = xrealloc (interp, ilen + 2);
interp[ilen - 1] = '^';
interp[ilen] = 'M';
interp[ilen + 1] = '\0';
}
sys_error (_("%s: %s: bad interpreter"), command, interp ? interp : ""); sys_error (_("%s: %s: bad interpreter"), command, interp ? interp : "");
FREE (interp); FREE (interp);
return (EX_NOEXEC); return (EX_NOEXEC);
Binary file not shown.
+3 -3
View File
@@ -1,6 +1,6 @@
<HTML> <HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on July, 27 2004 by texi2html 1.64 --> <!-- Created on October, 27 2005 by texi2html 1.64 -->
<!-- <!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org> Karl Berry <karl@freefriends.org>
@@ -2100,7 +2100,7 @@ to permit their use in free software.
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="history.html#SEC_About"> ? </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="history.html#SEC_About"> ? </A>]</TD>
</TR></TABLE> </TR></TABLE>
<H1>About this document</H1> <H1>About this document</H1>
This document was generated by <I>Chet Ramey</I> on <I>July, 27 2004</I> This document was generated by <I>Chet Ramey</I> on <I>October, 27 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A> "><I>texi2html</I></A>
<P></P> <P></P>
@@ -2262,7 +2262,7 @@ the following structure:
<BR> <BR>
<FONT SIZE="-1"> <FONT SIZE="-1">
This document was generated This document was generated
by <I>Chet Ramey</I> on <I>July, 27 2004</I> by <I>Chet Ramey</I> on <I>October, 27 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A> "><I>texi2html</I></A>
+202 -167
View File
@@ -1,8 +1,8 @@
This is history.info, produced by makeinfo version 4.5 from This is history.info, produced by makeinfo version 4.7 from
./history.texi. ./history.texi.
This document describes the GNU History library (version 5.0, 28 This document describes the GNU History library (version 5.1-beta1,
January 2004), a programming tool that provides a consistent user 7 October 2005), a programming tool that provides a consistent user
interface for recalling lines of previously typed input. interface for recalling lines of previously typed input.
Copyright (C) 1988-2004 Free Software Foundation, Inc. Copyright (C) 1988-2004 Free Software Foundation, Inc.
@@ -34,9 +34,9 @@ File: history.info, Node: Top, Next: Using History Interactively, Up: (dir)
GNU History Library GNU History Library
******************* *******************
This document describes the GNU History library, a programming tool This document describes the GNU History library, a programming tool that
that provides a consistent user interface for recalling lines of provides a consistent user interface for recalling lines of previously
previously typed input. typed input.
* Menu: * Menu:
@@ -50,13 +50,13 @@ previously typed input.
 
File: history.info, Node: Using History Interactively, Next: Programming with GNU History, Prev: Top, Up: Top File: history.info, Node: Using History Interactively, Next: Programming with GNU History, Prev: Top, Up: Top
Using History Interactively 1 Using History Interactively
*************************** *****************************
This chapter describes how to use the GNU History Library This chapter describes how to use the GNU History Library interactively,
interactively, from a user's standpoint. It should be considered a from a user's standpoint. It should be considered a user's guide. For
user's guide. For information on using the GNU History Library in your information on using the GNU History Library in your own programs,
own programs, *note Programming with GNU History::. *note Programming with GNU History::.
* Menu: * Menu:
@@ -65,12 +65,12 @@ own programs, *note Programming with GNU History::.
 
File: history.info, Node: History Interaction, Up: Using History Interactively File: history.info, Node: History Interaction, Up: Using History Interactively
History Expansion 1.1 History Expansion
================= =====================
The History library provides a history expansion feature that is The History library provides a history expansion feature that is similar
similar to the history expansion provided by `csh'. This section to the history expansion provided by `csh'. This section describes the
describes the syntax used to manipulate the history information. syntax used to manipulate the history information.
History expansions introduce words from the history list into the History expansions introduce words from the history list into the
input stream, making it easy to repeat commands, insert the arguments input stream, making it easy to repeat commands, insert the arguments
@@ -97,10 +97,10 @@ appearance of the history expansion character, which is `!' by default.
 
File: history.info, Node: Event Designators, Next: Word Designators, Up: History Interaction File: history.info, Node: Event Designators, Next: Word Designators, Up: History Interaction
Event Designators 1.1.1 Event Designators
----------------- -----------------------
An event designator is a reference to a command line entry in the An event designator is a reference to a command line entry in the
history list. history list.
`!' `!'
@@ -135,10 +135,10 @@ history list.
 
File: history.info, Node: Word Designators, Next: Modifiers, Prev: Event Designators, Up: History Interaction File: history.info, Node: Word Designators, Next: Modifiers, Prev: Event Designators, Up: History Interaction
Word Designators 1.1.2 Word Designators
---------------- ----------------------
Word designators are used to select desired words from the event. A Word designators are used to select desired words from the event. A
`:' separates the event specification from the word designator. It may `:' separates the event specification from the word designator. It may
be omitted if the word designator begins with a `^', `$', `*', `-', or be omitted if the word designator begins with a `^', `$', `*', `-', or
`%'. Words are numbered from the beginning of the line, with the first `%'. Words are numbered from the beginning of the line, with the first
@@ -197,10 +197,10 @@ previous command is used as the event.
 
File: history.info, Node: Modifiers, Prev: Word Designators, Up: History Interaction File: history.info, Node: Modifiers, Prev: Word Designators, Up: History Interaction
Modifiers 1.1.3 Modifiers
--------- ---------------
After the optional word designator, you can add a sequence of one or After the optional word designator, you can add a sequence of one or
more of the following modifiers, each preceded by a `:'. more of the following modifiers, each preceded by a `:'.
`h' `h'
@@ -242,10 +242,10 @@ more of the following modifiers, each preceded by a `:'.
 
File: history.info, Node: Programming with GNU History, Next: Copying This Manual, Prev: Using History Interactively, Up: Top File: history.info, Node: Programming with GNU History, Next: Copying This Manual, Prev: Using History Interactively, Up: Top
Programming with GNU History 2 Programming with GNU History
**************************** ******************************
This chapter describes how to interface programs that you write with This chapter describes how to interface programs that you write with
the GNU History Library. It should be considered a technical guide. the GNU History Library. It should be considered a technical guide.
For information on the interactive use of GNU History, *note Using For information on the interactive use of GNU History, *note Using
History Interactively::. History Interactively::.
@@ -261,10 +261,10 @@ History Interactively::.
 
File: history.info, Node: Introduction to History, Next: History Storage, Up: Programming with GNU History File: history.info, Node: Introduction to History, Next: History Storage, Up: Programming with GNU History
Introduction to History 2.1 Introduction to History
======================= ===========================
Many programs read input from the user a line at a time. The GNU Many programs read input from the user a line at a time. The GNU
History library is able to keep track of those lines, associate History library is able to keep track of those lines, associate
arbitrary data with each line, and utilize information from previous arbitrary data with each line, and utilize information from previous
lines in composing new ones. lines in composing new ones.
@@ -297,10 +297,10 @@ public data structures.
 
File: history.info, Node: History Storage, Next: History Functions, Prev: Introduction to History, Up: Programming with GNU History File: history.info, Node: History Storage, Next: History Functions, Prev: Introduction to History, Up: Programming with GNU History
History Storage 2.2 History Storage
=============== ===================
The history list is an array of history entries. A history entry is The history list is an array of history entries. A history entry is
declared as follows: declared as follows:
typedef void *histdata_t; typedef void *histdata_t;
@@ -335,10 +335,10 @@ stifled.
 
File: history.info, Node: History Functions, Next: History Variables, Prev: History Storage, Up: Programming with GNU History File: history.info, Node: History Functions, Next: History Variables, Prev: History Storage, Up: Programming with GNU History
History Functions 2.3 History Functions
================= =====================
This section describes the calling sequence for the various functions This section describes the calling sequence for the various functions
exported by the GNU History library. exported by the GNU History library.
* Menu: * Menu:
@@ -362,105 +362,105 @@ exported by the GNU History library.
 
File: history.info, Node: Initializing History and State Management, Next: History List Management, Up: History Functions File: history.info, Node: Initializing History and State Management, Next: History List Management, Up: History Functions
Initializing History and State Management 2.3.1 Initializing History and State Management
----------------------------------------- -----------------------------------------------
This section describes functions used to initialize and manage the This section describes functions used to initialize and manage the
state of the History library when you want to use the history functions state of the History library when you want to use the history functions
in your program. in your program.
- Function: void using_history (void) -- Function: void using_history (void)
Begin a session in which the history functions might be used. This Begin a session in which the history functions might be used. This
initializes the interactive variables. initializes the interactive variables.
- Function: HISTORY_STATE * history_get_history_state (void) -- Function: HISTORY_STATE * history_get_history_state (void)
Return a structure describing the current state of the input Return a structure describing the current state of the input
history. history.
- Function: void history_set_history_state (HISTORY_STATE *state) -- Function: void history_set_history_state (HISTORY_STATE *state)
Set the state of the history list according to STATE. Set the state of the history list according to STATE.
 
File: history.info, Node: History List Management, Next: Information About the History List, Prev: Initializing History and State Management, Up: History Functions File: history.info, Node: History List Management, Next: Information About the History List, Prev: Initializing History and State Management, Up: History Functions
History List Management 2.3.2 History List Management
----------------------- -----------------------------
These functions manage individual entries on the history list, or set These functions manage individual entries on the history list, or set
parameters managing the list itself. parameters managing the list itself.
- Function: void add_history (const char *string) -- Function: void add_history (const char *string)
Place STRING at the end of the history list. The associated data Place STRING at the end of the history list. The associated data
field (if any) is set to `NULL'. field (if any) is set to `NULL'.
- Function: void add_history_time (const char *string) -- Function: void add_history_time (const char *string)
Change the time stamp associated with the most recent history Change the time stamp associated with the most recent history
entry to STRING. entry to STRING.
- Function: HIST_ENTRY * remove_history (int which) -- Function: HIST_ENTRY * remove_history (int which)
Remove history entry at offset WHICH from the history. The Remove history entry at offset WHICH from the history. The
removed element is returned so you can free the line, data, and removed element is returned so you can free the line, data, and
containing structure. containing structure.
- Function: histdata_t free_history_entry (HIST_ENTRY *histent) -- Function: histdata_t free_history_entry (HIST_ENTRY *histent)
Free the history entry HISTENT and any history library private Free the history entry HISTENT and any history library private
data associated with it. Returns the application-specific data so data associated with it. Returns the application-specific data so
the caller can dispose of it. the caller can dispose of it.
- Function: HIST_ENTRY * replace_history_entry (int which, const char -- Function: HIST_ENTRY * replace_history_entry (int which, const char
*line, histdata_t data) *line, histdata_t data)
Make the history entry at offset WHICH have LINE and DATA. This Make the history entry at offset WHICH have LINE and DATA. This
returns the old entry so the caller can dispose of any returns the old entry so the caller can dispose of any
application-specific data. In the case of an invalid WHICH, a application-specific data. In the case of an invalid WHICH, a
`NULL' pointer is returned. `NULL' pointer is returned.
- Function: void clear_history (void) -- Function: void clear_history (void)
Clear the history list by deleting all the entries. Clear the history list by deleting all the entries.
- Function: void stifle_history (int max) -- Function: void stifle_history (int max)
Stifle the history list, remembering only the last MAX entries. Stifle the history list, remembering only the last MAX entries.
- Function: int unstifle_history (void) -- Function: int unstifle_history (void)
Stop stifling the history. This returns the previously-set Stop stifling the history. This returns the previously-set
maximum number of history entries (as set by `stifle_history()'). maximum number of history entries (as set by `stifle_history()').
The value is positive if the history was stifled, negative if it The value is positive if the history was stifled, negative if it
wasn't. wasn't.
- Function: int history_is_stifled (void) -- Function: int history_is_stifled (void)
Returns non-zero if the history is stifled, zero if it is not. Returns non-zero if the history is stifled, zero if it is not.
 
File: history.info, Node: Information About the History List, Next: Moving Around the History List, Prev: History List Management, Up: History Functions File: history.info, Node: Information About the History List, Next: Moving Around the History List, Prev: History List Management, Up: History Functions
Information About the History List 2.3.3 Information About the History List
---------------------------------- ----------------------------------------
These functions return information about the entire history list or These functions return information about the entire history list or
individual list entries. individual list entries.
- Function: HIST_ENTRY ** history_list (void) -- Function: HIST_ENTRY ** history_list (void)
Return a `NULL' terminated array of `HIST_ENTRY *' which is the Return a `NULL' terminated array of `HIST_ENTRY *' which is the
current input history. Element 0 of this list is the beginning of current input history. Element 0 of this list is the beginning of
time. If there is no history, return `NULL'. time. If there is no history, return `NULL'.
- Function: int where_history (void) -- Function: int where_history (void)
Returns the offset of the current history element. Returns the offset of the current history element.
- Function: HIST_ENTRY * current_history (void) -- Function: HIST_ENTRY * current_history (void)
Return the history entry at the current position, as determined by Return the history entry at the current position, as determined by
`where_history()'. If there is no entry there, return a `NULL' `where_history()'. If there is no entry there, return a `NULL'
pointer. pointer.
- Function: HIST_ENTRY * history_get (int offset) -- Function: HIST_ENTRY * history_get (int offset)
Return the history entry at position OFFSET, starting from Return the history entry at position OFFSET, starting from
`history_base' (*note History Variables::). If there is no entry `history_base' (*note History Variables::). If there is no entry
there, or if OFFSET is greater than the history length, return a there, or if OFFSET is greater than the history length, return a
`NULL' pointer. `NULL' pointer.
- Function: time_t history_get_time (HIST_ENTRY *entry) -- Function: time_t history_get_time (HIST_ENTRY *entry)
Return the time stamp associated with the history entry ENTRY. Return the time stamp associated with the history entry ENTRY.
- Function: int history_total_bytes (void) -- Function: int history_total_bytes (void)
Return the number of bytes that the primary history entries are Return the number of bytes that the primary history entries are
using. This function returns the sum of the lengths of all the using. This function returns the sum of the lengths of all the
lines in the history. lines in the history.
@@ -468,23 +468,23 @@ individual list entries.
 
File: history.info, Node: Moving Around the History List, Next: Searching the History List, Prev: Information About the History List, Up: History Functions File: history.info, Node: Moving Around the History List, Next: Searching the History List, Prev: Information About the History List, Up: History Functions
Moving Around the History List 2.3.4 Moving Around the History List
------------------------------ ------------------------------------
These functions allow the current index into the history list to be These functions allow the current index into the history list to be set
set or changed. or changed.
- Function: int history_set_pos (int pos) -- Function: int history_set_pos (int pos)
Set the current history offset to POS, an absolute index into the Set the current history offset to POS, an absolute index into the
list. Returns 1 on success, 0 if POS is less than zero or greater list. Returns 1 on success, 0 if POS is less than zero or greater
than the number of history entries. than the number of history entries.
- Function: HIST_ENTRY * previous_history (void) -- Function: HIST_ENTRY * previous_history (void)
Back up the current history offset to the previous history entry, Back up the current history offset to the previous history entry,
and return a pointer to that entry. If there is no previous and return a pointer to that entry. If there is no previous
entry, return a `NULL' pointer. entry, return a `NULL' pointer.
- Function: HIST_ENTRY * next_history (void) -- Function: HIST_ENTRY * next_history (void)
Move the current history offset forward to the next history entry, Move the current history offset forward to the next history entry,
and return the a pointer to that entry. If there is no next and return the a pointer to that entry. If there is no next
entry, return a `NULL' pointer. entry, return a `NULL' pointer.
@@ -492,16 +492,16 @@ set or changed.
 
File: history.info, Node: Searching the History List, Next: Managing the History File, Prev: Moving Around the History List, Up: History Functions File: history.info, Node: Searching the History List, Next: Managing the History File, Prev: Moving Around the History List, Up: History Functions
Searching the History List 2.3.5 Searching the History List
-------------------------- --------------------------------
These functions allow searching of the history list for entries These functions allow searching of the history list for entries
containing a specific string. Searching may be performed both forward containing a specific string. Searching may be performed both forward
and backward from the current history position. The search may be and backward from the current history position. The search may be
"anchored", meaning that the string must match at the beginning of the "anchored", meaning that the string must match at the beginning of the
history entry. history entry.
- Function: int history_search (const char *string, int direction) -- Function: int history_search (const char *string, int direction)
Search the history for STRING, starting at the current history Search the history for STRING, starting at the current history
offset. If DIRECTION is less than 0, then the search is through offset. If DIRECTION is less than 0, then the search is through
previous entries, otherwise through subsequent entries. If STRING previous entries, otherwise through subsequent entries. If STRING
@@ -510,7 +510,7 @@ history entry.
entry where STRING was found. Otherwise, nothing is changed, and entry where STRING was found. Otherwise, nothing is changed, and
a -1 is returned. a -1 is returned.
- Function: int history_search_prefix (const char *string, int -- Function: int history_search_prefix (const char *string, int
direction) direction)
Search the history for STRING, starting at the current history Search the history for STRING, starting at the current history
offset. The search is anchored: matching lines must begin with offset. The search is anchored: matching lines must begin with
@@ -520,8 +520,8 @@ history entry.
the return value is 0. Otherwise, nothing is changed, and a -1 is the return value is 0. Otherwise, nothing is changed, and a -1 is
returned. returned.
- Function: int history_search_pos (const char *string, int direction, -- Function: int history_search_pos (const char *string, int
int pos) direction, int pos)
Search for STRING in the history list, starting at POS, an Search for STRING in the history list, starting at POS, an
absolute index into the list. If DIRECTION is negative, the search absolute index into the list. If DIRECTION is negative, the search
proceeds backward from POS, otherwise forward. Returns the proceeds backward from POS, otherwise forward. Returns the
@@ -531,18 +531,18 @@ history entry.
 
File: history.info, Node: Managing the History File, Next: History Expansion, Prev: Searching the History List, Up: History Functions File: history.info, Node: Managing the History File, Next: History Expansion, Prev: Searching the History List, Up: History Functions
Managing the History File 2.3.6 Managing the History File
------------------------- -------------------------------
The History library can read the history from and write it to a file. The History library can read the history from and write it to a file.
This section documents the functions for managing a history file. This section documents the functions for managing a history file.
- Function: int read_history (const char *filename) -- Function: int read_history (const char *filename)
Add the contents of FILENAME to the history list, a line at a time. Add the contents of FILENAME to the history list, a line at a time.
If FILENAME is `NULL', then read from `~/.history'. Returns 0 if If FILENAME is `NULL', then read from `~/.history'. Returns 0 if
successful, or `errno' if not. successful, or `errno' if not.
- Function: int read_history_range (const char *filename, int from, -- Function: int read_history_range (const char *filename, int from,
int to) int to)
Read a range of lines from FILENAME, adding them to the history Read a range of lines from FILENAME, adding them to the history
list. Start reading at line FROM and end at TO. If FROM is zero, list. Start reading at line FROM and end at TO. If FROM is zero,
@@ -550,18 +550,18 @@ This section documents the functions for managing a history file.
the end of the file. If FILENAME is `NULL', then read from the end of the file. If FILENAME is `NULL', then read from
`~/.history'. Returns 0 if successful, or `errno' if not. `~/.history'. Returns 0 if successful, or `errno' if not.
- Function: int write_history (const char *filename) -- Function: int write_history (const char *filename)
Write the current history to FILENAME, overwriting FILENAME if Write the current history to FILENAME, overwriting FILENAME if
necessary. If FILENAME is `NULL', then write the history list to necessary. If FILENAME is `NULL', then write the history list to
`~/.history'. Returns 0 on success, or `errno' on a read or write `~/.history'. Returns 0 on success, or `errno' on a read or write
error. error.
- Function: int append_history (int nelements, const char *filename) -- Function: int append_history (int nelements, const char *filename)
Append the last NELEMENTS of the history list to FILENAME. If Append the last NELEMENTS of the history list to FILENAME. If
FILENAME is `NULL', then append to `~/.history'. Returns 0 on FILENAME is `NULL', then append to `~/.history'. Returns 0 on
success, or `errno' on a read or write error. success, or `errno' on a read or write error.
- Function: int history_truncate_file (const char *filename, int -- Function: int history_truncate_file (const char *filename, int
nlines) nlines)
Truncate the history file FILENAME, leaving only the last NLINES Truncate the history file FILENAME, leaving only the last NLINES
lines. If FILENAME is `NULL', then `~/.history' is truncated. lines. If FILENAME is `NULL', then `~/.history' is truncated.
@@ -570,12 +570,12 @@ This section documents the functions for managing a history file.
 
File: history.info, Node: History Expansion, Prev: Managing the History File, Up: History Functions File: history.info, Node: History Expansion, Prev: Managing the History File, Up: History Functions
History Expansion 2.3.7 History Expansion
----------------- -----------------------
These functions implement history expansion. These functions implement history expansion.
- Function: int history_expand (char *string, char **output) -- Function: int history_expand (char *string, char **output)
Expand STRING, placing the result into OUTPUT, a pointer to a Expand STRING, placing the result into OUTPUT, a pointer to a
string (*note History Interaction::). Returns: string (*note History Interaction::). Returns:
`0' `0'
@@ -596,8 +596,8 @@ History Expansion
If an error ocurred in expansion, then OUTPUT contains a If an error ocurred in expansion, then OUTPUT contains a
descriptive error message. descriptive error message.
- Function: char * get_history_event (const char *string, int *cindex, -- Function: char * get_history_event (const char *string, int
int qchar) *cindex, int qchar)
Returns the text of the history event beginning at STRING + Returns the text of the history event beginning at STRING +
*CINDEX. *CINDEX is modified to point to after the event *CINDEX. *CINDEX is modified to point to after the event
specifier. At function entry, CINDEX points to the index into specifier. At function entry, CINDEX points to the index into
@@ -605,13 +605,13 @@ History Expansion
character that is allowed to end the event specification in character that is allowed to end the event specification in
addition to the "normal" terminating characters. addition to the "normal" terminating characters.
- Function: char ** history_tokenize (const char *string) -- Function: char ** history_tokenize (const char *string)
Return an array of tokens parsed out of STRING, much as the shell Return an array of tokens parsed out of STRING, much as the shell
might. The tokens are split on the characters in the might. The tokens are split on the characters in the
HISTORY_WORD_DELIMITERS variable, and shell quoting conventions HISTORY_WORD_DELIMITERS variable, and shell quoting conventions
are obeyed. are obeyed.
- Function: char * history_arg_extract (int first, int last, const -- Function: char * history_arg_extract (int first, int last, const
char *string) char *string)
Extract a string segment consisting of the FIRST through LAST Extract a string segment consisting of the FIRST through LAST
arguments present in STRING. Arguments are split using arguments present in STRING. Arguments are split using
@@ -620,60 +620,60 @@ History Expansion
 
File: history.info, Node: History Variables, Next: History Programming Example, Prev: History Functions, Up: Programming with GNU History File: history.info, Node: History Variables, Next: History Programming Example, Prev: History Functions, Up: Programming with GNU History
History Variables 2.4 History Variables
================= =====================
This section describes the externally-visible variables exported by This section describes the externally-visible variables exported by the
the GNU History Library. GNU History Library.
- Variable: int history_base -- Variable: int history_base
The logical offset of the first entry in the history list. The logical offset of the first entry in the history list.
- Variable: int history_length -- Variable: int history_length
The number of entries currently stored in the history list. The number of entries currently stored in the history list.
- Variable: int history_max_entries -- Variable: int history_max_entries
The maximum number of history entries. This must be changed using The maximum number of history entries. This must be changed using
`stifle_history()'. `stifle_history()'.
- Variable: int history_write_timestamps -- Variable: int history_write_timestamps
If non-zero, timestamps are written to the history file, so they If non-zero, timestamps are written to the history file, so they
can be preserved between sessions. The default value is 0, can be preserved between sessions. The default value is 0,
meaning that timestamps are not saved. meaning that timestamps are not saved.
- Variable: char history_expansion_char -- Variable: char history_expansion_char
The character that introduces a history event. The default is `!'. The character that introduces a history event. The default is `!'.
Setting this to 0 inhibits history expansion. Setting this to 0 inhibits history expansion.
- Variable: char history_subst_char -- Variable: char history_subst_char
The character that invokes word substitution if found at the start The character that invokes word substitution if found at the start
of a line. The default is `^'. of a line. The default is `^'.
- Variable: char history_comment_char -- Variable: char history_comment_char
During tokenization, if this character is seen as the first During tokenization, if this character is seen as the first
character of a word, then it and all subsequent characters up to a character of a word, then it and all subsequent characters up to a
newline are ignored, suppressing history expansion for the newline are ignored, suppressing history expansion for the
remainder of the line. This is disabled by default. remainder of the line. This is disabled by default.
- Variable: char * history_word_delimiters -- Variable: char * history_word_delimiters
The characters that separate tokens for `history_tokenize()'. The The characters that separate tokens for `history_tokenize()'. The
default value is `" \t\n()<>;&|"'. default value is `" \t\n()<>;&|"'.
- Variable: char * history_search_delimiter_chars -- Variable: char * history_search_delimiter_chars
The list of additional characters which can delimit a history The list of additional characters which can delimit a history
search string, in addition to space, TAB, `:' and `?' in the case search string, in addition to space, TAB, `:' and `?' in the case
of a substring search. The default is empty. of a substring search. The default is empty.
- Variable: char * history_no_expand_chars -- Variable: char * history_no_expand_chars
The list of characters which inhibit history expansion if found The list of characters which inhibit history expansion if found
immediately following HISTORY_EXPANSION_CHAR. The default is immediately following HISTORY_EXPANSION_CHAR. The default is
space, tab, newline, carriage return, and `='. space, tab, newline, carriage return, and `='.
- Variable: int history_quotes_inhibit_expansion -- Variable: int history_quotes_inhibit_expansion
If non-zero, single-quoted words are not scanned for the history If non-zero, single-quoted words are not scanned for the history
expansion character. The default value is 0. expansion character. The default value is 0.
- Variable: rl_linebuf_func_t * history_inhibit_expansion_function -- Variable: rl_linebuf_func_t * history_inhibit_expansion_function
This should be set to the address of a function that takes two This should be set to the address of a function that takes two
arguments: a `char *' (STRING) and an `int' index into that string arguments: a `char *' (STRING) and an `int' index into that string
(I). It should return a non-zero value if the history expansion (I). It should return a non-zero value if the history expansion
@@ -685,10 +685,10 @@ the GNU History Library.
 
File: history.info, Node: History Programming Example, Prev: History Variables, Up: Programming with GNU History File: history.info, Node: History Programming Example, Prev: History Variables, Up: Programming with GNU History
History Programming Example 2.5 History Programming Example
=========================== ===============================
The following program demonstrates simple use of the GNU History The following program demonstrates simple use of the GNU History
Library. Library.
#include <stdio.h> #include <stdio.h>
@@ -780,8 +780,8 @@ Library.
 
File: history.info, Node: Copying This Manual, Next: Concept Index, Prev: Programming with GNU History, Up: Top File: history.info, Node: Copying This Manual, Next: Concept Index, Prev: Programming with GNU History, Up: Top
Copying This Manual Appendix A Copying This Manual
******************* ******************************
* Menu: * Menu:
@@ -790,10 +790,11 @@ Copying This Manual
 
File: history.info, Node: GNU Free Documentation License, Up: Copying This Manual File: history.info, Node: GNU Free Documentation License, Up: Copying This Manual
GNU Free Documentation License A.1 GNU Free Documentation License
============================== ==================================
Version 1.2, November 2002 Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
@@ -1187,10 +1188,10 @@ GNU Free Documentation License
you may choose any version ever published (not as a draft) by the you may choose any version ever published (not as a draft) by the
Free Software Foundation. Free Software Foundation.
ADDENDUM: How to use this License for your documents A.1.1 ADDENDUM: How to use this License for your documents
---------------------------------------------------- ----------------------------------------------------------
To use this License in a document you have written, include a copy of To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and license the License in the document and put the following copyright and license
notices just after the title page: notices just after the title page:
@@ -1221,97 +1222,131 @@ permit their use in free software.
 
File: history.info, Node: Concept Index, Next: Function and Variable Index, Prev: Copying This Manual, Up: Top File: history.info, Node: Concept Index, Next: Function and Variable Index, Prev: Copying This Manual, Up: Top
Concept Index Appendix B Concept Index
************* ************************
[index]
* Menu: * Menu:
* anchored search: Searching the History List. * anchored search: Searching the History List.
* event designators: Event Designators. (line 10)
* event designators: Event Designators. (line 6)
* FDL, GNU Free Documentation License: GNU Free Documentation License. * FDL, GNU Free Documentation License: GNU Free Documentation License.
* history events: Event Designators. (line 6)
* history expansion: History Interaction. * history events: Event Designators. (line 7)
* history expansion: History Interaction. (line 6)
* History Searching: Searching the History List. * History Searching: Searching the History List.
(line 6)
 
File: history.info, Node: Function and Variable Index, Prev: Concept Index, Up: Top File: history.info, Node: Function and Variable Index, Prev: Concept Index, Up: Top
Function and Variable Index Appendix C Function and Variable Index
*************************** **************************************
[index]
* Menu: * Menu:
* add_history: History List Management. * add_history: History List Management.
(line 10)
* add_history_time: History List Management. * add_history_time: History List Management.
(line 14)
* append_history: Managing the History File. * append_history: Managing the History File.
(line 29)
* clear_history: History List Management. * clear_history: History List Management.
(line 35)
* current_history: Information About the History List. * current_history: Information About the History List.
(line 18)
* free_history_entry: History List Management. * free_history_entry: History List Management.
* get_history_event: History Expansion. (line 23)
* history_arg_extract: History Expansion. * get_history_event: History Expansion. (line 31)
* history_base: History Variables. * history_arg_extract: History Expansion. (line 46)
* history_comment_char: History Variables. * history_base: History Variables. (line 10)
* history_expand: History Expansion. * history_comment_char: History Variables. (line 33)
* history_expansion_char: History Variables. * history_expand: History Expansion. (line 9)
* history_expansion_char: History Variables. (line 25)
* history_get: Information About the History List. * history_get: Information About the History List.
(line 23)
* history_get_history_state: Initializing History and State Management. * history_get_history_state: Initializing History and State Management.
(line 15)
* history_get_time: Information About the History List. * history_get_time: Information About the History List.
* history_inhibit_expansion_function: History Variables. (line 29)
* history_inhibit_expansion_function: History Variables. (line 57)
* history_is_stifled: History List Management. * history_is_stifled: History List Management.
* history_length: History Variables. (line 47)
* history_length: History Variables. (line 13)
* history_list: Information About the History List. * history_list: Information About the History List.
* history_max_entries: History Variables. (line 10)
* history_no_expand_chars: History Variables. * history_max_entries: History Variables. (line 16)
* history_quotes_inhibit_expansion: History Variables. * history_no_expand_chars: History Variables. (line 48)
* history_quotes_inhibit_expansion: History Variables. (line 53)
* history_search: Searching the History List. * history_search: Searching the History List.
* history_search_delimiter_chars: History Variables. (line 13)
* history_search_delimiter_chars: History Variables. (line 43)
* history_search_pos: Searching the History List. * history_search_pos: Searching the History List.
(line 33)
* history_search_prefix: Searching the History List. * history_search_prefix: Searching the History List.
(line 23)
* history_set_history_state: Initializing History and State Management. * history_set_history_state: Initializing History and State Management.
(line 19)
* history_set_pos: Moving Around the History List. * history_set_pos: Moving Around the History List.
* history_subst_char: History Variables. (line 10)
* history_tokenize: History Expansion. * history_subst_char: History Variables. (line 29)
* history_tokenize: History Expansion. (line 39)
* history_total_bytes: Information About the History List. * history_total_bytes: Information About the History List.
(line 32)
* history_truncate_file: Managing the History File. * history_truncate_file: Managing the History File.
* history_word_delimiters: History Variables. (line 35)
* history_write_timestamps: History Variables. * history_word_delimiters: History Variables. (line 39)
* history_write_timestamps: History Variables. (line 20)
* next_history: Moving Around the History List. * next_history: Moving Around the History List.
(line 20)
* previous_history: Moving Around the History List. * previous_history: Moving Around the History List.
(line 15)
* read_history: Managing the History File. * read_history: Managing the History File.
(line 10)
* read_history_range: Managing the History File. * read_history_range: Managing the History File.
(line 16)
* remove_history: History List Management. * remove_history: History List Management.
(line 18)
* replace_history_entry: History List Management. * replace_history_entry: History List Management.
(line 29)
* stifle_history: History List Management. * stifle_history: History List Management.
(line 38)
* unstifle_history: History List Management. * unstifle_history: History List Management.
(line 41)
* using_history: Initializing History and State Management. * using_history: Initializing History and State Management.
(line 11)
* where_history: Information About the History List. * where_history: Information About the History List.
(line 15)
* write_history: Managing the History File. * write_history: Managing the History File.
(line 23)
 
Tag Table: Tag Table:
Node: Top1280 Node: Top1285
Node: Using History Interactively1908 Node: Using History Interactively1910
Node: History Interaction2415 Node: History Interaction2418
Node: Event Designators3834 Node: Event Designators3842
Node: Word Designators4758 Node: Word Designators4777
Node: Modifiers6388 Node: Modifiers6416
Node: Programming with GNU History7606 Node: Programming with GNU History7643
Node: Introduction to History8337 Node: Introduction to History8375
Node: History Storage10022 Node: History Storage10065
Node: History Functions11157 Node: History Functions11200
Node: Initializing History and State Management12141 Node: Initializing History and State Management12189
Node: History List Management12941 Node: History List Management13001
Node: Information About the History List14955 Node: Information About the History List15033
Node: Moving Around the History List16437 Node: Moving Around the History List16530
Node: Searching the History List17426 Node: Searching the History List17531
Node: Managing the History File19344 Node: Managing the History File19463
Node: History Expansion21150 Node: History Expansion21283
Node: History Variables23045 Node: History Variables23191
Node: History Programming Example25834 Node: History Programming Example25997
Node: Copying This Manual28556 Node: Copying This Manual28674
Node: GNU Free Documentation License28794 Node: GNU Free Documentation License28934
Node: Concept Index51187 Node: Concept Index51340
Node: Function and Variable Index51737 Node: Function and Variable Index52180
 
End Tag Table End Tag Table
+26 -29
View File
@@ -1,9 +1,7 @@
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=tex 2001.2.12) 27 JUL 2004 09:31 This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2005.3.22) 27 OCT 2005 17:26
**/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/his **/usr/homes/chet/src/bash/src/lib/readline/doc/history.texi
tory.texi (/usr/homes/chet/src/bash/src/lib/readline/doc/history.texi (./texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics,
(/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/hist
ory.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\bindingoffset=\dimen16 \bindingoffset=\dimen16
\normaloffset=\dimen17 \normaloffset=\dimen17
\pagewidth=\dimen18 \pagewidth=\dimen18
@@ -34,8 +32,7 @@ ory.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\toksD=\toks18 \toksD=\toks18
\boxA=\box19 \boxA=\box19
\countA=\count30 \countA=\count30
fonts,
fonts,
\sffam=\fam8 \sffam=\fam8
\textleading=\dimen26 \textleading=\dimen26
\mainmagstep=\count31 \mainmagstep=\count31
@@ -47,7 +44,8 @@ fonts,
\oddheadline=\toks20 \oddheadline=\toks20
\evenfootline=\toks21 \evenfootline=\toks21
\oddfootline=\toks22 \oddfootline=\toks22
tables,
tables,
\tableindent=\dimen27 \tableindent=\dimen27
\itemindent=\dimen28 \itemindent=\dimen28
\itemmargin=\dimen29 \itemmargin=\dimen29
@@ -81,8 +79,7 @@ fonts,
\lastnegativepageno=\count43 \lastnegativepageno=\count43
\shortappendixwidth=\dimen33 \shortappendixwidth=\dimen33
\tocindent=\dimen34 \tocindent=\dimen34
environments,
environments,
\errorbox=\box22 \errorbox=\box22
\lispnarrowing=\skip30 \lispnarrowing=\skip30
\envskipamount=\skip31 \envskipamount=\skip31
@@ -104,12 +101,12 @@ environments,
\macscribble=\write1 \macscribble=\write1
\paramno=\count45 \paramno=\count45
\macname=\toks23 \macname=\toks23
cross references,
cross references,
\auxfile=\write2 \auxfile=\write2
\savesfregister=\count46 \savesfregister=\count46
\footnoteno=\count47 \footnoteno=\count47
(/sw/share/texmf/tex/generic/misc/epsf.tex
(/usr/local/share/texmf/tex/plain/dvips/epsf.tex
\epsffilein=\read0 \epsffilein=\read0
\epsfframemargin=\dimen39 \epsfframemargin=\dimen39
\epsfframethickness=\dimen40 \epsfframethickness=\dimen40
@@ -126,14 +123,14 @@ environments,
\nolanghelp=\toks26 \nolanghelp=\toks26
\defaultparindent=\dimen47 \defaultparindent=\dimen47
and turning on texinfo input format.) (history.aux) and turning on texinfo input format.) (./history.aux)
@cpindfile=@write3 @cpindfile=@write3
@fnindfile=@write4 @fnindfile=@write4
@vrindfile=@write5 @vrindfile=@write5
@tpindfile=@write6 @tpindfile=@write6
@kyindfile=@write7 @kyindfile=@write7
@pgindfile=@write8 @pgindfile=@write8
(version.texi) [1 (./version.texi) [1
\openout2 = `history.aux'. \openout2 = `history.aux'.
\openout3 = `history.cp'. \openout3 = `history.cp'.
@@ -148,25 +145,25 @@ and turning on texinfo input format.) (history.aux)
\openout8 = `history.pg'. \openout8 = `history.pg'.
] [2] ]
(history.toc) [-1] [-2] (hsuser.texi Chapter 1 [2] (./history.toc) [-1] [-2] (./hsuser.texi Chapter 1
\openout0 = `history.toc'. \openout0 = `history.toc'.
@btindfile=@write9 @btindfile=@write9
[1 [1
\openout9 = `history.bt'. \openout9 = `history.bt'.
] [2]) (hstech.texi Chapter 2 ] [2]) (./hstech.texi
[3] [4] [5] [6] [7] [8] [9] [10] [11]) Appendix A [12] (fdl.texi [13] [14] Chapter 2 [3] [4] [5] [6] [7] [8] [9] [10] [11]) Appendix A [12] (./fdl.texi
[15] [16] [17] [18]) Appendix B [19] [20] (history.cps) Appendix C [21] [13] [14] [15] [16] [17] [18]) Appendix B [19] [20] (./history.cps) Appendix C
[22] (history.vrs) [23] [24] ) [21] [22] (./history.vrs) [23] [24] )
Here is how much of TeX's memory you used: Here is how much of TeX's memory you used:
1399 strings out of 13013 1409 strings out of 98002
16315 string characters out of 97233 16451 string characters out of 1221987
45523 words of memory out of 263001 45514 words of memory out of 1000001
2271 multiletter control sequences out of 10000+0 2271 multiletter control sequences out of 10000+50000
31953 words of font info for 111 fonts, out of 400000 for 1000 31953 words of font info for 111 fonts, out of 500000 for 1000
19 hyphenation exceptions out of 1000 19 hyphenation exceptions out of 1000
15i,6n,17p,311b,649s stack positions out of 300i,100n,500p,50000b,4000s 15i,6n,17p,283b,649s stack positions out of 1500i,500n,5000p,200000b,5000s
Output written on history.dvi (28 pages, 79856 bytes). Output written on history.dvi (28 pages, 79880 bytes).
+4412 -2071
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
File diff suppressed because it is too large Load Diff
File diff suppressed because it is too large Load Diff
+7945 -4978
View File
File diff suppressed because it is too large Load Diff
+2 -2
View File
@@ -113,10 +113,10 @@
@xrdef{Terminal Management-pg}{35} @xrdef{Terminal Management-pg}{35}
@xrdef{Terminal Management-snt}{Section@tie 2.4.9} @xrdef{Terminal Management-snt}{Section@tie 2.4.9}
@xrdef{Utility Functions-title}{Utility Functions} @xrdef{Utility Functions-title}{Utility Functions}
@xrdef{Utility Functions-pg}{35} @xrdef{Utility Functions-pg}{36}
@xrdef{Utility Functions-snt}{Section@tie 2.4.10} @xrdef{Utility Functions-snt}{Section@tie 2.4.10}
@xrdef{Miscellaneous Functions-title}{Miscellaneous Functions} @xrdef{Miscellaneous Functions-title}{Miscellaneous Functions}
@xrdef{Miscellaneous Functions-pg}{36} @xrdef{Miscellaneous Functions-pg}{37}
@xrdef{Miscellaneous Functions-snt}{Section@tie 2.4.11} @xrdef{Miscellaneous Functions-snt}{Section@tie 2.4.11}
@xrdef{Alternate Interface-title}{Alternate Interface} @xrdef{Alternate Interface-title}{Alternate Interface}
@xrdef{Alternate Interface-pg}{37} @xrdef{Alternate Interface-pg}{37}
+36 -34
View File
@@ -1,20 +1,21 @@
\entry{bell-style}{5}{bell-style} \entry{bell-style}{5}{bell-style}
\entry{bind-tty-special-chars}{5}{bind-tty-special-chars}
\entry{comment-begin}{5}{comment-begin} \entry{comment-begin}{5}{comment-begin}
\entry{completion-query-items}{5}{completion-query-items} \entry{completion-query-items}{5}{completion-query-items}
\entry{convert-meta}{5}{convert-meta} \entry{convert-meta}{5}{convert-meta}
\entry{disable-completion}{5}{disable-completion} \entry{disable-completion}{5}{disable-completion}
\entry{editing-mode}{5}{editing-mode} \entry{editing-mode}{5}{editing-mode}
\entry{enable-keypad}{5}{enable-keypad} \entry{enable-keypad}{6}{enable-keypad}
\entry{expand-tilde}{5}{expand-tilde} \entry{expand-tilde}{6}{expand-tilde}
\entry{history-preserve-point}{5}{history-preserve-point} \entry{history-preserve-point}{6}{history-preserve-point}
\entry{horizontal-scroll-mode}{6}{horizontal-scroll-mode} \entry{horizontal-scroll-mode}{6}{horizontal-scroll-mode}
\entry{input-meta}{6}{input-meta} \entry{input-meta}{6}{input-meta}
\entry{meta-flag}{6}{meta-flag} \entry{meta-flag}{6}{meta-flag}
\entry{isearch-terminators}{6}{isearch-terminators} \entry{isearch-terminators}{6}{isearch-terminators}
\entry{keymap}{6}{keymap} \entry{keymap}{6}{keymap}
\entry{mark-modified-lines}{6}{mark-modified-lines} \entry{mark-modified-lines}{6}{mark-modified-lines}
\entry{mark-symlinked-directories}{6}{mark-symlinked-directories} \entry{mark-symlinked-directories}{7}{mark-symlinked-directories}
\entry{match-hidden-files}{6}{match-hidden-files} \entry{match-hidden-files}{7}{match-hidden-files}
\entry{output-meta}{7}{output-meta} \entry{output-meta}{7}{output-meta}
\entry{page-completions}{7}{page-completions} \entry{page-completions}{7}{page-completions}
\entry{show-all-if-ambiguous}{7}{show-all-if-ambiguous} \entry{show-all-if-ambiguous}{7}{show-all-if-ambiguous}
@@ -179,7 +180,7 @@
\entry{rl_clear_message}{33}{\code {rl_clear_message}} \entry{rl_clear_message}{33}{\code {rl_clear_message}}
\entry{rl_save_prompt}{33}{\code {rl_save_prompt}} \entry{rl_save_prompt}{33}{\code {rl_save_prompt}}
\entry{rl_restore_prompt}{33}{\code {rl_restore_prompt}} \entry{rl_restore_prompt}{33}{\code {rl_restore_prompt}}
\entry{rl_expand_prompt}{33}{\code {rl_expand_prompt}} \entry{rl_expand_prompt}{34}{\code {rl_expand_prompt}}
\entry{rl_set_prompt}{34}{\code {rl_set_prompt}} \entry{rl_set_prompt}{34}{\code {rl_set_prompt}}
\entry{rl_insert_text}{34}{\code {rl_insert_text}} \entry{rl_insert_text}{34}{\code {rl_insert_text}}
\entry{rl_delete_text}{34}{\code {rl_delete_text}} \entry{rl_delete_text}{34}{\code {rl_delete_text}}
@@ -188,7 +189,7 @@
\entry{rl_push_macro_input}{34}{\code {rl_push_macro_input}} \entry{rl_push_macro_input}{34}{\code {rl_push_macro_input}}
\entry{rl_read_key}{34}{\code {rl_read_key}} \entry{rl_read_key}{34}{\code {rl_read_key}}
\entry{rl_getc}{34}{\code {rl_getc}} \entry{rl_getc}{34}{\code {rl_getc}}
\entry{rl_stuff_char}{34}{\code {rl_stuff_char}} \entry{rl_stuff_char}{35}{\code {rl_stuff_char}}
\entry{rl_execute_next}{35}{\code {rl_execute_next}} \entry{rl_execute_next}{35}{\code {rl_execute_next}}
\entry{rl_clear_pending_input}{35}{\code {rl_clear_pending_input}} \entry{rl_clear_pending_input}{35}{\code {rl_clear_pending_input}}
\entry{rl_set_keyboard_input_timeout}{35}{\code {rl_set_keyboard_input_timeout}} \entry{rl_set_keyboard_input_timeout}{35}{\code {rl_set_keyboard_input_timeout}}
@@ -197,8 +198,8 @@
\entry{rl_tty_set_default_bindings}{35}{\code {rl_tty_set_default_bindings}} \entry{rl_tty_set_default_bindings}{35}{\code {rl_tty_set_default_bindings}}
\entry{rl_tty_unset_default_bindings}{35}{\code {rl_tty_unset_default_bindings}} \entry{rl_tty_unset_default_bindings}{35}{\code {rl_tty_unset_default_bindings}}
\entry{rl_reset_terminal}{35}{\code {rl_reset_terminal}} \entry{rl_reset_terminal}{35}{\code {rl_reset_terminal}}
\entry{rl_replace_line}{35}{\code {rl_replace_line}} \entry{rl_replace_line}{36}{\code {rl_replace_line}}
\entry{rl_extend_line_buffer}{35}{\code {rl_extend_line_buffer}} \entry{rl_extend_line_buffer}{36}{\code {rl_extend_line_buffer}}
\entry{rl_initialize}{36}{\code {rl_initialize}} \entry{rl_initialize}{36}{\code {rl_initialize}}
\entry{rl_ding}{36}{\code {rl_ding}} \entry{rl_ding}{36}{\code {rl_ding}}
\entry{rl_alphabetic}{36}{\code {rl_alphabetic}} \entry{rl_alphabetic}{36}{\code {rl_alphabetic}}
@@ -209,60 +210,61 @@
\entry{_rl_to_upper}{36}{\code {_rl_to_upper}} \entry{_rl_to_upper}{36}{\code {_rl_to_upper}}
\entry{_rl_to_lower}{36}{\code {_rl_to_lower}} \entry{_rl_to_lower}{36}{\code {_rl_to_lower}}
\entry{_rl_digit_value}{36}{\code {_rl_digit_value}} \entry{_rl_digit_value}{36}{\code {_rl_digit_value}}
\entry{rl_macro_bind}{36}{\code {rl_macro_bind}} \entry{rl_macro_bind}{37}{\code {rl_macro_bind}}
\entry{rl_macro_dumper}{36}{\code {rl_macro_dumper}} \entry{rl_macro_dumper}{37}{\code {rl_macro_dumper}}
\entry{rl_variable_bind}{37}{\code {rl_variable_bind}} \entry{rl_variable_bind}{37}{\code {rl_variable_bind}}
\entry{rl_variable_value}{37}{\code {rl_variable_value}}
\entry{rl_variable_dumper}{37}{\code {rl_variable_dumper}} \entry{rl_variable_dumper}{37}{\code {rl_variable_dumper}}
\entry{rl_set_paren_blink_timeout}{37}{\code {rl_set_paren_blink_timeout}} \entry{rl_set_paren_blink_timeout}{37}{\code {rl_set_paren_blink_timeout}}
\entry{rl_get_termcap}{37}{\code {rl_get_termcap}} \entry{rl_get_termcap}{37}{\code {rl_get_termcap}}
\entry{rl_callback_handler_install}{37}{\code {rl_callback_handler_install}} \entry{rl_callback_handler_install}{37}{\code {rl_callback_handler_install}}
\entry{rl_callback_read_char}{37}{\code {rl_callback_read_char}} \entry{rl_callback_read_char}{38}{\code {rl_callback_read_char}}
\entry{rl_callback_handler_remove}{37}{\code {rl_callback_handler_remove}} \entry{rl_callback_handler_remove}{38}{\code {rl_callback_handler_remove}}
\entry{rl_catch_signals}{40}{\code {rl_catch_signals}} \entry{rl_catch_signals}{40}{\code {rl_catch_signals}}
\entry{rl_catch_sigwinch}{40}{\code {rl_catch_sigwinch}} \entry{rl_catch_sigwinch}{40}{\code {rl_catch_sigwinch}}
\entry{rl_cleanup_after_signal}{40}{\code {rl_cleanup_after_signal}} \entry{rl_cleanup_after_signal}{40}{\code {rl_cleanup_after_signal}}
\entry{rl_free_line_state}{40}{\code {rl_free_line_state}} \entry{rl_free_line_state}{40}{\code {rl_free_line_state}}
\entry{rl_reset_after_signal}{40}{\code {rl_reset_after_signal}} \entry{rl_reset_after_signal}{41}{\code {rl_reset_after_signal}}
\entry{rl_resize_terminal}{40}{\code {rl_resize_terminal}} \entry{rl_resize_terminal}{41}{\code {rl_resize_terminal}}
\entry{rl_set_screen_size}{40}{\code {rl_set_screen_size}} \entry{rl_set_screen_size}{41}{\code {rl_set_screen_size}}
\entry{rl_get_screen_size}{40}{\code {rl_get_screen_size}} \entry{rl_get_screen_size}{41}{\code {rl_get_screen_size}}
\entry{rl_set_signals}{41}{\code {rl_set_signals}} \entry{rl_set_signals}{41}{\code {rl_set_signals}}
\entry{rl_clear_signals}{41}{\code {rl_clear_signals}} \entry{rl_clear_signals}{41}{\code {rl_clear_signals}}
\entry{rl_complete}{42}{\code {rl_complete}} \entry{rl_complete}{42}{\code {rl_complete}}
\entry{rl_completion_entry_function}{42}{\code {rl_completion_entry_function}} \entry{rl_completion_entry_function}{42}{\code {rl_completion_entry_function}}
\entry{rl_complete_internal}{42}{\code {rl_complete_internal}} \entry{rl_complete_internal}{42}{\code {rl_complete_internal}}
\entry{rl_complete}{42}{\code {rl_complete}} \entry{rl_complete}{42}{\code {rl_complete}}
\entry{rl_possible_completions}{42}{\code {rl_possible_completions}} \entry{rl_possible_completions}{43}{\code {rl_possible_completions}}
\entry{rl_insert_completions}{42}{\code {rl_insert_completions}} \entry{rl_insert_completions}{43}{\code {rl_insert_completions}}
\entry{rl_completion_mode}{42}{\code {rl_completion_mode}} \entry{rl_completion_mode}{43}{\code {rl_completion_mode}}
\entry{rl_completion_matches}{42}{\code {rl_completion_matches}} \entry{rl_completion_matches}{43}{\code {rl_completion_matches}}
\entry{rl_filename_completion_function}{43}{\code {rl_filename_completion_function}} \entry{rl_filename_completion_function}{43}{\code {rl_filename_completion_function}}
\entry{rl_username_completion_function}{43}{\code {rl_username_completion_function}} \entry{rl_username_completion_function}{43}{\code {rl_username_completion_function}}
\entry{rl_completion_entry_function}{43}{\code {rl_completion_entry_function}} \entry{rl_completion_entry_function}{43}{\code {rl_completion_entry_function}}
\entry{rl_attempted_completion_function}{43}{\code {rl_attempted_completion_function}} \entry{rl_attempted_completion_function}{44}{\code {rl_attempted_completion_function}}
\entry{rl_filename_quoting_function}{43}{\code {rl_filename_quoting_function}} \entry{rl_filename_quoting_function}{44}{\code {rl_filename_quoting_function}}
\entry{rl_filename_dequoting_function}{43}{\code {rl_filename_dequoting_function}} \entry{rl_filename_dequoting_function}{44}{\code {rl_filename_dequoting_function}}
\entry{rl_char_is_quoted_p}{44}{\code {rl_char_is_quoted_p}} \entry{rl_char_is_quoted_p}{44}{\code {rl_char_is_quoted_p}}
\entry{rl_ignore_some_completions_function}{44}{\code {rl_ignore_some_completions_function}} \entry{rl_ignore_some_completions_function}{44}{\code {rl_ignore_some_completions_function}}
\entry{rl_directory_completion_hook}{44}{\code {rl_directory_completion_hook}} \entry{rl_directory_completion_hook}{44}{\code {rl_directory_completion_hook}}
\entry{rl_completion_display_matches_hook}{44}{\code {rl_completion_display_matches_hook}} \entry{rl_completion_display_matches_hook}{45}{\code {rl_completion_display_matches_hook}}
\entry{rl_basic_word_break_characters}{44}{\code {rl_basic_word_break_characters}} \entry{rl_basic_word_break_characters}{45}{\code {rl_basic_word_break_characters}}
\entry{rl_basic_quote_characters}{44}{\code {rl_basic_quote_characters}} \entry{rl_basic_quote_characters}{45}{\code {rl_basic_quote_characters}}
\entry{rl_completer_word_break_characters}{45}{\code {rl_completer_word_break_characters}} \entry{rl_completer_word_break_characters}{45}{\code {rl_completer_word_break_characters}}
\entry{rl_completion_word_break_hook}{45}{\code {rl_completion_word_break_hook}} \entry{rl_completion_word_break_hook}{45}{\code {rl_completion_word_break_hook}}
\entry{rl_completer_quote_characters}{45}{\code {rl_completer_quote_characters}} \entry{rl_completer_quote_characters}{45}{\code {rl_completer_quote_characters}}
\entry{rl_filename_quote_characters}{45}{\code {rl_filename_quote_characters}} \entry{rl_filename_quote_characters}{45}{\code {rl_filename_quote_characters}}
\entry{rl_special_prefixes}{45}{\code {rl_special_prefixes}} \entry{rl_special_prefixes}{45}{\code {rl_special_prefixes}}
\entry{rl_completion_query_items}{45}{\code {rl_completion_query_items}} \entry{rl_completion_query_items}{46}{\code {rl_completion_query_items}}
\entry{rl_completion_append_character}{45}{\code {rl_completion_append_character}} \entry{rl_completion_append_character}{46}{\code {rl_completion_append_character}}
\entry{rl_completion_suppress_append}{45}{\code {rl_completion_suppress_append}} \entry{rl_completion_suppress_append}{46}{\code {rl_completion_suppress_append}}
\entry{rl_completion_quote_character}{45}{\code {rl_completion_quote_character}} \entry{rl_completion_quote_character}{46}{\code {rl_completion_quote_character}}
\entry{rl_completion_suppress_quote}{46}{\code {rl_completion_suppress_quote}} \entry{rl_completion_suppress_quote}{46}{\code {rl_completion_suppress_quote}}
\entry{rl_completion_found_quote}{46}{\code {rl_completion_found_quote}} \entry{rl_completion_found_quote}{46}{\code {rl_completion_found_quote}}
\entry{rl_completion_mark_symlink_dirs}{46}{\code {rl_completion_mark_symlink_dirs}} \entry{rl_completion_mark_symlink_dirs}{46}{\code {rl_completion_mark_symlink_dirs}}
\entry{rl_ignore_completion_duplicates}{46}{\code {rl_ignore_completion_duplicates}} \entry{rl_ignore_completion_duplicates}{46}{\code {rl_ignore_completion_duplicates}}
\entry{rl_filename_completion_desired}{46}{\code {rl_filename_completion_desired}} \entry{rl_filename_completion_desired}{46}{\code {rl_filename_completion_desired}}
\entry{rl_filename_quoting_desired}{46}{\code {rl_filename_quoting_desired}} \entry{rl_filename_quoting_desired}{47}{\code {rl_filename_quoting_desired}}
\entry{rl_attempted_completion_over}{46}{\code {rl_attempted_completion_over}} \entry{rl_attempted_completion_over}{47}{\code {rl_attempted_completion_over}}
\entry{rl_completion_type}{46}{\code {rl_completion_type}} \entry{rl_completion_type}{47}{\code {rl_completion_type}}
\entry{rl_inhibit_completion}{47}{\code {rl_inhibit_completion}} \entry{rl_inhibit_completion}{47}{\code {rl_inhibit_completion}}
+36 -34
View File
@@ -17,6 +17,7 @@
\entry {\code {beginning-of-history (M-<)}}{14} \entry {\code {beginning-of-history (M-<)}}{14}
\entry {\code {beginning-of-line (C-a)}}{13} \entry {\code {beginning-of-line (C-a)}}{13}
\entry {bell-style}{5} \entry {bell-style}{5}
\entry {bind-tty-special-chars}{5}
\initial {C} \initial {C}
\entry {\code {call-last-kbd-macro (C-x e)}}{18} \entry {\code {call-last-kbd-macro (C-x e)}}{18}
\entry {\code {capitalize-word (M-c)}}{15} \entry {\code {capitalize-word (M-c)}}{15}
@@ -44,19 +45,19 @@
\initial {E} \initial {E}
\entry {editing-mode}{5} \entry {editing-mode}{5}
\entry {\code {emacs-editing-mode (C-e)}}{19} \entry {\code {emacs-editing-mode (C-e)}}{19}
\entry {enable-keypad}{5} \entry {enable-keypad}{6}
\entry {\code {end-kbd-macro (C-x ))}}{18} \entry {\code {end-kbd-macro (C-x ))}}{18}
\entry {\code {end-of-history (M->)}}{14} \entry {\code {end-of-history (M->)}}{14}
\entry {\code {end-of-line (C-e)}}{13} \entry {\code {end-of-line (C-e)}}{13}
\entry {\code {exchange-point-and-mark (C-x C-x)}}{18} \entry {\code {exchange-point-and-mark (C-x C-x)}}{18}
\entry {expand-tilde}{5} \entry {expand-tilde}{6}
\initial {F} \initial {F}
\entry {\code {forward-backward-delete-char ()}}{15} \entry {\code {forward-backward-delete-char ()}}{15}
\entry {\code {forward-char (C-f)}}{13} \entry {\code {forward-char (C-f)}}{13}
\entry {\code {forward-search-history (C-s)}}{14} \entry {\code {forward-search-history (C-s)}}{14}
\entry {\code {forward-word (M-f)}}{13} \entry {\code {forward-word (M-f)}}{13}
\initial {H} \initial {H}
\entry {history-preserve-point}{5} \entry {history-preserve-point}{6}
\entry {\code {history-search-backward ()}}{14} \entry {\code {history-search-backward ()}}{14}
\entry {\code {history-search-forward ()}}{14} \entry {\code {history-search-forward ()}}{14}
\entry {horizontal-scroll-mode}{6} \entry {horizontal-scroll-mode}{6}
@@ -73,8 +74,8 @@
\entry {\code {kill-word (M-d)}}{16} \entry {\code {kill-word (M-d)}}{16}
\initial {M} \initial {M}
\entry {mark-modified-lines}{6} \entry {mark-modified-lines}{6}
\entry {mark-symlinked-directories}{6} \entry {mark-symlinked-directories}{7}
\entry {match-hidden-files}{6} \entry {match-hidden-files}{7}
\entry {\code {menu-complete ()}}{17} \entry {\code {menu-complete ()}}{17}
\entry {meta-flag}{6} \entry {meta-flag}{6}
\initial {N} \initial {N}
@@ -102,10 +103,10 @@
\entry {\code {rl_add_undo}}{32} \entry {\code {rl_add_undo}}{32}
\entry {\code {rl_alphabetic}}{36} \entry {\code {rl_alphabetic}}{36}
\entry {\code {rl_already_prompted}}{25} \entry {\code {rl_already_prompted}}{25}
\entry {\code {rl_attempted_completion_function}}{43} \entry {\code {rl_attempted_completion_function}}{44}
\entry {\code {rl_attempted_completion_over}}{46} \entry {\code {rl_attempted_completion_over}}{47}
\entry {\code {rl_basic_quote_characters}}{44} \entry {\code {rl_basic_quote_characters}}{45}
\entry {\code {rl_basic_word_break_characters}}{44} \entry {\code {rl_basic_word_break_characters}}{45}
\entry {\code {rl_begin_undo_group}}{32} \entry {\code {rl_begin_undo_group}}{32}
\entry {\code {rl_bind_key}}{29} \entry {\code {rl_bind_key}}{29}
\entry {\code {rl_bind_key_if_unbound}}{29} \entry {\code {rl_bind_key_if_unbound}}{29}
@@ -117,8 +118,8 @@
\entry {\code {rl_bind_keyseq_in_map}}{30} \entry {\code {rl_bind_keyseq_in_map}}{30}
\entry {\code {rl_binding_keymap}}{26} \entry {\code {rl_binding_keymap}}{26}
\entry {\code {rl_callback_handler_install}}{37} \entry {\code {rl_callback_handler_install}}{37}
\entry {\code {rl_callback_handler_remove}}{37} \entry {\code {rl_callback_handler_remove}}{38}
\entry {\code {rl_callback_read_char}}{37} \entry {\code {rl_callback_read_char}}{38}
\entry {\code {rl_catch_signals}}{40} \entry {\code {rl_catch_signals}}{40}
\entry {\code {rl_catch_sigwinch}}{40} \entry {\code {rl_catch_sigwinch}}{40}
\entry {\code {rl_char_is_quoted_p}}{44} \entry {\code {rl_char_is_quoted_p}}{44}
@@ -130,18 +131,18 @@
\entry {\code {rl_complete_internal}}{42} \entry {\code {rl_complete_internal}}{42}
\entry {\code {rl_completer_quote_characters}}{45} \entry {\code {rl_completer_quote_characters}}{45}
\entry {\code {rl_completer_word_break_characters}}{45} \entry {\code {rl_completer_word_break_characters}}{45}
\entry {\code {rl_completion_append_character}}{45} \entry {\code {rl_completion_append_character}}{46}
\entry {\code {rl_completion_display_matches_hook}}{44} \entry {\code {rl_completion_display_matches_hook}}{45}
\entry {\code {rl_completion_entry_function}}{42, 43} \entry {\code {rl_completion_entry_function}}{42, 43}
\entry {\code {rl_completion_found_quote}}{46} \entry {\code {rl_completion_found_quote}}{46}
\entry {\code {rl_completion_mark_symlink_dirs}}{46} \entry {\code {rl_completion_mark_symlink_dirs}}{46}
\entry {\code {rl_completion_matches}}{42} \entry {\code {rl_completion_matches}}{43}
\entry {\code {rl_completion_mode}}{42} \entry {\code {rl_completion_mode}}{43}
\entry {\code {rl_completion_query_items}}{45} \entry {\code {rl_completion_query_items}}{46}
\entry {\code {rl_completion_quote_character}}{45} \entry {\code {rl_completion_quote_character}}{46}
\entry {\code {rl_completion_suppress_append}}{45} \entry {\code {rl_completion_suppress_append}}{46}
\entry {\code {rl_completion_suppress_quote}}{46} \entry {\code {rl_completion_suppress_quote}}{46}
\entry {\code {rl_completion_type}}{46} \entry {\code {rl_completion_type}}{47}
\entry {\code {rl_completion_word_break_hook}}{45} \entry {\code {rl_completion_word_break_hook}}{45}
\entry {\code {rl_copy_keymap}}{28} \entry {\code {rl_copy_keymap}}{28}
\entry {\code {rl_copy_text}}{34} \entry {\code {rl_copy_text}}{34}
@@ -164,15 +165,15 @@
\entry {\code {rl_execute_next}}{35} \entry {\code {rl_execute_next}}{35}
\entry {\code {rl_executing_keymap}}{26} \entry {\code {rl_executing_keymap}}{26}
\entry {\code {rl_executing_macro}}{26} \entry {\code {rl_executing_macro}}{26}
\entry {\code {rl_expand_prompt}}{33} \entry {\code {rl_expand_prompt}}{34}
\entry {\code {rl_explicit_arg}}{27} \entry {\code {rl_explicit_arg}}{27}
\entry {\code {rl_extend_line_buffer}}{35} \entry {\code {rl_extend_line_buffer}}{36}
\entry {\code {rl_filename_completion_desired}}{46} \entry {\code {rl_filename_completion_desired}}{46}
\entry {\code {rl_filename_completion_function}}{43} \entry {\code {rl_filename_completion_function}}{43}
\entry {\code {rl_filename_dequoting_function}}{43} \entry {\code {rl_filename_dequoting_function}}{44}
\entry {\code {rl_filename_quote_characters}}{45} \entry {\code {rl_filename_quote_characters}}{45}
\entry {\code {rl_filename_quoting_desired}}{46} \entry {\code {rl_filename_quoting_desired}}{47}
\entry {\code {rl_filename_quoting_function}}{43} \entry {\code {rl_filename_quoting_function}}{44}
\entry {\code {rl_forced_update_display}}{33} \entry {\code {rl_forced_update_display}}{33}
\entry {\code {rl_free_line_state}}{40} \entry {\code {rl_free_line_state}}{40}
\entry {\code {rl_free_undo_list}}{32} \entry {\code {rl_free_undo_list}}{32}
@@ -183,7 +184,7 @@
\entry {\code {rl_get_keymap}}{29} \entry {\code {rl_get_keymap}}{29}
\entry {\code {rl_get_keymap_by_name}}{29} \entry {\code {rl_get_keymap_by_name}}{29}
\entry {\code {rl_get_keymap_name}}{29} \entry {\code {rl_get_keymap_name}}{29}
\entry {\code {rl_get_screen_size}}{40} \entry {\code {rl_get_screen_size}}{41}
\entry {\code {rl_get_termcap}}{37} \entry {\code {rl_get_termcap}}{37}
\entry {\code {rl_getc}}{34} \entry {\code {rl_getc}}{34}
\entry {\code {rl_getc_function}}{26} \entry {\code {rl_getc_function}}{26}
@@ -192,7 +193,7 @@
\entry {\code {rl_ignore_some_completions_function}}{44} \entry {\code {rl_ignore_some_completions_function}}{44}
\entry {\code {rl_inhibit_completion}}{47} \entry {\code {rl_inhibit_completion}}{47}
\entry {\code {rl_initialize}}{36} \entry {\code {rl_initialize}}{36}
\entry {\code {rl_insert_completions}}{42} \entry {\code {rl_insert_completions}}{43}
\entry {\code {rl_insert_text}}{34} \entry {\code {rl_insert_text}}{34}
\entry {\code {rl_instream}}{25} \entry {\code {rl_instream}}{25}
\entry {\code {rl_invoking_keyseqs}}{31} \entry {\code {rl_invoking_keyseqs}}{31}
@@ -202,8 +203,8 @@
\entry {\code {rl_library_version}}{25} \entry {\code {rl_library_version}}{25}
\entry {\code {rl_line_buffer}}{24} \entry {\code {rl_line_buffer}}{24}
\entry {\code {rl_list_funmap_names}}{31} \entry {\code {rl_list_funmap_names}}{31}
\entry {\code {rl_macro_bind}}{36} \entry {\code {rl_macro_bind}}{37}
\entry {\code {rl_macro_dumper}}{36} \entry {\code {rl_macro_dumper}}{37}
\entry {\code {rl_make_bare_keymap}}{28} \entry {\code {rl_make_bare_keymap}}{28}
\entry {\code {rl_make_keymap}}{28} \entry {\code {rl_make_keymap}}{28}
\entry {\code {rl_mark}}{24} \entry {\code {rl_mark}}{24}
@@ -218,7 +219,7 @@
\entry {\code {rl_parse_and_bind}}{30} \entry {\code {rl_parse_and_bind}}{30}
\entry {\code {rl_pending_input}}{24} \entry {\code {rl_pending_input}}{24}
\entry {\code {rl_point}}{24} \entry {\code {rl_point}}{24}
\entry {\code {rl_possible_completions}}{42} \entry {\code {rl_possible_completions}}{43}
\entry {\code {rl_pre_input_hook}}{25} \entry {\code {rl_pre_input_hook}}{25}
\entry {\code {rl_prep_term_function}}{26} \entry {\code {rl_prep_term_function}}{26}
\entry {\code {rl_prep_terminal}}{35} \entry {\code {rl_prep_terminal}}{35}
@@ -231,11 +232,11 @@
\entry {\code {rl_readline_version}}{25} \entry {\code {rl_readline_version}}{25}
\entry {\code {rl_redisplay}}{32} \entry {\code {rl_redisplay}}{32}
\entry {\code {rl_redisplay_function}}{26} \entry {\code {rl_redisplay_function}}{26}
\entry {\code {rl_replace_line}}{35} \entry {\code {rl_replace_line}}{36}
\entry {\code {rl_reset_after_signal}}{40} \entry {\code {rl_reset_after_signal}}{41}
\entry {\code {rl_reset_line_state}}{33} \entry {\code {rl_reset_line_state}}{33}
\entry {\code {rl_reset_terminal}}{35} \entry {\code {rl_reset_terminal}}{35}
\entry {\code {rl_resize_terminal}}{40} \entry {\code {rl_resize_terminal}}{41}
\entry {\code {rl_restore_prompt}}{33} \entry {\code {rl_restore_prompt}}{33}
\entry {\code {rl_save_prompt}}{33} \entry {\code {rl_save_prompt}}{33}
\entry {\code {rl_set_key}}{30} \entry {\code {rl_set_key}}{30}
@@ -243,12 +244,12 @@
\entry {\code {rl_set_keymap}}{29} \entry {\code {rl_set_keymap}}{29}
\entry {\code {rl_set_paren_blink_timeout}}{37} \entry {\code {rl_set_paren_blink_timeout}}{37}
\entry {\code {rl_set_prompt}}{34} \entry {\code {rl_set_prompt}}{34}
\entry {\code {rl_set_screen_size}}{40} \entry {\code {rl_set_screen_size}}{41}
\entry {\code {rl_set_signals}}{41} \entry {\code {rl_set_signals}}{41}
\entry {\code {rl_show_char}}{33} \entry {\code {rl_show_char}}{33}
\entry {\code {rl_special_prefixes}}{45} \entry {\code {rl_special_prefixes}}{45}
\entry {\code {rl_startup_hook}}{25} \entry {\code {rl_startup_hook}}{25}
\entry {\code {rl_stuff_char}}{34} \entry {\code {rl_stuff_char}}{35}
\entry {\code {rl_terminal_name}}{25} \entry {\code {rl_terminal_name}}{25}
\entry {\code {rl_tty_set_default_bindings}}{35} \entry {\code {rl_tty_set_default_bindings}}{35}
\entry {\code {rl_tty_unset_default_bindings}}{35} \entry {\code {rl_tty_unset_default_bindings}}{35}
@@ -259,6 +260,7 @@
\entry {\code {rl_username_completion_function}}{43} \entry {\code {rl_username_completion_function}}{43}
\entry {\code {rl_variable_bind}}{37} \entry {\code {rl_variable_bind}}{37}
\entry {\code {rl_variable_dumper}}{37} \entry {\code {rl_variable_dumper}}{37}
\entry {\code {rl_variable_value}}{37}
\initial {S} \initial {S}
\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{15} \entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{15}
\entry {\code {set-mark (C-@)}}{18} \entry {\code {set-mark (C-@)}}{18}
+30 -33
View File
@@ -1,9 +1,7 @@
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=tex 2001.2.12) 27 JUL 2004 09:31 This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2005.3.22) 27 OCT 2005 17:26
**/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/rlm **/usr/homes/chet/src/bash/src/lib/readline/doc/rlman.texi
an.texi (/usr/homes/chet/src/bash/src/lib/readline/doc/rlman.texi (./texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics,
(/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/rlma
n.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\bindingoffset=\dimen16 \bindingoffset=\dimen16
\normaloffset=\dimen17 \normaloffset=\dimen17
\pagewidth=\dimen18 \pagewidth=\dimen18
@@ -34,8 +32,7 @@ n.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\toksD=\toks18 \toksD=\toks18
\boxA=\box19 \boxA=\box19
\countA=\count30 \countA=\count30
fonts,
fonts,
\sffam=\fam8 \sffam=\fam8
\textleading=\dimen26 \textleading=\dimen26
\mainmagstep=\count31 \mainmagstep=\count31
@@ -47,7 +44,8 @@ fonts,
\oddheadline=\toks20 \oddheadline=\toks20
\evenfootline=\toks21 \evenfootline=\toks21
\oddfootline=\toks22 \oddfootline=\toks22
tables,
tables,
\tableindent=\dimen27 \tableindent=\dimen27
\itemindent=\dimen28 \itemindent=\dimen28
\itemmargin=\dimen29 \itemmargin=\dimen29
@@ -81,8 +79,7 @@ fonts,
\lastnegativepageno=\count43 \lastnegativepageno=\count43
\shortappendixwidth=\dimen33 \shortappendixwidth=\dimen33
\tocindent=\dimen34 \tocindent=\dimen34
environments,
environments,
\errorbox=\box22 \errorbox=\box22
\lispnarrowing=\skip30 \lispnarrowing=\skip30
\envskipamount=\skip31 \envskipamount=\skip31
@@ -104,12 +101,12 @@ environments,
\macscribble=\write1 \macscribble=\write1
\paramno=\count45 \paramno=\count45
\macname=\toks23 \macname=\toks23
cross references,
cross references,
\auxfile=\write2 \auxfile=\write2
\savesfregister=\count46 \savesfregister=\count46
\footnoteno=\count47 \footnoteno=\count47
(/sw/share/texmf/tex/generic/misc/epsf.tex
(/usr/local/share/texmf/tex/plain/dvips/epsf.tex
\epsffilein=\read0 \epsffilein=\read0
\epsfframemargin=\dimen39 \epsfframemargin=\dimen39
\epsfframethickness=\dimen40 \epsfframethickness=\dimen40
@@ -126,14 +123,14 @@ environments,
\nolanghelp=\toks26 \nolanghelp=\toks26
\defaultparindent=\dimen47 \defaultparindent=\dimen47
and turning on texinfo input format.) (rlman.aux) and turning on texinfo input format.) (./rlman.aux)
@cpindfile=@write3 @cpindfile=@write3
@fnindfile=@write4 @fnindfile=@write4
@vrindfile=@write5 @vrindfile=@write5
@tpindfile=@write6 @tpindfile=@write6
@kyindfile=@write7 @kyindfile=@write7
@pgindfile=@write8 @pgindfile=@write8
(version.texi) [1 (./version.texi) [1
\openout2 = `rlman.aux'. \openout2 = `rlman.aux'.
\openout3 = `rlman.cp'. \openout3 = `rlman.cp'.
@@ -148,8 +145,8 @@ and turning on texinfo input format.) (rlman.aux)
\openout8 = `rlman.pg'. \openout8 = `rlman.pg'.
] [2] ]
(rlman.toc [-1]) [-2] (rluser.texi [2] (./rlman.toc [-1]) [-2] (./rluser.texi
@btindfile=@write9 @btindfile=@write9
Chapter 1 Chapter 1
\openout0 = `rlman.toc'. \openout0 = `rlman.toc'.
@@ -158,7 +155,7 @@ and turning on texinfo input format.) (rlman.aux)
\openout9 = `rlman.bt'. \openout9 = `rlman.bt'.
] [2] [3] [4] [5] ] [2] [3] [4] [5]
Underfull \hbox (badness 5231) in paragraph at lines 488--504 Underfull \hbox (badness 5231) in paragraph at lines 500--516
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr @texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
@@ -171,7 +168,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
.etc. .etc.
[6] [7] [8] [9] [10] [6] [7] [8] [9] [10]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 801--801 Overfull \hbox (26.43913pt too wide) in paragraph at lines 813--813
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i []@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[] | gnored[] |
@@ -183,10 +180,10 @@ gnored[] |
.@texttt t .@texttt t
.etc. .etc.
[11] [12] [13] [14] [15] [16] [17] [18]) (rltech.texi Chapter 2 [19] [20] [11] [12] [13] [14] [15] [16] [17] [18]) (./rltech.texi Chapter 2 [19] [20]
[21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35] [21] [22] [23] [24] [25] [26] [27] [28] [29] [30] [31] [32] [33] [34] [35]
[36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [36] [37] [38] [39] [40] [41] [42] [43] [44] [45] [46]
Underfull \hbox (badness 7379) in paragraph at lines 1792--1797 Underfull \hbox (badness 7379) in paragraph at lines 1807--1812
[]@textrm If an application-specific com-ple-tion func-tion as-signed to @text []@textrm If an application-specific com-ple-tion func-tion as-signed to @text
tt rl_attempted_ tt rl_attempted_
@@ -198,16 +195,16 @@ tt rl_attempted_
.@glue 3.65 plus 1.825 minus 1.21666 .@glue 3.65 plus 1.825 minus 1.21666
.etc. .etc.
[46] [47] [48] [49] [50] [51] [52] [53] [54]) Appendix A [55] [56] (fdl.texi [47] [48] [49] [50] [51] [52] [53] [54]) Appendix A [55] [56] (./fdl.texi
[57] [58] [59] [60] [61] [62]) (Concept Index) [63] [64] (rlman.cps) [57] [58] [59] [60] [61] [62]) (Concept Index) [63] [64] (./rlman.cps)
(Function and Variable Index) [65] [66] (rlman.fns [67] [68]) [69] [70] ) (Function and Variable Index) [65] [66] (./rlman.fns [67] [68]) [69] [70] )
Here is how much of TeX's memory you used: Here is how much of TeX's memory you used:
1489 strings out of 13013 1499 strings out of 98002
18360 string characters out of 97233 18486 string characters out of 1221987
58248 words of memory out of 263001 58299 words of memory out of 1000001
2361 multiletter control sequences out of 10000+0 2361 multiletter control sequences out of 10000+50000
31953 words of font info for 111 fonts, out of 400000 for 1000 31953 words of font info for 111 fonts, out of 500000 for 1000
19 hyphenation exceptions out of 1000 19 hyphenation exceptions out of 1000
15i,8n,17p,309b,695s stack positions out of 300i,100n,500p,50000b,4000s 15i,8n,17p,281b,695s stack positions out of 1500i,500n,5000p,200000b,5000s
Output written on rlman.dvi (74 pages, 274068 bytes). Output written on rlman.dvi (74 pages, 276580 bytes).
Binary file not shown.
+196 -178
View File
@@ -1,6 +1,6 @@
<HTML> <HTML>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!-- Created on July, 27 2004 by texi2html 1.64 --> <!-- Created on October, 27 2005 by texi2html 1.64 -->
<!-- <!--
Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author) Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
Karl Berry <karl@freefriends.org> Karl Berry <karl@freefriends.org>
@@ -559,7 +559,12 @@ change from the default Emacs-like key binding to use
</pre></td></tr></table></P><P> </pre></td></tr></table></P><P>
Variable names and values, where appropriate, are recognized without regard Variable names and values, where appropriate, are recognized without regard
to case. to case. Unrecognized variable names are ignored.
</P><P>
Boolean variables (those that can be set to on or off) are set to on if
the value is null or empty, <VAR>on</VAR> (case-insensitive), or 1. Any other
value results in the variable being set to off.
</P><P> </P><P>
A great deal of run-time behavior is changeable with the following A great deal of run-time behavior is changeable with the following
@@ -578,8 +583,15 @@ If set to <SAMP>`audible'</SAMP> (the default), Readline attempts to ring
the terminal's bell. the terminal's bell.
<P> <P>
<DT><CODE>comment-begin</CODE> <DT><CODE>bind-tty-special-chars</CODE>
<DD><A NAME="IDX6"></A> <DD><A NAME="IDX6"></A>
If set to <SAMP>`on'</SAMP>, Readline attempts to bind the control characters
treated specially by the kernel's terminal driver to their Readline
equivalents.
<P>
<DT><CODE>comment-begin</CODE>
<DD><A NAME="IDX7"></A>
The string to insert at the beginning of the line when the The string to insert at the beginning of the line when the
<CODE>insert-comment</CODE> command is executed. The default value <CODE>insert-comment</CODE> command is executed. The default value
is <CODE>"#"</CODE>. is <CODE>"#"</CODE>.
@@ -592,18 +604,19 @@ The default value is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>completion-query-items</CODE> <DT><CODE>completion-query-items</CODE>
<DD><A NAME="IDX7"></A> <DD><A NAME="IDX8"></A>
The number of possible completions that determines when the user is The number of possible completions that determines when the user is
asked whether the list of possibilities should be displayed. asked whether the list of possibilities should be displayed.
If the number of possible completions is greater than this value, If the number of possible completions is greater than this value,
Readline will ask the user whether or not he wishes to view Readline will ask the user whether or not he wishes to view
them; otherwise, they are simply listed. them; otherwise, they are simply listed.
This variable must be set to an integer value greater than or equal to 0. This variable must be set to an integer value greater than or equal to 0.
A negative value means Readline should never ask.
The default limit is <CODE>100</CODE>. The default limit is <CODE>100</CODE>.
<P> <P>
<DT><CODE>convert-meta</CODE> <DT><CODE>convert-meta</CODE>
<DD><A NAME="IDX8"></A> <DD><A NAME="IDX9"></A>
If set to <SAMP>`on'</SAMP>, Readline will convert characters with the If set to <SAMP>`on'</SAMP>, Readline will convert characters with the
eighth bit set to an ASCII key sequence by stripping the eighth eighth bit set to an ASCII key sequence by stripping the eighth
bit and prefixing an <KBD>ESC</KBD> character, converting them to a bit and prefixing an <KBD>ESC</KBD> character, converting them to a
@@ -611,14 +624,14 @@ meta-prefixed key sequence. The default value is <SAMP>`on'</SAMP>.
<P> <P>
<DT><CODE>disable-completion</CODE> <DT><CODE>disable-completion</CODE>
<DD><A NAME="IDX9"></A> <DD><A NAME="IDX10"></A>
If set to <SAMP>`On'</SAMP>, Readline will inhibit word completion. If set to <SAMP>`On'</SAMP>, Readline will inhibit word completion.
Completion characters will be inserted into the line as if they had 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>. been mapped to <CODE>self-insert</CODE>. The default is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>editing-mode</CODE> <DT><CODE>editing-mode</CODE>
<DD><A NAME="IDX10"></A> <DD><A NAME="IDX11"></A>
The <CODE>editing-mode</CODE> variable controls which default set of The <CODE>editing-mode</CODE> variable controls which default set of
key bindings is used. By default, Readline starts up in Emacs editing 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 mode, where the keystrokes are most similar to Emacs. This variable can be
@@ -626,26 +639,27 @@ set to either <SAMP>`emacs'</SAMP> or <SAMP>`vi'</SAMP>.
<P> <P>
<DT><CODE>enable-keypad</CODE> <DT><CODE>enable-keypad</CODE>
<DD><A NAME="IDX11"></A> <DD><A NAME="IDX12"></A>
When set to <SAMP>`on'</SAMP>, Readline will try to enable the application When set to <SAMP>`on'</SAMP>, Readline will try to enable the application
keypad when it is called. Some systems need this to enable the keypad when it is called. Some systems need this to enable the
arrow keys. The default is <SAMP>`off'</SAMP>. arrow keys. The default is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>expand-tilde</CODE> <DT><CODE>expand-tilde</CODE>
<DD><A NAME="IDX12"></A> <DD><A NAME="IDX13"></A>
If set to <SAMP>`on'</SAMP>, tilde expansion is performed when Readline If set to <SAMP>`on'</SAMP>, tilde expansion is performed when Readline
attempts word completion. The default is <SAMP>`off'</SAMP>. attempts word completion. The default is <SAMP>`off'</SAMP>.
<P> <P>
<A NAME="IDX13"></A> <DT><CODE>history-preserve-point</CODE>
<DD><A NAME="IDX14"></A>
If set to <SAMP>`on'</SAMP>, the history code attempts to place point at the If set to <SAMP>`on'</SAMP>, the history code attempts to place point at the
same location on each history line retrieved with <CODE>previous-history</CODE> same location on each history line retrieved with <CODE>previous-history</CODE>
or <CODE>next-history</CODE>. or <CODE>next-history</CODE>. The default is <SAMP>`off'</SAMP>.
</P><P> <P>
<DT><CODE>horizontal-scroll-mode</CODE> <DT><CODE>horizontal-scroll-mode</CODE>
<DD><A NAME="IDX14"></A> <DD><A NAME="IDX15"></A>
This variable can be set to either <SAMP>`on'</SAMP> or <SAMP>`off'</SAMP>. Setting it This variable can be set to either <SAMP>`on'</SAMP> or <SAMP>`off'</SAMP>. Setting it
to <SAMP>`on'</SAMP> means that the text of the lines being edited will scroll to <SAMP>`on'</SAMP> means that the text of the lines being edited will scroll
horizontally on a single screen line when they are longer than the width horizontally on a single screen line when they are longer than the width
@@ -654,8 +668,8 @@ this variable is set to <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>input-meta</CODE> <DT><CODE>input-meta</CODE>
<DD><A NAME="IDX15"></A> <DD><A NAME="IDX16"></A>
<A NAME="IDX16"></A> <A NAME="IDX17"></A>
If set to <SAMP>`on'</SAMP>, Readline will enable eight-bit input (it If set to <SAMP>`on'</SAMP>, Readline will enable eight-bit input (it
will not clear the eighth bit in the characters it reads), will not clear the eighth bit in the characters it reads),
regardless of what the terminal claims it can support. The regardless of what the terminal claims it can support. The
@@ -664,7 +678,7 @@ synonym for this variable.
<P> <P>
<DT><CODE>isearch-terminators</CODE> <DT><CODE>isearch-terminators</CODE>
<DD><A NAME="IDX17"></A> <DD><A NAME="IDX18"></A>
The string of characters that should terminate an incremental search without The string of characters that should terminate an incremental search without
subsequently executing the character as a command (see section <A HREF="rluserman.html#SEC8">1.2.5 Searching for Commands in the History</A>). subsequently executing the character as a command (see section <A HREF="rluserman.html#SEC8">1.2.5 Searching for Commands in the History</A>).
If this variable has not been given a value, the characters <KBD>ESC</KBD> and If this variable has not been given a value, the characters <KBD>ESC</KBD> and
@@ -672,7 +686,7 @@ If this variable has not been given a value, the characters <KBD>ESC</KBD> and
<P> <P>
<DT><CODE>keymap</CODE> <DT><CODE>keymap</CODE>
<DD><A NAME="IDX18"></A> <DD><A NAME="IDX19"></A>
Sets Readline's idea of the current keymap for key binding commands. Sets Readline's idea of the current keymap for key binding commands.
Acceptable <CODE>keymap</CODE> names are Acceptable <CODE>keymap</CODE> names are
<CODE>emacs</CODE>, <CODE>emacs</CODE>,
@@ -695,14 +709,14 @@ appended. The default is <SAMP>`on'</SAMP>.
<P> <P>
<DT><CODE>mark-modified-lines</CODE> <DT><CODE>mark-modified-lines</CODE>
<DD><A NAME="IDX19"></A> <DD><A NAME="IDX20"></A>
This variable, when set to <SAMP>`on'</SAMP>, causes Readline to display an This variable, when set to <SAMP>`on'</SAMP>, causes Readline to display an
asterisk (<SAMP>`*'</SAMP>) at the start of history lines which have been modified. asterisk (<SAMP>`*'</SAMP>) at the start of history lines which have been modified.
This variable is <SAMP>`off'</SAMP> by default. This variable is <SAMP>`off'</SAMP> by default.
<P> <P>
<DT><CODE>mark-symlinked-directories</CODE> <DT><CODE>mark-symlinked-directories</CODE>
<DD><A NAME="IDX20"></A> <DD><A NAME="IDX21"></A>
If set to <SAMP>`on'</SAMP>, completed names which are symbolic links If set to <SAMP>`on'</SAMP>, completed names which are symbolic links
to directories have a slash appended (subject to the value of to directories have a slash appended (subject to the value of
<CODE>mark-directories</CODE>). <CODE>mark-directories</CODE>).
@@ -710,7 +724,7 @@ The default is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>match-hidden-files</CODE> <DT><CODE>match-hidden-files</CODE>
<DD><A NAME="IDX21"></A> <DD><A NAME="IDX22"></A>
This variable, when set to <SAMP>`on'</SAMP>, causes Readline to match files whose This variable, when set to <SAMP>`on'</SAMP>, causes Readline to match files whose
names begin with a <SAMP>`.'</SAMP> (hidden files) when performing filename names begin with a <SAMP>`.'</SAMP> (hidden files) when performing filename
completion, unless the leading <SAMP>`.'</SAMP> is completion, unless the leading <SAMP>`.'</SAMP> is
@@ -719,14 +733,14 @@ This variable is <SAMP>`on'</SAMP> by default.
<P> <P>
<DT><CODE>output-meta</CODE> <DT><CODE>output-meta</CODE>
<DD><A NAME="IDX22"></A> <DD><A NAME="IDX23"></A>
If set to <SAMP>`on'</SAMP>, Readline will display characters with the If set to <SAMP>`on'</SAMP>, Readline will display characters with the
eighth bit set directly rather than as a meta-prefixed escape 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>.
<P> <P>
<DT><CODE>page-completions</CODE> <DT><CODE>page-completions</CODE>
<DD><A NAME="IDX23"></A> <DD><A NAME="IDX24"></A>
If set to <SAMP>`on'</SAMP>, Readline uses an internal <CODE>more</CODE>-like pager If set to <SAMP>`on'</SAMP>, Readline uses an internal <CODE>more</CODE>-like pager
to display a screenful of possible completions at a time. to display a screenful of possible completions at a time.
This variable is <SAMP>`on'</SAMP> by default. This variable is <SAMP>`on'</SAMP> by default.
@@ -739,7 +753,7 @@ The default is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>show-all-if-ambiguous</CODE> <DT><CODE>show-all-if-ambiguous</CODE>
<DD><A NAME="IDX24"></A> <DD><A NAME="IDX25"></A>
This alters the default behavior of the completion functions. If This alters the default behavior of the completion functions. If
set to <SAMP>`on'</SAMP>, set to <SAMP>`on'</SAMP>,
words which have more than one possible completion cause the words which have more than one possible completion cause the
@@ -748,7 +762,7 @@ The default value is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>show-all-if-unmodified</CODE> <DT><CODE>show-all-if-unmodified</CODE>
<DD><A NAME="IDX25"></A> <DD><A NAME="IDX26"></A>
This alters the default behavior of the completion functions in This alters the default behavior of the completion functions in
a fashion similar to <VAR>show-all-if-ambiguous</VAR>. a fashion similar to <VAR>show-all-if-ambiguous</VAR>.
If set to <SAMP>`on'</SAMP>, If set to <SAMP>`on'</SAMP>,
@@ -760,7 +774,7 @@ The default value is <SAMP>`off'</SAMP>.
<P> <P>
<DT><CODE>visible-stats</CODE> <DT><CODE>visible-stats</CODE>
<DD><A NAME="IDX26"></A> <DD><A NAME="IDX27"></A>
If set to <SAMP>`on'</SAMP>, a character denoting a file's type If set to <SAMP>`on'</SAMP>, a character denoting a file's type
is appended to the filename when listing possible is appended to the filename when listing possible
completions. The default is <SAMP>`off'</SAMP>. completions. The default is <SAMP>`off'</SAMP>.
@@ -1174,54 +1188,54 @@ The text between the point and mark is referred to as the <EM>region</EM>.
<H3> 1.4.1 Commands For Moving </H3> <H3> 1.4.1 Commands For Moving </H3>
<!--docid::SEC14::--> <!--docid::SEC14::-->
<DL COMPACT> <DL COMPACT>
<A NAME="IDX27"></A> <A NAME="IDX28"></A>
<DT><CODE>beginning-of-line (C-a)</CODE> <DT><CODE>beginning-of-line (C-a)</CODE>
<DD><A NAME="IDX28"></A> <DD><A NAME="IDX29"></A>
Move to the start of the current line. Move to the start of the current line.
<P> <P>
<A NAME="IDX29"></A> <A NAME="IDX30"></A>
<DT><CODE>end-of-line (C-e)</CODE> <DT><CODE>end-of-line (C-e)</CODE>
<DD><A NAME="IDX30"></A> <DD><A NAME="IDX31"></A>
Move to the end of the line. Move to the end of the line.
<P> <P>
<A NAME="IDX31"></A> <A NAME="IDX32"></A>
<DT><CODE>forward-char (C-f)</CODE> <DT><CODE>forward-char (C-f)</CODE>
<DD><A NAME="IDX32"></A> <DD><A NAME="IDX33"></A>
Move forward a character. Move forward a character.
<P> <P>
<A NAME="IDX33"></A> <A NAME="IDX34"></A>
<DT><CODE>backward-char (C-b)</CODE> <DT><CODE>backward-char (C-b)</CODE>
<DD><A NAME="IDX34"></A> <DD><A NAME="IDX35"></A>
Move back a character. Move back a character.
<P> <P>
<A NAME="IDX35"></A> <A NAME="IDX36"></A>
<DT><CODE>forward-word (M-f)</CODE> <DT><CODE>forward-word (M-f)</CODE>
<DD><A NAME="IDX36"></A> <DD><A NAME="IDX37"></A>
Move forward to the end of the next word. Words are composed of Move forward to the end of the next word. Words are composed of
letters and digits. letters and digits.
<P> <P>
<A NAME="IDX37"></A> <A NAME="IDX38"></A>
<DT><CODE>backward-word (M-b)</CODE> <DT><CODE>backward-word (M-b)</CODE>
<DD><A NAME="IDX38"></A> <DD><A NAME="IDX39"></A>
Move back to the start of the current or previous word. Words are Move back to the start of the current or previous word. Words are
composed of letters and digits. composed of letters and digits.
<P> <P>
<A NAME="IDX39"></A> <A NAME="IDX40"></A>
<DT><CODE>clear-screen (C-l)</CODE> <DT><CODE>clear-screen (C-l)</CODE>
<DD><A NAME="IDX40"></A> <DD><A NAME="IDX41"></A>
Clear the screen and redraw the current line, Clear the screen and redraw the current line,
leaving the current line at the top of the screen. leaving the current line at the top of the screen.
<P> <P>
<A NAME="IDX41"></A> <A NAME="IDX42"></A>
<DT><CODE>redraw-current-line ()</CODE> <DT><CODE>redraw-current-line ()</CODE>
<DD><A NAME="IDX42"></A> <DD><A NAME="IDX43"></A>
Refresh the current line. By default, this is unbound. Refresh the current line. By default, this is unbound.
<P> <P>
@@ -1247,9 +1261,9 @@ Refresh the current line. By default, this is unbound.
<P> <P>
<DL COMPACT> <DL COMPACT>
<A NAME="IDX43"></A> <A NAME="IDX44"></A>
<DT><CODE>accept-line (Newline or Return)</CODE> <DT><CODE>accept-line (Newline or Return)</CODE>
<DD><A NAME="IDX44"></A> <DD><A NAME="IDX45"></A>
Accept the line regardless of where the cursor is. Accept the line regardless of where the cursor is.
If this line is If this line is
non-empty, it may be added to the history list for future recall with non-empty, it may be added to the history list for future recall with
@@ -1258,97 +1272,101 @@ If this line is a modified history line, the history line is restored
to its original state. to its original state.
<P> <P>
<A NAME="IDX45"></A> <A NAME="IDX46"></A>
<DT><CODE>previous-history (C-p)</CODE> <DT><CODE>previous-history (C-p)</CODE>
<DD><A NAME="IDX46"></A> <DD><A NAME="IDX47"></A>
Move `back' through the history list, fetching the previous command. Move `back' through the history list, fetching the previous command.
<P> <P>
<A NAME="IDX47"></A> <A NAME="IDX48"></A>
<DT><CODE>next-history (C-n)</CODE> <DT><CODE>next-history (C-n)</CODE>
<DD><A NAME="IDX48"></A> <DD><A NAME="IDX49"></A>
Move `forward' through the history list, fetching the next command. Move `forward' through the history list, fetching the next command.
<P> <P>
<A NAME="IDX49"></A> <A NAME="IDX50"></A>
<DT><CODE>beginning-of-history (M-&#60;)</CODE> <DT><CODE>beginning-of-history (M-&#60;)</CODE>
<DD><A NAME="IDX50"></A> <DD><A NAME="IDX51"></A>
Move to the first line in the history. Move to the first line in the history.
<P> <P>
<A NAME="IDX51"></A> <A NAME="IDX52"></A>
<DT><CODE>end-of-history (M-&#62;)</CODE> <DT><CODE>end-of-history (M-&#62;)</CODE>
<DD><A NAME="IDX52"></A> <DD><A NAME="IDX53"></A>
Move to the end of the input history, i.e., the line currently Move to the end of the input history, i.e., the line currently
being entered. being entered.
<P> <P>
<A NAME="IDX53"></A> <A NAME="IDX54"></A>
<DT><CODE>reverse-search-history (C-r)</CODE> <DT><CODE>reverse-search-history (C-r)</CODE>
<DD><A NAME="IDX54"></A> <DD><A NAME="IDX55"></A>
Search backward starting at the current line and moving `up' through Search backward starting at the current line and moving `up' through
the history as necessary. This is an incremental search. the history as necessary. This is an incremental search.
<P> <P>
<A NAME="IDX55"></A> <A NAME="IDX56"></A>
<DT><CODE>forward-search-history (C-s)</CODE> <DT><CODE>forward-search-history (C-s)</CODE>
<DD><A NAME="IDX56"></A> <DD><A NAME="IDX57"></A>
Search forward starting at the current line and moving `down' through Search forward starting at the current line and moving `down' through
the the history as necessary. This is an incremental search. the the history as necessary. This is an incremental search.
<P> <P>
<A NAME="IDX57"></A> <A NAME="IDX58"></A>
<DT><CODE>non-incremental-reverse-search-history (M-p)</CODE> <DT><CODE>non-incremental-reverse-search-history (M-p)</CODE>
<DD><A NAME="IDX58"></A> <DD><A NAME="IDX59"></A>
Search backward starting at the current line and moving `up' Search backward starting at the current line and moving `up'
through the history as necessary using a non-incremental search through the history as necessary using a non-incremental search
for a string supplied by the user. for a string supplied by the user.
<P> <P>
<A NAME="IDX59"></A> <A NAME="IDX60"></A>
<DT><CODE>non-incremental-forward-search-history (M-n)</CODE> <DT><CODE>non-incremental-forward-search-history (M-n)</CODE>
<DD><A NAME="IDX60"></A> <DD><A NAME="IDX61"></A>
Search forward starting at the current line and moving `down' Search forward starting at the current line and moving `down'
through the the history as necessary using a non-incremental search through the the history as necessary using a non-incremental search
for a string supplied by the user. for a string supplied by the user.
<P> <P>
<A NAME="IDX61"></A> <A NAME="IDX62"></A>
<DT><CODE>history-search-forward ()</CODE> <DT><CODE>history-search-forward ()</CODE>
<DD><A NAME="IDX62"></A> <DD><A NAME="IDX63"></A>
Search forward through the history for the string of characters Search forward through the history for the string of characters
between the start of the current line and the point. between the start of the current line and the point.
This is a non-incremental search. This is a non-incremental search.
By default, this command is unbound. By default, this command is unbound.
<P> <P>
<A NAME="IDX63"></A> <A NAME="IDX64"></A>
<DT><CODE>history-search-backward ()</CODE> <DT><CODE>history-search-backward ()</CODE>
<DD><A NAME="IDX64"></A> <DD><A NAME="IDX65"></A>
Search backward through the history for the string of characters Search backward through the history for the string of characters
between the start of the current line and the point. This between the start of the current line and the point. This
is a non-incremental search. By default, this command is unbound. is a non-incremental search. By default, this command is unbound.
<P> <P>
<A NAME="IDX65"></A> <A NAME="IDX66"></A>
<DT><CODE>yank-nth-arg (M-C-y)</CODE> <DT><CODE>yank-nth-arg (M-C-y)</CODE>
<DD><A NAME="IDX66"></A> <DD><A NAME="IDX67"></A>
Insert the first argument to the previous command (usually Insert the first argument to the previous command (usually
the second word on the previous line) at point. the second word on the previous line) at point.
With an argument <VAR>n</VAR>, With an argument <VAR>n</VAR>,
insert the <VAR>n</VAR>th word from the previous command (the words insert the <VAR>n</VAR>th word from the previous command (the words
in the previous command begin with word 0). A negative argument in the previous command begin with word 0). A negative argument
inserts the <VAR>n</VAR>th word from the end of the previous command. inserts the <VAR>n</VAR>th word from the end of the previous command.
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> <P>
<A NAME="IDX67"></A> <A NAME="IDX68"></A>
<DT><CODE>yank-last-arg (M-. or M-_)</CODE> <DT><CODE>yank-last-arg (M-. or M-_)</CODE>
<DD><A NAME="IDX68"></A> <DD><A NAME="IDX69"></A>
Insert last argument to the previous command (the last word of the Insert last argument to the previous command (the last word of the
previous history entry). With an previous history entry). With an
argument, behave exactly like <CODE>yank-nth-arg</CODE>. argument, behave exactly like <CODE>yank-nth-arg</CODE>.
Successive calls to <CODE>yank-last-arg</CODE> move back through the history Successive calls to <CODE>yank-last-arg</CODE> move back through the history
list, inserting the last argument of each line in turn. list, inserting the last argument of each line in turn.
The history expansion facilities are used to extract the last argument,
as if the <SAMP>`!$'</SAMP> history expansion had been specified.
<P> <P>
</DL> </DL>
@@ -1373,52 +1391,52 @@ list, inserting the last argument of each line in turn.
<P> <P>
<DL COMPACT> <DL COMPACT>
<A NAME="IDX69"></A> <A NAME="IDX70"></A>
<DT><CODE>delete-char (C-d)</CODE> <DT><CODE>delete-char (C-d)</CODE>
<DD><A NAME="IDX70"></A> <DD><A NAME="IDX71"></A>
Delete the character at point. If point is at the Delete the character at point. If point is at the
beginning of the line, there are no characters in the line, and beginning of the line, there are no characters in the line, and
the last character typed was not bound to <CODE>delete-char</CODE>, then the last character typed was not bound to <CODE>delete-char</CODE>, then
return EOF. return EOF.
<P> <P>
<A NAME="IDX71"></A> <A NAME="IDX72"></A>
<DT><CODE>backward-delete-char (Rubout)</CODE> <DT><CODE>backward-delete-char (Rubout)</CODE>
<DD><A NAME="IDX72"></A> <DD><A NAME="IDX73"></A>
Delete the character behind the cursor. A numeric argument means Delete the character behind the cursor. A numeric argument means
to kill the characters instead of deleting them. to kill the characters instead of deleting them.
<P> <P>
<A NAME="IDX73"></A> <A NAME="IDX74"></A>
<DT><CODE>forward-backward-delete-char ()</CODE> <DT><CODE>forward-backward-delete-char ()</CODE>
<DD><A NAME="IDX74"></A> <DD><A NAME="IDX75"></A>
Delete the character under the cursor, unless the cursor is at the 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 end of the line, in which case the character behind the cursor is
deleted. By default, this is not bound to a key. deleted. By default, this is not bound to a key.
<P> <P>
<A NAME="IDX75"></A> <A NAME="IDX76"></A>
<DT><CODE>quoted-insert (C-q or C-v)</CODE> <DT><CODE>quoted-insert (C-q or C-v)</CODE>
<DD><A NAME="IDX76"></A> <DD><A NAME="IDX77"></A>
Add the next character typed to the line verbatim. This is Add the next character typed to the line verbatim. This is
how to insert key sequences like <KBD>C-q</KBD>, for example. how to insert key sequences like <KBD>C-q</KBD>, for example.
<P> <P>
<A NAME="IDX77"></A> <A NAME="IDX78"></A>
<DT><CODE>tab-insert (M-<KBD>TAB</KBD>)</CODE> <DT><CODE>tab-insert (M-<KBD>TAB</KBD>)</CODE>
<DD><A NAME="IDX78"></A> <DD><A NAME="IDX79"></A>
Insert a tab character. Insert a tab character.
<P> <P>
<A NAME="IDX79"></A> <A NAME="IDX80"></A>
<DT><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE> <DT><CODE>self-insert (a, b, A, 1, !, <small>...</small>)</CODE>
<DD><A NAME="IDX80"></A> <DD><A NAME="IDX81"></A>
Insert yourself. Insert yourself.
<P> <P>
<A NAME="IDX81"></A> <A NAME="IDX82"></A>
<DT><CODE>transpose-chars (C-t)</CODE> <DT><CODE>transpose-chars (C-t)</CODE>
<DD><A NAME="IDX82"></A> <DD><A NAME="IDX83"></A>
Drag the character before the cursor forward over Drag the character before the cursor forward over
the character at the cursor, moving the the character at the cursor, moving the
cursor forward as well. If the insertion point cursor forward as well. If the insertion point
@@ -1427,39 +1445,39 @@ transposes the last two characters of the line.
Negative arguments have no effect. Negative arguments have no effect.
<P> <P>
<A NAME="IDX83"></A> <A NAME="IDX84"></A>
<DT><CODE>transpose-words (M-t)</CODE> <DT><CODE>transpose-words (M-t)</CODE>
<DD><A NAME="IDX84"></A> <DD><A NAME="IDX85"></A>
Drag the word before point past the word after point, Drag the word before point past the word after point,
moving point past that word as well. moving point past that word as well.
If the insertion point is at the end of the line, this transposes If the insertion point is at the end of the line, this transposes
the last two words on the line. the last two words on the line.
<P> <P>
<A NAME="IDX85"></A> <A NAME="IDX86"></A>
<DT><CODE>upcase-word (M-u)</CODE> <DT><CODE>upcase-word (M-u)</CODE>
<DD><A NAME="IDX86"></A> <DD><A NAME="IDX87"></A>
Uppercase the current (or following) word. With a negative argument, Uppercase the current (or following) word. With a negative argument,
uppercase the previous word, but do not move the cursor. uppercase the previous word, but do not move the cursor.
<P> <P>
<A NAME="IDX87"></A> <A NAME="IDX88"></A>
<DT><CODE>downcase-word (M-l)</CODE> <DT><CODE>downcase-word (M-l)</CODE>
<DD><A NAME="IDX88"></A> <DD><A NAME="IDX89"></A>
Lowercase the current (or following) word. With a negative argument, Lowercase the current (or following) word. With a negative argument,
lowercase the previous word, but do not move the cursor. lowercase the previous word, but do not move the cursor.
<P> <P>
<A NAME="IDX89"></A> <A NAME="IDX90"></A>
<DT><CODE>capitalize-word (M-c)</CODE> <DT><CODE>capitalize-word (M-c)</CODE>
<DD><A NAME="IDX90"></A> <DD><A NAME="IDX91"></A>
Capitalize the current (or following) word. With a negative argument, Capitalize the current (or following) word. With a negative argument,
capitalize the previous word, but do not move the cursor. capitalize the previous word, but do not move the cursor.
<P> <P>
<A NAME="IDX91"></A> <A NAME="IDX92"></A>
<DT><CODE>overwrite-mode ()</CODE> <DT><CODE>overwrite-mode ()</CODE>
<DD><A NAME="IDX92"></A> <DD><A NAME="IDX93"></A>
Toggle overwrite mode. With an explicit positive numeric argument, Toggle overwrite mode. With an explicit positive numeric argument,
switches to overwrite mode. With an explicit non-positive numeric switches to overwrite mode. With an explicit non-positive numeric
argument, switches to insert mode. This command affects only argument, switches to insert mode. This command affects only
@@ -1499,106 +1517,106 @@ By default, this command is unbound.
<DL COMPACT> <DL COMPACT>
<A NAME="IDX93"></A> <A NAME="IDX94"></A>
<DT><CODE>kill-line (C-k)</CODE> <DT><CODE>kill-line (C-k)</CODE>
<DD><A NAME="IDX94"></A> <DD><A NAME="IDX95"></A>
Kill the text from point to the end of the line. Kill the text from point to the end of the line.
<P> <P>
<A NAME="IDX95"></A> <A NAME="IDX96"></A>
<DT><CODE>backward-kill-line (C-x Rubout)</CODE> <DT><CODE>backward-kill-line (C-x Rubout)</CODE>
<DD><A NAME="IDX96"></A> <DD><A NAME="IDX97"></A>
Kill backward to the beginning of the line. Kill backward to the beginning of the line.
<P> <P>
<A NAME="IDX97"></A> <A NAME="IDX98"></A>
<DT><CODE>unix-line-discard (C-u)</CODE> <DT><CODE>unix-line-discard (C-u)</CODE>
<DD><A NAME="IDX98"></A> <DD><A NAME="IDX99"></A>
Kill backward from the cursor to the beginning of the current line. Kill backward from the cursor to the beginning of the current line.
<P> <P>
<A NAME="IDX99"></A> <A NAME="IDX100"></A>
<DT><CODE>kill-whole-line ()</CODE> <DT><CODE>kill-whole-line ()</CODE>
<DD><A NAME="IDX100"></A> <DD><A NAME="IDX101"></A>
Kill all characters on the current line, no matter where point is. Kill all characters on the current line, no matter where point is.
By default, this is unbound. By default, this is unbound.
<P> <P>
<A NAME="IDX101"></A> <A NAME="IDX102"></A>
<DT><CODE>kill-word (M-d)</CODE> <DT><CODE>kill-word (M-d)</CODE>
<DD><A NAME="IDX102"></A> <DD><A NAME="IDX103"></A>
Kill from point to the end of the current word, or if between Kill from point to the end of the current word, or if between
words, to the end of the next word. words, to the end of the next word.
Word boundaries are the same as <CODE>forward-word</CODE>. Word boundaries are the same as <CODE>forward-word</CODE>.
<P> <P>
<A NAME="IDX103"></A> <A NAME="IDX104"></A>
<DT><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE> <DT><CODE>backward-kill-word (M-<KBD>DEL</KBD>)</CODE>
<DD><A NAME="IDX104"></A> <DD><A NAME="IDX105"></A>
Kill the word behind point. Kill the word behind point.
Word boundaries are the same as <CODE>backward-word</CODE>. Word boundaries are the same as <CODE>backward-word</CODE>.
<P> <P>
<A NAME="IDX105"></A> <A NAME="IDX106"></A>
<DT><CODE>unix-word-rubout (C-w)</CODE> <DT><CODE>unix-word-rubout (C-w)</CODE>
<DD><A NAME="IDX106"></A> <DD><A NAME="IDX107"></A>
Kill the word behind point, using white space as a word boundary. Kill the word behind point, using white space as a word boundary.
The killed text is saved on the kill-ring. The killed text is saved on the kill-ring.
<P> <P>
<A NAME="IDX107"></A> <A NAME="IDX108"></A>
<DT><CODE>unix-filename-rubout ()</CODE> <DT><CODE>unix-filename-rubout ()</CODE>
<DD><A NAME="IDX108"></A> <DD><A NAME="IDX109"></A>
Kill the word behind point, using white space and the slash character Kill the word behind point, using white space and the slash character
as the word boundaries. as the word boundaries.
The killed text is saved on the kill-ring. The killed text is saved on the kill-ring.
<P> <P>
<A NAME="IDX109"></A> <A NAME="IDX110"></A>
<DT><CODE>delete-horizontal-space ()</CODE> <DT><CODE>delete-horizontal-space ()</CODE>
<DD><A NAME="IDX110"></A> <DD><A NAME="IDX111"></A>
Delete all spaces and tabs around point. By default, this is unbound. Delete all spaces and tabs around point. By default, this is unbound.
<P> <P>
<A NAME="IDX111"></A> <A NAME="IDX112"></A>
<DT><CODE>kill-region ()</CODE> <DT><CODE>kill-region ()</CODE>
<DD><A NAME="IDX112"></A> <DD><A NAME="IDX113"></A>
Kill the text in the current region. Kill the text in the current region.
By default, this command is unbound. By default, this command is unbound.
<P> <P>
<A NAME="IDX113"></A> <A NAME="IDX114"></A>
<DT><CODE>copy-region-as-kill ()</CODE> <DT><CODE>copy-region-as-kill ()</CODE>
<DD><A NAME="IDX114"></A> <DD><A NAME="IDX115"></A>
Copy the text in the region to the kill buffer, so it can be yanked Copy the text in the region to the kill buffer, so it can be yanked
right away. By default, this command is unbound. right away. By default, this command is unbound.
<P> <P>
<A NAME="IDX115"></A> <A NAME="IDX116"></A>
<DT><CODE>copy-backward-word ()</CODE> <DT><CODE>copy-backward-word ()</CODE>
<DD><A NAME="IDX116"></A> <DD><A NAME="IDX117"></A>
Copy the word before point to the kill buffer. Copy the word before point to the kill buffer.
The word boundaries are the same as <CODE>backward-word</CODE>. The word boundaries are the same as <CODE>backward-word</CODE>.
By default, this command is unbound. By default, this command is unbound.
<P> <P>
<A NAME="IDX117"></A> <A NAME="IDX118"></A>
<DT><CODE>copy-forward-word ()</CODE> <DT><CODE>copy-forward-word ()</CODE>
<DD><A NAME="IDX118"></A> <DD><A NAME="IDX119"></A>
Copy the word following point to the kill buffer. Copy the word following point to the kill buffer.
The word boundaries are the same as <CODE>forward-word</CODE>. The word boundaries are the same as <CODE>forward-word</CODE>.
By default, this command is unbound. By default, this command is unbound.
<P> <P>
<A NAME="IDX119"></A> <A NAME="IDX120"></A>
<DT><CODE>yank (C-y)</CODE> <DT><CODE>yank (C-y)</CODE>
<DD><A NAME="IDX120"></A> <DD><A NAME="IDX121"></A>
Yank the top of the kill ring into the buffer at point. Yank the top of the kill ring into the buffer at point.
<P> <P>
<A NAME="IDX121"></A> <A NAME="IDX122"></A>
<DT><CODE>yank-pop (M-y)</CODE> <DT><CODE>yank-pop (M-y)</CODE>
<DD><A NAME="IDX122"></A> <DD><A NAME="IDX123"></A>
Rotate the kill-ring, and yank the new top. You can only do this if 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>. the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>.
</DL> </DL>
@@ -1622,16 +1640,16 @@ the prior command is <CODE>yank</CODE> or <CODE>yank-pop</CODE>.
<!--docid::SEC18::--> <!--docid::SEC18::-->
<DL COMPACT> <DL COMPACT>
<A NAME="IDX123"></A> <A NAME="IDX124"></A>
<DT><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE> <DT><CODE>digit-argument (<KBD>M-0</KBD>, <KBD>M-1</KBD>, <small>...</small> <KBD>M--</KBD>)</CODE>
<DD><A NAME="IDX124"></A> <DD><A NAME="IDX125"></A>
Add this digit to the argument already accumulating, or start a new Add this digit to the argument already accumulating, or start a new
argument. <KBD>M--</KBD> starts a negative argument. argument. <KBD>M--</KBD> starts a negative argument.
<P> <P>
<A NAME="IDX125"></A> <A NAME="IDX126"></A>
<DT><CODE>universal-argument ()</CODE> <DT><CODE>universal-argument ()</CODE>
<DD><A NAME="IDX126"></A> <DD><A NAME="IDX127"></A>
This is another way to specify an argument. This is another way to specify an argument.
If this command is followed by one or more digits, optionally with a If this command is followed by one or more digits, optionally with a
leading minus sign, those digits define the argument. leading minus sign, those digits define the argument.
@@ -1666,30 +1684,30 @@ By default, this is not bound to a key.
<P> <P>
<DL COMPACT> <DL COMPACT>
<A NAME="IDX127"></A> <A NAME="IDX128"></A>
<DT><CODE>complete (<KBD>TAB</KBD>)</CODE> <DT><CODE>complete (<KBD>TAB</KBD>)</CODE>
<DD><A NAME="IDX128"></A> <DD><A NAME="IDX129"></A>
Attempt to perform completion on the text before point. Attempt to perform completion on the text before point.
The actual completion performed is application-specific. The actual completion performed is application-specific.
The default is filename completion. The default is filename completion.
<P> <P>
<A NAME="IDX129"></A> <A NAME="IDX130"></A>
<DT><CODE>possible-completions (M-?)</CODE> <DT><CODE>possible-completions (M-?)</CODE>
<DD><A NAME="IDX130"></A> <DD><A NAME="IDX131"></A>
List the possible completions of the text before point. List the possible completions of the text before point.
<P> <P>
<A NAME="IDX131"></A> <A NAME="IDX132"></A>
<DT><CODE>insert-completions (M-*)</CODE> <DT><CODE>insert-completions (M-*)</CODE>
<DD><A NAME="IDX132"></A> <DD><A NAME="IDX133"></A>
Insert all completions of the text before point that would have Insert all completions of the text before point that would have
been generated by <CODE>possible-completions</CODE>. been generated by <CODE>possible-completions</CODE>.
<P> <P>
<A NAME="IDX133"></A> <A NAME="IDX134"></A>
<DT><CODE>menu-complete ()</CODE> <DT><CODE>menu-complete ()</CODE>
<DD><A NAME="IDX134"></A> <DD><A NAME="IDX135"></A>
Similar to <CODE>complete</CODE>, but replaces the word to be completed Similar to <CODE>complete</CODE>, but replaces the word to be completed
with a single match from the list of possible completions. with a single match from the list of possible completions.
Repeated execution of <CODE>menu-complete</CODE> steps through the list Repeated execution of <CODE>menu-complete</CODE> steps through the list
@@ -1704,9 +1722,9 @@ This command is intended to be bound to <KBD>TAB</KBD>, but is unbound
by default. by default.
<P> <P>
<A NAME="IDX135"></A> <A NAME="IDX136"></A>
<DT><CODE>delete-char-or-list ()</CODE> <DT><CODE>delete-char-or-list ()</CODE>
<DD><A NAME="IDX136"></A> <DD><A NAME="IDX137"></A>
Deletes the character under the cursor if not at the beginning or Deletes the character under the cursor if not at the beginning or
end of the line (like <CODE>delete-char</CODE>). end of the line (like <CODE>delete-char</CODE>).
If at the end of the line, behaves identically to If at the end of the line, behaves identically to
@@ -1735,22 +1753,22 @@ This command is unbound by default.
<!--docid::SEC20::--> <!--docid::SEC20::-->
<DL COMPACT> <DL COMPACT>
<A NAME="IDX137"></A> <A NAME="IDX138"></A>
<DT><CODE>start-kbd-macro (C-x ()</CODE> <DT><CODE>start-kbd-macro (C-x ()</CODE>
<DD><A NAME="IDX138"></A> <DD><A NAME="IDX139"></A>
Begin saving the characters typed into the current keyboard macro. Begin saving the characters typed into the current keyboard macro.
<P> <P>
<A NAME="IDX139"></A> <A NAME="IDX140"></A>
<DT><CODE>end-kbd-macro (C-x ))</CODE> <DT><CODE>end-kbd-macro (C-x ))</CODE>
<DD><A NAME="IDX140"></A> <DD><A NAME="IDX141"></A>
Stop saving the characters typed into the current keyboard macro Stop saving the characters typed into the current keyboard macro
and save the definition. and save the definition.
<P> <P>
<A NAME="IDX141"></A> <A NAME="IDX142"></A>
<DT><CODE>call-last-kbd-macro (C-x e)</CODE> <DT><CODE>call-last-kbd-macro (C-x e)</CODE>
<DD><A NAME="IDX142"></A> <DD><A NAME="IDX143"></A>
Re-execute the last keyboard macro defined, by making the characters Re-execute the last keyboard macro defined, by making the characters
in the macro appear as if typed at the keyboard. in the macro appear as if typed at the keyboard.
<P> <P>
@@ -1776,87 +1794,87 @@ in the macro appear as if typed at the keyboard.
<!--docid::SEC21::--> <!--docid::SEC21::-->
<DL COMPACT> <DL COMPACT>
<A NAME="IDX143"></A> <A NAME="IDX144"></A>
<DT><CODE>re-read-init-file (C-x C-r)</CODE> <DT><CODE>re-read-init-file (C-x C-r)</CODE>
<DD><A NAME="IDX144"></A> <DD><A NAME="IDX145"></A>
Read in the contents of the <VAR>inputrc</VAR> file, and incorporate Read in the contents of the <VAR>inputrc</VAR> file, and incorporate
any bindings or variable assignments found there. any bindings or variable assignments found there.
<P> <P>
<A NAME="IDX145"></A> <A NAME="IDX146"></A>
<DT><CODE>abort (C-g)</CODE> <DT><CODE>abort (C-g)</CODE>
<DD><A NAME="IDX146"></A> <DD><A NAME="IDX147"></A>
Abort the current editing command and Abort the current editing command and
ring the terminal's bell (subject to the setting of ring the terminal's bell (subject to the setting of
<CODE>bell-style</CODE>). <CODE>bell-style</CODE>).
<P> <P>
<A NAME="IDX147"></A> <A NAME="IDX148"></A>
<DT><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE> <DT><CODE>do-uppercase-version (M-a, M-b, M-<VAR>x</VAR>, <small>...</small>)</CODE>
<DD><A NAME="IDX148"></A> <DD><A NAME="IDX149"></A>
If the metafied character <VAR>x</VAR> is lowercase, run the command If the metafied character <VAR>x</VAR> is lowercase, run the command
that is bound to the corresponding uppercase character. that is bound to the corresponding uppercase character.
<P> <P>
<A NAME="IDX149"></A> <A NAME="IDX150"></A>
<DT><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE> <DT><CODE>prefix-meta (<KBD>ESC</KBD>)</CODE>
<DD><A NAME="IDX150"></A> <DD><A NAME="IDX151"></A>
Metafy the next character typed. This is for keyboards Metafy the next character typed. This is for keyboards
without a meta key. Typing <SAMP>`<KBD>ESC</KBD> f'</SAMP> is equivalent to typing without a meta key. Typing <SAMP>`<KBD>ESC</KBD> f'</SAMP> is equivalent to typing
<KBD>M-f</KBD>. <KBD>M-f</KBD>.
<P> <P>
<A NAME="IDX151"></A> <A NAME="IDX152"></A>
<DT><CODE>undo (C-_ or C-x C-u)</CODE> <DT><CODE>undo (C-_ or C-x C-u)</CODE>
<DD><A NAME="IDX152"></A> <DD><A NAME="IDX153"></A>
Incremental undo, separately remembered for each line. Incremental undo, separately remembered for each line.
<P> <P>
<A NAME="IDX153"></A> <A NAME="IDX154"></A>
<DT><CODE>revert-line (M-r)</CODE> <DT><CODE>revert-line (M-r)</CODE>
<DD><A NAME="IDX154"></A> <DD><A NAME="IDX155"></A>
Undo all changes made to this line. This is like executing the <CODE>undo</CODE> Undo all changes made to this line. This is like executing the <CODE>undo</CODE>
command enough times to get back to the beginning. command enough times to get back to the beginning.
<P> <P>
<A NAME="IDX155"></A> <A NAME="IDX156"></A>
<DT><CODE>tilde-expand (M-~)</CODE> <DT><CODE>tilde-expand (M-~)</CODE>
<DD><A NAME="IDX156"></A> <DD><A NAME="IDX157"></A>
Perform tilde expansion on the current word. Perform tilde expansion on the current word.
<P> <P>
<A NAME="IDX157"></A> <A NAME="IDX158"></A>
<DT><CODE>set-mark (C-@)</CODE> <DT><CODE>set-mark (C-@)</CODE>
<DD><A NAME="IDX158"></A> <DD><A NAME="IDX159"></A>
Set the mark to the point. If a Set the mark to the point. If a
numeric argument is supplied, the mark is set to that position. numeric argument is supplied, the mark is set to that position.
<P> <P>
<A NAME="IDX159"></A> <A NAME="IDX160"></A>
<DT><CODE>exchange-point-and-mark (C-x C-x)</CODE> <DT><CODE>exchange-point-and-mark (C-x C-x)</CODE>
<DD><A NAME="IDX160"></A> <DD><A NAME="IDX161"></A>
Swap the point with the mark. The current cursor position is set to 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. the saved position, and the old cursor position is saved as the mark.
<P> <P>
<A NAME="IDX161"></A> <A NAME="IDX162"></A>
<DT><CODE>character-search (C-])</CODE> <DT><CODE>character-search (C-])</CODE>
<DD><A NAME="IDX162"></A> <DD><A NAME="IDX163"></A>
A character is read and point is moved to the next occurrence of that A character is read and point is moved to the next occurrence of that
character. A negative count searches for previous occurrences. character. A negative count searches for previous occurrences.
<P> <P>
<A NAME="IDX163"></A> <A NAME="IDX164"></A>
<DT><CODE>character-search-backward (M-C-])</CODE> <DT><CODE>character-search-backward (M-C-])</CODE>
<DD><A NAME="IDX164"></A> <DD><A NAME="IDX165"></A>
A character is read and point is moved to the previous occurrence A character is read and point is moved to the previous occurrence
of that character. A negative count searches for subsequent of that character. A negative count searches for subsequent
occurrences. occurrences.
<P> <P>
<A NAME="IDX165"></A> <A NAME="IDX166"></A>
<DT><CODE>insert-comment (M-#)</CODE> <DT><CODE>insert-comment (M-#)</CODE>
<DD><A NAME="IDX166"></A> <DD><A NAME="IDX167"></A>
Without a numeric argument, the value of the <CODE>comment-begin</CODE> Without a numeric argument, the value of the <CODE>comment-begin</CODE>
variable is inserted at the beginning of the current line. variable is inserted at the beginning of the current line.
If a numeric argument is supplied, this command acts as a toggle: if If a numeric argument is supplied, this command acts as a toggle: if
@@ -1867,43 +1885,43 @@ the line.
In either case, the line is accepted as if a newline had been typed. In either case, the line is accepted as if a newline had been typed.
<P> <P>
<A NAME="IDX167"></A> <A NAME="IDX168"></A>
<DT><CODE>dump-functions ()</CODE> <DT><CODE>dump-functions ()</CODE>
<DD><A NAME="IDX168"></A> <DD><A NAME="IDX169"></A>
Print all of the functions and their key bindings to the Print all of the functions and their key bindings to the
Readline output stream. If a numeric argument is supplied, Readline output stream. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part 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. of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P> <P>
<A NAME="IDX169"></A> <A NAME="IDX170"></A>
<DT><CODE>dump-variables ()</CODE> <DT><CODE>dump-variables ()</CODE>
<DD><A NAME="IDX170"></A> <DD><A NAME="IDX171"></A>
Print all of the settable variables and their values to the Print all of the settable variables and their values to the
Readline output stream. If a numeric argument is supplied, Readline output stream. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part 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. of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P> <P>
<A NAME="IDX171"></A> <A NAME="IDX172"></A>
<DT><CODE>dump-macros ()</CODE> <DT><CODE>dump-macros ()</CODE>
<DD><A NAME="IDX172"></A> <DD><A NAME="IDX173"></A>
Print all of the Readline key sequences bound to macros and the Print all of the Readline key sequences bound to macros and the
strings they output. If a numeric argument is supplied, strings they output. If a numeric argument is supplied,
the output is formatted in such a way that it can be made part 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. of an <VAR>inputrc</VAR> file. This command is unbound by default.
<P> <P>
<A NAME="IDX173"></A> <A NAME="IDX174"></A>
<DT><CODE>emacs-editing-mode (C-e)</CODE> <DT><CODE>emacs-editing-mode (C-e)</CODE>
<DD><A NAME="IDX174"></A> <DD><A NAME="IDX175"></A>
When in <CODE>vi</CODE> command mode, this causes a switch to <CODE>emacs</CODE> When in <CODE>vi</CODE> command mode, this causes a switch to <CODE>emacs</CODE>
editing mode. editing mode.
<P> <P>
<A NAME="IDX175"></A> <A NAME="IDX176"></A>
<DT><CODE>vi-editing-mode (M-C-j)</CODE> <DT><CODE>vi-editing-mode (M-C-j)</CODE>
<DD><A NAME="IDX176"></A> <DD><A NAME="IDX177"></A>
When in <CODE>emacs</CODE> editing mode, this causes a switch to <CODE>vi</CODE> When in <CODE>emacs</CODE> editing mode, this causes a switch to <CODE>vi</CODE>
editing mode. editing mode.
<P> <P>
@@ -1990,7 +2008,7 @@ so forth.
<!--docid::SEC24::--> <!--docid::SEC24::-->
<P> <P>
<A NAME="IDX177"></A> <A NAME="IDX178"></A>
<center> <center>
Version 1.2, November 2002 Version 1.2, November 2002
</center> </center>
@@ -2608,7 +2626,7 @@ to permit their use in free software.
<TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="rluserman.html#SEC_About"> ? </A>]</TD> <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="rluserman.html#SEC_About"> ? </A>]</TD>
</TR></TABLE> </TR></TABLE>
<H1>About this document</H1> <H1>About this document</H1>
This document was generated by <I>Chet Ramey</I> on <I>July, 27 2004</I> This document was generated by <I>Chet Ramey</I> on <I>October, 27 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A> "><I>texi2html</I></A>
<P></P> <P></P>
@@ -2770,7 +2788,7 @@ the following structure:
<BR> <BR>
<FONT SIZE="-1"> <FONT SIZE="-1">
This document was generated This document was generated
by <I>Chet Ramey</I> on <I>July, 27 2004</I> by <I>Chet Ramey</I> on <I>October, 27 2005</I>
using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
"><I>texi2html</I></A> "><I>texi2html</I></A>
+121 -106
View File
@@ -1,12 +1,12 @@
This is rluserman.info, produced by makeinfo version 4.5 from This is rluserman.info, produced by makeinfo version 4.7 from
./rluserman.texi. ./rluserman.texi.
This manual describes the end user interface of the GNU Readline Library This manual describes the end user interface of the GNU Readline
(version 5.0, 28 January 2004), a library which aids in the consistency Library (version 5.1-beta1, 7 October 2005), a library which aids in the
of user interface across discrete programs which provide a command line consistency of user interface across discrete programs which provide a
interface. command line interface.
Copyright (C) 1988-2004 Free Software Foundation, Inc. Copyright (C) 1988-2005 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are manual provided the copyright notice and this permission notice are
@@ -35,7 +35,7 @@ File: rluserman.info, Node: Top, Next: Command Line Editing, Up: (dir)
GNU Readline Library GNU Readline Library
******************** ********************
This document describes the end user interface of the GNU Readline This document describes the end user interface of the GNU Readline
Library, a utility which aids in the consistency of user interface Library, a utility which aids in the consistency of user interface
across discrete programs which provide a command line interface. across discrete programs which provide a command line interface.
@@ -47,10 +47,10 @@ across discrete programs which provide a command line interface.
 
File: rluserman.info, Node: Command Line Editing, Next: Copying This Manual, Prev: Top, Up: Top File: rluserman.info, Node: Command Line Editing, Next: Copying This Manual, Prev: Top, Up: Top
Command Line Editing 1 Command Line Editing
******************** **********************
This chapter describes the basic features of the GNU command line This chapter describes the basic features of the GNU command line
editing interface. editing interface.
* Menu: * Menu:
@@ -66,10 +66,10 @@ editing interface.
 
File: rluserman.info, Node: Introduction and Notation, Next: Readline Interaction, Up: Command Line Editing File: rluserman.info, Node: Introduction and Notation, Next: Readline Interaction, Up: Command Line Editing
Introduction to Line Editing 1.1 Introduction to Line Editing
============================ ================================
The following paragraphs describe the notation used to represent The following paragraphs describe the notation used to represent
keystrokes. keystrokes.
The text `C-k' is read as `Control-K' and describes the character The text `C-k' is read as `Control-K' and describes the character
@@ -102,10 +102,10 @@ some keyboards.
 
File: rluserman.info, Node: Readline Interaction, Next: Readline Init File, Prev: Introduction and Notation, Up: Command Line Editing File: rluserman.info, Node: Readline Interaction, Next: Readline Init File, Prev: Introduction and Notation, Up: Command Line Editing
Readline Interaction 1.2 Readline Interaction
==================== ========================
Often during an interactive session you type in a long line of text, Often during an interactive session you type in a long line of text,
only to notice that the first word on the line is misspelled. The only to notice that the first word on the line is misspelled. The
Readline library gives you a set of commands for manipulating the text Readline library gives you a set of commands for manipulating the text
as you type it in, allowing you to just fix your typo, and not forcing as you type it in, allowing you to just fix your typo, and not forcing
@@ -127,13 +127,13 @@ location of the cursor within the line.
 
File: rluserman.info, Node: Readline Bare Essentials, Next: Readline Movement Commands, Up: Readline Interaction File: rluserman.info, Node: Readline Bare Essentials, Next: Readline Movement Commands, Up: Readline Interaction
Readline Bare Essentials 1.2.1 Readline Bare Essentials
------------------------ ------------------------------
In order to enter characters into the line, simply type them. The In order to enter characters into the line, simply type them. The typed
typed character appears where the cursor was, and then the cursor moves character appears where the cursor was, and then the cursor moves one
one space to the right. If you mistype a character, you can use your space to the right. If you mistype a character, you can use your erase
erase character to back up and delete the mistyped character. character to back up and delete the mistyped character.
Sometimes you may mistype a character, and not notice the error Sometimes you may mistype a character, and not notice the error
until you have typed several other characters. In that case, you can until you have typed several other characters. In that case, you can
@@ -175,10 +175,10 @@ character to the left of the cursor.)
 
File: rluserman.info, Node: Readline Movement Commands, Next: Readline Killing Commands, Prev: Readline Bare Essentials, Up: Readline Interaction File: rluserman.info, Node: Readline Movement Commands, Next: Readline Killing Commands, Prev: Readline Bare Essentials, Up: Readline Interaction
Readline Movement Commands 1.2.2 Readline Movement Commands
-------------------------- --------------------------------
The above table describes the most basic keystrokes that you need in The above table describes the most basic keystrokes that you need in
order to do editing of the input line. For your convenience, many order to do editing of the input line. For your convenience, many
other commands have been added in addition to `C-b', `C-f', `C-d', and other commands have been added in addition to `C-b', `C-f', `C-d', and
<DEL>. Here are some commands for moving more rapidly about the line. <DEL>. Here are some commands for moving more rapidly about the line.
@@ -206,11 +206,11 @@ operate on characters while meta keystrokes operate on words.
 
File: rluserman.info, Node: Readline Killing Commands, Next: Readline Arguments, Prev: Readline Movement Commands, Up: Readline Interaction File: rluserman.info, Node: Readline Killing Commands, Next: Readline Arguments, Prev: Readline Movement Commands, Up: Readline Interaction
Readline Killing Commands 1.2.3 Readline Killing Commands
------------------------- -------------------------------
"Killing" text means to delete the text from the line, but to save "Killing" text means to delete the text from the line, but to save it
it away for later use, usually by "yanking" (re-inserting) it back into away for later use, usually by "yanking" (re-inserting) it back into
the line. (`Cut' and `paste' are more recent jargon for `kill' and the line. (`Cut' and `paste' are more recent jargon for `kill' and
`yank'.) `yank'.)
@@ -259,10 +259,10 @@ copy the most-recently-killed text from the kill buffer.
 
File: rluserman.info, Node: Readline Arguments, Next: Searching, Prev: Readline Killing Commands, Up: Readline Interaction File: rluserman.info, Node: Readline Arguments, Next: Searching, Prev: Readline Killing Commands, Up: Readline Interaction
Readline Arguments 1.2.4 Readline Arguments
------------------ ------------------------
You can pass numeric arguments to Readline commands. Sometimes the You can pass numeric arguments to Readline commands. Sometimes the
argument acts as a repeat count, other times it is the sign of the argument acts as a repeat count, other times it is the sign of the
argument that is significant. If you pass a negative argument to a argument that is significant. If you pass a negative argument to a
command which normally acts in a forward direction, that command will command which normally acts in a forward direction, that command will
@@ -280,10 +280,10 @@ will delete the next ten characters on the input line.
 
File: rluserman.info, Node: Searching, Prev: Readline Arguments, Up: Readline Interaction File: rluserman.info, Node: Searching, Prev: Readline Arguments, Up: Readline Interaction
Searching for Commands in the History 1.2.5 Searching for Commands in the History
------------------------------------- -------------------------------------------
Readline provides commands for searching through the command history Readline provides commands for searching through the command history
for lines containing a specified string. There are two search modes: for lines containing a specified string. There are two search modes:
"incremental" and "non-incremental". "incremental" and "non-incremental".
@@ -321,10 +321,10 @@ typed by the user or be part of the contents of the current line.
 
File: rluserman.info, Node: Readline Init File, Next: Bindable Readline Commands, Prev: Readline Interaction, Up: Command Line Editing File: rluserman.info, Node: Readline Init File, Next: Bindable Readline Commands, Prev: Readline Interaction, Up: Command Line Editing
Readline Init File 1.3 Readline Init File
================== ======================
Although the Readline library comes with a set of Emacs-like Although the Readline library comes with a set of Emacs-like
keybindings installed by default, it is possible to use a different set keybindings installed by default, it is possible to use a different set
of keybindings. Any user can customize programs that use Readline by of keybindings. Any user can customize programs that use Readline by
putting commands in an "inputrc" file, conventionally in his home putting commands in an "inputrc" file, conventionally in his home
@@ -349,10 +349,10 @@ incorporating any changes that you might have made to it.
 
File: rluserman.info, Node: Readline Init File Syntax, Next: Conditional Init Constructs, Up: Readline Init File File: rluserman.info, Node: Readline Init File Syntax, Next: Conditional Init Constructs, Up: Readline Init File
Readline Init File Syntax 1.3.1 Readline Init File Syntax
------------------------- -------------------------------
There are only a few basic constructs allowed in the Readline init There are only a few basic constructs allowed in the Readline init
file. Blank lines are ignored. Lines beginning with a `#' are file. Blank lines are ignored. Lines beginning with a `#' are
comments. Lines beginning with a `$' indicate conditional constructs comments. Lines beginning with a `$' indicate conditional constructs
(*note Conditional Init Constructs::). Other lines denote variable (*note Conditional Init Constructs::). Other lines denote variable
@@ -371,7 +371,11 @@ Variable Settings
set editing-mode vi set editing-mode vi
Variable names and values, where appropriate, are recognized Variable names and values, where appropriate, are recognized
without regard to case. without regard to case. Unrecognized variable names are ignored.
Boolean variables (those that can be set to on or off) are set to
on if the value is null or empty, ON (case-insensitive), or 1.
Any other value results in the variable being set to off.
A great deal of run-time behavior is changeable with the following A great deal of run-time behavior is changeable with the following
variables. variables.
@@ -383,6 +387,11 @@ Variable Settings
one is available. If set to `audible' (the default), one is available. If set to `audible' (the default),
Readline attempts to ring the terminal's bell. Readline attempts to ring the terminal's bell.
`bind-tty-special-chars'
If set to `on', Readline attempts to bind the control
characters treated specially by the kernel's terminal driver
to their Readline equivalents.
`comment-begin' `comment-begin'
The string to insert at the beginning of the line when the The string to insert at the beginning of the line when the
`insert-comment' command is executed. The default value is `insert-comment' command is executed. The default value is
@@ -400,7 +409,8 @@ Variable Settings
than this value, Readline will ask the user whether or not he than this value, Readline will ask the user whether or not he
wishes to view them; otherwise, they are simply listed. This wishes to view them; otherwise, they are simply listed. This
variable must be set to an integer value greater than or variable must be set to an integer value greater than or
equal to 0. The default limit is `100'. equal to 0. A negative value means Readline should never ask.
The default limit is `100'.
`convert-meta' `convert-meta'
If set to `on', Readline will convert characters with the If set to `on', Readline will convert characters with the
@@ -428,9 +438,10 @@ Variable Settings
If set to `on', tilde expansion is performed when Readline If set to `on', tilde expansion is performed when Readline
attempts word completion. The default is `off'. attempts word completion. The default is `off'.
`history-preserve-point'
If set to `on', the history code attempts to place point at If set to `on', the history code attempts to place point at
the same location on each history line retrieved with the same location on each history line retrieved with
`previous-history' or `next-history'. `previous-history' or `next-history'. The default is `off'.
`horizontal-scroll-mode' `horizontal-scroll-mode'
This variable can be set to either `on' or `off'. Setting it This variable can be set to either `on' or `off'. Setting it
@@ -639,10 +650,10 @@ Key Bindings
 
File: rluserman.info, Node: Conditional Init Constructs, Next: Sample Init File, Prev: Readline Init File Syntax, Up: Readline Init File File: rluserman.info, Node: Conditional Init Constructs, Next: Sample Init File, Prev: Readline Init File Syntax, Up: Readline Init File
Conditional Init Constructs 1.3.2 Conditional Init Constructs
--------------------------- ---------------------------------
Readline implements a facility similar in spirit to the conditional Readline implements a facility similar in spirit to the conditional
compilation features of the C preprocessor which allows key bindings compilation features of the C preprocessor which allows key bindings
and variable settings to be performed as the result of tests. There and variable settings to be performed as the result of tests. There
are four parser directives used. are four parser directives used.
@@ -699,11 +710,11 @@ are four parser directives used.
 
File: rluserman.info, Node: Sample Init File, Prev: Conditional Init Constructs, Up: Readline Init File File: rluserman.info, Node: Sample Init File, Prev: Conditional Init Constructs, Up: Readline Init File
Sample Init File 1.3.3 Sample Init File
---------------- ----------------------
Here is an example of an INPUTRC file. This illustrates key Here is an example of an INPUTRC file. This illustrates key binding,
binding, variable assignment, and conditional syntax. variable assignment, and conditional syntax.
# This file controls the behaviour of line input editing for # This file controls the behaviour of line input editing for
@@ -809,8 +820,8 @@ binding, variable assignment, and conditional syntax.
 
File: rluserman.info, Node: Bindable Readline Commands, Next: Readline vi Mode, Prev: Readline Init File, Up: Command Line Editing File: rluserman.info, Node: Bindable Readline Commands, Next: Readline vi Mode, Prev: Readline Init File, Up: Command Line Editing
Bindable Readline Commands 1.4 Bindable Readline Commands
========================== ==============================
* Menu: * Menu:
@@ -835,8 +846,8 @@ as the "region".
 
File: rluserman.info, Node: Commands For Moving, Next: Commands For History, Up: Bindable Readline Commands File: rluserman.info, Node: Commands For Moving, Next: Commands For History, Up: Bindable Readline Commands
Commands For Moving 1.4.1 Commands For Moving
------------------- -------------------------
`beginning-of-line (C-a)' `beginning-of-line (C-a)'
Move to the start of the current line. Move to the start of the current line.
@@ -869,8 +880,8 @@ Commands For Moving
 
File: rluserman.info, Node: Commands For History, Next: Commands For Text, Prev: Commands For Moving, Up: Bindable Readline Commands File: rluserman.info, Node: Commands For History, Next: Commands For Text, Prev: Commands For Moving, Up: Bindable Readline Commands
Commands For Manipulating The History 1.4.2 Commands For Manipulating The History
------------------------------------- -------------------------------------------
`accept-line (Newline or Return)' `accept-line (Newline or Return)'
Accept the line regardless of where the cursor is. If this line is Accept the line regardless of where the cursor is. If this line is
@@ -926,21 +937,24 @@ Commands For Manipulating The History
second word on the previous line) at point. With an argument N, second word on the previous line) at point. With an argument N,
insert the Nth word from the previous command (the words in the insert the Nth word from the previous command (the words in the
previous command begin with word 0). A negative argument inserts previous command begin with word 0). A negative argument inserts
the Nth word from the end of the previous command. the Nth word from the end of the previous command. Once the
argument N is computed, the argument is extracted as if the `!N'
history expansion had been specified.
`yank-last-arg (M-. or M-_)' `yank-last-arg (M-. or M-_)'
Insert last argument to the previous command (the last word of the Insert last argument to the previous command (the last word of the
previous history entry). With an argument, behave exactly like previous history entry). With an argument, behave exactly like
`yank-nth-arg'. Successive calls to `yank-last-arg' move back `yank-nth-arg'. Successive calls to `yank-last-arg' move back
through the history list, inserting the last argument of each line through the history list, inserting the last argument of each line
in turn. in turn. The history expansion facilities are used to extract the
last argument, as if the `!$' history expansion had been specified.
 
File: rluserman.info, Node: Commands For Text, Next: Commands For Killing, Prev: Commands For History, Up: Bindable Readline Commands File: rluserman.info, Node: Commands For Text, Next: Commands For Killing, Prev: Commands For History, Up: Bindable Readline Commands
Commands For Changing Text 1.4.3 Commands For Changing Text
-------------------------- --------------------------------
`delete-char (C-d)' `delete-char (C-d)'
Delete the character at point. If point is at the beginning of Delete the character at point. If point is at the beginning of
@@ -1007,8 +1021,8 @@ Commands For Changing Text
 
File: rluserman.info, Node: Commands For Killing, Next: Numeric Arguments, Prev: Commands For Text, Up: Bindable Readline Commands File: rluserman.info, Node: Commands For Killing, Next: Numeric Arguments, Prev: Commands For Text, Up: Bindable Readline Commands
Killing And Yanking 1.4.4 Killing And Yanking
------------------- -------------------------
`kill-line (C-k)' `kill-line (C-k)'
Kill the text from point to the end of the line. Kill the text from point to the end of the line.
@@ -1073,8 +1087,8 @@ Killing And Yanking
 
File: rluserman.info, Node: Numeric Arguments, Next: Commands For Completion, Prev: Commands For Killing, Up: Bindable Readline Commands File: rluserman.info, Node: Numeric Arguments, Next: Commands For Completion, Prev: Commands For Killing, Up: Bindable Readline Commands
Specifying Numeric Arguments 1.4.5 Specifying Numeric Arguments
---------------------------- ----------------------------------
`digit-argument (M-0, M-1, ... M--)' `digit-argument (M-0, M-1, ... M--)'
Add this digit to the argument already accumulating, or start a new Add this digit to the argument already accumulating, or start a new
@@ -1096,8 +1110,8 @@ Specifying Numeric Arguments
 
File: rluserman.info, Node: Commands For Completion, Next: Keyboard Macros, Prev: Numeric Arguments, Up: Bindable Readline Commands File: rluserman.info, Node: Commands For Completion, Next: Keyboard Macros, Prev: Numeric Arguments, Up: Bindable Readline Commands
Letting Readline Type For You 1.4.6 Letting Readline Type For You
----------------------------- -----------------------------------
`complete (<TAB>)' `complete (<TAB>)'
Attempt to perform completion on the text before point. The Attempt to perform completion on the text before point. The
@@ -1133,8 +1147,8 @@ Letting Readline Type For You
 
File: rluserman.info, Node: Keyboard Macros, Next: Miscellaneous Commands, Prev: Commands For Completion, Up: Bindable Readline Commands File: rluserman.info, Node: Keyboard Macros, Next: Miscellaneous Commands, Prev: Commands For Completion, Up: Bindable Readline Commands
Keyboard Macros 1.4.7 Keyboard Macros
--------------- ---------------------
`start-kbd-macro (C-x ()' `start-kbd-macro (C-x ()'
Begin saving the characters typed into the current keyboard macro. Begin saving the characters typed into the current keyboard macro.
@@ -1151,8 +1165,8 @@ Keyboard Macros
 
File: rluserman.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bindable Readline Commands File: rluserman.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bindable Readline Commands
Some Miscellaneous Commands 1.4.8 Some Miscellaneous Commands
--------------------------- ---------------------------------
`re-read-init-file (C-x C-r)' `re-read-init-file (C-x C-r)'
Read in the contents of the INPUTRC file, and incorporate any Read in the contents of the INPUTRC file, and incorporate any
@@ -1239,10 +1253,10 @@ Some Miscellaneous Commands
 
File: rluserman.info, Node: Readline vi Mode, Prev: Bindable Readline Commands, Up: Command Line Editing File: rluserman.info, Node: Readline vi Mode, Prev: Bindable Readline Commands, Up: Command Line Editing
Readline vi Mode 1.5 Readline vi Mode
================ ====================
While the Readline library does not have a full set of `vi' editing While the Readline library does not have a full set of `vi' editing
functions, it does contain enough to allow simple editing of the line. functions, it does contain enough to allow simple editing of the line.
The Readline `vi' mode behaves as specified in the POSIX 1003.2 The Readline `vi' mode behaves as specified in the POSIX 1003.2
standard. standard.
@@ -1261,8 +1275,8 @@ the standard `vi' movement keys, move to previous history lines with
 
File: rluserman.info, Node: Copying This Manual, Prev: Command Line Editing, Up: Top File: rluserman.info, Node: Copying This Manual, Prev: Command Line Editing, Up: Top
Copying This Manual Appendix A Copying This Manual
******************* ******************************
* Menu: * Menu:
@@ -1271,10 +1285,11 @@ Copying This Manual
 
File: rluserman.info, Node: GNU Free Documentation License, Up: Copying This Manual File: rluserman.info, Node: GNU Free Documentation License, Up: Copying This Manual
GNU Free Documentation License A.1 GNU Free Documentation License
============================== ==================================
Version 1.2, November 2002 Version 1.2, November 2002
Copyright (C) 2000,2001,2002 Free Software Foundation, Inc. Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
59 Temple Place, Suite 330, Boston, MA 02111-1307, USA 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA
@@ -1668,10 +1683,10 @@ GNU Free Documentation License
you may choose any version ever published (not as a draft) by the you may choose any version ever published (not as a draft) by the
Free Software Foundation. Free Software Foundation.
ADDENDUM: How to use this License for your documents A.1.1 ADDENDUM: How to use this License for your documents
---------------------------------------------------- ----------------------------------------------------------
To use this License in a document you have written, include a copy of To use this License in a document you have written, include a copy of
the License in the document and put the following copyright and license the License in the document and put the following copyright and license
notices just after the title page: notices just after the title page:
@@ -1702,30 +1717,30 @@ permit their use in free software.
 
Tag Table: Tag Table:
Node: Top1339 Node: Top1344
Node: Command Line Editing1774 Node: Command Line Editing1776
Node: Introduction and Notation2416 Node: Introduction and Notation2419
Node: Readline Interaction4035 Node: Readline Interaction4043
Node: Readline Bare Essentials5223 Node: Readline Bare Essentials5236
Node: Readline Movement Commands7005 Node: Readline Movement Commands7027
Node: Readline Killing Commands7963 Node: Readline Killing Commands7994
Node: Readline Arguments9874 Node: Readline Arguments9916
Node: Searching10911 Node: Searching10962
Node: Readline Init File13055 Node: Readline Init File13115
Node: Readline Init File Syntax14117 Node: Readline Init File Syntax14182
Node: Conditional Init Constructs25481 Node: Conditional Init Constructs26118
Node: Sample Init File28007 Node: Sample Init File28653
Node: Bindable Readline Commands31192 Node: Bindable Readline Commands31772
Node: Commands For Moving32243 Node: Commands For Moving32831
Node: Commands For History33094 Node: Commands For History33694
Node: Commands For Text35954 Node: Commands For Text36820
Node: Commands For Killing38670 Node: Commands For Killing39548
Node: Numeric Arguments40802 Node: Numeric Arguments41692
Node: Commands For Completion41931 Node: Commands For Completion42833
Node: Keyboard Macros43465 Node: Keyboard Macros44379
Node: Miscellaneous Commands44026 Node: Miscellaneous Commands44952
Node: Readline vi Mode47377 Node: Readline vi Mode48315
Node: Copying This Manual48293 Node: Copying This Manual49236
Node: GNU Free Documentation License48503 Node: GNU Free Documentation License49468
 
End Tag Table End Tag Table
+27 -29
View File
@@ -1,9 +1,7 @@
This is TeX, Version 3.14159 (Web2C 7.3.1) (format=tex 2001.2.12) 27 JUL 2004 09:31 This is TeX, Version 3.14159 (Web2C 7.4.5) (format=tex 2005.3.22) 27 OCT 2005 17:26
**/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/rlu **/usr/homes/chet/src/bash/src/lib/readline/doc/rluserman.texi
serman.texi (/usr/homes/chet/src/bash/src/lib/readline/doc/rluserman.texi (./texinfo.tex
Loading texinfo [version 2003-02-03.16]: Basics,
(/net/celerra-dm1/fs04/src/ns-engr/work/chet/src/bash/src/lib/readline/doc/rlus
erman.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\bindingoffset=\dimen16 \bindingoffset=\dimen16
\normaloffset=\dimen17 \normaloffset=\dimen17
\pagewidth=\dimen18 \pagewidth=\dimen18
@@ -34,8 +32,7 @@ erman.texi (texinfo.tex Loading texinfo [version 2003-02-03.16]: Basics,
\toksD=\toks18 \toksD=\toks18
\boxA=\box19 \boxA=\box19
\countA=\count30 \countA=\count30
fonts,
fonts,
\sffam=\fam8 \sffam=\fam8
\textleading=\dimen26 \textleading=\dimen26
\mainmagstep=\count31 \mainmagstep=\count31
@@ -47,7 +44,8 @@ fonts,
\oddheadline=\toks20 \oddheadline=\toks20
\evenfootline=\toks21 \evenfootline=\toks21
\oddfootline=\toks22 \oddfootline=\toks22
tables,
tables,
\tableindent=\dimen27 \tableindent=\dimen27
\itemindent=\dimen28 \itemindent=\dimen28
\itemmargin=\dimen29 \itemmargin=\dimen29
@@ -81,8 +79,7 @@ fonts,
\lastnegativepageno=\count43 \lastnegativepageno=\count43
\shortappendixwidth=\dimen33 \shortappendixwidth=\dimen33
\tocindent=\dimen34 \tocindent=\dimen34
environments,
environments,
\errorbox=\box22 \errorbox=\box22
\lispnarrowing=\skip30 \lispnarrowing=\skip30
\envskipamount=\skip31 \envskipamount=\skip31
@@ -104,12 +101,12 @@ environments,
\macscribble=\write1 \macscribble=\write1
\paramno=\count45 \paramno=\count45
\macname=\toks23 \macname=\toks23
cross references,
cross references,
\auxfile=\write2 \auxfile=\write2
\savesfregister=\count46 \savesfregister=\count46
\footnoteno=\count47 \footnoteno=\count47
(/sw/share/texmf/tex/generic/misc/epsf.tex
(/usr/local/share/texmf/tex/plain/dvips/epsf.tex
\epsffilein=\read0 \epsffilein=\read0
\epsfframemargin=\dimen39 \epsfframemargin=\dimen39
\epsfframethickness=\dimen40 \epsfframethickness=\dimen40
@@ -126,14 +123,15 @@ environments,
\nolanghelp=\toks26 \nolanghelp=\toks26
\defaultparindent=\dimen47 \defaultparindent=\dimen47
and turning on texinfo input format.) (rluserman.aux) and turning on texinfo input format.) (./rluserman.aux)
@cpindfile=@write3 @cpindfile=@write3
@fnindfile=@write4 @fnindfile=@write4
@vrindfile=@write5 @vrindfile=@write5
@tpindfile=@write6 @tpindfile=@write6
@kyindfile=@write7 @kyindfile=@write7
@pgindfile=@write8 @pgindfile=@write8
(version.texi) [1 (./version.texi)
[1
\openout2 = `rluserman.aux'. \openout2 = `rluserman.aux'.
\openout3 = `rluserman.cp'. \openout3 = `rluserman.cp'.
@@ -148,8 +146,7 @@ and turning on texinfo input format.) (rluserman.aux)
\openout8 = `rluserman.pg'. \openout8 = `rluserman.pg'.
] ] [2] (./rluserman.toc) [-1] [-2] (./rluser.texi
[2] (rluserman.toc) [-1] [-2] (rluser.texi
@btindfile=@write9 @btindfile=@write9
Chapter 1 Chapter 1
\openout0 = `rluserman.toc'. \openout0 = `rluserman.toc'.
@@ -157,8 +154,9 @@ and turning on texinfo input format.) (rluserman.aux)
[1 [1
\openout9 = `rluserman.bt'. \openout9 = `rluserman.bt'.
] [2] [3] [4] [5] ] [2] [3]
Underfull \hbox (badness 5231) in paragraph at lines 488--504 [4] [5]
Underfull \hbox (badness 5231) in paragraph at lines 500--516
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr @texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
@@ -171,7 +169,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
.etc. .etc.
[6] [7] [8] [9] [10] [6] [7] [8] [9] [10]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 801--801 Overfull \hbox (26.43913pt too wide) in paragraph at lines 813--813
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i []@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[] | gnored[] |
@@ -183,15 +181,15 @@ gnored[] |
.@texttt t .@texttt t
.etc. .etc.
[11] [12] [13] [14] [15] [16] [17] [18]) Appendix A [19] [20] (fdl.texi [11] [12] [13] [14] [15] [16] [17] [18]) Appendix A [19] [20] (./fdl.texi
[21] [22] [23] [24] [25] [26]) [27] [28] ) [21] [22] [23] [24] [25] [26]) [27] [28] )
Here is how much of TeX's memory you used: Here is how much of TeX's memory you used:
1398 strings out of 13013 1405 strings out of 98002
16289 string characters out of 97233 16392 string characters out of 1221987
44933 words of memory out of 263001 44924 words of memory out of 1000001
2276 multiletter control sequences out of 10000+0 2276 multiletter control sequences out of 10000+50000
31953 words of font info for 111 fonts, out of 400000 for 1000 31953 words of font info for 111 fonts, out of 500000 for 1000
19 hyphenation exceptions out of 1000 19 hyphenation exceptions out of 1000
13i,8n,10p,313b,695s stack positions out of 300i,100n,500p,50000b,4000s 13i,8n,10p,285b,695s stack positions out of 1500i,500n,5000p,200000b,5000s
Output written on rluserman.dvi (32 pages, 91852 bytes). Output written on rluserman.dvi (32 pages, 92856 bytes).
+4549 -2391
View File
File diff suppressed because it is too large Load Diff
+6 -5
View File
@@ -1,20 +1,21 @@
\entry{bell-style}{5}{\code {bell-style}} \entry{bell-style}{5}{\code {bell-style}}
\entry{bind-tty-special-chars}{5}{\code {bind-tty-special-chars}}
\entry{comment-begin}{5}{\code {comment-begin}} \entry{comment-begin}{5}{\code {comment-begin}}
\entry{completion-query-items}{5}{\code {completion-query-items}} \entry{completion-query-items}{5}{\code {completion-query-items}}
\entry{convert-meta}{5}{\code {convert-meta}} \entry{convert-meta}{5}{\code {convert-meta}}
\entry{disable-completion}{5}{\code {disable-completion}} \entry{disable-completion}{5}{\code {disable-completion}}
\entry{editing-mode}{5}{\code {editing-mode}} \entry{editing-mode}{5}{\code {editing-mode}}
\entry{enable-keypad}{5}{\code {enable-keypad}} \entry{enable-keypad}{6}{\code {enable-keypad}}
\entry{expand-tilde}{5}{\code {expand-tilde}} \entry{expand-tilde}{6}{\code {expand-tilde}}
\entry{history-preserve-point}{5}{\code {history-preserve-point}} \entry{history-preserve-point}{6}{\code {history-preserve-point}}
\entry{horizontal-scroll-mode}{6}{\code {horizontal-scroll-mode}} \entry{horizontal-scroll-mode}{6}{\code {horizontal-scroll-mode}}
\entry{input-meta}{6}{\code {input-meta}} \entry{input-meta}{6}{\code {input-meta}}
\entry{meta-flag}{6}{\code {meta-flag}} \entry{meta-flag}{6}{\code {meta-flag}}
\entry{isearch-terminators}{6}{\code {isearch-terminators}} \entry{isearch-terminators}{6}{\code {isearch-terminators}}
\entry{keymap}{6}{\code {keymap}} \entry{keymap}{6}{\code {keymap}}
\entry{mark-modified-lines}{6}{\code {mark-modified-lines}} \entry{mark-modified-lines}{6}{\code {mark-modified-lines}}
\entry{mark-symlinked-directories}{6}{\code {mark-symlinked-directories}} \entry{mark-symlinked-directories}{7}{\code {mark-symlinked-directories}}
\entry{match-hidden-files}{6}{\code {match-hidden-files}} \entry{match-hidden-files}{7}{\code {match-hidden-files}}
\entry{output-meta}{7}{\code {output-meta}} \entry{output-meta}{7}{\code {output-meta}}
\entry{page-completions}{7}{\code {page-completions}} \entry{page-completions}{7}{\code {page-completions}}
\entry{show-all-if-ambiguous}{7}{\code {show-all-if-ambiguous}} \entry{show-all-if-ambiguous}{7}{\code {show-all-if-ambiguous}}
+6 -5
View File
@@ -1,5 +1,6 @@
\initial {B} \initial {B}
\entry {\code {bell-style}}{5} \entry {\code {bell-style}}{5}
\entry {\code {bind-tty-special-chars}}{5}
\initial {C} \initial {C}
\entry {\code {comment-begin}}{5} \entry {\code {comment-begin}}{5}
\entry {\code {completion-query-items}}{5} \entry {\code {completion-query-items}}{5}
@@ -8,10 +9,10 @@
\entry {\code {disable-completion}}{5} \entry {\code {disable-completion}}{5}
\initial {E} \initial {E}
\entry {\code {editing-mode}}{5} \entry {\code {editing-mode}}{5}
\entry {\code {enable-keypad}}{5} \entry {\code {enable-keypad}}{6}
\entry {\code {expand-tilde}}{5} \entry {\code {expand-tilde}}{6}
\initial {H} \initial {H}
\entry {\code {history-preserve-point}}{5} \entry {\code {history-preserve-point}}{6}
\entry {\code {horizontal-scroll-mode}}{6} \entry {\code {horizontal-scroll-mode}}{6}
\initial {I} \initial {I}
\entry {\code {input-meta}}{6} \entry {\code {input-meta}}{6}
@@ -20,8 +21,8 @@
\entry {\code {keymap}}{6} \entry {\code {keymap}}{6}
\initial {M} \initial {M}
\entry {\code {mark-modified-lines}}{6} \entry {\code {mark-modified-lines}}{6}
\entry {\code {mark-symlinked-directories}}{6} \entry {\code {mark-symlinked-directories}}{7}
\entry {\code {match-hidden-files}}{6} \entry {\code {match-hidden-files}}{7}
\entry {\code {meta-flag}}{6} \entry {\code {meta-flag}}{6}
\initial {O} \initial {O}
\entry {\code {output-meta}}{7} \entry {\code {output-meta}}{7}
+10 -3
View File
@@ -6839,12 +6839,16 @@ add_string:
{ {
t_index = sindex++; t_index = sindex++;
if (expanded_something)
*expanded_something = 1;
temp = string_extract (string, &sindex, "`", EX_REQMATCH); temp = string_extract (string, &sindex, "`", EX_REQMATCH);
/* The test of sindex against t_index is to allow bare instances of
` to pass through, for backwards compatibility. */
if (temp == &extract_string_error || temp == &extract_string_fatal) if (temp == &extract_string_error || temp == &extract_string_fatal)
{ {
if (sindex - 1 == t_index)
{
sindex = t_index;
goto add_character;
}
report_error ("bad substitution: no closing \"`\" in %s", string+t_index); report_error ("bad substitution: no closing \"`\" in %s", string+t_index);
free (string); free (string);
free (istring); free (istring);
@@ -6852,6 +6856,9 @@ add_string:
: &expand_word_fatal); : &expand_word_fatal);
} }
if (expanded_something)
*expanded_something = 1;
if (word->flags & W_NOCOMSUB) if (word->flags & W_NOCOMSUB)
/* sindex + 1 because string[sindex] == '`' */ /* sindex + 1 because string[sindex] == '`' */
temp1 = substring (string, t_index, sindex + 1); temp1 = substring (string, t_index, sindex + 1);
+1 -1
View File
@@ -1,4 +1,4 @@
BUILD_DIR=/usr/local/build/bash/bash-current BUILD_DIR=/usr/local/build/chet/bash/bash-current
THIS_SH=$BUILD_DIR/bash THIS_SH=$BUILD_DIR/bash
PATH=$PATH:$BUILD_DIR PATH=$PATH:$BUILD_DIR
+2
View File
@@ -33,6 +33,8 @@ x3y
x10y x9y x8y x7y x6y x5y x4y x3y x2y x1y x10y x9y x8y x7y x6y x5y x4y x3y x2y x1y
a b c d e f a b c d e f
f e d c b a f e d c b a
a ` _ ^ ] [ Z Y X W V U T S R Q P O N M L K J I H G F E D C B A
A B C D E F G H I J K L M N O P Q R S T U V W X Y Z [ ] ^ _ ` a
f f
{1..f} {1..f}
{f..1} {f..1}
+2 -2
View File
@@ -54,8 +54,8 @@ echo x{10..1}y
echo {a..f} echo {a..f}
echo {f..a} echo {f..a}
#echo {a..A} echo {a..A}
#echo {A..a} echo {A..a}
echo {f..f} echo {f..f}