commit bash-20130523 snapshot

This commit is contained in:
Chet Ramey
2013-06-12 09:29:51 -04:00
parent 0ee5080819
commit 41d203e21f
33 changed files with 25719 additions and 14605 deletions
+3
View File
@@ -34,6 +34,9 @@ i. Fixed the nameref circular reference checking to be less strict and only
disallow a nameref variable with the same value as its name at the global
scope.
j. Fixed a bug that caused trap handlers to be executed recursively,
corrupting internal data structures.
2. Changes to Readline
a. Fixed a bug in vi mode that caused the arrow keys to set the saved last
+3 -1
View File
@@ -34,6 +34,9 @@ i. Fixed the nameref circular reference checking to be less strict and only
disallow a nameref variable with the same value as its name at the global
scope.
j. Fixed a bug that caused trap handlers to be executed recursively,
corrupting internal data structures.
2. Changes to Readline
a. Fixed a bug in vi mode that caused the arrow keys to set the saved last
@@ -609,4 +612,3 @@ l. Readline calls an application-set event hook (rl_signal_event_hook) after
m. If the user-settable variable `history-size' is set to a value less than
0, the history list size is unlimited.
-6983
View File
File diff suppressed because it is too large Load Diff
+55
View File
@@ -1,3 +1,58 @@
This document details the changes between this version, bash-4.3-beta, and the
previous version, bash-4.3-alpha.
1. Changes to Bash
a. Fixed a bug in the prompt directory name "trimming" code that caused
memory corruption and garbled the results.
b. Fixed a bug that caused single quotes that resulted from $'...' quoting
in the replacement portion of a double-quoted ${word/pat/rep} expansion
to be treated as quote characters.
c. Fixed a bug that caused assignment statements preceding a command word to
result in assignment statements following a declaration command to not be
expanded like assignment statements.
d. Fixed a bug with variable search order in the presence of local variables
with the same name as variables in the temporary environment supplied to
a shell function.
e. Fixed a bug that caused constructs like 1<(2) to be interpreted as process
substitutions even in an arithmetic context.
f. Fixed several cases where `invisible' variables (variables with attributes
but no values, which are technically unset) were treated incorrectly.
g. Fixed a bug that caused group commands in pipelines that were not the
last element to not run the EXIT trap.
h. Fixed a bug that caused `unset -n' to not unset a nameref variable in
certain cases.
i. Fixed the nameref circular reference checking to be less strict and only
disallow a nameref variable with the same value as its name at the global
scope.
2. Changes to Readline
a. Fixed a bug in vi mode that caused the arrow keys to set the saved last
vi-mode command to the wrong value.
b. Fixed a bug that caused double-quoted strings to be scanned incorrectly
when being used as the value of a readline variable assignment.
c. Fixed a bug with vi mode that prevented `.' from repeating a command
entered on a previous line (command).
d. Fixed a bug that could cause completion to core dump if it was interrupted
by a signal.
3. New Features in Bash
a. Shells started to run process substitutions now run any trap set on EXIT.
------------------------------------------------------------------------------
This document details the changes between this version, bash-4.3-alpha,
and the previous version, bash-4.2-release.
+23
View File
@@ -4922,3 +4922,26 @@ builtins/declare.def
configure.ac
- update release status to beta
5/23
----
trap.c
- run_pending_traps: save and restore pipeline around calls to
evalstring() in case we get a trap while running a trap. Have to
figure out the recursive running traps issue elsewhere. Fixes
bug reported by Roman Rakus <rrakus@redhat.com>
- run_pending_traps: make sure to set running_trap to the appropriate
signal value when running a trap command
- run_pending_traps: short-circuit immediately if running_trap set
when invoked. Could change this later to only skip if it would
run the same trap as currently being run (running_trap == sig + 1)
configure.ac
- add warning if bison not found
lib/readline/doc/rltech.texi
- new section with an example program illustrating the callback
interface. Suggested by Peng Yu <pengyu.ut@gmail.com>
examples/loadables/Makefile.in
- remove references to `cut' and `getconf', which were removed in
early March
+4943
View File
File diff suppressed because it is too large Load Diff
+7 -1
View File
@@ -1,5 +1,5 @@
@%:@! /bin/sh
@%:@ From configure.ac for Bash 4.3, version 4.057.
@%:@ From configure.ac for Bash 4.3, version 4.058.
@%:@ Guess values for system-dependent variables and create Makefiles.
@%:@ Generated by GNU Autoconf 2.69 for bash 4.3-beta.
@%:@
@@ -5820,6 +5820,12 @@ $as_echo "no" >&6; }
fi
case "$ac_cv_prog_YACC" in
*bison*) ;;
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bison not available; needed to process parse.y" >&5
$as_echo "$as_me: WARNING: bison not available; needed to process parse.y" >&2;} ;;
esac
case "$host_os" in
opennt*|interix*) MAKE_SHELL="$INTERIX_ROOT/bin/sh" ;;
*) MAKE_SHELL=/bin/sh ;;
+19 -19
View File
@@ -15,57 +15,57 @@
'configure.ac'
],
{
'_LT_AC_TAGCONFIG' => 1,
'AM_PROG_F77_C_O' => 1,
'AC_INIT' => 1,
'_LT_AC_TAGCONFIG' => 1,
'm4_pattern_forbid' => 1,
'_AM_COND_IF' => 1,
'AC_INIT' => 1,
'AC_CANONICAL_TARGET' => 1,
'AC_SUBST' => 1,
'_AM_COND_IF' => 1,
'AC_CONFIG_LIBOBJ_DIR' => 1,
'AC_FC_SRCEXT' => 1,
'AC_SUBST' => 1,
'AC_CANONICAL_HOST' => 1,
'AC_FC_SRCEXT' => 1,
'AC_PROG_LIBTOOL' => 1,
'AM_INIT_AUTOMAKE' => 1,
'AM_PATH_GUILE' => 1,
'AC_CONFIG_SUBDIRS' => 1,
'AM_PATH_GUILE' => 1,
'AM_AUTOMAKE_VERSION' => 1,
'LT_CONFIG_LTDL_DIR' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'AC_CONFIG_LINKS' => 1,
'm4_sinclude' => 1,
'AC_REQUIRE_AUX_FILE' => 1,
'LT_SUPPORTED_TAG' => 1,
'm4_sinclude' => 1,
'AM_MAINTAINER_MODE' => 1,
'AM_NLS' => 1,
'AC_FC_PP_DEFINE' => 1,
'AM_GNU_GETTEXT_INTL_SUBDIR' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'_m4_warn' => 1,
'AM_MAKEFILE_INCLUDE' => 1,
'AM_PROG_CXX_C_O' => 1,
'_AM_COND_ENDIF' => 1,
'_AM_MAKEFILE_INCLUDE' => 1,
'_AM_COND_ENDIF' => 1,
'AM_ENABLE_MULTILIB' => 1,
'AM_SILENT_RULES' => 1,
'AM_PROG_MOC' => 1,
'AC_CONFIG_FILES' => 1,
'include' => 1,
'LT_INIT' => 1,
'AM_PROG_AR' => 1,
'include' => 1,
'AM_GNU_GETTEXT' => 1,
'AM_PROG_AR' => 1,
'AC_LIBSOURCE' => 1,
'AM_PROG_FC_C_O' => 1,
'AC_CANONICAL_BUILD' => 1,
'AM_PROG_FC_C_O' => 1,
'AC_FC_FREEFORM' => 1,
'AH_OUTPUT' => 1,
'AC_FC_PP_SRCEXT' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'AH_OUTPUT' => 1,
'AC_CONFIG_AUX_DIR' => 1,
'sinclude' => 1,
'AM_PROG_CC_C_O' => 1,
'_AM_SUBST_NOTMAKE' => 1,
'm4_pattern_allow' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_PROG_CC_C_O' => 1,
'sinclude' => 1,
'AM_CONDITIONAL' => 1,
'AC_CANONICAL_SYSTEM' => 1,
'AM_XGETTEXT_OPTION' => 1,
'AC_CONFIG_HEADERS' => 1,
'AC_DEFINE_TRACE_LITERAL' => 1,
'AM_POT_TOOLS' => 1,
+1386 -1386
View File
File diff suppressed because it is too large Load Diff
Vendored
+7 -1
View File
@@ -1,5 +1,5 @@
#! /bin/sh
# From configure.ac for Bash 4.3, version 4.057.
# From configure.ac for Bash 4.3, version 4.058.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.69 for bash 4.3-beta.
#
@@ -5820,6 +5820,12 @@ $as_echo "no" >&6; }
fi
case "$ac_cv_prog_YACC" in
*bison*) ;;
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: bison not available; needed to process parse.y" >&5
$as_echo "$as_me: WARNING: bison not available; needed to process parse.y" >&2;} ;;
esac
case "$host_os" in
opennt*|interix*) MAKE_SHELL="$INTERIX_ROOT/bin/sh" ;;
*) MAKE_SHELL=/bin/sh ;;
+6 -1
View File
@@ -21,7 +21,7 @@ dnl Process this file with autoconf to produce a configure script.
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
AC_REVISION([for Bash 4.3, version 4.057])dnl
AC_REVISION([for Bash 4.3, version 4.058])dnl
define(bashvers, 4.3)
define(relstatus, beta)
@@ -634,6 +634,11 @@ AC_PROG_RANLIB
AC_PROG_YACC
AC_PROG_MAKE_SET
case "$ac_cv_prog_YACC" in
*bison*) ;;
*) AC_MSG_WARN([bison not available; needed to process parse.y]) ;;
esac
case "$host_os" in
opennt*|interix*) MAKE_SHELL="$INTERIX_ROOT/bin/sh" ;;
*) MAKE_SHELL=/bin/sh ;;
+1197
View File
File diff suppressed because it is too large Load Diff
+1 -8
View File
@@ -85,7 +85,7 @@ INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins \
ALLPROG = print truefalse sleep pushd finfo logname basename dirname \
tty pathchk tee head mkdir rmdir printenv id whoami \
uname sync push ln unlink cut realpath getconf strftime mypid
uname sync push ln unlink realpath strftime mypid
OTHERPROG = necho hello cat
all: $(SHOBJ_STATUS)
@@ -110,9 +110,6 @@ print: print.o
necho: necho.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ necho.o $(SHOBJ_LIBS)
getconf: getconf.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ getconf.o $(SHOBJ_LIBS)
hello: hello.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ hello.o $(SHOBJ_LIBS)
@@ -179,9 +176,6 @@ ln: ln.o
unlink: unlink.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ unlink.o $(SHOBJ_LIBS)
cut: cut.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ cut.o $(SHOBJ_LIBS)
realpath: realpath.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ realpath.o $(SHOBJ_LIBS)
@@ -229,7 +223,6 @@ tee.o: tee.c
head.o: head.c
rmdir.o: rmdir.c
necho.o: necho.c
getconf.o: getconf.c
hello.o: hello.c
cat.o: cat.c
printenv.o: printenv.c
+244
View File
@@ -0,0 +1,244 @@
#
# Simple makefile for the sample loadable builtins
#
# Copyright (C) 1996-2009 Free Software Foundation, Inc.
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
#
# Include some boilerplate Gnu makefile definitions.
prefix = @prefix@
exec_prefix = @exec_prefix@
bindir = @bindir@
libdir = @libdir@
infodir = @infodir@
includedir = @includedir@
datarootdir = @datarootdir@
topdir = @top_srcdir@
BUILD_DIR = @BUILD_DIR@
srcdir = @srcdir@
VPATH = .:@srcdir@
@SET_MAKE@
CC = @CC@
RM = rm -f
SHELL = @MAKE_SHELL@
host_os = @host_os@
host_cpu = @host_cpu@
host_vendor = @host_vendor@
CFLAGS = @CFLAGS@
LOCAL_CFLAGS = @LOCAL_CFLAGS@
DEFS = @DEFS@
LOCAL_DEFS = @LOCAL_DEFS@
CPPFLAGS = @CPPFLAGS@
BASHINCDIR = ${topdir}/include
LIBBUILD = ${BUILD_DIR}/lib
INTL_LIBSRC = ${topdir}/lib/intl
INTL_BUILDDIR = ${LIBBUILD}/intl
INTL_INC = @INTL_INC@
LIBINTL_H = @LIBINTL_H@
CCFLAGS = $(DEFS) $(LOCAL_DEFS) $(LOCAL_CFLAGS) $(CFLAGS)
#
# These values are generated for configure by ${topdir}/support/shobj-conf.
# If your system is not supported by that script, but includes facilities for
# dynamic loading of shared objects, please update the script and send the
# changes to bash-maintainers@gnu.org.
#
SHOBJ_CC = @SHOBJ_CC@
SHOBJ_CFLAGS = @SHOBJ_CFLAGS@
SHOBJ_LD = @SHOBJ_LD@
SHOBJ_LDFLAGS = @SHOBJ_LDFLAGS@ @LDFLAGS@
SHOBJ_XLDFLAGS = @SHOBJ_XLDFLAGS@
SHOBJ_LIBS = @SHOBJ_LIBS@
SHOBJ_STATUS = @SHOBJ_STATUS@
INC = -I. -I.. -I$(topdir) -I$(topdir)/lib -I$(topdir)/builtins \
-I$(BASHINCDIR) -I$(BUILD_DIR) -I$(LIBBUILD) \
-I$(BUILD_DIR)/builtins $(INTL_INC)
.c.o:
$(SHOBJ_CC) $(SHOBJ_CFLAGS) $(CCFLAGS) $(INC) -c -o $@ $<
ALLPROG = print truefalse sleep pushd finfo logname basename dirname \
tty pathchk tee head mkdir rmdir printenv id whoami \
uname sync push ln unlink cut realpath getconf strftime mypid
OTHERPROG = necho hello cat
all: $(SHOBJ_STATUS)
supported: $(ALLPROG)
others: $(OTHERPROG)
unsupported:
@echo "Your system (${host_os}) is not supported by the"
@echo "${topdir}/support/shobj-conf script."
@echo "If your operating system provides facilities for dynamic"
@echo "loading of shared objects using the dlopen(3) interface,"
@echo "please update the script and re-run configure.
@echo "Please send the changes you made to bash-maintainers@gnu.org"
@echo "for inclusion in future bash releases."
everything: supported others
print: print.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ print.o $(SHOBJ_LIBS)
necho: necho.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ necho.o $(SHOBJ_LIBS)
getconf: getconf.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ getconf.o $(SHOBJ_LIBS)
hello: hello.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ hello.o $(SHOBJ_LIBS)
truefalse: truefalse.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ truefalse.o $(SHOBJ_LIBS)
sleep: sleep.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ sleep.o $(SHOBJ_LIBS)
finfo: finfo.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ finfo.o $(SHOBJ_LIBS)
cat: cat.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ cat.o $(SHOBJ_LIBS)
logname: logname.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ logname.o $(SHOBJ_LIBS)
basename: basename.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ basename.o $(SHOBJ_LIBS)
dirname: dirname.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ dirname.o $(SHOBJ_LIBS)
tty: tty.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ tty.o $(SHOBJ_LIBS)
pathchk: pathchk.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ pathchk.o $(SHOBJ_LIBS)
tee: tee.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ tee.o $(SHOBJ_LIBS)
mkdir: mkdir.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ mkdir.o $(SHOBJ_LIBS)
rmdir: rmdir.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ rmdir.o $(SHOBJ_LIBS)
head: head.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ head.o $(SHOBJ_LIBS)
printenv: printenv.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ printenv.o $(SHOBJ_LIBS)
id: id.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ id.o $(SHOBJ_LIBS)
whoami: whoami.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ whoami.o $(SHOBJ_LIBS)
uname: uname.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ uname.o $(SHOBJ_LIBS)
sync: sync.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ sync.o $(SHOBJ_LIBS)
push: push.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ push.o $(SHOBJ_LIBS)
ln: ln.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ ln.o $(SHOBJ_LIBS)
unlink: unlink.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ unlink.o $(SHOBJ_LIBS)
cut: cut.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ cut.o $(SHOBJ_LIBS)
realpath: realpath.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ realpath.o $(SHOBJ_LIBS)
strftime: strftime.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ strftime.o $(SHOBJ_LIBS)
mypid: mypid.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ mypid.o $(SHOBJ_LIBS)
# pushd is a special case. We use the same source that the builtin version
# uses, with special compilation options.
#
pushd.c: ${topdir}/builtins/pushd.def
$(RM) $@
${BUILD_DIR}/builtins/mkbuiltins -D ${topdir}/builtins ${topdir}/builtins/pushd.def
pushd.o: pushd.c
$(RM) $@
$(SHOBJ_CC) -DHAVE_CONFIG_H -DPUSHD_AND_POPD -DLOADABLE_BUILTIN $(SHOBJ_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(INC) -c -o $@ $<
pushd: pushd.o
$(SHOBJ_LD) $(SHOBJ_LDFLAGS) $(SHOBJ_XLDFLAGS) -o $@ pushd.o $(SHOBJ_LIBS)
clean:
$(RM) $(ALLPROG) $(OTHERPROG) *.o
-( cd perl && ${MAKE} ${MFLAGS} $@ )
mostlyclean: clean
-( cd perl && ${MAKE} ${MFLAGS} $@ )
distclean maintainer-clean: clean
$(RM) Makefile pushd.c
-( cd perl && ${MAKE} ${MFLAGS} $@ )
print.o: print.c
truefalse.o: truefalse.c
sleep.o: sleep.c
finfo.o: finfo.c
logname.o: logname.c
basename.o: basename.c
dirname.o: dirname.c
tty.o: tty.c
pathchk.o: pathchk.c
tee.o: tee.c
head.o: head.c
rmdir.o: rmdir.c
necho.o: necho.c
getconf.o: getconf.c
hello.o: hello.c
cat.o: cat.c
printenv.o: printenv.c
id.o: id.c
whoami.o: whoami.c
uname.o: uname.c
sync.o: sync.c
push.o: push.c
mkdir.o: mkdir.c
realpath.o: realpath.c
strftime.o: strftime.c
mypid.o: mypid.c
+10
View File
@@ -2482,6 +2482,9 @@ wait_for (pid)
waiting_for_child++;
r = waitchld (pid, 1); /* XXX */
waiting_for_child--;
#if 0
itrace("wait_for: blocking wait for %d returns %d child = %p", (int)pid, r, child);
#endif
# if defined (MUST_UNBLOCK_CHLD)
sigaction (SIGCHLD, &oact, (struct sigaction *)NULL);
sigprocmask (SIG_SETMASK, &chldset, (sigset_t *)NULL);
@@ -3218,6 +3221,10 @@ waitchld (wpid, block)
pid = WAITPID (-1, &status, waitpid_flags);
#if 0
if (wpid != -1 && block)
itrace("waitchld: blocking waitpid returns %d", pid);
#endif
/* WCONTINUED may be rejected by waitpid as invalid even when defined */
if (wcontinued && pid < 0 && errno == EINVAL)
{
@@ -3240,6 +3247,9 @@ waitchld (wpid, block)
break;
}
#if 0
itrace("waitchld: waitpid returns %d block = %d", pid, block);
#endif
/* If waitpid returns 0, there are running children. If it returns -1,
the only other error POSIX says it can return is EINTR. */
CHECK_TERMSIG;
+4473
View File
File diff suppressed because it is too large Load Diff
Binary file not shown.
+373 -159
View File
@@ -1,27 +1,18 @@
This is readline.info, produced by makeinfo version 4.13 from
./rlman.texi.
This manual describes the GNU Readline Library (version 6.2, September
6 2010), a library which aids in the consistency of user interface
across discrete programs which provide a command line interface.
This manual describes the GNU Readline Library (version 6.3, 26 May
2013), a library which aids in the consistency of user interface across
discrete programs which provide a command line interface.
Copyright (C) 1988-2011 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice are
preserved on all copies.
Copyright (C) 1988-2012 Free Software Foundation, Inc.
Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License,
Version 1.3 or any later version published by the Free Software
Foundation; with no Invariant Sections, with the Front-Cover texts
being "A GNU Manual", and with the Back-Cover Texts as in (a)
below. A copy of the license is included in the section entitled
"GNU Free Documentation License".
(a) The FSF's Back-Cover Text is: You are free to copy and modify
this GNU manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom."
Foundation; with no Invariant Sections, no Front-Cover Texts, and
no Back-Cover Texts. A copy of the license is included in the
section entitled "GNU Free Documentation License".
INFO-DIR-SECTION Libraries
@@ -37,7 +28,8 @@ GNU Readline Library
This document describes the GNU Readline Library, a utility which aids
in the consistency of user interface across discrete programs which
provide a command line interface.
provide a command line interface. The Readline home page is
`http://www.gnu.org/software/readline/'.
* Menu:
@@ -397,6 +389,12 @@ Variable Settings
characters treated specially by the kernel's terminal driver
to their Readline equivalents.
`colored-stats'
If set to `on', Readline displays possible completions using
different colors to indicate their file type. The color
definitions are taken from the value of the `LS_COLORS'
environment variable. The default is `off'.
`comment-begin'
The string to insert at the beginning of the line when the
`insert-comment' command is executed. The default value is
@@ -482,8 +480,10 @@ Variable Settings
`history-size'
Set the maximum number of history entries saved in the
history list. If set to zero, the number of entries in the
history list is not limited.
history list. If set to zero, any existing history entries
are deleted and no new entries are saved. If set to a value
less than zero, the number of history entries is not limited.
By default, the number of history entries is not limited.
`horizontal-scroll-mode'
This variable can be set to either `on' or `off'. Setting it
@@ -515,6 +515,20 @@ Variable Settings
default value is `emacs'. The value of the `editing-mode'
variable also affects the default keymap.
`keyseq-timeout'
Specifies the duration Readline will wait for a character
when reading an ambiguous key sequence (one that can form a
complete key sequence using the input read so far, or can
take additional input to complete a longer key sequence). If
no input is received within the timeout, Readline will use
the shorter but complete key sequence. The value is
specified in milliseconds, so a value of 1000 means that
Readline will wait one second for additional input. If this
variable is set to a value less than or equal to zero, or to a
non-numeric value, Readline will wait until another key is
pressed to decide which key sequence to complete. The
default value is `500'.
`mark-directories'
If set to `on', completed directory names have a slash
appended. The default is `on'.
@@ -577,6 +591,11 @@ Variable Settings
be listed immediately instead of ringing the bell. The
default value is `off'.
`show-mode-in-prompt'
If set to `on', add a character to the beginning of the prompt
indicating the editing mode: emacs (`@'), vi command (`:'),
or vi insertion (`+'). The default value is `off'.
`skip-completed-text'
If set to `on', this alters the default completion behavior
when inserting a single match into the line. It's only
@@ -991,12 +1010,26 @@ File: readline.info, Node: Commands For History, Next: Commands For Text, Pre
`history-search-forward ()'
Search forward through the history for the string of characters
between the start of the current line and the point. This is a
between the start of the current line and the point. The search
string must match at the beginning of a history line. This is a
non-incremental search. By default, this command is unbound.
`history-search-backward ()'
Search backward through the history for the string of characters
between the start of the current line and the point. This is a
between the start of the current line and the point. The search
string must match at the beginning of a history line. This is a
non-incremental search. By default, this command is unbound.
`history-substr-search-forward ()'
Search forward through the history for the string of characters
between the start of the current line and the point. The search
string may match anywhere in a history line. This is a
non-incremental search. By default, this command is unbound.
`history-substr-search-backward ()'
Search backward through the history for the string of characters
between the start of the current line and the point. The search
string may match anywhere in a history line. This is a
non-incremental search. By default, this command is unbound.
`yank-nth-arg (M-C-y)'
@@ -1242,6 +1275,10 @@ File: readline.info, Node: Keyboard Macros, Next: Miscellaneous Commands, Pre
Re-execute the last keyboard macro defined, by making the
characters in the macro appear as if typed at the keyboard.
`print-last-kbd-macro ()'
Print the last keboard macro defined in a format suitable for the
INPUTRC file.

File: readline.info, Node: Miscellaneous Commands, Prev: Keyboard Macros, Up: Bindable Readline Commands
@@ -1365,7 +1402,7 @@ the standard `vi' movement keys, move to previous history lines with
aiding in the consistency of user interface across discrete programs
that need to provide a command line interface.
Copyright (C) 1988-2011 Free Software Foundation, Inc.
Copyright (C) 1988-2012 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of this
manual provided the copyright notice and this permission notice pare
@@ -1761,6 +1798,23 @@ These variables are available to function writers.
`rl_getc', the default Readline character input function (*note
Character Input::).
-- Variable: rl_hook_func_t * rl_signal_event_hook
If non-zero, this is the address of a function to call if a read
system call is interrupted when Readline is reading terminal input.
-- Variable: rl_hook_func_t * rl_input_available_hook
If non-zero, Readline will use this function's return value when
it needs to determine whether or not there is available input on
the current input source. Readline queries for available input
when implementing intra-key-sequence timeouts during input and
incremental searches. This may use an application-specific
timeout before returning a value; Readline uses the value passed
to `rl_set_keyboard_input_timeout()' or the value of the
user-settable KEYSEQ-TIMEOUT variable. This is designed for use
by functions using Readline's callback interface (*note Alternate
Interface::), which may not use the traditional `read(2)' and file
descriptor interface.
-- Variable: rl_voidfunc_t * rl_redisplay_function
If non-zero, Readline will call indirectly through this pointer to
update the display with the current contents of the editing buffer.
@@ -1791,6 +1845,17 @@ These variables are available to function writers.
-- Variable: char * rl_executing_macro
This variable is set to the text of any currently-executing macro.
-- Variable: int rl_executing_key
The key that caused the dispatch to the currently-executing
Readline function.
-- Variable: char * rl_executing_keyseq
The full key sequence that caused the dispatch to the
currently-executing Readline function.
-- Variable: int rl_key_sequence_length
The number of characters in RL_EXECUTING_KEYSEQ.
-- Variable: int rl_readline_state
A variable with bit values that encapsulate the current Readline
state. A bit is set with the `RL_SETSTATE' macro, and unset with
@@ -1922,6 +1987,7 @@ File: readline.info, Node: Readline Convenience Functions, Next: Readline Sign
* Miscellaneous Functions:: Functions that don't fall into any category.
* Alternate Interface:: Using Readline in a `callback' fashion.
* A Readline Example:: An example Readline function.
* Alternate Interface Example:: An example program using the alternate interface.

File: readline.info, Node: Function Naming, Next: Keymaps, Up: Readline Convenience Functions
@@ -2534,6 +2600,12 @@ File: readline.info, Node: Miscellaneous Functions, Next: Alternate Interface,
not use all of a terminal's capabilities, and this function will
return values for only those capabilities Readline uses.
-- Function: void rl_clear_history (void)
Clear the history list by deleting all of the entries, in the same
manner as the History library's `clear_history()' function. This
differs from `clear_history' because it frees private data
Readline saves in the history list.

File: readline.info, Node: Alternate Interface, Next: A Readline Example, Prev: Miscellaneous Functions, Up: Readline Convenience Functions
@@ -2551,20 +2623,22 @@ functions available to make this easy.
rl_vcpfunc_t *lhandler)
Set up the terminal for readline I/O and display the initial
expanded value of PROMPT. Save the value of LHANDLER to use as a
function to call when a complete line of input has been entered.
The function takes the text of the line as an argument.
handler function to call when a complete line of input has been
entered. The handler function receives the text of the line as an
argument.
-- Function: void rl_callback_read_char (void)
Whenever an application determines that keyboard input is
available, it should call `rl_callback_read_char()', which will
read the next character from the current input source. If that
character completes the line, `rl_callback_read_char' will invoke
the LHANDLER function saved by `rl_callback_handler_install' to
process the line. Before calling the LHANDLER function, the
the LHANDLER function installed by `rl_callback_handler_install'
to process the line. Before calling the LHANDLER function, the
terminal settings are reset to the values they had before calling
`rl_callback_handler_install'. If the LHANDLER function returns,
the terminal settings are modified for Readline's use again.
`EOF' is indicated by calling LHANDLER with a `NULL' line.
and the line handler remains installed, the terminal settings are
modified for Readline's use again. `EOF' is indicated by calling
LHANDLER with a `NULL' line.
-- Function: void rl_callback_handler_remove (void)
Restore the terminal to its initial state and remove the line
@@ -2576,7 +2650,7 @@ functions available to make this easy.
exits to reset the terminal settings.

File: readline.info, Node: A Readline Example, Prev: Alternate Interface, Up: Readline Convenience Functions
File: readline.info, Node: A Readline Example, Next: Alternate Interface Example, Prev: Alternate Interface, Up: Readline Convenience Functions
2.4.13 A Readline Example
-------------------------
@@ -2643,6 +2717,96 @@ changed.
return (0);
}

File: readline.info, Node: Alternate Interface Example, Prev: A Readline Example, Up: Readline Convenience Functions
2.4.14 Alternate Interface Example
----------------------------------
Here is a complete program that illustrates Readline's alternate
interface.
/* Standard include files. stdio.h is required. */
#include <stdlib.h>
#include <unistd.h>
/* Used for select(2) */
#include <sys/types.h>
#include <sys/select.h>
#include <stdio.h>
/* Standard readline include files. */
#include <readline/readline.h>
#include <readline/history.h>
static void cb_linehandler (char *);
int running;
const char *prompt = "rltest$ ";
/* Callback function called for each line when accept-line executed, EOF
seen, or EOF character read. This sets a flag and returns; it could
also call exit(3). */
static void
cb_linehandler (char *line)
{
/* Can use ^D (stty eof) or `exit' to exit. */
if (line == NULL || strcmp (line, "exit") == 0)
{
if (line == 0)
printf ("\n");
printf ("exit\n");
/* This function needs to be called to reset the terminal settings,
and calling it from the line handler keeps one extra prompt from
being displayed. */
rl_callback_handler_remove ();
running = 0;
}
else
{
if (*line)
add_history (line);
printf ("input line: %s\n", line);
free (line);
}
}
int
main (int c, char **v)
{
fd_set fds;
int r;
/* Install the line handler. */
rl_callback_handler_install (prompt, cb_linehandler);
/* Enter a simple event loop. This waits until something is available
to read on readline's input stream (defaults to standard input) and
calls the builtin character read callback to read it. It does not
have to modify the user's terminal settings. */
running = 1;
while (running)
{
FD_ZERO (&fds);
FD_SET (fileno (rl_instream), &fds);
r = select (FD_SETSIZE, &fds, NULL, NULL, NULL);
if (r < 0)
{
perror ("rltest: select");
break;
}
if (FD_ISSET (fileno (rl_instream), &fds))
rl_callback_read_char ();
}
printf ("rltest: Event loop has exited\n");
return 0;
}

File: readline.info, Node: Readline Signal Handling, Next: Custom Completers, Prev: Readline Convenience Functions, Up: Programming with GNU Readline
@@ -2660,7 +2824,7 @@ received in order to restore the terminal to a sane state, or provide
application writers with functions to do so manually.
Readline contains an internal signal handler that is installed for a
number of signals (`SIGINT', `SIGQUIT', `SIGTERM', `SIGALRM',
number of signals (`SIGINT', `SIGQUIT', `SIGTERM', `SIGHUP', `SIGALRM',
`SIGTSTP', `SIGTTIN', and `SIGTTOU'). When one of these signals is
received, the signal handler will reset the terminal attributes to
those that were in effect before `readline()' was called, reset the
@@ -2692,8 +2856,8 @@ signal handler, so Readline's internal signal state is not corrupted.
-- Variable: int rl_catch_signals
If this variable is non-zero, Readline will install signal
handlers for `SIGINT', `SIGQUIT', `SIGTERM', `SIGALRM', `SIGTSTP',
`SIGTTIN', and `SIGTTOU'.
handlers for `SIGINT', `SIGQUIT', `SIGTERM', `SIGHUP', `SIGALRM',
`SIGTSTP', `SIGTTIN', and `SIGTTOU'.
The default value of `rl_catch_signals' is 1.
@@ -2763,8 +2927,8 @@ handlers.
-- Function: int rl_set_signals (void)
Install Readline's signal handler for `SIGINT', `SIGQUIT',
`SIGTERM', `SIGALRM', `SIGTSTP', `SIGTTIN', `SIGTTOU', and
`SIGWINCH', depending on the values of `rl_catch_signals' and
`SIGTERM', `SIGHUP', `SIGALRM', `SIGTSTP', `SIGTTIN', `SIGTTOU',
and `SIGWINCH', depending on the values of `rl_catch_signals' and
`rl_catch_sigwinch'.
-- Function: int rl_clear_signals (void)
@@ -2999,11 +3163,40 @@ File: readline.info, Node: Completion Variables, Next: A Short Completion Exam
the directory portion of the pathname the user typed. At the
least, even if no other expansion is performed, this function
should remove any quote characters from the directory name,
because its result will be passed directly to `opendir()'. The
directory completion hook returns an integer that should be
because its result will be passed directly to `opendir()'.
The directory completion hook returns an integer that should be
non-zero if the function modifies its directory argument. The
function should not modify the directory argument if it returns 0.
-- Variable: rl_icppfunc_t * rl_directory_rewrite_hook;
If non-zero, this is the address of a function to call when
completing a directory name. This function takes the address of
the directory name to be modified as an argument. Unlike
`rl_directory_completion_hook', it only modifies the directory
name used in `opendir', not what is displayed when the possible
completions are printed or inserted. It is called before
rl_directory_completion_hook. At the least, even if no other
expansion is performed, this function should remove any quote
characters from the directory name, because its result will be
passed directly to `opendir()'.
The directory rewrite hook returns an integer that should be
non-zero if the function modfies its directory argument. The
function should not modify the directory argument if it returns 0.
-- Variable: rl_icppfunc_t * rl_filename_stat_hook
If non-zero, this is the address of a function for the completer to
call before deciding which character to append to a completed name.
This function modifies its filename name argument, and the
modified value is passed to `stat()' to determine the file's type
and characteristics. This function does not need to remove quote
characters from the filename.
The stat hook returns an integer that should be non-zero if the
function modfies its directory argument. The function should not
modify the directory argument if it returns 0.
-- Variable: rl_dequote_func_t * rl_filename_rewrite_hook
If non-zero, this is the address of a function called when reading
directory entries from the filesystem for completion and comparing
@@ -4212,22 +4405,24 @@ Function and Variable Index
* character-search-backward (M-C-]): Miscellaneous Commands.
(line 46)
* clear-screen (C-l): Commands For Moving. (line 26)
* comment-begin: Readline Init File Syntax.
* colored-stats: Readline Init File Syntax.
(line 47)
* comment-begin: Readline Init File Syntax.
(line 53)
* complete (<TAB>): Commands For Completion.
(line 6)
* completion-display-width: Readline Init File Syntax.
(line 52)
(line 58)
* completion-ignore-case: Readline Init File Syntax.
(line 59)
(line 65)
* completion-map-case: Readline Init File Syntax.
(line 64)
* completion-prefix-display-length: Readline Init File Syntax.
(line 70)
* completion-prefix-display-length: Readline Init File Syntax.
(line 76)
* completion-query-items: Readline Init File Syntax.
(line 77)
(line 83)
* convert-meta: Readline Init File Syntax.
(line 87)
(line 93)
* copy-backward-word (): Commands For Killing.
(line 49)
* copy-forward-word (): Commands For Killing.
@@ -4241,7 +4436,7 @@ Function and Variable Index
(line 37)
* digit-argument (M-0, M-1, ... M--): Numeric Arguments. (line 6)
* disable-completion: Readline Init File Syntax.
(line 93)
(line 99)
* do-uppercase-version (M-a, M-b, M-X, ...): Miscellaneous Commands.
(line 14)
* downcase-word (M-l): Commands For Text. (line 45)
@@ -4252,9 +4447,9 @@ Function and Variable Index
* dump-variables (): Miscellaneous Commands.
(line 76)
* editing-mode: Readline Init File Syntax.
(line 98)
(line 104)
* enable-keypad: Readline Init File Syntax.
(line 109)
(line 115)
* end-kbd-macro (C-x )): Keyboard Macros. (line 9)
* end-of-history (M->): Commands For History.
(line 22)
@@ -4262,32 +4457,36 @@ Function and Variable Index
* exchange-point-and-mark (C-x C-x): Miscellaneous Commands.
(line 36)
* expand-tilde: Readline Init File Syntax.
(line 120)
(line 126)
* forward-backward-delete-char (): Commands For Text. (line 15)
* forward-char (C-f): Commands For Moving. (line 12)
* forward-search-history (C-s): Commands For History.
(line 30)
* forward-word (M-f): Commands For Moving. (line 18)
* history-preserve-point: Readline Init File Syntax.
(line 124)
(line 130)
* history-search-backward (): Commands For History.
(line 50)
(line 51)
* history-search-forward (): Commands For History.
(line 45)
* history-size: Readline Init File Syntax.
(line 130)
(line 136)
* history-substr-search-backward (): Commands For History.
(line 63)
* history-substr-search-forward (): Commands For History.
(line 57)
* horizontal-scroll-mode: Readline Init File Syntax.
(line 135)
(line 143)
* input-meta: Readline Init File Syntax.
(line 142)
(line 150)
* insert-comment (M-#): Miscellaneous Commands.
(line 60)
* insert-completions (M-*): Commands For Completion.
(line 18)
* isearch-terminators: Readline Init File Syntax.
(line 149)
(line 157)
* keymap: Readline Init File Syntax.
(line 156)
(line 164)
* kill-line (C-k): Commands For Killing.
(line 6)
* kill-region (): Commands For Killing.
@@ -4297,19 +4496,19 @@ Function and Variable Index
* kill-word (M-d): Commands For Killing.
(line 19)
* mark-modified-lines: Readline Init File Syntax.
(line 169)
(line 191)
* mark-symlinked-directories: Readline Init File Syntax.
(line 174)
(line 196)
* match-hidden-files: Readline Init File Syntax.
(line 179)
(line 201)
* menu-complete (): Commands For Completion.
(line 22)
* menu-complete-backward (): Commands For Completion.
(line 34)
* menu-complete-display-prefix: Readline Init File Syntax.
(line 186)
(line 208)
* meta-flag: Readline Init File Syntax.
(line 142)
(line 150)
* next-history (C-n): Commands For History.
(line 16)
* non-incremental-forward-search-history (M-n): Commands For History.
@@ -4317,16 +4516,17 @@ Function and Variable Index
* non-incremental-reverse-search-history (M-p): Commands For History.
(line 35)
* output-meta: Readline Init File Syntax.
(line 191)
(line 213)
* overwrite-mode (): Commands For Text. (line 53)
* page-completions: Readline Init File Syntax.
(line 196)
(line 218)
* possible-completions (M-?): Commands For Completion.
(line 11)
* prefix-meta (<ESC>): Miscellaneous Commands.
(line 18)
* previous-history (C-p): Commands For History.
(line 12)
* print-last-kbd-macro (): Keyboard Macros. (line 17)
* quoted-insert (C-q or C-v): Commands For Text. (line 20)
* re-read-init-file (C-x C-r): Miscellaneous Commands.
(line 6)
@@ -4335,7 +4535,7 @@ Function and Variable Index
* reverse-search-history (C-r): Commands For History.
(line 26)
* revert-all-at-newline: Readline Init File Syntax.
(line 206)
(line 228)
* revert-line (M-r): Miscellaneous Commands.
(line 25)
* rl_add_defun: Function Naming. (line 20)
@@ -4347,11 +4547,11 @@ Function and Variable Index
* rl_attempted_completion_function: Completion Variables.
(line 12)
* rl_attempted_completion_over: Completion Variables.
(line 226)
(line 255)
* rl_basic_quote_characters: Completion Variables.
(line 115)
(line 144)
* rl_basic_word_break_characters: Completion Variables.
(line 109)
(line 138)
* rl_begin_undo_group: Allowing Undoing. (line 29)
* rl_bind_key: Binding Keys. (line 22)
* rl_bind_key_if_unbound: Binding Keys. (line 32)
@@ -4361,10 +4561,10 @@ Function and Variable Index
* rl_bind_keyseq_if_unbound: Binding Keys. (line 77)
* rl_bind_keyseq_if_unbound_in_map: Binding Keys. (line 83)
* rl_bind_keyseq_in_map: Binding Keys. (line 66)
* rl_binding_keymap: Readline Variables. (line 159)
* rl_binding_keymap: Readline Variables. (line 176)
* rl_callback_handler_install: Alternate Interface. (line 15)
* rl_callback_handler_remove: Alternate Interface. (line 33)
* rl_callback_read_char: Alternate Interface. (line 21)
* rl_callback_handler_remove: Alternate Interface. (line 35)
* rl_callback_read_char: Alternate Interface. (line 22)
* rl_catch_signals: Readline Signal Handling.
(line 48)
* rl_catch_sigwinch: Readline Signal Handling.
@@ -4373,6 +4573,8 @@ Function and Variable Index
(line 46)
* rl_cleanup_after_signal: Readline Signal Handling.
(line 66)
* rl_clear_history: Miscellaneous Functions.
(line 50)
* rl_clear_message: Redisplay. (line 48)
* rl_clear_pending_input: Character Input. (line 30)
* rl_clear_signals: Readline Signal Handling.
@@ -4384,48 +4586,50 @@ Function and Variable Index
* rl_complete_internal: Completion Functions.
(line 10)
* rl_completer_quote_characters: Completion Variables.
(line 132)
(line 161)
* rl_completer_word_break_characters: Completion Variables.
(line 118)
(line 147)
* rl_completion_append_character: Completion Variables.
(line 156)
(line 185)
* rl_completion_display_matches_hook: Completion Variables.
(line 96)
* rl_completion_entry_function <1>: How Completing Works.
(line 55)
* rl_completion_entry_function: Completion Variables.
(line 125)
* rl_completion_entry_function <1>: Completion Variables.
(line 7)
* rl_completion_entry_function: How Completing Works.
(line 55)
* rl_completion_found_quote: Completion Variables.
(line 184)
(line 213)
* rl_completion_invoking_key: Completion Variables.
(line 249)
(line 278)
* rl_completion_mark_symlink_dirs: Completion Variables.
(line 191)
(line 220)
* rl_completion_matches: Completion Functions.
(line 45)
* rl_completion_mode: Completion Functions.
(line 37)
* rl_completion_query_items: Completion Variables.
(line 150)
(line 179)
* rl_completion_quote_character: Completion Variables.
(line 172)
(line 201)
* rl_completion_suppress_append: Completion Variables.
(line 166)
(line 195)
* rl_completion_suppress_quote: Completion Variables.
(line 178)
(line 207)
* rl_completion_type: Completion Variables.
(line 241)
(line 270)
* rl_completion_word_break_hook: Completion Variables.
(line 123)
(line 152)
* rl_copy_keymap: Keymaps. (line 17)
* rl_copy_text: Modifying Text. (line 15)
* rl_crlf: Redisplay. (line 30)
* rl_delete_text: Modifying Text. (line 11)
* rl_deprep_term_function: Readline Variables. (line 149)
* rl_deprep_term_function: Readline Variables. (line 166)
* rl_deprep_terminal: Terminal Management. (line 13)
* rl_ding: Utility Functions. (line 36)
* rl_directory_completion_hook: Completion Variables.
(line 64)
* rl_directory_rewrite_hook;: Completion Variables.
(line 82)
* rl_discard_keymap: Keymaps. (line 26)
* rl_dispatching: Readline Variables. (line 41)
* rl_display_match_list: Utility Functions. (line 43)
@@ -4434,31 +4638,35 @@ Function and Variable Index
* rl_done: Readline Variables. (line 28)
* rl_echo_signal_char: Readline Signal Handling.
(line 89)
* rl_editing_mode: Readline Variables. (line 270)
* rl_editing_mode: Readline Variables. (line 298)
* rl_end: Readline Variables. (line 19)
* rl_end_undo_group: Allowing Undoing. (line 35)
* rl_erase_empty_line: Readline Variables. (line 47)
* rl_event_hook: Readline Variables. (line 124)
* rl_execute_next: Character Input. (line 26)
* rl_executing_keymap: Readline Variables. (line 155)
* rl_executing_macro: Readline Variables. (line 163)
* rl_executing_key: Readline Variables. (line 183)
* rl_executing_keymap: Readline Variables. (line 172)
* rl_executing_keyseq: Readline Variables. (line 187)
* rl_executing_macro: Readline Variables. (line 180)
* rl_expand_prompt: Redisplay. (line 64)
* rl_explicit_arg: Readline Variables. (line 261)
* rl_explicit_arg: Readline Variables. (line 289)
* rl_extend_line_buffer: Utility Functions. (line 27)
* rl_filename_completion_desired: Completion Variables.
(line 206)
(line 235)
* rl_filename_completion_function: Completion Functions.
(line 59)
* rl_filename_dequoting_function: Completion Variables.
(line 37)
* rl_filename_quote_characters: Completion Variables.
(line 138)
(line 167)
* rl_filename_quoting_desired: Completion Variables.
(line 216)
(line 245)
* rl_filename_quoting_function: Completion Variables.
(line 24)
* rl_filename_rewrite_hook: Completion Variables.
(line 81)
(line 110)
* rl_filename_stat_hook: Completion Variables.
(line 98)
* rl_forced_update_display: Redisplay. (line 11)
* rl_free: Utility Functions. (line 18)
* rl_free_keymap: Keymaps. (line 30)
@@ -4483,12 +4691,13 @@ Function and Variable Index
* rl_getc_function: Readline Variables. (line 130)
* rl_gnu_readline_p: Readline Variables. (line 83)
* rl_ignore_completion_duplicates: Completion Variables.
(line 202)
(line 231)
* rl_ignore_some_completions_function: Completion Variables.
(line 56)
* rl_inhibit_completion: Completion Variables.
(line 255)
(line 284)
* rl_initialize: Utility Functions. (line 31)
* rl_input_available_hook: Readline Variables. (line 140)
* rl_insert_completions: Completion Functions.
(line 32)
* rl_insert_text: Modifying Text. (line 7)
@@ -4497,6 +4706,7 @@ Function and Variable Index
(line 21)
* rl_invoking_keyseqs_in_map: Associating Function Names and Bindings.
(line 26)
* rl_key_sequence_length: Readline Variables. (line 191)
* rl_kill_text: Modifying Text. (line 19)
* rl_last_func: Readline Variables. (line 110)
* rl_library_version: Readline Variables. (line 73)
@@ -4515,7 +4725,7 @@ Function and Variable Index
* rl_named_function: Associating Function Names and Bindings.
(line 11)
* rl_num_chars_to_read: Readline Variables. (line 32)
* rl_numeric_arg: Readline Variables. (line 265)
* rl_numeric_arg: Readline Variables. (line 293)
* rl_on_new_line: Redisplay. (line 15)
* rl_on_new_line_with_prompt: Redisplay. (line 19)
* rl_outstream: Readline Variables. (line 101)
@@ -4526,17 +4736,17 @@ Function and Variable Index
(line 28)
* rl_pre_input_hook: Readline Variables. (line 119)
* rl_prefer_env_winsize: Readline Variables. (line 105)
* rl_prep_term_function: Readline Variables. (line 142)
* rl_prep_term_function: Readline Variables. (line 159)
* rl_prep_terminal: Terminal Management. (line 7)
* rl_prompt: Readline Variables. (line 53)
* rl_push_macro_input: Modifying Text. (line 26)
* rl_read_init_file: Binding Keys. (line 101)
* rl_read_key: Character Input. (line 7)
* rl_readline_name: Readline Variables. (line 92)
* rl_readline_state: Readline Variables. (line 166)
* rl_readline_state: Readline Variables. (line 194)
* rl_readline_version: Readline Variables. (line 76)
* rl_redisplay: Redisplay. (line 7)
* rl_redisplay_function: Readline Variables. (line 136)
* rl_redisplay_function: Readline Variables. (line 153)
* rl_replace_line: Utility Functions. (line 22)
* rl_reset_after_signal: Readline Signal Handling.
(line 80)
@@ -4561,10 +4771,11 @@ Function and Variable Index
* rl_set_signals: Readline Signal Handling.
(line 119)
* rl_show_char: Redisplay. (line 33)
* rl_signal_event_hook: Readline Variables. (line 136)
* rl_sort_completion_matches: Completion Variables.
(line 233)
(line 262)
* rl_special_prefixes: Completion Variables.
(line 143)
(line 172)
* rl_startup_hook: Readline Variables. (line 115)
* rl_stuff_char: Character Input. (line 19)
* rl_terminal_name: Readline Variables. (line 87)
@@ -4586,11 +4797,13 @@ Function and Variable Index
* set-mark (C-@): Miscellaneous Commands.
(line 32)
* show-all-if-ambiguous: Readline Init File Syntax.
(line 212)
(line 234)
* show-all-if-unmodified: Readline Init File Syntax.
(line 218)
(line 240)
* show-mode-in-prompt: Readline Init File Syntax.
(line 249)
* skip-completed-text: Readline Init File Syntax.
(line 227)
(line 254)
* skip-csi-sequence (): Miscellaneous Commands.
(line 51)
* start-kbd-macro (C-x (): Keyboard Macros. (line 6)
@@ -4607,70 +4820,71 @@ Function and Variable Index
(line 28)
* upcase-word (M-u): Commands For Text. (line 41)
* visible-stats: Readline Init File Syntax.
(line 240)
(line 267)
* yank (C-y): Commands For Killing.
(line 59)
* yank-last-arg (M-. or M-_): Commands For History.
(line 64)
(line 78)
* yank-nth-arg (M-C-y): Commands For History.
(line 55)
(line 69)
* yank-pop (M-y): Commands For Killing.
(line 62)

Tag Table:
Node: Top1286
Node: Command Line Editing1943
Node: Introduction and Notation2595
Node: Readline Interaction4218
Node: Readline Bare Essentials5410
Node: Readline Movement Commands7200
Node: Readline Killing Commands8166
Node: Readline Arguments10087
Node: Searching11132
Node: Readline Init File13284
Node: Readline Init File Syntax14438
Node: Conditional Init Constructs29499
Node: Sample Init File32033
Node: Bindable Readline Commands35151
Node: Commands For Moving36209
Node: Commands For History37071
Node: Commands For Text40476
Node: Commands For Killing43203
Node: Numeric Arguments45346
Node: Commands For Completion46486
Node: Keyboard Macros48456
Node: Miscellaneous Commands49028
Node: Readline vi Mode52885
Node: Programming with GNU Readline54702
Node: Basic Behavior55688
Node: Custom Functions59105
Node: Readline Typedefs60589
Node: Function Writing62228
Node: Readline Variables63535
Node: Readline Convenience Functions74201
Node: Function Naming75191
Node: Keymaps76453
Node: Binding Keys78446
Node: Associating Function Names and Bindings82993
Node: Allowing Undoing85278
Node: Redisplay87828
Node: Modifying Text91728
Node: Character Input92974
Node: Terminal Management94872
Node: Utility Functions96308
Node: Miscellaneous Functions99636
Node: Alternate Interface101933
Node: A Readline Example104092
Node: Readline Signal Handling105995
Node: Custom Completers112183
Node: How Completing Works112903
Node: Completion Functions116217
Node: Completion Variables119789
Node: A Short Completion Example133902
Node: GNU Free Documentation License146681
Node: Concept Index171874
Node: Function and Variable Index173395
Node: Top864
Node: Command Line Editing1589
Node: Introduction and Notation2241
Node: Readline Interaction3864
Node: Readline Bare Essentials5056
Node: Readline Movement Commands6846
Node: Readline Killing Commands7812
Node: Readline Arguments9733
Node: Searching10778
Node: Readline Init File12930
Node: Readline Init File Syntax14084
Node: Conditional Init Constructs30640
Node: Sample Init File33174
Node: Bindable Readline Commands36292
Node: Commands For Moving37350
Node: Commands For History38212
Node: Commands For Text42367
Node: Commands For Killing45094
Node: Numeric Arguments47237
Node: Commands For Completion48377
Node: Keyboard Macros50347
Node: Miscellaneous Commands51036
Node: Readline vi Mode54893
Node: Programming with GNU Readline56710
Node: Basic Behavior57696
Node: Custom Functions61113
Node: Readline Typedefs62597
Node: Function Writing64236
Node: Readline Variables65543
Node: Readline Convenience Functions77541
Node: Function Naming78613
Node: Keymaps79875
Node: Binding Keys81868
Node: Associating Function Names and Bindings86415
Node: Allowing Undoing88700
Node: Redisplay91250
Node: Modifying Text95150
Node: Character Input96396
Node: Terminal Management98294
Node: Utility Functions99730
Node: Miscellaneous Functions103058
Node: Alternate Interface105647
Node: A Readline Example107880
Node: Alternate Interface Example109819
Node: Readline Signal Handling112367
Node: Custom Completers118585
Node: How Completing Works119305
Node: Completion Functions122619
Node: Completion Variables126191
Node: A Short Completion Example141838
Node: GNU Free Documentation License154617
Node: Concept Index179810
Node: Function and Variable Index181331

End Tag Table
+8693 -5726
View File
File diff suppressed because it is too large Load Diff
+21 -18
View File
@@ -86,68 +86,71 @@
@xrdef{Readline Convenience Functions-snt}{Section@tie 2.4}
@xrdef{Function Naming-title}{Naming a Function}
@xrdef{Function Naming-snt}{Section@tie 2.4.1}
@xrdef{Readline Convenience Functions-pg}{29}
@xrdef{Function Naming-pg}{29}
@xrdef{Keymaps-title}{Selecting a Keymap}
@xrdef{Keymaps-snt}{Section@tie 2.4.2}
@xrdef{Readline Convenience Functions-pg}{30}
@xrdef{Function Naming-pg}{30}
@xrdef{Keymaps-pg}{30}
@xrdef{Binding Keys-title}{Binding Keys}
@xrdef{Binding Keys-snt}{Section@tie 2.4.3}
@xrdef{Keymaps-pg}{30}
@xrdef{Binding Keys-pg}{31}
@xrdef{Associating Function Names and Bindings-title}{Associating Function Names and Bindings}
@xrdef{Associating Function Names and Bindings-snt}{Section@tie 2.4.4}
@xrdef{Associating Function Names and Bindings-pg}{32}
@xrdef{Allowing Undoing-title}{Allowing Undoing}
@xrdef{Allowing Undoing-snt}{Section@tie 2.4.5}
@xrdef{Associating Function Names and Bindings-pg}{33}
@xrdef{Allowing Undoing-pg}{33}
@xrdef{Redisplay-title}{Redisplay}
@xrdef{Redisplay-snt}{Section@tie 2.4.6}
@xrdef{Redisplay-pg}{34}
@xrdef{Modifying Text-title}{Modifying Text}
@xrdef{Modifying Text-snt}{Section@tie 2.4.7}
@xrdef{Modifying Text-pg}{35}
@xrdef{Character Input-title}{Character Input}
@xrdef{Character Input-snt}{Section@tie 2.4.8}
@xrdef{Modifying Text-pg}{36}
@xrdef{Character Input-pg}{36}
@xrdef{Terminal Management-title}{Terminal Management}
@xrdef{Terminal Management-snt}{Section@tie 2.4.9}
@xrdef{Character Input-pg}{36}
@xrdef{Terminal Management-pg}{36}
@xrdef{Utility Functions-title}{Utility Functions}
@xrdef{Utility Functions-snt}{Section@tie 2.4.10}
@xrdef{Terminal Management-pg}{37}
@xrdef{Utility Functions-pg}{37}
@xrdef{Miscellaneous Functions-title}{Miscellaneous Functions}
@xrdef{Miscellaneous Functions-snt}{Section@tie 2.4.11}
@xrdef{Miscellaneous Functions-pg}{38}
@xrdef{Alternate Interface-title}{Alternate Interface}
@xrdef{Alternate Interface-snt}{Section@tie 2.4.12}
@xrdef{Miscellaneous Functions-pg}{39}
@xrdef{Alternate Interface-pg}{39}
@xrdef{A Readline Example-title}{A Readline Example}
@xrdef{A Readline Example-snt}{Section@tie 2.4.13}
@xrdef{Alternate Interface-pg}{39}
@xrdef{A Readline Example-pg}{40}
@xrdef{Alternate Interface Example-title}{Alternate Interface Example}
@xrdef{Alternate Interface Example-snt}{Section@tie 2.4.14}
@xrdef{Alternate Interface Example-pg}{41}
@xrdef{Readline Signal Handling-title}{Readline Signal Handling}
@xrdef{Readline Signal Handling-snt}{Section@tie 2.5}
@xrdef{Readline Signal Handling-pg}{41}
@xrdef{Readline Signal Handling-pg}{43}
@xrdef{Custom Completers-title}{Custom Completers}
@xrdef{Custom Completers-snt}{Section@tie 2.6}
@xrdef{How Completing Works-title}{How Completing Works}
@xrdef{How Completing Works-snt}{Section@tie 2.6.1}
@xrdef{Custom Completers-pg}{43}
@xrdef{How Completing Works-pg}{43}
@xrdef{Custom Completers-pg}{45}
@xrdef{How Completing Works-pg}{45}
@xrdef{Completion Functions-title}{Completion Functions}
@xrdef{Completion Functions-snt}{Section@tie 2.6.2}
@xrdef{Completion Functions-pg}{44}
@xrdef{Completion Functions-pg}{46}
@xrdef{Completion Variables-title}{Completion Variables}
@xrdef{Completion Variables-snt}{Section@tie 2.6.3}
@xrdef{Completion Variables-pg}{45}
@xrdef{Completion Variables-pg}{47}
@xrdef{A Short Completion Example-title}{A Short Completion Example}
@xrdef{A Short Completion Example-snt}{Section@tie 2.6.4}
@xrdef{A Short Completion Example-pg}{49}
@xrdef{A Short Completion Example-pg}{52}
@xrdef{GNU Free Documentation License-title}{GNU Free Documentation License}
@xrdef{GNU Free Documentation License-snt}{Appendix@tie @char65{}}
@xrdef{GNU Free Documentation License-pg}{58}
@xrdef{GNU Free Documentation License-pg}{61}
@xrdef{Concept Index-title}{Concept Index}
@xrdef{Concept Index-snt}{}
@xrdef{Concept Index-pg}{66}
@xrdef{Concept Index-pg}{69}
@xrdef{Function and Variable Index-title}{Function and Variable Index}
@xrdef{Function and Variable Index-snt}{}
@xrdef{Function and Variable Index-pg}{67}
@xrdef{Function and Variable Index-pg}{70}
+1 -1
View File
@@ -8,4 +8,4 @@
\entry{initialization file, readline}{4}{initialization file, readline}
\entry{variables, readline}{4}{variables, readline}
\entry{readline, function}{22}{readline, function}
\entry{application-specific completion functions}{43}{application-specific completion functions}
\entry{application-specific completion functions}{45}{application-specific completion functions}
+1 -1
View File
@@ -1,5 +1,5 @@
\initial {A}
\entry {application-specific completion functions}{43}
\entry {application-specific completion functions}{45}
\initial {C}
\entry {command editing}{1}
\initial {E}
+131 -118
View File
@@ -1,5 +1,6 @@
\entry{bell-style}{4}{bell-style}
\entry{bind-tty-special-chars}{5}{bind-tty-special-chars}
\entry{colored-stats}{5}{colored-stats}
\entry{comment-begin}{5}{comment-begin}
\entry{completion-display-width}{5}{completion-display-width}
\entry{completion-ignore-case}{5}{completion-ignore-case}
@@ -7,28 +8,29 @@
\entry{completion-prefix-display-length}{5}{completion-prefix-display-length}
\entry{completion-query-items}{5}{completion-query-items}
\entry{convert-meta}{5}{convert-meta}
\entry{disable-completion}{5}{disable-completion}
\entry{disable-completion}{6}{disable-completion}
\entry{editing-mode}{6}{editing-mode}
\entry{enable-keypad}{6}{enable-keypad}
\entry{expand-tilde}{6}{expand-tilde}
\entry{history-preserve-point}{6}{history-preserve-point}
\entry{history-size}{6}{history-size}
\entry{horizontal-scroll-mode}{6}{horizontal-scroll-mode}
\entry{input-meta}{6}{input-meta}
\entry{meta-flag}{6}{meta-flag}
\entry{isearch-terminators}{6}{isearch-terminators}
\entry{input-meta}{7}{input-meta}
\entry{meta-flag}{7}{meta-flag}
\entry{isearch-terminators}{7}{isearch-terminators}
\entry{keymap}{7}{keymap}
\entry{mark-modified-lines}{7}{mark-modified-lines}
\entry{mark-symlinked-directories}{7}{mark-symlinked-directories}
\entry{match-hidden-files}{7}{match-hidden-files}
\entry{menu-complete-display-prefix}{7}{menu-complete-display-prefix}
\entry{output-meta}{7}{output-meta}
\entry{page-completions}{7}{page-completions}
\entry{menu-complete-display-prefix}{8}{menu-complete-display-prefix}
\entry{output-meta}{8}{output-meta}
\entry{page-completions}{8}{page-completions}
\entry{revert-all-at-newline}{8}{revert-all-at-newline}
\entry{show-all-if-ambiguous}{8}{show-all-if-ambiguous}
\entry{show-all-if-unmodified}{8}{show-all-if-unmodified}
\entry{show-mode-in-prompt}{8}{show-mode-in-prompt}
\entry{skip-completed-text}{8}{skip-completed-text}
\entry{visible-stats}{8}{visible-stats}
\entry{visible-stats}{9}{visible-stats}
\entry{beginning-of-line (C-a)}{14}{\code {beginning-of-line (C-a)}}
\entry{end-of-line (C-e)}{14}{\code {end-of-line (C-e)}}
\entry{forward-char (C-f)}{14}{\code {forward-char (C-f)}}
@@ -48,8 +50,10 @@
\entry{non-incremental-forward-search-history (M-n)}{15}{\code {non-incremental-forward-search-history (M-n)}}
\entry{history-search-forward ()}{15}{\code {history-search-forward ()}}
\entry{history-search-backward ()}{15}{\code {history-search-backward ()}}
\entry{history-substr-search-forward ()}{15}{\code {history-substr-search-forward ()}}
\entry{history-substr-search-backward ()}{15}{\code {history-substr-search-backward ()}}
\entry{yank-nth-arg (M-C-y)}{15}{\code {yank-nth-arg (M-C-y)}}
\entry{yank-last-arg (M-. or M-_)}{15}{\code {yank-last-arg (M-. or M-_)}}
\entry{yank-last-arg (M-. or M-_)}{16}{\code {yank-last-arg (M-. or M-_)}}
\entry{delete-char (C-d)}{16}{\code {delete-char (C-d)}}
\entry{backward-delete-char (Rubout)}{16}{\code {backward-delete-char (Rubout)}}
\entry{forward-backward-delete-char ()}{16}{\code {forward-backward-delete-char ()}}
@@ -58,9 +62,9 @@
\entry{self-insert (a, b, A, 1, !, ...{})}{16}{\code {self-insert (a, b, A, 1, !, \dots {})}}
\entry{transpose-chars (C-t)}{16}{\code {transpose-chars (C-t)}}
\entry{transpose-words (M-t)}{16}{\code {transpose-words (M-t)}}
\entry{upcase-word (M-u)}{16}{\code {upcase-word (M-u)}}
\entry{downcase-word (M-l)}{16}{\code {downcase-word (M-l)}}
\entry{capitalize-word (M-c)}{16}{\code {capitalize-word (M-c)}}
\entry{upcase-word (M-u)}{17}{\code {upcase-word (M-u)}}
\entry{downcase-word (M-l)}{17}{\code {downcase-word (M-l)}}
\entry{capitalize-word (M-c)}{17}{\code {capitalize-word (M-c)}}
\entry{overwrite-mode ()}{17}{\code {overwrite-mode ()}}
\entry{kill-line (C-k)}{17}{\code {kill-line (C-k)}}
\entry{backward-kill-line (C-x Rubout)}{17}{\code {backward-kill-line (C-x Rubout)}}
@@ -71,9 +75,9 @@
\entry{unix-word-rubout (C-w)}{17}{\code {unix-word-rubout (C-w)}}
\entry{unix-filename-rubout ()}{17}{\code {unix-filename-rubout ()}}
\entry{delete-horizontal-space ()}{17}{\code {delete-horizontal-space ()}}
\entry{kill-region ()}{17}{\code {kill-region ()}}
\entry{copy-region-as-kill ()}{17}{\code {copy-region-as-kill ()}}
\entry{copy-backward-word ()}{17}{\code {copy-backward-word ()}}
\entry{kill-region ()}{18}{\code {kill-region ()}}
\entry{copy-region-as-kill ()}{18}{\code {copy-region-as-kill ()}}
\entry{copy-backward-word ()}{18}{\code {copy-backward-word ()}}
\entry{copy-forward-word ()}{18}{\code {copy-forward-word ()}}
\entry{yank (C-y)}{18}{\code {yank (C-y)}}
\entry{yank-pop (M-y)}{18}{\code {yank-pop (M-y)}}
@@ -82,20 +86,21 @@
\entry{complete (TAB)}{18}{\code {complete (\key {TAB})}}
\entry{possible-completions (M-?)}{18}{\code {possible-completions (M-?)}}
\entry{insert-completions (M-*)}{18}{\code {insert-completions (M-*)}}
\entry{menu-complete ()}{18}{\code {menu-complete ()}}
\entry{menu-complete ()}{19}{\code {menu-complete ()}}
\entry{menu-complete-backward ()}{19}{\code {menu-complete-backward ()}}
\entry{delete-char-or-list ()}{19}{\code {delete-char-or-list ()}}
\entry{start-kbd-macro (C-x ()}{19}{\code {start-kbd-macro (C-x ()}}
\entry{end-kbd-macro (C-x ))}{19}{\code {end-kbd-macro (C-x ))}}
\entry{call-last-kbd-macro (C-x e)}{19}{\code {call-last-kbd-macro (C-x e)}}
\entry{print-last-kbd-macro ()}{19}{\code {print-last-kbd-macro ()}}
\entry{re-read-init-file (C-x C-r)}{19}{\code {re-read-init-file (C-x C-r)}}
\entry{abort (C-g)}{19}{\code {abort (C-g)}}
\entry{do-uppercase-version (M-a, M-b, M-x, ...{})}{19}{\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}
\entry{prefix-meta (ESC)}{19}{\code {prefix-meta (\key {ESC})}}
\entry{undo (C-_ or C-x C-u)}{19}{\code {undo (C-_ or C-x C-u)}}
\entry{revert-line (M-r)}{19}{\code {revert-line (M-r)}}
\entry{tilde-expand (M-~)}{19}{\code {tilde-expand (M-~)}}
\entry{set-mark (C-@)}{19}{\code {set-mark (C-@)}}
\entry{undo (C-_ or C-x C-u)}{20}{\code {undo (C-_ or C-x C-u)}}
\entry{revert-line (M-r)}{20}{\code {revert-line (M-r)}}
\entry{tilde-expand (M-~)}{20}{\code {tilde-expand (M-~)}}
\entry{set-mark (C-@)}{20}{\code {set-mark (C-@)}}
\entry{exchange-point-and-mark (C-x C-x)}{20}{\code {exchange-point-and-mark (C-x C-x)}}
\entry{character-search (C-])}{20}{\code {character-search (C-])}}
\entry{character-search-backward (M-C-])}{20}{\code {character-search-backward (M-C-])}}
@@ -103,9 +108,9 @@
\entry{insert-comment (M-#)}{20}{\code {insert-comment (M-#)}}
\entry{dump-functions ()}{20}{\code {dump-functions ()}}
\entry{dump-variables ()}{20}{\code {dump-variables ()}}
\entry{dump-macros ()}{20}{\code {dump-macros ()}}
\entry{emacs-editing-mode (C-e)}{20}{\code {emacs-editing-mode (C-e)}}
\entry{vi-editing-mode (M-C-j)}{20}{\code {vi-editing-mode (M-C-j)}}
\entry{dump-macros ()}{21}{\code {dump-macros ()}}
\entry{emacs-editing-mode (C-e)}{21}{\code {emacs-editing-mode (C-e)}}
\entry{vi-editing-mode (M-C-j)}{21}{\code {vi-editing-mode (M-C-j)}}
\entry{readline}{22}{\code {readline}}
\entry{rl_line_buffer}{25}{\code {rl_line_buffer}}
\entry{rl_point}{25}{\code {rl_point}}
@@ -132,52 +137,57 @@
\entry{rl_pre_input_hook}{27}{\code {rl_pre_input_hook}}
\entry{rl_event_hook}{27}{\code {rl_event_hook}}
\entry{rl_getc_function}{27}{\code {rl_getc_function}}
\entry{rl_signal_event_hook}{27}{\code {rl_signal_event_hook}}
\entry{rl_input_available_hook}{27}{\code {rl_input_available_hook}}
\entry{rl_redisplay_function}{27}{\code {rl_redisplay_function}}
\entry{rl_prep_term_function}{27}{\code {rl_prep_term_function}}
\entry{rl_deprep_term_function}{27}{\code {rl_deprep_term_function}}
\entry{rl_executing_keymap}{27}{\code {rl_executing_keymap}}
\entry{rl_binding_keymap}{27}{\code {rl_binding_keymap}}
\entry{rl_executing_macro}{27}{\code {rl_executing_macro}}
\entry{rl_executing_keymap}{28}{\code {rl_executing_keymap}}
\entry{rl_binding_keymap}{28}{\code {rl_binding_keymap}}
\entry{rl_executing_macro}{28}{\code {rl_executing_macro}}
\entry{rl_executing_key}{28}{\code {rl_executing_key}}
\entry{rl_executing_keyseq}{28}{\code {rl_executing_keyseq}}
\entry{rl_key_sequence_length}{28}{\code {rl_key_sequence_length}}
\entry{rl_readline_state}{28}{\code {rl_readline_state}}
\entry{rl_explicit_arg}{29}{\code {rl_explicit_arg}}
\entry{rl_numeric_arg}{29}{\code {rl_numeric_arg}}
\entry{rl_editing_mode}{29}{\code {rl_editing_mode}}
\entry{rl_numeric_arg}{30}{\code {rl_numeric_arg}}
\entry{rl_editing_mode}{30}{\code {rl_editing_mode}}
\entry{rl_add_defun}{30}{\code {rl_add_defun}}
\entry{rl_make_bare_keymap}{30}{\code {rl_make_bare_keymap}}
\entry{rl_copy_keymap}{30}{\code {rl_copy_keymap}}
\entry{rl_make_keymap}{30}{\code {rl_make_keymap}}
\entry{rl_discard_keymap}{30}{\code {rl_discard_keymap}}
\entry{rl_free_keymap}{30}{\code {rl_free_keymap}}
\entry{rl_get_keymap}{30}{\code {rl_get_keymap}}
\entry{rl_set_keymap}{30}{\code {rl_set_keymap}}
\entry{rl_get_keymap_by_name}{30}{\code {rl_get_keymap_by_name}}
\entry{rl_get_keymap_name}{30}{\code {rl_get_keymap_name}}
\entry{rl_free_keymap}{31}{\code {rl_free_keymap}}
\entry{rl_get_keymap}{31}{\code {rl_get_keymap}}
\entry{rl_set_keymap}{31}{\code {rl_set_keymap}}
\entry{rl_get_keymap_by_name}{31}{\code {rl_get_keymap_by_name}}
\entry{rl_get_keymap_name}{31}{\code {rl_get_keymap_name}}
\entry{rl_bind_key}{31}{\code {rl_bind_key}}
\entry{rl_bind_key_in_map}{31}{\code {rl_bind_key_in_map}}
\entry{rl_bind_key_if_unbound}{31}{\code {rl_bind_key_if_unbound}}
\entry{rl_bind_key_if_unbound_in_map}{31}{\code {rl_bind_key_if_unbound_in_map}}
\entry{rl_unbind_key}{31}{\code {rl_unbind_key}}
\entry{rl_unbind_key_in_map}{31}{\code {rl_unbind_key_in_map}}
\entry{rl_unbind_function_in_map}{31}{\code {rl_unbind_function_in_map}}
\entry{rl_unbind_command_in_map}{31}{\code {rl_unbind_command_in_map}}
\entry{rl_bind_keyseq}{31}{\code {rl_bind_keyseq}}
\entry{rl_unbind_key}{32}{\code {rl_unbind_key}}
\entry{rl_unbind_key_in_map}{32}{\code {rl_unbind_key_in_map}}
\entry{rl_unbind_function_in_map}{32}{\code {rl_unbind_function_in_map}}
\entry{rl_unbind_command_in_map}{32}{\code {rl_unbind_command_in_map}}
\entry{rl_bind_keyseq}{32}{\code {rl_bind_keyseq}}
\entry{rl_bind_keyseq_in_map}{32}{\code {rl_bind_keyseq_in_map}}
\entry{rl_set_key}{32}{\code {rl_set_key}}
\entry{rl_bind_keyseq_if_unbound}{32}{\code {rl_bind_keyseq_if_unbound}}
\entry{rl_bind_keyseq_if_unbound_in_map}{32}{\code {rl_bind_keyseq_if_unbound_in_map}}
\entry{rl_generic_bind}{32}{\code {rl_generic_bind}}
\entry{rl_parse_and_bind}{32}{\code {rl_parse_and_bind}}
\entry{rl_read_init_file}{32}{\code {rl_read_init_file}}
\entry{rl_named_function}{32}{\code {rl_named_function}}
\entry{rl_function_of_keyseq}{32}{\code {rl_function_of_keyseq}}
\entry{rl_read_init_file}{33}{\code {rl_read_init_file}}
\entry{rl_named_function}{33}{\code {rl_named_function}}
\entry{rl_function_of_keyseq}{33}{\code {rl_function_of_keyseq}}
\entry{rl_invoking_keyseqs}{33}{\code {rl_invoking_keyseqs}}
\entry{rl_invoking_keyseqs_in_map}{33}{\code {rl_invoking_keyseqs_in_map}}
\entry{rl_function_dumper}{33}{\code {rl_function_dumper}}
\entry{rl_list_funmap_names}{33}{\code {rl_list_funmap_names}}
\entry{rl_funmap_names}{33}{\code {rl_funmap_names}}
\entry{rl_add_funmap_entry}{33}{\code {rl_add_funmap_entry}}
\entry{rl_begin_undo_group}{33}{\code {rl_begin_undo_group}}
\entry{rl_end_undo_group}{33}{\code {rl_end_undo_group}}
\entry{rl_begin_undo_group}{34}{\code {rl_begin_undo_group}}
\entry{rl_end_undo_group}{34}{\code {rl_end_undo_group}}
\entry{rl_add_undo}{34}{\code {rl_add_undo}}
\entry{rl_free_undo_list}{34}{\code {rl_free_undo_list}}
\entry{rl_do_undo}{34}{\code {rl_do_undo}}
@@ -185,28 +195,28 @@
\entry{rl_redisplay}{34}{\code {rl_redisplay}}
\entry{rl_forced_update_display}{34}{\code {rl_forced_update_display}}
\entry{rl_on_new_line}{34}{\code {rl_on_new_line}}
\entry{rl_on_new_line_with_prompt}{34}{\code {rl_on_new_line_with_prompt}}
\entry{rl_reset_line_state}{34}{\code {rl_reset_line_state}}
\entry{rl_crlf}{34}{\code {rl_crlf}}
\entry{rl_show_char}{34}{\code {rl_show_char}}
\entry{rl_on_new_line_with_prompt}{35}{\code {rl_on_new_line_with_prompt}}
\entry{rl_reset_line_state}{35}{\code {rl_reset_line_state}}
\entry{rl_crlf}{35}{\code {rl_crlf}}
\entry{rl_show_char}{35}{\code {rl_show_char}}
\entry{rl_message}{35}{\code {rl_message}}
\entry{rl_clear_message}{35}{\code {rl_clear_message}}
\entry{rl_save_prompt}{35}{\code {rl_save_prompt}}
\entry{rl_restore_prompt}{35}{\code {rl_restore_prompt}}
\entry{rl_expand_prompt}{35}{\code {rl_expand_prompt}}
\entry{rl_set_prompt}{35}{\code {rl_set_prompt}}
\entry{rl_insert_text}{35}{\code {rl_insert_text}}
\entry{rl_delete_text}{35}{\code {rl_delete_text}}
\entry{rl_copy_text}{35}{\code {rl_copy_text}}
\entry{rl_set_prompt}{36}{\code {rl_set_prompt}}
\entry{rl_insert_text}{36}{\code {rl_insert_text}}
\entry{rl_delete_text}{36}{\code {rl_delete_text}}
\entry{rl_copy_text}{36}{\code {rl_copy_text}}
\entry{rl_kill_text}{36}{\code {rl_kill_text}}
\entry{rl_push_macro_input}{36}{\code {rl_push_macro_input}}
\entry{rl_read_key}{36}{\code {rl_read_key}}
\entry{rl_getc}{36}{\code {rl_getc}}
\entry{rl_stuff_char}{36}{\code {rl_stuff_char}}
\entry{rl_execute_next}{36}{\code {rl_execute_next}}
\entry{rl_clear_pending_input}{36}{\code {rl_clear_pending_input}}
\entry{rl_set_keyboard_input_timeout}{36}{\code {rl_set_keyboard_input_timeout}}
\entry{rl_prep_terminal}{36}{\code {rl_prep_terminal}}
\entry{rl_clear_pending_input}{37}{\code {rl_clear_pending_input}}
\entry{rl_set_keyboard_input_timeout}{37}{\code {rl_set_keyboard_input_timeout}}
\entry{rl_prep_terminal}{37}{\code {rl_prep_terminal}}
\entry{rl_deprep_terminal}{37}{\code {rl_deprep_terminal}}
\entry{rl_tty_set_default_bindings}{37}{\code {rl_tty_set_default_bindings}}
\entry{rl_tty_unset_default_bindings}{37}{\code {rl_tty_unset_default_bindings}}
@@ -214,11 +224,11 @@
\entry{rl_save_state}{37}{\code {rl_save_state}}
\entry{rl_restore_state}{37}{\code {rl_restore_state}}
\entry{rl_free}{37}{\code {rl_free}}
\entry{rl_replace_line}{37}{\code {rl_replace_line}}
\entry{rl_extend_line_buffer}{37}{\code {rl_extend_line_buffer}}
\entry{rl_initialize}{37}{\code {rl_initialize}}
\entry{rl_ding}{37}{\code {rl_ding}}
\entry{rl_alphabetic}{37}{\code {rl_alphabetic}}
\entry{rl_replace_line}{38}{\code {rl_replace_line}}
\entry{rl_extend_line_buffer}{38}{\code {rl_extend_line_buffer}}
\entry{rl_initialize}{38}{\code {rl_initialize}}
\entry{rl_ding}{38}{\code {rl_ding}}
\entry{rl_alphabetic}{38}{\code {rl_alphabetic}}
\entry{rl_display_match_list}{38}{\code {rl_display_match_list}}
\entry{_rl_uppercase_p}{38}{\code {_rl_uppercase_p}}
\entry{_rl_lowercase_p}{38}{\code {_rl_lowercase_p}}
@@ -226,66 +236,69 @@
\entry{_rl_to_upper}{38}{\code {_rl_to_upper}}
\entry{_rl_to_lower}{38}{\code {_rl_to_lower}}
\entry{_rl_digit_value}{38}{\code {_rl_digit_value}}
\entry{rl_macro_bind}{38}{\code {rl_macro_bind}}
\entry{rl_macro_dumper}{38}{\code {rl_macro_dumper}}
\entry{rl_variable_bind}{38}{\code {rl_variable_bind}}
\entry{rl_macro_bind}{39}{\code {rl_macro_bind}}
\entry{rl_macro_dumper}{39}{\code {rl_macro_dumper}}
\entry{rl_variable_bind}{39}{\code {rl_variable_bind}}
\entry{rl_variable_value}{39}{\code {rl_variable_value}}
\entry{rl_variable_dumper}{39}{\code {rl_variable_dumper}}
\entry{rl_set_paren_blink_timeout}{39}{\code {rl_set_paren_blink_timeout}}
\entry{rl_get_termcap}{39}{\code {rl_get_termcap}}
\entry{rl_callback_handler_install}{39}{\code {rl_callback_handler_install}}
\entry{rl_callback_read_char}{39}{\code {rl_callback_read_char}}
\entry{rl_callback_handler_remove}{39}{\code {rl_callback_handler_remove}}
\entry{rl_catch_signals}{42}{\code {rl_catch_signals}}
\entry{rl_catch_sigwinch}{42}{\code {rl_catch_sigwinch}}
\entry{rl_cleanup_after_signal}{42}{\code {rl_cleanup_after_signal}}
\entry{rl_free_line_state}{42}{\code {rl_free_line_state}}
\entry{rl_reset_after_signal}{42}{\code {rl_reset_after_signal}}
\entry{rl_echo_signal_char}{42}{\code {rl_echo_signal_char}}
\entry{rl_resize_terminal}{42}{\code {rl_resize_terminal}}
\entry{rl_set_screen_size}{42}{\code {rl_set_screen_size}}
\entry{rl_get_screen_size}{43}{\code {rl_get_screen_size}}
\entry{rl_reset_screen_size}{43}{\code {rl_reset_screen_size}}
\entry{rl_set_signals}{43}{\code {rl_set_signals}}
\entry{rl_clear_signals}{43}{\code {rl_clear_signals}}
\entry{rl_complete}{44}{\code {rl_complete}}
\entry{rl_completion_entry_function}{44}{\code {rl_completion_entry_function}}
\entry{rl_complete_internal}{44}{\code {rl_complete_internal}}
\entry{rl_complete}{44}{\code {rl_complete}}
\entry{rl_possible_completions}{44}{\code {rl_possible_completions}}
\entry{rl_insert_completions}{44}{\code {rl_insert_completions}}
\entry{rl_completion_mode}{44}{\code {rl_completion_mode}}
\entry{rl_completion_matches}{45}{\code {rl_completion_matches}}
\entry{rl_filename_completion_function}{45}{\code {rl_filename_completion_function}}
\entry{rl_username_completion_function}{45}{\code {rl_username_completion_function}}
\entry{rl_completion_entry_function}{45}{\code {rl_completion_entry_function}}
\entry{rl_attempted_completion_function}{45}{\code {rl_attempted_completion_function}}
\entry{rl_filename_quoting_function}{45}{\code {rl_filename_quoting_function}}
\entry{rl_filename_dequoting_function}{46}{\code {rl_filename_dequoting_function}}
\entry{rl_char_is_quoted_p}{46}{\code {rl_char_is_quoted_p}}
\entry{rl_ignore_some_completions_function}{46}{\code {rl_ignore_some_completions_function}}
\entry{rl_directory_completion_hook}{46}{\code {rl_directory_completion_hook}}
\entry{rl_filename_rewrite_hook}{46}{\code {rl_filename_rewrite_hook}}
\entry{rl_completion_display_matches_hook}{47}{\code {rl_completion_display_matches_hook}}
\entry{rl_basic_word_break_characters}{47}{\code {rl_basic_word_break_characters}}
\entry{rl_basic_quote_characters}{47}{\code {rl_basic_quote_characters}}
\entry{rl_completer_word_break_characters}{47}{\code {rl_completer_word_break_characters}}
\entry{rl_completion_word_break_hook}{47}{\code {rl_completion_word_break_hook}}
\entry{rl_completer_quote_characters}{47}{\code {rl_completer_quote_characters}}
\entry{rl_filename_quote_characters}{47}{\code {rl_filename_quote_characters}}
\entry{rl_special_prefixes}{47}{\code {rl_special_prefixes}}
\entry{rl_completion_query_items}{47}{\code {rl_completion_query_items}}
\entry{rl_completion_append_character}{48}{\code {rl_completion_append_character}}
\entry{rl_completion_suppress_append}{48}{\code {rl_completion_suppress_append}}
\entry{rl_completion_quote_character}{48}{\code {rl_completion_quote_character}}
\entry{rl_completion_suppress_quote}{48}{\code {rl_completion_suppress_quote}}
\entry{rl_completion_found_quote}{48}{\code {rl_completion_found_quote}}
\entry{rl_completion_mark_symlink_dirs}{48}{\code {rl_completion_mark_symlink_dirs}}
\entry{rl_ignore_completion_duplicates}{48}{\code {rl_ignore_completion_duplicates}}
\entry{rl_filename_completion_desired}{48}{\code {rl_filename_completion_desired}}
\entry{rl_filename_quoting_desired}{49}{\code {rl_filename_quoting_desired}}
\entry{rl_attempted_completion_over}{49}{\code {rl_attempted_completion_over}}
\entry{rl_sort_completion_matches}{49}{\code {rl_sort_completion_matches}}
\entry{rl_completion_type}{49}{\code {rl_completion_type}}
\entry{rl_completion_invoking_key}{49}{\code {rl_completion_invoking_key}}
\entry{rl_inhibit_completion}{49}{\code {rl_inhibit_completion}}
\entry{rl_clear_history}{39}{\code {rl_clear_history}}
\entry{rl_callback_handler_install}{40}{\code {rl_callback_handler_install}}
\entry{rl_callback_read_char}{40}{\code {rl_callback_read_char}}
\entry{rl_callback_handler_remove}{40}{\code {rl_callback_handler_remove}}
\entry{rl_catch_signals}{44}{\code {rl_catch_signals}}
\entry{rl_catch_sigwinch}{44}{\code {rl_catch_sigwinch}}
\entry{rl_cleanup_after_signal}{44}{\code {rl_cleanup_after_signal}}
\entry{rl_free_line_state}{44}{\code {rl_free_line_state}}
\entry{rl_reset_after_signal}{44}{\code {rl_reset_after_signal}}
\entry{rl_echo_signal_char}{44}{\code {rl_echo_signal_char}}
\entry{rl_resize_terminal}{45}{\code {rl_resize_terminal}}
\entry{rl_set_screen_size}{45}{\code {rl_set_screen_size}}
\entry{rl_get_screen_size}{45}{\code {rl_get_screen_size}}
\entry{rl_reset_screen_size}{45}{\code {rl_reset_screen_size}}
\entry{rl_set_signals}{45}{\code {rl_set_signals}}
\entry{rl_clear_signals}{45}{\code {rl_clear_signals}}
\entry{rl_complete}{46}{\code {rl_complete}}
\entry{rl_completion_entry_function}{46}{\code {rl_completion_entry_function}}
\entry{rl_complete_internal}{46}{\code {rl_complete_internal}}
\entry{rl_complete}{46}{\code {rl_complete}}
\entry{rl_possible_completions}{46}{\code {rl_possible_completions}}
\entry{rl_insert_completions}{47}{\code {rl_insert_completions}}
\entry{rl_completion_mode}{47}{\code {rl_completion_mode}}
\entry{rl_completion_matches}{47}{\code {rl_completion_matches}}
\entry{rl_filename_completion_function}{47}{\code {rl_filename_completion_function}}
\entry{rl_username_completion_function}{47}{\code {rl_username_completion_function}}
\entry{rl_completion_entry_function}{47}{\code {rl_completion_entry_function}}
\entry{rl_attempted_completion_function}{47}{\code {rl_attempted_completion_function}}
\entry{rl_filename_quoting_function}{48}{\code {rl_filename_quoting_function}}
\entry{rl_filename_dequoting_function}{48}{\code {rl_filename_dequoting_function}}
\entry{rl_char_is_quoted_p}{48}{\code {rl_char_is_quoted_p}}
\entry{rl_ignore_some_completions_function}{48}{\code {rl_ignore_some_completions_function}}
\entry{rl_directory_completion_hook}{48}{\code {rl_directory_completion_hook}}
\entry{rl_directory_rewrite_hook;}{49}{\code {rl_directory_rewrite_hook;}}
\entry{rl_filename_stat_hook}{49}{\code {rl_filename_stat_hook}}
\entry{rl_filename_rewrite_hook}{49}{\code {rl_filename_rewrite_hook}}
\entry{rl_completion_display_matches_hook}{49}{\code {rl_completion_display_matches_hook}}
\entry{rl_basic_word_break_characters}{49}{\code {rl_basic_word_break_characters}}
\entry{rl_basic_quote_characters}{50}{\code {rl_basic_quote_characters}}
\entry{rl_completer_word_break_characters}{50}{\code {rl_completer_word_break_characters}}
\entry{rl_completion_word_break_hook}{50}{\code {rl_completion_word_break_hook}}
\entry{rl_completer_quote_characters}{50}{\code {rl_completer_quote_characters}}
\entry{rl_filename_quote_characters}{50}{\code {rl_filename_quote_characters}}
\entry{rl_special_prefixes}{50}{\code {rl_special_prefixes}}
\entry{rl_completion_query_items}{50}{\code {rl_completion_query_items}}
\entry{rl_completion_append_character}{50}{\code {rl_completion_append_character}}
\entry{rl_completion_suppress_append}{50}{\code {rl_completion_suppress_append}}
\entry{rl_completion_quote_character}{51}{\code {rl_completion_quote_character}}
\entry{rl_completion_suppress_quote}{51}{\code {rl_completion_suppress_quote}}
\entry{rl_completion_found_quote}{51}{\code {rl_completion_found_quote}}
\entry{rl_completion_mark_symlink_dirs}{51}{\code {rl_completion_mark_symlink_dirs}}
\entry{rl_ignore_completion_duplicates}{51}{\code {rl_ignore_completion_duplicates}}
\entry{rl_filename_completion_desired}{51}{\code {rl_filename_completion_desired}}
\entry{rl_filename_quoting_desired}{51}{\code {rl_filename_quoting_desired}}
\entry{rl_attempted_completion_over}{51}{\code {rl_attempted_completion_over}}
\entry{rl_sort_completion_matches}{52}{\code {rl_sort_completion_matches}}
\entry{rl_completion_type}{52}{\code {rl_completion_type}}
\entry{rl_completion_invoking_key}{52}{\code {rl_completion_invoking_key}}
\entry{rl_inhibit_completion}{52}{\code {rl_inhibit_completion}}
+129 -116
View File
@@ -20,10 +20,11 @@
\entry {bind-tty-special-chars}{5}
\initial {C}
\entry {\code {call-last-kbd-macro (C-x e)}}{19}
\entry {\code {capitalize-word (M-c)}}{16}
\entry {\code {capitalize-word (M-c)}}{17}
\entry {\code {character-search (C-])}}{20}
\entry {\code {character-search-backward (M-C-])}}{20}
\entry {\code {clear-screen (C-l)}}{14}
\entry {colored-stats}{5}
\entry {comment-begin}{5}
\entry {\code {complete (\key {TAB})}}{18}
\entry {completion-display-width}{5}
@@ -32,23 +33,23 @@
\entry {completion-prefix-display-length}{5}
\entry {completion-query-items}{5}
\entry {convert-meta}{5}
\entry {\code {copy-backward-word ()}}{17}
\entry {\code {copy-backward-word ()}}{18}
\entry {\code {copy-forward-word ()}}{18}
\entry {\code {copy-region-as-kill ()}}{17}
\entry {\code {copy-region-as-kill ()}}{18}
\initial {D}
\entry {\code {delete-char (C-d)}}{16}
\entry {\code {delete-char-or-list ()}}{19}
\entry {\code {delete-horizontal-space ()}}{17}
\entry {\code {digit-argument (\kbd {M-0}, \kbd {M-1}, \dots {} \kbd {M--})}}{18}
\entry {disable-completion}{5}
\entry {disable-completion}{6}
\entry {\code {do-uppercase-version (M-a, M-b, M-\var {x}, \dots {})}}{19}
\entry {\code {downcase-word (M-l)}}{16}
\entry {\code {downcase-word (M-l)}}{17}
\entry {\code {dump-functions ()}}{20}
\entry {\code {dump-macros ()}}{20}
\entry {\code {dump-macros ()}}{21}
\entry {\code {dump-variables ()}}{20}
\initial {E}
\entry {editing-mode}{6}
\entry {\code {emacs-editing-mode (C-e)}}{20}
\entry {\code {emacs-editing-mode (C-e)}}{21}
\entry {enable-keypad}{6}
\entry {\code {end-kbd-macro (C-x ))}}{19}
\entry {\code {end-of-history (M->)}}{15}
@@ -65,38 +66,41 @@
\entry {\code {history-search-backward ()}}{15}
\entry {\code {history-search-forward ()}}{15}
\entry {history-size}{6}
\entry {\code {history-substr-search-backward ()}}{15}
\entry {\code {history-substr-search-forward ()}}{15}
\entry {horizontal-scroll-mode}{6}
\initial {I}
\entry {input-meta}{6}
\entry {input-meta}{7}
\entry {\code {insert-comment (M-#)}}{20}
\entry {\code {insert-completions (M-*)}}{18}
\entry {isearch-terminators}{6}
\entry {isearch-terminators}{7}
\initial {K}
\entry {keymap}{7}
\entry {\code {kill-line (C-k)}}{17}
\entry {\code {kill-region ()}}{17}
\entry {\code {kill-region ()}}{18}
\entry {\code {kill-whole-line ()}}{17}
\entry {\code {kill-word (M-d)}}{17}
\initial {M}
\entry {mark-modified-lines}{7}
\entry {mark-symlinked-directories}{7}
\entry {match-hidden-files}{7}
\entry {\code {menu-complete ()}}{18}
\entry {\code {menu-complete ()}}{19}
\entry {\code {menu-complete-backward ()}}{19}
\entry {menu-complete-display-prefix}{7}
\entry {meta-flag}{6}
\entry {menu-complete-display-prefix}{8}
\entry {meta-flag}{7}
\initial {N}
\entry {\code {next-history (C-n)}}{15}
\entry {\code {non-incremental-forward-search-history (M-n)}}{15}
\entry {\code {non-incremental-reverse-search-history (M-p)}}{15}
\initial {O}
\entry {output-meta}{7}
\entry {output-meta}{8}
\entry {\code {overwrite-mode ()}}{17}
\initial {P}
\entry {page-completions}{7}
\entry {page-completions}{8}
\entry {\code {possible-completions (M-?)}}{18}
\entry {\code {prefix-meta (\key {ESC})}}{19}
\entry {\code {previous-history (C-p)}}{14}
\entry {\code {print-last-kbd-macro ()}}{19}
\initial {Q}
\entry {\code {quoted-insert (C-q or C-v)}}{16}
\initial {R}
@@ -105,206 +109,215 @@
\entry {\code {redraw-current-line ()}}{14}
\entry {\code {reverse-search-history (C-r)}}{15}
\entry {revert-all-at-newline}{8}
\entry {\code {revert-line (M-r)}}{19}
\entry {\code {revert-line (M-r)}}{20}
\entry {\code {rl_add_defun}}{30}
\entry {\code {rl_add_funmap_entry}}{33}
\entry {\code {rl_add_undo}}{34}
\entry {\code {rl_alphabetic}}{37}
\entry {\code {rl_alphabetic}}{38}
\entry {\code {rl_already_prompted}}{26}
\entry {\code {rl_attempted_completion_function}}{45}
\entry {\code {rl_attempted_completion_over}}{49}
\entry {\code {rl_basic_quote_characters}}{47}
\entry {\code {rl_basic_word_break_characters}}{47}
\entry {\code {rl_begin_undo_group}}{33}
\entry {\code {rl_attempted_completion_function}}{47}
\entry {\code {rl_attempted_completion_over}}{51}
\entry {\code {rl_basic_quote_characters}}{50}
\entry {\code {rl_basic_word_break_characters}}{49}
\entry {\code {rl_begin_undo_group}}{34}
\entry {\code {rl_bind_key}}{31}
\entry {\code {rl_bind_key_if_unbound}}{31}
\entry {\code {rl_bind_key_if_unbound_in_map}}{31}
\entry {\code {rl_bind_key_in_map}}{31}
\entry {\code {rl_bind_keyseq}}{31}
\entry {\code {rl_bind_keyseq}}{32}
\entry {\code {rl_bind_keyseq_if_unbound}}{32}
\entry {\code {rl_bind_keyseq_if_unbound_in_map}}{32}
\entry {\code {rl_bind_keyseq_in_map}}{32}
\entry {\code {rl_binding_keymap}}{27}
\entry {\code {rl_callback_handler_install}}{39}
\entry {\code {rl_callback_handler_remove}}{39}
\entry {\code {rl_callback_read_char}}{39}
\entry {\code {rl_catch_signals}}{42}
\entry {\code {rl_catch_sigwinch}}{42}
\entry {\code {rl_char_is_quoted_p}}{46}
\entry {\code {rl_cleanup_after_signal}}{42}
\entry {\code {rl_binding_keymap}}{28}
\entry {\code {rl_callback_handler_install}}{40}
\entry {\code {rl_callback_handler_remove}}{40}
\entry {\code {rl_callback_read_char}}{40}
\entry {\code {rl_catch_signals}}{44}
\entry {\code {rl_catch_sigwinch}}{44}
\entry {\code {rl_char_is_quoted_p}}{48}
\entry {\code {rl_cleanup_after_signal}}{44}
\entry {\code {rl_clear_history}}{39}
\entry {\code {rl_clear_message}}{35}
\entry {\code {rl_clear_pending_input}}{36}
\entry {\code {rl_clear_signals}}{43}
\entry {\code {rl_complete}}{44}
\entry {\code {rl_complete_internal}}{44}
\entry {\code {rl_completer_quote_characters}}{47}
\entry {\code {rl_completer_word_break_characters}}{47}
\entry {\code {rl_completion_append_character}}{48}
\entry {\code {rl_completion_display_matches_hook}}{47}
\entry {\code {rl_completion_entry_function}}{44, 45}
\entry {\code {rl_completion_found_quote}}{48}
\entry {\code {rl_completion_invoking_key}}{49}
\entry {\code {rl_completion_mark_symlink_dirs}}{48}
\entry {\code {rl_completion_matches}}{45}
\entry {\code {rl_completion_mode}}{44}
\entry {\code {rl_completion_query_items}}{47}
\entry {\code {rl_completion_quote_character}}{48}
\entry {\code {rl_completion_suppress_append}}{48}
\entry {\code {rl_completion_suppress_quote}}{48}
\entry {\code {rl_completion_type}}{49}
\entry {\code {rl_completion_word_break_hook}}{47}
\entry {\code {rl_clear_pending_input}}{37}
\entry {\code {rl_clear_signals}}{45}
\entry {\code {rl_complete}}{46}
\entry {\code {rl_complete_internal}}{46}
\entry {\code {rl_completer_quote_characters}}{50}
\entry {\code {rl_completer_word_break_characters}}{50}
\entry {\code {rl_completion_append_character}}{50}
\entry {\code {rl_completion_display_matches_hook}}{49}
\entry {\code {rl_completion_entry_function}}{46, 47}
\entry {\code {rl_completion_found_quote}}{51}
\entry {\code {rl_completion_invoking_key}}{52}
\entry {\code {rl_completion_mark_symlink_dirs}}{51}
\entry {\code {rl_completion_matches}}{47}
\entry {\code {rl_completion_mode}}{47}
\entry {\code {rl_completion_query_items}}{50}
\entry {\code {rl_completion_quote_character}}{51}
\entry {\code {rl_completion_suppress_append}}{50}
\entry {\code {rl_completion_suppress_quote}}{51}
\entry {\code {rl_completion_type}}{52}
\entry {\code {rl_completion_word_break_hook}}{50}
\entry {\code {rl_copy_keymap}}{30}
\entry {\code {rl_copy_text}}{35}
\entry {\code {rl_crlf}}{34}
\entry {\code {rl_delete_text}}{35}
\entry {\code {rl_copy_text}}{36}
\entry {\code {rl_crlf}}{35}
\entry {\code {rl_delete_text}}{36}
\entry {\code {rl_deprep_term_function}}{27}
\entry {\code {rl_deprep_terminal}}{37}
\entry {\code {rl_ding}}{37}
\entry {\code {rl_directory_completion_hook}}{46}
\entry {\code {rl_ding}}{38}
\entry {\code {rl_directory_completion_hook}}{48}
\entry {\code {rl_directory_rewrite_hook;}}{49}
\entry {\code {rl_discard_keymap}}{30}
\entry {\code {rl_dispatching}}{25}
\entry {\code {rl_display_match_list}}{38}
\entry {\code {rl_display_prompt}}{26}
\entry {\code {rl_do_undo}}{34}
\entry {\code {rl_done}}{25}
\entry {\code {rl_echo_signal_char}}{42}
\entry {\code {rl_editing_mode}}{29}
\entry {\code {rl_echo_signal_char}}{44}
\entry {\code {rl_editing_mode}}{30}
\entry {\code {rl_end}}{25}
\entry {\code {rl_end_undo_group}}{33}
\entry {\code {rl_end_undo_group}}{34}
\entry {\code {rl_erase_empty_line}}{25}
\entry {\code {rl_event_hook}}{27}
\entry {\code {rl_execute_next}}{36}
\entry {\code {rl_executing_keymap}}{27}
\entry {\code {rl_executing_macro}}{27}
\entry {\code {rl_executing_key}}{28}
\entry {\code {rl_executing_keymap}}{28}
\entry {\code {rl_executing_keyseq}}{28}
\entry {\code {rl_executing_macro}}{28}
\entry {\code {rl_expand_prompt}}{35}
\entry {\code {rl_explicit_arg}}{29}
\entry {\code {rl_extend_line_buffer}}{37}
\entry {\code {rl_filename_completion_desired}}{48}
\entry {\code {rl_filename_completion_function}}{45}
\entry {\code {rl_filename_dequoting_function}}{46}
\entry {\code {rl_filename_quote_characters}}{47}
\entry {\code {rl_filename_quoting_desired}}{49}
\entry {\code {rl_filename_quoting_function}}{45}
\entry {\code {rl_filename_rewrite_hook}}{46}
\entry {\code {rl_extend_line_buffer}}{38}
\entry {\code {rl_filename_completion_desired}}{51}
\entry {\code {rl_filename_completion_function}}{47}
\entry {\code {rl_filename_dequoting_function}}{48}
\entry {\code {rl_filename_quote_characters}}{50}
\entry {\code {rl_filename_quoting_desired}}{51}
\entry {\code {rl_filename_quoting_function}}{48}
\entry {\code {rl_filename_rewrite_hook}}{49}
\entry {\code {rl_filename_stat_hook}}{49}
\entry {\code {rl_forced_update_display}}{34}
\entry {\code {rl_free}}{37}
\entry {\code {rl_free_keymap}}{30}
\entry {\code {rl_free_line_state}}{42}
\entry {\code {rl_free_keymap}}{31}
\entry {\code {rl_free_line_state}}{44}
\entry {\code {rl_free_undo_list}}{34}
\entry {\code {rl_function_dumper}}{33}
\entry {\code {rl_function_of_keyseq}}{32}
\entry {\code {rl_function_of_keyseq}}{33}
\entry {\code {rl_funmap_names}}{33}
\entry {\code {rl_generic_bind}}{32}
\entry {\code {rl_get_keymap}}{30}
\entry {\code {rl_get_keymap_by_name}}{30}
\entry {\code {rl_get_keymap_name}}{30}
\entry {\code {rl_get_screen_size}}{43}
\entry {\code {rl_get_keymap}}{31}
\entry {\code {rl_get_keymap_by_name}}{31}
\entry {\code {rl_get_keymap_name}}{31}
\entry {\code {rl_get_screen_size}}{45}
\entry {\code {rl_get_termcap}}{39}
\entry {\code {rl_getc}}{36}
\entry {\code {rl_getc_function}}{27}
\entry {\code {rl_gnu_readline_p}}{26}
\entry {\code {rl_ignore_completion_duplicates}}{48}
\entry {\code {rl_ignore_some_completions_function}}{46}
\entry {\code {rl_inhibit_completion}}{49}
\entry {\code {rl_initialize}}{37}
\entry {\code {rl_insert_completions}}{44}
\entry {\code {rl_insert_text}}{35}
\entry {\code {rl_ignore_completion_duplicates}}{51}
\entry {\code {rl_ignore_some_completions_function}}{48}
\entry {\code {rl_inhibit_completion}}{52}
\entry {\code {rl_initialize}}{38}
\entry {\code {rl_input_available_hook}}{27}
\entry {\code {rl_insert_completions}}{47}
\entry {\code {rl_insert_text}}{36}
\entry {\code {rl_instream}}{26}
\entry {\code {rl_invoking_keyseqs}}{33}
\entry {\code {rl_invoking_keyseqs_in_map}}{33}
\entry {\code {rl_key_sequence_length}}{28}
\entry {\code {rl_kill_text}}{36}
\entry {\code {rl_last_func}}{27}
\entry {\code {rl_library_version}}{26}
\entry {\code {rl_line_buffer}}{25}
\entry {\code {rl_list_funmap_names}}{33}
\entry {\code {rl_macro_bind}}{38}
\entry {\code {rl_macro_dumper}}{38}
\entry {\code {rl_macro_bind}}{39}
\entry {\code {rl_macro_dumper}}{39}
\entry {\code {rl_make_bare_keymap}}{30}
\entry {\code {rl_make_keymap}}{30}
\entry {\code {rl_mark}}{25}
\entry {\code {rl_message}}{35}
\entry {\code {rl_modifying}}{34}
\entry {\code {rl_named_function}}{32}
\entry {\code {rl_named_function}}{33}
\entry {\code {rl_num_chars_to_read}}{25}
\entry {\code {rl_numeric_arg}}{29}
\entry {\code {rl_numeric_arg}}{30}
\entry {\code {rl_on_new_line}}{34}
\entry {\code {rl_on_new_line_with_prompt}}{34}
\entry {\code {rl_on_new_line_with_prompt}}{35}
\entry {\code {rl_outstream}}{26}
\entry {\code {rl_parse_and_bind}}{32}
\entry {\code {rl_pending_input}}{25}
\entry {\code {rl_point}}{25}
\entry {\code {rl_possible_completions}}{44}
\entry {\code {rl_possible_completions}}{46}
\entry {\code {rl_pre_input_hook}}{27}
\entry {\code {rl_prefer_env_winsize}}{26}
\entry {\code {rl_prep_term_function}}{27}
\entry {\code {rl_prep_terminal}}{36}
\entry {\code {rl_prep_terminal}}{37}
\entry {\code {rl_prompt}}{26}
\entry {\code {rl_push_macro_input}}{36}
\entry {\code {rl_read_init_file}}{32}
\entry {\code {rl_read_init_file}}{33}
\entry {\code {rl_read_key}}{36}
\entry {\code {rl_readline_name}}{26}
\entry {\code {rl_readline_state}}{28}
\entry {\code {rl_readline_version}}{26}
\entry {\code {rl_redisplay}}{34}
\entry {\code {rl_redisplay_function}}{27}
\entry {\code {rl_replace_line}}{37}
\entry {\code {rl_reset_after_signal}}{42}
\entry {\code {rl_reset_line_state}}{34}
\entry {\code {rl_reset_screen_size}}{43}
\entry {\code {rl_replace_line}}{38}
\entry {\code {rl_reset_after_signal}}{44}
\entry {\code {rl_reset_line_state}}{35}
\entry {\code {rl_reset_screen_size}}{45}
\entry {\code {rl_reset_terminal}}{37}
\entry {\code {rl_resize_terminal}}{42}
\entry {\code {rl_resize_terminal}}{45}
\entry {\code {rl_restore_prompt}}{35}
\entry {\code {rl_restore_state}}{37}
\entry {\code {rl_save_prompt}}{35}
\entry {\code {rl_save_state}}{37}
\entry {\code {rl_set_key}}{32}
\entry {\code {rl_set_keyboard_input_timeout}}{36}
\entry {\code {rl_set_keymap}}{30}
\entry {\code {rl_set_keyboard_input_timeout}}{37}
\entry {\code {rl_set_keymap}}{31}
\entry {\code {rl_set_paren_blink_timeout}}{39}
\entry {\code {rl_set_prompt}}{35}
\entry {\code {rl_set_screen_size}}{42}
\entry {\code {rl_set_signals}}{43}
\entry {\code {rl_show_char}}{34}
\entry {\code {rl_sort_completion_matches}}{49}
\entry {\code {rl_special_prefixes}}{47}
\entry {\code {rl_set_prompt}}{36}
\entry {\code {rl_set_screen_size}}{45}
\entry {\code {rl_set_signals}}{45}
\entry {\code {rl_show_char}}{35}
\entry {\code {rl_signal_event_hook}}{27}
\entry {\code {rl_sort_completion_matches}}{52}
\entry {\code {rl_special_prefixes}}{50}
\entry {\code {rl_startup_hook}}{27}
\entry {\code {rl_stuff_char}}{36}
\entry {\code {rl_terminal_name}}{26}
\entry {\code {rl_tty_set_default_bindings}}{37}
\entry {\code {rl_tty_unset_default_bindings}}{37}
\entry {\code {rl_unbind_command_in_map}}{31}
\entry {\code {rl_unbind_function_in_map}}{31}
\entry {\code {rl_unbind_key}}{31}
\entry {\code {rl_unbind_key_in_map}}{31}
\entry {\code {rl_username_completion_function}}{45}
\entry {\code {rl_variable_bind}}{38}
\entry {\code {rl_unbind_command_in_map}}{32}
\entry {\code {rl_unbind_function_in_map}}{32}
\entry {\code {rl_unbind_key}}{32}
\entry {\code {rl_unbind_key_in_map}}{32}
\entry {\code {rl_username_completion_function}}{47}
\entry {\code {rl_variable_bind}}{39}
\entry {\code {rl_variable_dumper}}{39}
\entry {\code {rl_variable_value}}{39}
\initial {S}
\entry {\code {self-insert (a, b, A, 1, !, \dots {})}}{16}
\entry {\code {set-mark (C-@)}}{19}
\entry {\code {set-mark (C-@)}}{20}
\entry {show-all-if-ambiguous}{8}
\entry {show-all-if-unmodified}{8}
\entry {show-mode-in-prompt}{8}
\entry {skip-completed-text}{8}
\entry {\code {skip-csi-sequence ()}}{20}
\entry {\code {start-kbd-macro (C-x ()}}{19}
\initial {T}
\entry {\code {tab-insert (M-\key {TAB})}}{16}
\entry {\code {tilde-expand (M-~)}}{19}
\entry {\code {tilde-expand (M-~)}}{20}
\entry {\code {transpose-chars (C-t)}}{16}
\entry {\code {transpose-words (M-t)}}{16}
\initial {U}
\entry {\code {undo (C-_ or C-x C-u)}}{19}
\entry {\code {undo (C-_ or C-x C-u)}}{20}
\entry {\code {universal-argument ()}}{18}
\entry {\code {unix-filename-rubout ()}}{17}
\entry {\code {unix-line-discard (C-u)}}{17}
\entry {\code {unix-word-rubout (C-w)}}{17}
\entry {\code {upcase-word (M-u)}}{16}
\entry {\code {upcase-word (M-u)}}{17}
\initial {V}
\entry {\code {vi-editing-mode (M-C-j)}}{20}
\entry {visible-stats}{8}
\entry {\code {vi-editing-mode (M-C-j)}}{21}
\entry {visible-stats}{9}
\initial {Y}
\entry {\code {yank (C-y)}}{18}
\entry {\code {yank-last-arg (M-. or M-_)}}{15}
\entry {\code {yank-last-arg (M-. or M-_)}}{16}
\entry {\code {yank-nth-arg (M-C-y)}}{15}
\entry {\code {yank-pop (M-y)}}{18}
+52 -28
View File
@@ -1,6 +1,6 @@
This is TeX, Version 3.141592 (Web2C 7.5.4) (format=tex 2008.12.11) 8 FEB 2011 11:10
**/usr/homes/chet/src/bash/src/lib/readline/doc/rlman.texi
(/usr/homes/chet/src/bash/src/lib/readline/doc/rlman.texi (./texinfo.tex
This is TeX, Version 3.1415926 (TeX Live 2011/Fink) (format=tex 2013.1.2) 25 MAY 2013 17:14
**/usr/src/local/bash/bash-20130523/lib/readline/doc/rlman.texi
(/usr/src/local/bash/bash-20130523/lib/readline/doc/rlman.texi (./texinfo.tex
Loading texinfo [version 2009-01-18.17]:
\bindingoffset=\dimen16
\normaloffset=\dimen17
@@ -120,6 +120,7 @@ defuns,
\SAVEmargin=\box23
(/sw/share/texmf-dist/tex/generic/epsf/epsf.tex
This is `epsf.tex' v2.7.4 <14 February 2011>
\epsffilein=\read0
\epsfframemargin=\dimen39
\epsfframethickness=\dimen40
@@ -129,18 +130,16 @@ defuns,
\epsfxsize=\dimen44
\epsfysize=\dimen45
\pspoints=\dimen46
\epsfnoopenhelp=\toks26
)
\noepsfhelp=\toks27
\noepsfhelp=\toks26
localization,
\nolanghelp=\toks28
\nolanghelp=\toks27
\countUTFx=\count52
\countUTFy=\count53
\countUTFz=\count54
formatting,
\defaultparindent=\dimen47
and turning on texinfo input format.) (./rlman.aux)
and turning on texinfo input format.) (./rlman.aux)
\openout2 = `rlman.aux'.
@cpindfile=@write3
@@ -149,7 +148,7 @@ and turning on texinfo input format.) (./rlman.aux)
@tpindfile=@write6
@kyindfile=@write7
@pgindfile=@write8
(./version.texi) [1
(./version.texi) [1
\openout3 = `rlman.cp'.
\openout4 = `rlman.fn'.
@@ -165,18 +164,17 @@ and turning on texinfo input format.) (./rlman.aux)
]
\openout1 = `rlman.tmp'.
(./rlman.tmp) [2] (./rlman.toc [-1]) [-2] (./rluser.texi
(./rlman.tmp) [2] (./rlman.toc [-1]) [-2] (./rluser.texi
@btindfile=@write9
Chapter 1
Chapter 1
\openout0 = `rlman.toc'.
[1
\openout9 = `rlman.bt'.
] [2]
[3] [4] [5] [6]
Underfull \hbox (badness 5231) in paragraph at lines 551--567
] [2] [3] [4] [5] [6]
Underfull \hbox (badness 5231) in paragraph at lines 565--581
@texttt emacs-meta[]@textrm , @texttt emacs-ctlx[]@textrm , @texttt vi[]@textr
m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
@@ -189,7 +187,7 @@ m , @texttt vi-move[]@textrm , @texttt vi-command[]@textrm , and
.etc.
[7] [8] [9] [10] [11]
Overfull \hbox (26.43913pt too wide) in paragraph at lines 894--894
Overfull \hbox (26.43913pt too wide) in paragraph at lines 929--929
[]@texttt Meta-Control-h: backward-kill-word Text after the function name is i
gnored[] |
@@ -203,8 +201,34 @@ gnored[] |
[12] [13] [14] [15] [16] [17] [18] [19] [20]) (./rltech.texi Chapter 2 [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] [46] [47] [48]
Underfull \hbox (badness 7379) in paragraph at lines 1910--1915
[37] [38] [39] [40] [41]
Overfull \hbox (14.94176pt too wide) in paragraph at lines 1435--1435
[] @texttt /* This function needs to be called to reset the terminal sett
ings,[] |
@hbox(7.60416+2.43333)x433.62
.@glue(@leftskip) 28.90755
.@hbox(0.0+0.0)x0.0
.@penalty 10000
.@glue 5.74869
.@penalty 10000
.etc.
Overfull \hbox (14.94176pt too wide) in paragraph at lines 1436--1436
[] @texttt and calling it from the line handler keeps one extra prompt
from[] |
@hbox(6.69167+2.43333)x433.62
.@glue(@leftskip) 28.90755
.@hbox(0.0+0.0)x0.0
.@penalty 10000
.@glue 5.74869
.@penalty 10000
.etc.
[42] [43] [44] [45] [46] [47] [48] [49] [50]
Underfull \hbox (badness 7379) in paragraph at lines 2060--2065
[]@textrm If an application-specific com-ple-tion func-tion as-signed to @text
tt rl_attempted_
@@ -216,16 +240,16 @@ tt rl_attempted_
.@glue 3.65 plus 1.825 minus 1.21666
.etc.
[49] [50] [51] [52] [53] [54] [55] [56]) Appendix A [57] (./fdl.texi [58]
[59] [60] [61] [62] [63] [64]) (Concept Index) [65] (./rlman.cps)
(Function and Variable Index) [66] (./rlman.fns [67] [68] [69]) [70] )
[51] [52] [53] [54] [55] [56] [57] [58] [59]) Appendix A [60] (./fdl.texi
[61] [62] [63] [64] [65] [66] [67]) (Concept Index) [68] (./rlman.cps)
(Function and Variable Index) [69] (./rlman.fns [70] [71] [72]) [73] )
Here is how much of TeX's memory you used:
1839 strings out of 97980
23025 string characters out of 1221004
86081 words of memory out of 1500000
2666 multiletter control sequences out of 10000+50000
32127 words of font info for 112 fonts, out of 1200000 for 2000
1842 strings out of 497974
23047 string characters out of 3220834
97078 words of memory out of 3000000
2669 multiletter control sequences out of 15000+200000
32127 words of font info for 112 fonts, out of 3000000 for 9000
51 hyphenation exceptions out of 8191
16i,6n,14p,327b,534s stack positions out of 5000i,500n,6000p,200000b,5000s
16i,6n,14p,332b,534s stack positions out of 5000i,500n,10000p,200000b,50000s
Output written on rlman.dvi (74 pages, 300184 bytes).
Output written on rlman.dvi (77 pages, 312632 bytes).
+4 -12
View File
@@ -4,23 +4,15 @@ This manual describes the GNU Readline Library
consistency of user interface across discrete programs which provide
a command line interface.
Copyright @copyright{} 1988--2011 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
are preserved on all copies.
Copyright @copyright{} 1988--2012 Free Software Foundation, Inc.
@quotation
Permission is granted to copy, distribute and/or modify this document
under the terms of the GNU Free Documentation License, Version 1.3 or
any later version published by the Free Software Foundation; with no
Invariant Sections, with the Front-Cover texts being ``A GNU Manual'',
and with the Back-Cover Texts as in (a) below. A copy of the license is
included in the section entitled ``GNU Free Documentation License''.
(a) The FSF's Back-Cover Text is: You are free to copy and modify
this GNU manual. Buying copies from GNU Press supports the FSF in
developing GNU and promoting software freedom.''
Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
A copy of the license is included in the section entitled
``GNU Free Documentation License''.
@end quotation
@endinput
+16 -15
View File
@@ -26,26 +26,27 @@
@numsubsecentry{Readline Typedefs}{2.2.1}{Readline Typedefs}{24}
@numsubsecentry{Writing a New Function}{2.2.2}{Function Writing}{24}
@numsecentry{Readline Variables}{2.3}{Readline Variables}{25}
@numsecentry{Readline Convenience Functions}{2.4}{Readline Convenience Functions}{29}
@numsubsecentry{Naming a Function}{2.4.1}{Function Naming}{29}
@numsecentry{Readline Convenience Functions}{2.4}{Readline Convenience Functions}{30}
@numsubsecentry{Naming a Function}{2.4.1}{Function Naming}{30}
@numsubsecentry{Selecting a Keymap}{2.4.2}{Keymaps}{30}
@numsubsecentry{Binding Keys}{2.4.3}{Binding Keys}{31}
@numsubsecentry{Associating Function Names and Bindings}{2.4.4}{Associating Function Names and Bindings}{32}
@numsubsecentry{Associating Function Names and Bindings}{2.4.4}{Associating Function Names and Bindings}{33}
@numsubsecentry{Allowing Undoing}{2.4.5}{Allowing Undoing}{33}
@numsubsecentry{Redisplay}{2.4.6}{Redisplay}{34}
@numsubsecentry{Modifying Text}{2.4.7}{Modifying Text}{35}
@numsubsecentry{Modifying Text}{2.4.7}{Modifying Text}{36}
@numsubsecentry{Character Input}{2.4.8}{Character Input}{36}
@numsubsecentry{Terminal Management}{2.4.9}{Terminal Management}{36}
@numsubsecentry{Terminal Management}{2.4.9}{Terminal Management}{37}
@numsubsecentry{Utility Functions}{2.4.10}{Utility Functions}{37}
@numsubsecentry{Miscellaneous Functions}{2.4.11}{Miscellaneous Functions}{38}
@numsubsecentry{Miscellaneous Functions}{2.4.11}{Miscellaneous Functions}{39}
@numsubsecentry{Alternate Interface}{2.4.12}{Alternate Interface}{39}
@numsubsecentry{A Readline Example}{2.4.13}{A Readline Example}{40}
@numsecentry{Readline Signal Handling}{2.5}{Readline Signal Handling}{41}
@numsecentry{Custom Completers}{2.6}{Custom Completers}{43}
@numsubsecentry{How Completing Works}{2.6.1}{How Completing Works}{43}
@numsubsecentry{Completion Functions}{2.6.2}{Completion Functions}{44}
@numsubsecentry{Completion Variables}{2.6.3}{Completion Variables}{45}
@numsubsecentry{A Short Completion Example}{2.6.4}{A Short Completion Example}{49}
@appentry{GNU Free Documentation License}{A}{GNU Free Documentation License}{58}
@unnchapentry{Concept Index}{10001}{Concept Index}{66}
@unnchapentry{Function and Variable Index}{10002}{Function and Variable Index}{67}
@numsubsecentry{Alternate Interface Example}{2.4.14}{Alternate Interface Example}{41}
@numsecentry{Readline Signal Handling}{2.5}{Readline Signal Handling}{43}
@numsecentry{Custom Completers}{2.6}{Custom Completers}{45}
@numsubsecentry{How Completing Works}{2.6.1}{How Completing Works}{45}
@numsubsecentry{Completion Functions}{2.6.2}{Completion Functions}{46}
@numsubsecentry{Completion Variables}{2.6.3}{Completion Variables}{47}
@numsubsecentry{A Short Completion Example}{2.6.4}{A Short Completion Example}{52}
@appentry{GNU Free Documentation License}{A}{GNU Free Documentation License}{61}
@unnchapentry{Concept Index}{10001}{Concept Index}{69}
@unnchapentry{Function and Variable Index}{10002}{Function and Variable Index}{70}
+100 -5
View File
@@ -612,6 +612,7 @@ means that vi mode is active.
* Miscellaneous Functions:: Functions that don't fall into any category.
* Alternate Interface:: Using Readline in a `callback' fashion.
* A Readline Example:: An example Readline function.
* Alternate Interface Example:: An example program using the alternate interface.
@end menu
@node Function Naming
@@ -1293,8 +1294,9 @@ are functions available to make this easy.
@deftypefun void rl_callback_handler_install (const char *prompt, rl_vcpfunc_t *lhandler)
Set up the terminal for readline I/O and display the initial
expanded value of @var{prompt}. Save the value of @var{lhandler} to
use as a function to call when a complete line of input has been entered.
The function takes the text of the line as an argument.
use as a handler function to call when a complete line of input has been
entered.
The handler function receives the text of the line as an argument.
@end deftypefun
@deftypefun void rl_callback_read_char (void)
@@ -1302,14 +1304,15 @@ Whenever an application determines that keyboard input is available, it
should call @code{rl_callback_read_char()}, which will read the next
character from the current input source.
If that character completes the line, @code{rl_callback_read_char} will
invoke the @var{lhandler} function saved by @code{rl_callback_handler_install}
to process the line.
invoke the @var{lhandler} function installed by
@code{rl_callback_handler_install} to process the line.
Before calling the @var{lhandler} function, the terminal settings are
reset to the values they had before calling
@code{rl_callback_handler_install}.
If the @var{lhandler} function returns,
and the line handler remains installed,
the terminal settings are modified for Readline's use again.
@code{EOF} is indicated by calling @var{lhandler} with a
@code{EOF} is indicated by calling @var{lhandler} with a
@code{NULL} line.
@end deftypefun
@@ -1389,6 +1392,98 @@ invert_case_line (count, key)
@}
@end example
@node Alternate Interface Example
@subsection Alternate Interface Example
Here is a complete program that illustrates Readline's alternate interface.
It reads lines from the terminal and displays them, providing the
standard history and TAB completion functions.
It understands the EOF character or "exit" to exit the program.
@example
/* Standard include files. stdio.h is required. */
#include <stdlib.h>
#include <unistd.h>
/* Used for select(2) */
#include <sys/types.h>
#include <sys/select.h>
#include <stdio.h>
/* Standard readline include files. */
#include <readline/readline.h>
#include <readline/history.h>
static void cb_linehandler (char *);
int running;
const char *prompt = "rltest$ ";
/* Callback function called for each line when accept-line executed, EOF
seen, or EOF character read. This sets a flag and returns; it could
also call exit(3). */
static void
cb_linehandler (char *line)
@{
/* Can use ^D (stty eof) or `exit' to exit. */
if (line == NULL || strcmp (line, "exit") == 0)
@{
if (line == 0)
printf ("\n");
printf ("exit\n");
/* This function needs to be called to reset the terminal settings,
and calling it from the line handler keeps one extra prompt from
being displayed. */
rl_callback_handler_remove ();
running = 0;
@}
else
@{
if (*line)
add_history (line);
printf ("input line: %s\n", line);
free (line);
@}
@}
int
main (int c, char **v)
@{
fd_set fds;
int r;
/* Install the line handler. */
rl_callback_handler_install (prompt, cb_linehandler);
/* Enter a simple event loop. This waits until something is available
to read on readline's input stream (defaults to standard input) and
calls the builtin character read callback to read it. It does not
have to modify the user's terminal settings. */
running = 1;
while (running)
@{
FD_ZERO (&fds);
FD_SET (fileno (rl_instream), &fds);
r = select (FD_SETSIZE, &fds, NULL, NULL, NULL);
if (r < 0)
@{
perror ("rltest: select");
rl_callback_handler_remove ();
break;
@}
if (FD_ISSET (fileno (rl_instream), &fds))
rl_callback_read_char ();
@}
printf ("rltest: Event loop has exited\n");
return 0;
@}
@end example
@node Readline Signal Handling
@section Readline Signal Handling
File diff suppressed because it is too large Load Diff
+6 -6
View File
@@ -1,10 +1,10 @@
@ignore
Copyright (C) 1988-2012 Free Software Foundation, Inc.
Copyright (C) 1988-2013 Free Software Foundation, Inc.
@end ignore
@set EDITION 6.2
@set VERSION 6.2
@set UPDATED 15 November 2012
@set UPDATED-MONTH November 2012
@set EDITION 6.3
@set VERSION 6.3
@set UPDATED 26 May 2013
@set UPDATED-MONTH May 2013
@set LASTCHANGE Thu Nov 15 21:03:04 EST 2012
@set LASTCHANGE Sat May 25 17:02:56 EDT 2013
+10
View File
@@ -0,0 +1,10 @@
@ignore
Copyright (C) 1988-2012 Free Software Foundation, Inc.
@end ignore
@set EDITION 6.2
@set VERSION 6.2
@set UPDATED 15 November 2012
@set UPDATED-MONTH November 2012
@set LASTCHANGE Thu Nov 15 21:03:04 EST 2012
+14
View File
@@ -286,6 +286,9 @@ run_pending_traps ()
if (catch_flag == 0) /* simple optimization */
return;
if (running_trap > 0)
return; /* no recursive trap invocations */
catch_flag = trapped_signal_received = 0;
/* Preserve $? when running trap. */
@@ -304,6 +307,8 @@ run_pending_traps ()
BLOCK_SIGNAL (sig, set, oset);
running_trap = sig + 1;
if (sig == SIGINT)
{
run_interrupt_trap ();
@@ -324,6 +329,7 @@ run_pending_traps ()
{
/* This can happen when run_pending_traps is called while
running a SIGCHLD trap handler. */
running_trap = 0;
UNBLOCK_SIGNAL (oset);
continue; /* XXX */
}
@@ -359,7 +365,14 @@ run_pending_traps ()
save_subst_varlist = subst_assign_varlist;
subst_assign_varlist = 0;
#if defined (JOB_CONTROL)
save_pipeline (1); /* XXX only provides one save level */
#endif
evalstring (savestring (trap_list[sig]), "trap", SEVAL_NONINT|SEVAL_NOHIST|SEVAL_RESETLINE);
#if defined (JOB_CONTROL)
restore_pipeline (1);
#endif
restore_token_state (token_state);
free (token_state);
@@ -367,6 +380,7 @@ run_pending_traps ()
}
pending_traps[sig] = 0;
running_trap = 0;
UNBLOCK_SIGNAL (oset);
}
+1221
View File
File diff suppressed because it is too large Load Diff