From 9d6f76476d44eed6ed060f49a48991e21c6065a0 Mon Sep 17 00:00:00 2001 From: Chet Ramey Date: Wed, 9 Sep 2020 15:22:37 -0400 Subject: readline-8.1 beta release --- CHANGELOG | 6 + CHANGES | 46 + NEWS | 2 + aclocal.m4 | 11 +- complete.c | 31 +- configure | 16 +- configure.ac | 16 +- doc/history.0 | 12 +- doc/history.3 | 8 +- doc/history.dvi | Bin 72236 -> 72244 bytes doc/history.html | 10 +- doc/history.info | 54 +- doc/history.pdf | Bin 204479 -> 204483 bytes doc/history.ps | 44 +- doc/history_3.ps | 44 +- doc/hstech.texi | 4 +- doc/readline.0 | 8 +- doc/readline.3 | 9 +- doc/readline.dvi | Bin 320660 -> 323308 bytes doc/readline.html | 315 +++--- doc/readline.info | 191 ++-- doc/readline.pdf | Bin 397008 -> 398499 bytes doc/readline.ps | 3073 ++++++++++++++++++++++++++-------------------------- doc/readline_3.ps | 12 +- doc/rltech.texi | 23 + doc/rluser.texi | 21 +- doc/rluserman.dvi | Bin 113996 -> 114520 bytes doc/rluserman.html | 24 +- doc/rluserman.info | 73 +- doc/rluserman.pdf | Bin 231011 -> 232725 bytes doc/rluserman.ps | 968 +++++++++-------- doc/version.texi | 10 +- examples/fileman.c | 4 +- input.c | 2 +- rlprivate.h | 3 +- signals.c | 73 +- vi_mode.c | 38 +- 37 files changed, 2772 insertions(+), 2379 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index ad8c741..f9badf1 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1388,3 +1388,9 @@ support/shlib-install --------- configure.ac - bumped version number up to 8.1 + + 6/15 + ---- +configure.ac + - add -Wno-parentheses -Wno-format-security to CFLAGS if gcc (or clang) + is the compiler diff --git a/CHANGES b/CHANGES index fc06b49..8c57d10 100644 --- a/CHANGES +++ b/CHANGES @@ -62,6 +62,52 @@ s. Fixed a bug with vi-mode digit arguments that caused the last command to be set incorrectly. This prevents yank-last-arg from working as intended, for example. +t. Make sure that all undo groups are closed when leaving vi insertion mode. + +u. Make sure that the vi-mode `C' and `c' commands enter insert mode even if + the motion command doesn't have any effect. + +v. Fixed several potential memory leaks in the callback mode context handling. + +w. If readline is handling a SIGTTOU, make sure SIGTTOU is blocked while + executing the terminal cleanup code, since it's no longer run in a signal + handling context. + +2. New Features in Readline + +a. If a second consecutive completion attempt produces matches where the first + did not, treat it as a new completion attempt and insert a match as + appropriate. + +b. Bracketed paste mode works in more places: incremental search strings, vi + overstrike mode, character search, and reading numeric arguments. + +c. Readline automatically switches to horizontal scrolling if the terminal has + only one line. + +d. Unbinding all key sequences bound to a particular readline function now + descends into keymaps for multi-key sequences. + +e. rl-clear-display: new bindable command that clears the screen and, if + possible, the scrollback buffer (bound to emacs mode M-C-l by default). + +f. New active mark and face feature: when enabled, it will highlight the text + inserted by a bracketed paste (the `active region') and the text found by + incremental and non-incremental history searches. + +g. Readline sets the mark in several additional commands. + +h. Bracketed paste mode is enabled by default (for now). + +i. Readline tries to take advantage of the more regular structure of UTF-8 + characters to identify the beginning and end of characters when moving + through the line buffer. + +j. The bindable operate-and-get-next command (and its default bindings) are + now part of readline instead of a bash-specific addition. + +k. The signal cleanup code now blocks SIGINT while processing after a SIGINT. + ------------------------------------------------------------------------------- This document details the changes between this version, readline-8.0, and the previous version, readline-7.0. diff --git a/NEWS b/NEWS index 27a8a76..d371d20 100644 --- a/NEWS +++ b/NEWS @@ -34,6 +34,8 @@ i. Readline tries to take advantage of the more regular structure of UTF-8 j. The bindable operate-and-get-next command (and its default bindings) are now part of readline instead of a bash-specific addition. +k. The signal cleanup code now blocks SIGINT while processing after a SIGINT. + ------------------------------------------------------------------------------- This is a terse description of the new features added to readline-8.0 since the release of readline-7.0. diff --git a/aclocal.m4 b/aclocal.m4 index a29d26d..ba2446e 100644 --- a/aclocal.m4 +++ b/aclocal.m4 @@ -2230,7 +2230,12 @@ AC_DEFINE_UNQUOTED([WEXITSTATUS_OFFSET], [$bash_cv_wexitstatus_offset], [Offset AC_DEFUN([BASH_FUNC_SBRK], [ - AC_CHECK_FUNCS_ONCE([sbrk]) + AC_MSG_CHECKING([for sbrk]) + AC_CACHE_VAL(ac_cv_func_sbrk, + [AC_TRY_LINK([#include ], + [ void *x = sbrk (4096); ], + ac_cv_func_sbrk=yes, ac_cv_func_sbrk=no)]) + AC_MSG_RESULT($ac_cv_func_sbrk) if test X$ac_cv_func_sbrk = Xyes; then AC_CACHE_CHECK([for working sbrk], [bash_cv_func_sbrk], [AC_TRY_RUN([ @@ -2253,8 +2258,8 @@ main(int c, char **v) ac_cv_func_sbrk=no fi fi - if test $ac_cv_func_sbrk = no; then - AC_DEFINE(HAVE_SBRK, 0, + if test $ac_cv_func_sbrk = yes; then + AC_DEFINE(HAVE_SBRK, 1, [Define if you have a working sbrk function.]) fi ]) diff --git a/complete.c b/complete.c index 989b15c..fc5c3ad 100644 --- a/complete.c +++ b/complete.c @@ -1,6 +1,6 @@ /* complete.c -- filename completion for readline. */ -/* Copyright (C) 1987-2019 Free Software Foundation, Inc. +/* Copyright (C) 1987-2020 Free Software Foundation, Inc. This file is part of the GNU Readline Library (Readline), a library for reading lines of text with interactive input and history editing. @@ -148,6 +148,7 @@ static int complete_fncmp PARAMS((const char *, int, const char *, int)); static void display_matches PARAMS((char **)); static int compute_lcd_of_matches PARAMS((char **, int, const char *)); static int postprocess_matches PARAMS((char ***, int)); +static int compare_match PARAMS((char *, const char *)); static int complete_get_screenwidth PARAMS((void)); static char *make_quoted_replacement PARAMS((char *, int, char *)); @@ -1964,6 +1965,26 @@ _rl_free_match_list (char **matches) xfree (matches); } +/* Compare a possibly-quoted filename TEXT from the line buffer and a possible + MATCH that is the product of filename completion, which acts on the dequoted + text. */ +static int +compare_match (char *text, const char *match) +{ + char *temp; + int r; + + if (rl_filename_completion_desired && rl_filename_quoting_desired && + rl_completion_found_quote && rl_filename_dequoting_function) + { + temp = (*rl_filename_dequoting_function) (text, rl_completion_quote_character); + r = strcmp (temp, match); + free (temp); + return r; + } + return (strcmp (text, match)); +} + /* Complete the word at or before point. WHAT_TO_DO says what to do with the completion. `?' means list the possible completions. @@ -2010,7 +2031,7 @@ rl_complete_internal (int what_to_do) matches = gen_completion_matches (text, start, end, our_func, found_quote, quote_char); /* nontrivial_lcd is set if the common prefix adds something to the word being completed. */ - nontrivial_lcd = matches && strcmp (text, matches[0]) != 0; + nontrivial_lcd = matches && compare_match (text, matches[0]) != 0; if (what_to_do == '!' || what_to_do == '@') tlen = strlen (text); xfree (text); @@ -2772,7 +2793,7 @@ rl_old_menu_complete (int count, int invoking_key) { insert_match (matches[match_list_index], orig_start, SINGLE_MATCH, "e_char); append_to_match (matches[match_list_index], delimiter, quote_char, - strcmp (orig_text, matches[match_list_index])); + compare_match (orig_text, matches[match_list_index])); } completion_changed_buffer = 1; @@ -2846,7 +2867,7 @@ rl_menu_complete (int count, int ignore) matches = gen_completion_matches (orig_text, orig_start, orig_end, our_func, found_quote, quote_char); - nontrivial_lcd = matches && strcmp (orig_text, matches[0]) != 0; + nontrivial_lcd = matches && compare_match (orig_text, matches[0]) != 0; /* If we are matching filenames, the attempted completion function will have set rl_filename_completion_desired to a non-zero value. The basic @@ -2953,7 +2974,7 @@ rl_menu_complete (int count, int ignore) { insert_match (matches[match_list_index], orig_start, SINGLE_MATCH, "e_char); append_to_match (matches[match_list_index], delimiter, quote_char, - strcmp (orig_text, matches[match_list_index])); + compare_match (orig_text, matches[match_list_index])); } completion_changed_buffer = 1; diff --git a/configure b/configure index 9a7f172..9fac150 100755 --- a/configure +++ b/configure @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.ac for Readline 8.1, version 2.88. +# From configure.ac for Readline 8.1, version 2.89. # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.69 for readline 8.1. # @@ -2626,7 +2626,7 @@ echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_ve echo "" # We want these before the checks, so the checks can modify their values. -test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1 +test -z "$CFLAGS" && want_auto_cflags=1 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; } @@ -3909,8 +3909,11 @@ $as_echo "$ac_cv_safe_to_define___extensions__" >&6; } -# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS. -test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2" +# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS +if test -n "$want_auto_cflags" ; then + AUTO_CFLAGS="-g ${GCC+-O2}" + STYLE_CFLAGS="${GCC+-Wno-parentheses} ${GCC+-Wno-format-security}" +fi if test $ac_cv_c_compiler_gnu = yes; then { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5 @@ -6898,6 +6901,11 @@ esac +if test -n "$want_auto_cflags"; then + CFLAGS="$AUTO_CFLAGS" +fi +CFLAGS="$CFLAGS $STYLE_CFLAGS" + diff --git a/configure.ac b/configure.ac index f9a97e8..edd78c9 100644 --- a/configure.ac +++ b/configure.ac @@ -20,7 +20,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 . -AC_REVISION([for Readline 8.1, version 2.88]) +AC_REVISION([for Readline 8.1, version 2.89]) AC_INIT(readline, 8.1, bug-readline@gnu.org) @@ -97,15 +97,18 @@ echo "Beginning configuration for readline-$LIBVERSION for ${host_cpu}-${host_ve echo "" # We want these before the checks, so the checks can modify their values. -test -z "$CFLAGS" && CFLAGS=-g auto_cflags=1 +test -z "$CFLAGS" && want_auto_cflags=1 AC_PROG_MAKE_SET AC_PROG_CC dnl AC_AIX AC_MINIX -# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS. -test -n "$GCC" && test -n "$auto_cflags" && CFLAGS="$CFLAGS -O2" +# If we're using gcc and the user hasn't specified CFLAGS, add -O2 to CFLAGS +if test -n "$want_auto_cflags" ; then + AUTO_CFLAGS="-g ${GCC+-O2}" + STYLE_CFLAGS="${GCC+-Wno-parentheses} ${GCC+-Wno-format-security}" +fi AC_PROG_GCC_TRADITIONAL AC_PROG_INSTALL @@ -294,6 +297,11 @@ esac AC_SUBST(BUILD_DIR) +if test -n "$want_auto_cflags"; then + CFLAGS="$AUTO_CFLAGS" +fi +CFLAGS="$CFLAGS $STYLE_CFLAGS" + AC_SUBST(CFLAGS) AC_SUBST(LOCAL_CFLAGS) AC_SUBST(LOCAL_LDFLAGS) diff --git a/doc/history.0 b/doc/history.0 index 47c6927..5f5e703 100644 --- a/doc/history.0 +++ b/doc/history.0 @@ -130,8 +130,8 @@ HISTORY(3) Library Functions Manual HISTORY(3) grams. Introduction to History - The programmer using the History library has available functions for - remembering lines on a history list, associating arbitrary data with a + A programmer using the History library has available functions for re- + membering lines on a history list, associating arbitrary data with a line, removing lines from the list, searching through the list for a line containing an arbitrary text string, and referencing any line in the list directly. In addition, a history expansion function is avail- @@ -144,9 +144,9 @@ HISTORY(3) Library Functions Manual HISTORY(3) commands. The basic history manipulation commands are identical to the history substitution provided by bash. - If the programmer desires, he can use the Readline library, which in- - cludes some history manipulation by default, and has the added advan- - tage of command line editing. + The programmer can also use the Readline library, which includes some + history manipulation by default, and has the added advantage of command + line editing. Before declaring any functions using any functionality the History li- brary provides in other code, an application writer should include the @@ -502,4 +502,4 @@ HISTORY(3) Library Functions Manual HISTORY(3) -GNU History 8.0 2019 November 15 HISTORY(3) +GNU History 8.1 2020 July 17 HISTORY(3) diff --git a/doc/history.3 b/doc/history.3 index 35b45e6..9b787c6 100644 --- a/doc/history.3 +++ b/doc/history.3 @@ -6,9 +6,9 @@ .\" Case Western Reserve University .\" chet.ramey@case.edu .\" -.\" Last Change: Fri Nov 15 09:39:27 EST 2019 +.\" Last Change: Fri Jul 17 09:43:01 EDT 2020 .\" -.TH HISTORY 3 "2019 November 15" "GNU History 8.0" +.TH HISTORY 3 "2020 July 17" "GNU History 8.1" .\" .\" File Name macro. This used to be `.PN', for Path Name, .\" but Sun doesn't seem to like that very much. @@ -276,7 +276,7 @@ in the event line. .SH "PROGRAMMING WITH HISTORY FUNCTIONS" This section describes how to use the History library in other programs. .SS Introduction to History -The programmer using the History library has available functions +A programmer using the History library has available functions for remembering lines on a history list, associating arbitrary data with a line, removing lines from the list, searching through the list for a line containing an arbitrary text string, and referencing any line @@ -291,7 +291,7 @@ in new commands. The basic history manipulation commands are identical to the history substitution provided by \fBbash\fP. .PP -If the programmer desires, he can use the Readline library, which +The programmer can also use the Readline library, which includes some history manipulation by default, and has the added advantage of command line editing. .PP diff --git a/doc/history.dvi b/doc/history.dvi index 30a5ba7..5722192 100644 Binary files a/doc/history.dvi and b/doc/history.dvi differ diff --git a/doc/history.html b/doc/history.html index 91ffd82..8aa3b57 100644 --- a/doc/history.html +++ b/doc/history.html @@ -1,6 +1,6 @@ - + +

- +

Variable: rl_compentry_func_t * rl_completion_entry_function
A pointer to the generator function for rl_completion_matches(). @@ -5250,7 +5293,7 @@ the default filename completer.

- +

Variable: rl_completion_func_t * rl_attempted_completion_function
A pointer to an alternative function to create matches. @@ -5267,7 +5310,7 @@ completion even if this function returns no matches.

- +

Variable: rl_quote_func_t * rl_filename_quoting_function
A pointer to a function that will quote a filename in an @@ -5284,7 +5327,7 @@ to reset this character.

- +

Variable: rl_dequote_func_t * rl_filename_dequoting_function
A pointer to a function that will remove application-specific quoting @@ -5297,7 +5340,7 @@ that delimits the filename (usually `'' or `"'). If

- +

Variable: rl_linebuf_func_t * rl_char_is_quoted_p
A pointer to a function to call that determines whether or not a specific @@ -5310,7 +5353,7 @@ used to break words for the completer.

- +

Variable: rl_compignore_func_t * rl_ignore_some_completions_function
This function, if defined, is called by the completer when real filename @@ -5323,7 +5366,7 @@ from the array must be freed.

- +

Variable: rl_icppfunc_t * rl_directory_completion_hook
This function, if defined, is allowed to modify the directory portion @@ -5346,7 +5389,7 @@ 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 @@ -5366,7 +5409,7 @@ 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 @@ -5382,7 +5425,7 @@ 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 @@ -5401,7 +5444,7 @@ allocated string.

- +

Variable: rl_compdisp_func_t * rl_completion_display_matches_hook
If non-zero, then this is the address of a function to call when @@ -5418,7 +5461,7 @@ You may call that function from this hook.

- +

Variable: const char * rl_basic_word_break_characters
The basic list of characters that signal a break between words for the @@ -5428,14 +5471,14 @@ which break words for completion in Bash:

- +

Variable: const char * rl_basic_quote_characters
A list of quote characters which can cause a word break.

- +

Variable: const char * rl_completer_word_break_characters
The list of characters that signal a break between words for @@ -5444,7 +5487,7 @@ which break words for completion in Bash:

- +

Variable: rl_cpvfunc_t * rl_completion_word_break_hook
If non-zero, this is the address of a function to call when Readline is @@ -5456,7 +5499,7 @@ returns NULL, rl_completer_word_break_characters is us

- +

Variable: const char * rl_completer_quote_characters
A list of characters which can be used to quote a substring of the line. @@ -5466,7 +5509,7 @@ unless they also appear within this list.

- +

Variable: const char * rl_filename_quote_characters
A list of characters that cause a filename to be quoted by the completer @@ -5474,7 +5517,7 @@ when they appear in a completed filename. The default is the null string.

- +

Variable: const char * rl_special_prefixes
The list of characters that are word break characters, but should be @@ -5485,7 +5528,7 @@ shell variables and hostnames.

- +

Variable: int rl_completion_query_items
Up to this many items will be displayed in response to a @@ -5495,7 +5538,7 @@ indicates that Readline should never ask the user.

- +

Variable: int rl_completion_append_character
When a single completion alternative matches at the end of the command @@ -5510,7 +5553,7 @@ is called, and may only be changed within such a function.

- +

Variable: int rl_completion_suppress_append
If non-zero, rl_completion_append_character is not appended to @@ -5520,7 +5563,7 @@ is called, and may only be changed within such a function.

- +

Variable: int rl_completion_quote_character
When Readline is completing quoted text, as delimited by one of the @@ -5530,7 +5573,7 @@ This is set before any application-specific completion function is called.

- +

Variable: int rl_completion_suppress_quote
If non-zero, Readline does not append a matching quote character when @@ -5540,7 +5583,7 @@ is called, and may only be changed within such a function.

- +

Variable: int rl_completion_found_quote
When Readline is completing quoted text, it sets this variable @@ -5550,7 +5593,7 @@ This is set before any application-specific completion function is called.

- +

Variable: int rl_completion_mark_symlink_dirs
If non-zero, a slash will be appended to completed filenames that are @@ -5565,7 +5608,7 @@ function modifies the value, the user's preferences are honored.

- +

Variable: int rl_ignore_completion_duplicates
If non-zero, then duplicates in the matches are removed. @@ -5573,7 +5616,7 @@ The default is 1.

- +

Variable: int rl_filename_completion_desired
Non-zero means that the results of the matches are to be treated as @@ -5587,7 +5630,7 @@ characters in rl_filename_quote_characters and

- +

Variable: int rl_filename_quoting_desired
Non-zero means that the results of the matches are to be quoted using @@ -5601,7 +5644,7 @@ by rl_filename_quoting_function.

- +

Variable: int rl_attempted_completion_over
If an application-specific completion function assigned to @@ -5612,7 +5655,7 @@ It should be set only by an application's completion function.

- +

Variable: int rl_sort_completion_matches
If an application sets this variable to 0, Readline will not sort the @@ -5624,7 +5667,7 @@ matches.

- +

Variable: int rl_completion_type
Set to a character describing the type of completion Readline is currently @@ -5636,7 +5679,7 @@ the same interface as rl_complete().

- +

Variable: int rl_completion_invoking_key
Set to the final character in the key sequence that invoked one of the @@ -5646,7 +5689,7 @@ function is called.

- +

Variable: int rl_inhibit_completion
If this variable is non-zero, completion is inhibited. The completion @@ -7089,15 +7132,16 @@ to permit their use in free software. revert-all-at-newline1.3.1 Readline Init File Syntax revert-line (M-r)1.4.8 Some Miscellaneous Commands revert-line (M-r)1.4.8 Some Miscellaneous Commands +rl_activate_mark2.4.11 Miscellaneous Functions rl_add_defun2.4.1 Naming a Function rl_add_funmap_entry2.4.4 Associating Function Names and Bindings rl_add_undo2.4.5 Allowing Undoing rl_alphabetic2.4.10 Utility Functions rl_already_prompted2.3 Readline Variables -rl_attempted_completion_function2.6.3 Completion Variables -rl_attempted_completion_over2.6.3 Completion Variables -rl_basic_quote_characters2.6.3 Completion Variables -rl_basic_word_break_characters2.6.3 Completion Variables +rl_attempted_completion_function2.6.3 Completion Variables +rl_attempted_completion_over2.6.3 Completion Variables +rl_basic_quote_characters2.6.3 Completion Variables +rl_basic_word_break_characters2.6.3 Completion Variables rl_begin_undo_group2.4.5 Allowing Undoing rl_bind_key2.4.3 Binding Keys rl_bind_key_if_unbound2.4.3 Binding Keys @@ -7108,57 +7152,58 @@ to permit their use in free software. rl_bind_keyseq_if_unbound_in_map2.4.3 Binding Keys rl_bind_keyseq_in_map2.4.3 Binding Keys rl_binding_keymap2.3 Readline Variables -rl_callback_handler_install2.4.12 Alternate Interface -rl_callback_handler_remove2.4.12 Alternate Interface -rl_callback_read_char2.4.12 Alternate Interface -rl_callback_sigcleanup2.4.12 Alternate Interface -rl_catch_signals2.5 Readline Signal Handling -rl_catch_sigwinch2.5 Readline Signal Handling -rl_change_environment2.5 Readline Signal Handling -rl_char_is_quoted_p2.6.3 Completion Variables -rl_check_signals2.5 Readline Signal Handling -rl_cleanup_after_signal2.5 Readline Signal Handling +rl_callback_handler_install2.4.12 Alternate Interface +rl_callback_handler_remove2.4.12 Alternate Interface +rl_callback_read_char2.4.12 Alternate Interface +rl_callback_sigcleanup2.4.12 Alternate Interface +rl_catch_signals2.5 Readline Signal Handling +rl_catch_sigwinch2.5 Readline Signal Handling +rl_change_environment2.5 Readline Signal Handling +rl_char_is_quoted_p2.6.3 Completion Variables +rl_check_signals2.5 Readline Signal Handling +rl_cleanup_after_signal2.5 Readline Signal Handling rl_clear_history2.4.11 Miscellaneous Functions rl_clear_message2.4.6 Redisplay rl_clear_pending_input2.4.8 Character Input -rl_clear_signals2.5 Readline Signal Handling +rl_clear_signals2.5 Readline Signal Handling rl_clear_visible_line2.4.6 Redisplay -rl_complete2.6.1 How Completing Works -rl_complete2.6.2 Completion Functions -rl_complete_internal2.6.2 Completion Functions -rl_completer_quote_characters2.6.3 Completion Variables -rl_completer_word_break_characters2.6.3 Completion Variables -rl_completion_append_character2.6.3 Completion Variables -rl_completion_display_matches_hook2.6.3 Completion Variables -rl_completion_entry_function2.6.1 How Completing Works -rl_completion_entry_function2.6.3 Completion Variables -rl_completion_found_quote2.6.3 Completion Variables -rl_completion_invoking_key2.6.3 Completion Variables -rl_completion_mark_symlink_dirs2.6.3 Completion Variables -rl_completion_matches2.6.2 Completion Functions -rl_completion_mode2.6.2 Completion Functions -rl_completion_query_items2.6.3 Completion Variables -rl_completion_quote_character2.6.3 Completion Variables -rl_completion_suppress_append2.6.3 Completion Variables -rl_completion_suppress_quote2.6.3 Completion Variables -rl_completion_type2.6.3 Completion Variables -rl_completion_word_break_hook2.6.3 Completion Variables +rl_complete2.6.1 How Completing Works +rl_complete2.6.2 Completion Functions +rl_complete_internal2.6.2 Completion Functions +rl_completer_quote_characters2.6.3 Completion Variables +rl_completer_word_break_characters2.6.3 Completion Variables +rl_completion_append_character2.6.3 Completion Variables +rl_completion_display_matches_hook2.6.3 Completion Variables +rl_completion_entry_function2.6.1 How Completing Works +rl_completion_entry_function2.6.3 Completion Variables +rl_completion_found_quote2.6.3 Completion Variables +rl_completion_invoking_key2.6.3 Completion Variables +rl_completion_mark_symlink_dirs2.6.3 Completion Variables +rl_completion_matches2.6.2 Completion Functions +rl_completion_mode2.6.2 Completion Functions +rl_completion_query_items2.6.3 Completion Variables +rl_completion_quote_character2.6.3 Completion Variables +rl_completion_suppress_append2.6.3 Completion Variables +rl_completion_suppress_quote2.6.3 Completion Variables +rl_completion_type2.6.3 Completion Variables +rl_completion_word_break_hook2.6.3 Completion Variables rl_copy_keymap2.4.2 Selecting a Keymap rl_copy_text2.4.7 Modifying Text rl_crlf2.4.6 Redisplay +rl_deactivate_mark2.4.11 Miscellaneous Functions rl_delete_text2.4.7 Modifying Text rl_deprep_term_function2.3 Readline Variables rl_deprep_terminal2.4.9 Terminal Management rl_ding2.4.10 Utility Functions -rl_directory_completion_hook2.6.3 Completion Variables -rl_directory_rewrite_hook;2.6.3 Completion Variables +rl_directory_completion_hook2.6.3 Completion Variables +rl_directory_rewrite_hook;2.6.3 Completion Variables rl_discard_keymap2.4.2 Selecting a Keymap rl_dispatching2.3 Readline Variables rl_display_match_list2.4.10 Utility Functions rl_display_prompt2.3 Readline Variables rl_do_undo2.4.5 Allowing Undoing rl_done2.3 Readline Variables -rl_echo_signal_char2.5 Readline Signal Handling +rl_echo_signal_char2.5 Readline Signal Handling rl_editing_mode2.3 Readline Variables rl_empty_keymap2.4.2 Selecting a Keymap rl_end2.3 Readline Variables @@ -7173,18 +7218,18 @@ to permit their use in free software. rl_expand_prompt2.4.6 Redisplay rl_explicit_arg2.3 Readline Variables rl_extend_line_buffer2.4.10 Utility Functions -rl_filename_completion_desired2.6.3 Completion Variables -rl_filename_completion_function2.6.2 Completion Functions -rl_filename_dequoting_function2.6.3 Completion Variables -rl_filename_quote_characters2.6.3 Completion Variables -rl_filename_quoting_desired2.6.3 Completion Variables -rl_filename_quoting_function2.6.3 Completion Variables -rl_filename_rewrite_hook2.6.3 Completion Variables -rl_filename_stat_hook2.6.3 Completion Variables +rl_filename_completion_desired2.6.3 Completion Variables +rl_filename_completion_function2.6.2 Completion Functions +rl_filename_dequoting_function2.6.3 Completion Variables +rl_filename_quote_characters2.6.3 Completion Variables +rl_filename_quoting_desired2.6.3 Completion Variables +rl_filename_quoting_function2.6.3 Completion Variables +rl_filename_rewrite_hook2.6.3 Completion Variables +rl_filename_stat_hook2.6.3 Completion Variables rl_forced_update_display2.4.6 Redisplay rl_free2.4.10 Utility Functions rl_free_keymap2.4.2 Selecting a Keymap -rl_free_line_state2.5 Readline Signal Handling +rl_free_line_state2.5 Readline Signal Handling rl_free_undo_list2.4.5 Allowing Undoing rl_function_dumper2.4.4 Associating Function Names and Bindings rl_function_of_keyseq2.4.4 Associating Function Names and Bindings @@ -7194,21 +7239,22 @@ to permit their use in free software. rl_get_keymap2.4.2 Selecting a Keymap rl_get_keymap_by_name2.4.2 Selecting a Keymap rl_get_keymap_name2.4.2 Selecting a Keymap -rl_get_screen_size2.5 Readline Signal Handling +rl_get_screen_size2.5 Readline Signal Handling rl_get_termcap2.4.11 Miscellaneous Functions rl_getc2.4.8 Character Input rl_getc_function2.3 Readline Variables rl_gnu_readline_p2.3 Readline Variables -rl_ignore_completion_duplicates2.6.3 Completion Variables -rl_ignore_some_completions_function2.6.3 Completion Variables -rl_inhibit_completion2.6.3 Completion Variables +rl_ignore_completion_duplicates2.6.3 Completion Variables +rl_ignore_some_completions_function2.6.3 Completion Variables +rl_inhibit_completion2.6.3 Completion Variables rl_initialize2.4.10 Utility Functions rl_input_available_hook2.3 Readline Variables -rl_insert_completions2.6.2 Completion Functions +rl_insert_completions2.6.2 Completion Functions rl_insert_text2.4.7 Modifying Text rl_instream2.3 Readline Variables rl_invoking_keyseqs2.4.4 Associating Function Names and Bindings rl_invoking_keyseqs_in_map2.4.4 Associating Function Names and Bindings +rl_keep_mark_active2.4.11 Miscellaneous Functions rl_key_sequence_length2.3 Readline Variables rl_kill_text2.4.7 Modifying Text rl_last_func2.3 Readline Variables @@ -7220,6 +7266,7 @@ to permit their use in free software. rl_make_bare_keymap2.4.2 Selecting a Keymap rl_make_keymap2.4.2 Selecting a Keymap rl_mark2.3 Readline Variables +rl_mark_active_p2.4.11 Miscellaneous Functions rl_message2.4.6 Redisplay rl_modifying2.4.5 Allowing Undoing rl_named_function2.4.4 Associating Function Names and Bindings @@ -7230,10 +7277,10 @@ to permit their use in free software. rl_outstream2.3 Readline Variables rl_parse_and_bind2.4.3 Binding Keys rl_pending_input2.3 Readline Variables -rl_pending_signal2.5 Readline Signal Handling -rl_persistent_signal_handlers2.5 Readline Signal Handling +rl_pending_signal2.5 Readline Signal Handling +rl_persistent_signal_handlers2.5 Readline Signal Handling rl_point2.3 Readline Variables -rl_possible_completions2.6.2 Completion Functions +rl_possible_completions2.6.2 Completion Functions rl_pre_input_hook2.3 Readline Variables rl_prefer_env_winsize2.3 Readline Variables rl_prep_term_function2.3 Readline Variables @@ -7248,11 +7295,11 @@ to permit their use in free software. rl_redisplay2.4.6 Redisplay rl_redisplay_function2.3 Readline Variables rl_replace_line2.4.10 Utility Functions -rl_reset_after_signal2.5 Readline Signal Handling +rl_reset_after_signal2.5 Readline Signal Handling rl_reset_line_state2.4.6 Redisplay -rl_reset_screen_size2.5 Readline Signal Handling +rl_reset_screen_size2.5 Readline Signal Handling rl_reset_terminal2.4.9 Terminal Management -rl_resize_terminal2.5 Readline Signal Handling +rl_resize_terminal2.5 Readline Signal Handling rl_restore_prompt2.4.6 Redisplay rl_restore_state2.4.10 Utility Functions rl_save_prompt2.4.6 Redisplay @@ -7263,12 +7310,12 @@ to permit their use in free software. rl_set_keymap_name2.4.2 Selecting a Keymap rl_set_paren_blink_timeout2.4.11 Miscellaneous Functions rl_set_prompt2.4.6 Redisplay -rl_set_screen_size2.5 Readline Signal Handling -rl_set_signals2.5 Readline Signal Handling +rl_set_screen_size2.5 Readline Signal Handling +rl_set_signals2.5 Readline Signal Handling rl_show_char2.4.6 Redisplay rl_signal_event_hook2.3 Readline Variables -rl_sort_completion_matches2.6.3 Completion Variables -rl_special_prefixes2.6.3 Completion Variables +rl_sort_completion_matches2.6.3 Completion Variables +rl_special_prefixes2.6.3 Completion Variables rl_startup_hook2.3 Readline Variables rl_stuff_char2.4.8 Character Input rl_terminal_name2.3 Readline Variables @@ -7279,7 +7326,7 @@ to permit their use in free software. rl_unbind_function_in_map2.4.3 Binding Keys rl_unbind_key2.4.3 Binding Keys rl_unbind_key_in_map2.4.3 Binding Keys -rl_username_completion_function2.6.2 Completion Functions +rl_username_completion_function2.6.2 Completion Functions rl_variable_bind2.4.11 Miscellaneous Functions rl_variable_dumper2.4.11 Miscellaneous Functions rl_variable_value2.4.11 Miscellaneous Functions @@ -7548,7 +7595,7 @@ to permit their use in free software. [ ? ]

About this document

-This document was generated by Chet Ramey on June, 10 2020 +This document was generated by Chet Ramey on July, 17 2020 using texi2html

@@ -7710,7 +7757,7 @@ the following structure:
This document was generated -by Chet Ramey on June, 10 2020 +by Chet Ramey on July, 17 2020 using texi2html diff --git a/doc/readline.info b/doc/readline.info index 5549f69..d69f717 100644 --- a/doc/readline.info +++ b/doc/readline.info @@ -1,6 +1,6 @@ This is readline.info, produced by makeinfo version 6.7 from rlman.texi. -This manual describes the GNU Readline Library (version 8.0, 4 May +This manual describes the GNU Readline Library (version 8.1, 17 July 2020), a library which aids in the consistency of user interface across discrete programs which provide a command line interface. @@ -427,11 +427,11 @@ Variable Settings The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. If the number of possible completions is greater - than this value, Readline will ask the user whether or not he - wishes to view them; otherwise, they are simply listed. This - variable must be set to an integer value greater than or equal - to 0. A negative value means Readline should never ask. The - default limit is '100'. + than or equal to this value, Readline will ask whether or not + the user wishes to view them; otherwise, they are simply + listed. This variable must be set to an integer value greater + than or equal to 0. A negative value means Readline should + never ask. The default limit is '100'. 'convert-meta' If set to 'on', Readline will convert characters with the @@ -954,8 +954,8 @@ variable assignment, and conditional syntax. # rather than as meta-prefixed characters set output-meta on - # if there are more than 150 possible completions for - # a word, ask the user if he wants to see all of them + # if there are 150 or more possible completions for a word, + # ask whether or not the user wants to see all of them set completion-query-items 150 # For FTP @@ -1072,10 +1072,14 @@ File: readline.info, Node: Commands For History, Next: Commands For Text, Pre 'reverse-search-history (C-r)' Search backward starting at the current line and moving 'up' through the history as necessary. This is an incremental search. + This command sets the region to the matched text and activates the + mark. 'forward-search-history (C-s)' Search forward starting at the current line and moving 'down' through the history as necessary. This is an incremental search. + This command sets the region to the matched text and activates the + mark. 'non-incremental-reverse-search-history (M-p)' Search backward starting at the current line and moving 'up' @@ -1186,6 +1190,11 @@ File: readline.info, Node: Commands For Text, Next: Commands For Killing, Pre was bound to 'self-insert' instead of executing any editing commands. + Bracketed paste sets the region (the characters between point and + the mark) to the inserted text. It uses the concept of an _active + mark_: when the mark is active, Readline redisplay uses the + terminal's standout mode to denote the region. + 'transpose-chars (C-t)' Drag the character before the cursor forward over the character at the cursor, moving the cursor forward as well. If the insertion @@ -2730,6 +2739,26 @@ File: readline.info, Node: Miscellaneous Functions, Next: Alternate Interface, differs from 'clear_history' because it frees private data Readline saves in the history list. + -- Function: void rl_activate_mark (void) + Enable an _active_ mark. When this is enabled, the text between + point and mark (the REGION) is displayed in the terminal's standout + mode (a FACE). This is called by various readline functions that + set the mark and insert text, and is available for applications to + call. + + -- Function: void rl_deactivate_mark (void) + Turn off the active mark. + + -- Function: void rl_keep_mark_active (void) + Indicate that the mark should remain active when the current + readline function completes and after redisplay occurs. In most + cases, the mark remains active for only the duration of a single + bindable readline function. + + -- Function: int rl_mark_active_p (void) + Return a non-zero value if the mark is currently active; zero + otherwise. +  File: readline.info, Node: Alternate Interface, Next: A Readline Example, Prev: Miscellaneous Functions, Up: Readline Convenience Functions @@ -4618,7 +4647,7 @@ Function and Variable Index (line 47) * bracketed-paste-begin (): Commands For Text. (line 36) * call-last-kbd-macro (C-x e): Keyboard Macros. (line 13) -* capitalize-word (M-c): Commands For Text. (line 64) +* capitalize-word (M-c): Commands For Text. (line 69) * character-search (C-]): Miscellaneous Commands. (line 42) * character-search-backward (M-C-]): Miscellaneous Commands. @@ -4661,7 +4690,7 @@ Function and Variable Index (line 113) * do-lowercase-version (M-A, M-B, M-X, ...): Miscellaneous Commands. (line 14) -* downcase-word (M-l): Commands For Text. (line 60) +* downcase-word (M-l): Commands For Text. (line 65) * dump-functions (): Miscellaneous Commands. (line 70) * dump-macros (): Miscellaneous Commands. @@ -4692,20 +4721,20 @@ Function and Variable Index * forward-backward-delete-char (): Commands For Text. (line 21) * forward-char (C-f): Commands For Moving. (line 12) * forward-search-history (C-s): Commands For History. - (line 30) + (line 32) * forward-word (M-f): Commands For Moving. (line 18) * history-preserve-point: Readline Init File Syntax. (line 162) * history-search-backward (): Commands For History. - (line 52) + (line 56) * history-search-forward (): Commands For History. - (line 46) + (line 50) * history-size: Readline Init File Syntax. (line 168) * history-substring-search-backward (): Commands For History. - (line 64) + (line 68) * history-substring-search-forward (): Commands For History. - (line 58) + (line 62) * horizontal-scroll-mode: Readline Init File Syntax. (line 177) * input-meta: Readline Init File Syntax. @@ -4744,14 +4773,14 @@ Function and Variable Index (line 16) * next-screen-line (): Commands For Moving. (line 33) * non-incremental-forward-search-history (M-n): Commands For History. - (line 40) + (line 44) * non-incremental-reverse-search-history (M-p): Commands For History. - (line 34) + (line 38) * operate-and-get-next (C-o): Commands For History. - (line 91) + (line 95) * output-meta: Readline Init File Syntax. (line 253) -* overwrite-mode (): Commands For Text. (line 68) +* overwrite-mode (): Commands For Text. (line 73) * page-completions: Readline Init File Syntax. (line 259) * possible-completions (M-?): Commands For Completion. @@ -4773,6 +4802,8 @@ Function and Variable Index (line 269) * revert-line (M-r): Miscellaneous Commands. (line 26) +* rl_activate_mark: Miscellaneous Functions. + (line 55) * rl_add_defun: Function Naming. (line 18) * rl_add_funmap_entry: Associating Function Names and Bindings. (line 54) @@ -4863,6 +4894,8 @@ Function and Variable Index * rl_copy_keymap: Keymaps. (line 16) * rl_copy_text: Modifying Text. (line 14) * rl_crlf: Redisplay. (line 33) +* rl_deactivate_mark: Miscellaneous Functions. + (line 62) * rl_delete_text: Modifying Text. (line 10) * rl_deprep_terminal: Terminal Management. (line 12) * rl_deprep_term_function: Readline Variables. (line 174) @@ -4950,6 +4983,8 @@ Function and Variable Index (line 29) * rl_invoking_keyseqs_in_map: Associating Function Names and Bindings. (line 33) +* rl_keep_mark_active: Miscellaneous Functions. + (line 65) * rl_key_sequence_length: Readline Variables. (line 199) * rl_kill_text: Modifying Text. (line 18) * rl_last_func: Readline Variables. (line 109) @@ -4964,6 +4999,8 @@ Function and Variable Index * rl_make_bare_keymap: Keymaps. (line 11) * rl_make_keymap: Keymaps. (line 19) * rl_mark: Readline Variables. (line 23) +* rl_mark_active_p: Miscellaneous Functions. + (line 71) * rl_message: Redisplay. (line 42) * rl_modifying: Allowing Undoing. (line 56) * rl_named_function: Associating Function Names and Bindings. @@ -5062,8 +5099,8 @@ Function and Variable Index * tab-insert (M-): Commands For Text. (line 30) * tilde-expand (M-~): Miscellaneous Commands. (line 30) -* transpose-chars (C-t): Commands For Text. (line 45) -* transpose-words (M-t): Commands For Text. (line 51) +* transpose-chars (C-t): Commands For Text. (line 50) +* transpose-words (M-t): Commands For Text. (line 56) * undo (C-_ or C-x C-u): Miscellaneous Commands. (line 23) * universal-argument (): Numeric Arguments. (line 10) @@ -5073,7 +5110,7 @@ Function and Variable Index (line 12) * unix-word-rubout (C-w): Commands For Killing. (line 35) -* upcase-word (M-u): Commands For Text. (line 56) +* upcase-word (M-u): Commands For Text. (line 61) * vi-cmd-mode-string: Readline Init File Syntax. (line 309) * vi-editing-mode (M-C-j): Miscellaneous Commands. @@ -5085,68 +5122,68 @@ Function and Variable Index * yank (C-y): Commands For Killing. (line 66) * yank-last-arg (M-. or M-_): Commands For History. - (line 79) + (line 83) * yank-nth-arg (M-C-y): Commands For History. - (line 70) + (line 74) * yank-pop (M-y): Commands For Killing. (line 69)  Tag Table: -Node: Top859 -Node: Command Line Editing1584 -Node: Introduction and Notation2236 -Node: Readline Interaction3860 -Node: Readline Bare Essentials5052 -Node: Readline Movement Commands6836 -Node: Readline Killing Commands7797 -Node: Readline Arguments9716 -Node: Searching10761 -Node: Readline Init File12914 -Node: Readline Init File Syntax14068 -Node: Conditional Init Constructs34318 -Node: Sample Init File38515 -Node: Bindable Readline Commands41633 -Node: Commands For Moving42688 -Node: Commands For History44447 -Node: Commands For Text49044 -Node: Commands For Killing52486 -Node: Numeric Arguments54982 -Node: Commands For Completion56122 -Node: Keyboard Macros58091 -Node: Miscellaneous Commands58779 -Node: Readline vi Mode62701 -Node: Programming with GNU Readline64518 -Node: Basic Behavior65504 -Node: Custom Functions69187 -Node: Readline Typedefs70670 -Node: Function Writing72304 -Node: Readline Variables73618 -Node: Readline Convenience Functions86290 -Node: Function Naming87362 -Node: Keymaps88624 -Node: Binding Keys91703 -Node: Associating Function Names and Bindings96251 -Node: Allowing Undoing99030 -Node: Redisplay101580 -Node: Modifying Text105604 -Node: Character Input106851 -Node: Terminal Management108749 -Node: Utility Functions110572 -Node: Miscellaneous Functions113900 -Node: Alternate Interface116489 -Node: A Readline Example119231 -Node: Alternate Interface Example121170 -Node: Readline Signal Handling124702 -Node: Custom Completers133961 -Node: How Completing Works134681 -Node: Completion Functions137988 -Node: Completion Variables141562 -Node: A Short Completion Example157355 -Node: GNU Free Documentation License170135 -Node: Concept Index195309 -Node: Function and Variable Index196830 +Node: Top861 +Node: Command Line Editing1586 +Node: Introduction and Notation2238 +Node: Readline Interaction3862 +Node: Readline Bare Essentials5054 +Node: Readline Movement Commands6838 +Node: Readline Killing Commands7799 +Node: Readline Arguments9718 +Node: Searching10763 +Node: Readline Init File12916 +Node: Readline Init File Syntax14070 +Node: Conditional Init Constructs34329 +Node: Sample Init File38526 +Node: Bindable Readline Commands41651 +Node: Commands For Moving42706 +Node: Commands For History44465 +Node: Commands For Text49228 +Node: Commands For Killing52931 +Node: Numeric Arguments55427 +Node: Commands For Completion56567 +Node: Keyboard Macros58536 +Node: Miscellaneous Commands59224 +Node: Readline vi Mode63146 +Node: Programming with GNU Readline64963 +Node: Basic Behavior65949 +Node: Custom Functions69632 +Node: Readline Typedefs71115 +Node: Function Writing72749 +Node: Readline Variables74063 +Node: Readline Convenience Functions86735 +Node: Function Naming87807 +Node: Keymaps89069 +Node: Binding Keys92148 +Node: Associating Function Names and Bindings96696 +Node: Allowing Undoing99475 +Node: Redisplay102025 +Node: Modifying Text106049 +Node: Character Input107296 +Node: Terminal Management109194 +Node: Utility Functions111017 +Node: Miscellaneous Functions114345 +Node: Alternate Interface117764 +Node: A Readline Example120506 +Node: Alternate Interface Example122445 +Node: Readline Signal Handling125977 +Node: Custom Completers135236 +Node: How Completing Works135956 +Node: Completion Functions139263 +Node: Completion Variables142837 +Node: A Short Completion Example158630 +Node: GNU Free Documentation License171410 +Node: Concept Index196584 +Node: Function and Variable Index198105  End Tag Table diff --git a/doc/readline.pdf b/doc/readline.pdf index ae9b84d..e49efda 100644 Binary files a/doc/readline.pdf and b/doc/readline.pdf differ diff --git a/doc/readline.ps b/doc/readline.ps index b35e489..55f0d2c 100644 --- a/doc/readline.ps +++ b/doc/readline.ps @@ -1,7 +1,7 @@ %!PS-Adobe-2.0 %%Creator: dvips(k) 5.999 Copyright 2019 Radical Eye Software %%Title: readline.dvi -%%CreationDate: Wed Jun 10 19:27:10 2020 +%%CreationDate: Fri Jul 17 19:13:14 2020 %%Pages: 82 %%PageOrder: Ascend %%BoundingBox: 0 0 612 792 @@ -12,7 +12,7 @@ %DVIPSWebPage: (www.radicaleye.com) %DVIPSCommandLine: dvips -D 600 -t letter -o readline.ps readline.dvi %DVIPSParameters: dpi=600 -%DVIPSSource: TeX output 2020.06.10:1527 +%DVIPSSource: TeX output 2020.07.17:1513 %%BeginProcSet: tex.pro 0 0 %! /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S @@ -5212,6 +5212,7 @@ dup 100 /d put dup 101 /e put dup 103 /g put dup 105 /i put +dup 107 /k put dup 108 /l put dup 109 /m put dup 110 /n put @@ -5447,120 +5448,129 @@ CEBF16946487E546C6E433A5C5B9FB7D5B97F2B4B202F892CF5121199EB48642 4448B45EDB617EDB931969D53B9C200E954B4A6DA6617E3A56D72EF332FB941F 4694BAF21CAF8473EE2767CB5434E955C5A08DB04F67508AA1F5CFAE25FBC9B3 9FA855CBF2DFBD04C656532230B8A2A0B33C7EC74BF3EB2877DA369035C976C2 -F3227355AE2E740152A344AC5E0CB3D04A1D4273A54A35BF8B1F24797246B5E1 -CFD5D260F4D5E5131120AEE3B3BF1308B9E55026C969C5451EDA76E0F06E75F2 -6DCC258952B63FE0B7B99B39D5563AB4F7CDE57AA7490C71E3CD9EB563E0A9C0 -8C54E64E3B537A901395E33847C6FF75C2B6FC3536E8F990C18A6623A00AB558 -272AE4D142503BF0B82A13EB6088D27E0D8B319D6BCF1E0E8EE94C9ADD6D4645 -A5B0FBD17AF7CB1E1ADDD2D822A76F6B9338B6B459D4A67631292AA028A8B976 -8F9771C890FFDF7751F3079E36D8F92AFB62BBB960A45891B5FABC8E5BDA1348 -5AC23D29879FA27A392E3DE732D78EFF7168F2FB7B0841C8B3729FFA2B515885 -C699663626473D04C1421BE24259C91B9FE8F63DC99929D9741F37E67CF70E38 -3C489E823CF0F62B020CF576753734C989AA1A360A21A137DFD644ED2197032C -3DEAB8E7A1306D8DF7E36DDD52A895488E63701D6A69E634EC862DFCDAC01BA2 -56DE73FC77027F65B89BF3188686026D0C2A2F22DA92B8DA0F6476F6252D8066 -D9F0AEAC5E6F09120646EF77CC81FEDB1BC8E3197E9CCA12C941152387E71286 -E00B8ED61DBA85D2EF5550663A1D2C7233D6FDEDBE947241585C4B9580E7A700 -5081C957D863FD2DBDBF56CE8DA67E3D6A8A47C3BF38478D3D4D72A803DEC0D5 -797CC1ED5B005CFE4A46CF549FEE756419351B89B8DDF13BC2EC18939901BA5D -37ED1DBCE8DA072938DFA9585444FA6F09CC32C7098E2ACCEEEDF7D117235385 -BD95CE9C7C997491613FA253743E7D0B03348072F516B7436A78435B19C828FB -1712254A679503CE81FF1761ACA3C3BEC0C1E2736A2908C7A8D6F30D86F7DD00 -1BA2200908FA4180273E50863CA552868F1EE5EC1D8D47AE159B4A42C65F3D7A -73332A618CEA966BFA32B9AEFCE9C7CD4678B2301FC1DB91964486B62E28DD60 -11D123711C6A2D190F6FB97ECE36679247507514606287D049455AB9CCF928CE -CB2C62D55BBC4DFB1F8A033B7D42D8D1119D71F616205A91B48C7C83CB2D0B39 -15824D6F324A9CB64E6C09D65C478F8753905E1A0B094D310123FBB7CBC4CF71 -08D6381228C2B6C393E8055AF7D226FFBD9CF19379B4E7F75938D5A39E3410D5 -4E2BB197AD202DB623844B156AD0FD80AE4CB0E8B7831CECF25E15753FE27E19 -A8CF57C78C6D1CD021C6FED91E81AE1F09F1F9CE7D8CB480EB559729BAFB507D -B99DE23E7D3A9FD04345DDC7E8E498F2229CC33A991418E69A9366ECB375C42E -69E1B73DC94401E5E7AD9CFE8086432F8026224CD42D9A1EFDB1B3B0D5BE74A9 -186F30C774BAF35F25D4B0B1C9C791CAA87015D3A7519184FCE9DB2439A98A49 -0DA01A0A9ED463382DAAA05555106902836A46E3651871D20B65879902C0D93E -C8C3358A8F64CD0CA264614EBE741ABEC13F29CAC4625A1A7301889D9A994416 -24BC8C7816579FB7D7AF946DBB3D911457CB2D0CE74BD645CE388BEDA28CA1F6 -EF4DD197628362D38ED6499657B1E45D1DDE460ABE0EC838DF3BBD2B90FD2245 -6DC211B771E1ECC3E294F1B767BA0F3D041BF4DB159EF01C3AC7C00281A675A7 -BECDF043A5EB64CB6D99FC8E7876EA1216F005A7A63EBA79549D5B6C33FA47BE -38466B6D62D3D00C52D9BB7AB23DD4A4C896D3A5890E8C57B7ED5A627CC7EA4C -0BE63CAA285E1A35808FEE0ADB1FF9EA3B18EC1040560B1FD950D7EF32F7F958 -5ECEFC1C01A98E4DCB69934F9314316D3CBC0AD4A1F68346CD40AE6E3A804EA5 -7286646FB2A7ABFE62B300F72A0484CC51D34D3FA2B292D308D605576D56EFAD -DB68453A08E5B45720C99964B02A5F517A7CA00F6976CF1F6CAEBCDC1772568D -14129CB82DDE0705F45EABE56EA4DC5AC1656105957F509F2E8AA72FE5C2F830 -38F2BB415C413D54F348903AA6B614A3AE99EC4B800D4AA2677BC588B5813A94 -F5C2FC3F8B09E58B00DA92C2946D5B9FD8DECF4E0B49BF16A81A6F19EA1FBA6A -41FA0D679E6CA980C541395DD15AA0C203335ADF3B0D48D519816D46681993D4 -A857426475A068E6C30E75E1201524D6B5EEA7BFCAA429AD5DA4504B245B23D1 -9E5E2498B1F63A7E2B7CC42C3E5B75F075006FC833724FC05AE4157F640E7D1F -48C35EC8DF3DDD461EA211E48B2B3E628BE4A523680BC78FAC41FA1FCBC6FE81 -17AC84A895CB2CC9CAE4D77FE1ADC8C8A4797A3F1D00E090282FE2116D5848BD -1E61B36613A89BECE27188CBE9E0C7ED75385BDC63BBC9C55E2191F1186917F8 -423A10D8326896DF44D7B2A5AC320B1818771EFCC9C20D7E5BD5291ABE762A50 -5148AE49289CF337FE6F2B6A369C557D6AA731ACF3BB97E38306F77A94C6EB2B -B7846ABC4F32E886B0C66A806C27B4EE3CE94297C19714C889943921426433BF -19002E5C083BA89BF31D8F5A2602BF058A8C5C78DA421DA74A4E2DCE034D6510 -C4720403654A84BD4000C074522F9D2D7ED733AC6B46232C69E21496575EFA86 -D24B2A8DC064071F35AA926565BF09130B4F96A8150A2E3EB36355535D866B67 -17B9F62C47A065E28261990D79E64DE2E4C5CA8E3B6D215925200D982510F150 -8B0562589AA66EC47508F0A5AC15B06078A83B911C15232963F6B59BEDF57A57 -1322DB18C44E6CA9154AF9084CC02095987FA65AFB0D896551415EC9D45BE803 -BD428A107A492BBA8AD075A89112B3FE451399E061AFB98FBDDDEC71DA7BCFB5 -2833E5299591FC86BF14F7B324F7F3EBAD36DDFB77313F1ACC40D0E4805D5B04 -FB965C08CEC682A07412118A17C4549C0A96F397C3FB466C6D888F5A407D43B7 -761962E8CBC5C7E27AD0A3605336CA17DB4CC1593C64E66285117EF7CCFE1A17 -203C9F1ED41FB4FADFF14DE66F78E87A9028C853A757204F81CC7F425FC7F8A2 -509611BDE84D0F549F5614C814C3E88851F9FE74506EB52C5BCEE4F21DB52BBF -31940BC2156EF38908869732038D1EA6E39B5417E547DC412CDB0B1F1DA09E65 -07B13C1C9C962D1A9F7A0EE6187B92874964B3C5E20AFAE716E33C3E999A4FC9 -462899118EA9CC961A7D704FE46A872BCF77491F70DEE94E1335196FD787579E -30A01C29CBCA08F301889C27910B03E20B4DA1363F6F5896007F71CA90E1DC57 -9C6BE8898B3E2AC201895AB1223CEC56C003299D9C0947320DA9D9DA474D59F8 -1EF5F4720AE0FCA1A8E55A2B9CD79801FECDABE6E5FDDDA140226714304D6EC0 -AE2BDDDD1A02E3C01D6A46682D801A7BD61C1737358EDAD7D993D9006B56BC43 -2467A2A0B58C33FE4BCFD8DAE939184D45DFC23F5B597D788F14319EB52B1FCE -DF8C405005CEFF39D4167B66082A38209A7A8E1D5E73D87CE049BDA2FFDD49C6 -3DA02E5D6405E2F54C921F6E2CF9F1E18268DCE0D0C960D477C8525CE5FEE998 -82ACB08902CF6FF1E437468C519FDD447A2661C381A999E8724AACE9F461E629 -998539472CC9355A9E55989EB7CE1FEC9D313A160294AA55910F4F8E55BFB917 -BC77A51055CCC1772D0021AFBC1E79B289B539ADC3E99D9632919F8BD17A1B91 -BA25661178C5EE19D4CEC42744B52F04FFC27A2E3C044BAEDCBFE020A896BA3E -79A6451ADECB932F183CD599F694DC8393E1F878737113E3DCBA11F22D46F028 -6FA7CF148F2CFEB03F61D40D6A0D30451723E7C91D4BE58E6976FBDB89D50F4B -6EE65D2DB6465545038E094E333A015E79737CEDA211F913D831E78032B2626B -0FB1E7E20CAD4E01BF398E9C4965BF91136D4AE83029E5F3A6339CE3C8FB64DF -E5925D739FD720AE38EFBA0E32E74317DD35363F19EEC4806EA840F2A77AAE2C -8752B4B786378B134F5A376A1F0BDF8FE6F0B247D4A28248D0693988D696E7B3 -4B937A41277C56A182BC2BE08D57939398C3CC125A74905ABE953028EB2A8A0B -9BEB795D484BC979809506C8FA55AD6135FA66A0FAEC7EF53F5F91B37D8515DB -C93CD4EF0A12CF0F9C3CD06C57FC9646A15810910EACA53BCBAEFF4AC568CD8D -13DE144FF06FB3F1A6CE76ACC351297DE4D7E755561C1EEBBD39F1351D1731C2 -16AAFFB586C680F588B62AEC37650017928769C53E032EEADAE9E5361F28F78E -1841C1419290D1A453C63EBEFD3C99B5F8A72548393E2C6B1C95A43CB19EC099 -4DA22BC088E6E95FC177B3D00DB7B3652D8C5DF1682DE9C3D22796AF78149E7E -A951D0A46EB6EFDA46594BF4D608E3C4BF9406EC7A09D3A8D6623D79FB609222 -C8B1257CAB63C810A5C6983BD16FE6322E5CACDF56B91FDD46AA8B292210D3D4 -B59BE801C1B5A425CF5F5774968D510C017C3EA4D7B86C8555A96D4F0163DD8D -F1FD9DA5D9D15999E626DB68763C5CD22EF18C747BCA003DA4354FD484A56552 -D0A96B7FF1958035AE04025DF7F67EB52B468D63D735CC8EA34484B7E18136F9 -9D4C0966C79990ED629A87C033A52F4C96295E3D3CCD4B476188101B94E214B0 -7B4C4463CEB3C81E8838D0FFC9BA36CB0A39173105C90BF8A6FE12A0B3749045 -7CA9DB29EE500088F3FFD13BAC41782854B25955B23118FF880BF20D66E30C4F -164FD408E5E5636976D9D2686192BE5AE7B2C96A911C290B749344C0B630DF9F -B3FD98F2E62707541A128058A5F22E05922103A39A95C1B7F6F807A5F3A21A25 -50EBF0F5950A45C9B864D2785C24F30108BB15A3E5468902D83B5F3CFBE1E359 -BD129E494D769A371B26967AC8D715BB742EA20B414D5ACBB4B25A5770A80E7F -B315EC73D3AD78C7BEC227661C2EFDCED86C4240D38267BF1EE26C506CF00382 -8E7F86509AFABDA5ABA519C6CDA52703B40DB3502D72E8308725E660F107F4A9 -026DFE14CF4BCFD2F4832F6AD1550CDBDB5644CA52899F4641C5897D4F907931 -185D13C33184D78EAE54BCC164076DB74D99F52C064216C7FAAC977CFB69B150 -A78A2052E4EE7090A7465324648976E1C3F19F146328BA460DADED492AA74BFD -04AE08FD24AC871D21CF7CC808495ECA5E73B26D97EAE5F9BC435D53BF2C1BD9 -0A9004BFC44EBBF6683D52781943814C3C942BDD9BF95F1661761119B49AED7B -D9376B6124A4DC87B9D7DDB2386974A6E02B29AC5A994617F3F988B692EDC47E -6C948C5071CFE0D680E018950F545831B5EBE3C19BF384A51DF56F3CC7757B8D -037FDB95F4D1878C407B8C1DF1CA9E9236C468E9B8 +F3227355AE2E740152A344AC5E0CB3D04A1D4273A54A35BF8B1F247973158C4E +2ADCC0E93E456A8F099F28C99EE6497EDBAD4A0E7937FAD55FF114586FF56F02 +D7DE3994628E4816B2D15C8370B95E334D9D374A9C1B6C7A10E83874B380B6F2 +A527D6AE149DA8AEC229DF8964FD62D697D99C3CA805CDD28742348F462C2FA5 +6E83657F5587E0E9FBBD2540F4E14876CF5BE9A38270E56C85C0732DC781344A +A480D0BAD09DE7839C3CFF2BD09C9A9A80F985DB188B8C1689CC8A4AD620196D +06D17C44063A9CB2F30EDAE6DAE4FC7751BC8CB7D2B54CC5FED51A14354725A5 +5D3568B56A54EEFB5C20E38A336DD50BAFCB061B051A0AADB33DE07516535472 +379855FDFF2C07BC75FCE7E930062C334CE95B6B538CBC41B0322812E1E51679 +1716297E204395DA31ECBF6177CE515E88B4F4D61348CE6AAE02FD0F1D286114 +3BCA0B5199B0505D786AB3ED0CED56A180DA736C3EEEE8825A3BAADCE6A49117 +B0B754B2B53ACE67F02AEBC31A4665FF2B023F5ADFE660CC2E34967D5208BC6D +2F686AB71E897B3DFF0BEAB60E661F651F6BC46DC1FAB62EE9BD004B03358262 +32EFB3F4E4F7C13275442F3404888CF7FA12872A463CBBC52B993DFCC8CA0981 +991AE2D8738573A60531C13C0FC33A9309D9C99F3A68B7BB3EEB118E0943DE7B +5CFDCA5615AFA20AFB7467D2541ABE54E4DE0226A49A72C2DF120A6A1E9CD16B +143E9D3CEC3D6EACB409AAED738C066C9F8714E1D062AC775BD346019D2B86EB +21007D2847DC4F694FD547A5C1C3C8089E9F6DBE130C6EF07766D89A5BD25778 +27056E32DBF97F975EA2495B466D643625BDE7F55B35FA5FD47F2707F76A3D25 +9117398C915A3BB4B461972B136CE89DEA6304D5D99C043F3CBFAB9E1B68AB10 +D416CB8A4F7760D76F3750D41AB01151F36EC6E47ED148FC15FE7DB2C0AE91E4 +40222918FACD5EFE0F8A2093D487E9C7E840C25BFD2E49617FFED0B13490E86C +89A9DD5544A0CE6B49162B950CAA484227A5BA5C6AD796D57A7F8DF7DDBC1FEB +9CE33165B20539DE7DB2F0B4FAB376000013828B458F938375769B75DF7541E6 +21937987B397872B880D350D359A9183D1F9B530C3FDCE648262E1E10B8BA95A +D23B1EB3C38FC30A6A70A541A31E626427790AF8ED201B2F813DDD1AB47EA8C8 +370E1591073B6E128BA9B02116F28A929A0F34E1C12C091E4820C12FE47E31A8 +B56EC3E47D203D61DFFEF269A4EB9B7BEADE78B9506CEF4F200BE114A7669473 +4D16CCFDBBC2B8DF7AF87F60EEAF24BB9137E58CEF2F83F0E9116E9ADD2067DC +DB5C9E05440EA0DCE72F3C98B3E97D907B63DE8F2AB4F06A572EFA28A395B653 +DEF02B8BC01E79FDAC8528DCF05A1BC986C9133FE81B274ED656E8F54087F85E +9AE42FB250690B927A0378FAE0FC32602718E29AB9595A48B51E0914D9A5F6B0 +45CBD36D854AB5717CF8E645D7DDCE370D8B555B2DF0EB9E3CFEF436F4306065 +A8EDD52C19D9330F2518B1637D69A72DE1903D5C7D246A5DBB7D33AFBEEF9217 +1F8DFE2E5B3CF13AF8F74B728479B7E7D227FCF6BB618140E795916010E7A814 +F7CC8B76EA35BEF33551819D6EC75245FB5324775E1CAC860543BB7931404BE9 +D535D9DC60A9C43428E03CAAB2C5530DB97491A498BBC8A03361C0DD06828CFB +AC3E51B672D460BBE1FA0FADFFBD7B6528D96E0496A8F62C8E3D4AF463CE4D4C +3DEC985D05FF44FC710605EC1C7F2C77469E7C4DFB13DBD74DE4AB848D81DEA0 +B974766E14A6F2FAEC6BB1C0185D6079BFCA713481EF5872D53EBE1630DA0FCC +977B484D15B1B9BCE324E375FCA501D3C2EAAB0A366AF151DADB9A45EE0B7D07 +3F6F6D7B104411688787A811D525AE0273989C7EC61F4211B6E982C9A957617E +96933996835140D7F944DE6AEC922CC203C63798F0D617C1946047303B163B10 +2E9EC86E4AE909B7D5926F97BD05F6D4B81A5AB5F2CC682B02857AB89C9058D3 +4AB595E9EC0BD0AA10F4C35E33B6179A0EE971DC7739BFF1235C7669D098C848 +A8ACC9785237D6249D4DB97E3EFE29B4C2471A9475E1A9B1B238FBC5C11E6E67 +D3FFCE034BDAC6D8A9C679E06FC504375FE7C5C2CD713FA67A8A3CF2912A2A4E +AC61EF89F0D4BCCF3638857C2525E9666109A1D529DDB3A570ACC33718E43EF0 +62BCDD2A6259292D5581F0076287E1A676D1B971959A143CA314D558DA5337D7 +2241B07CA926C8FC0771D56585CE189318BADE9B63A4246A01DAF7B8A58899D6 +5D5E95F4E0E9D0DE0E7DC14675DE607204E0FFC429DAACFA6BC3732B0A3AAF09 +14D5B15F9972A0D4E5483CD19DDB3D4142994B6687D1096FE57725EE8342A3FD +62997C2DD51B51F4872C985D8C25827B40ECBA559450C7B275F6592704CA842A +B24F2F28E0A4D1B2BED9905C9D7D527B4A09C3E1F56C0B954F6B80308BDE6E2F +2CCA155B1E504D0CE5B00203A3DC21E281FB218340699D3D7246E16696EFBFF1 +C0D29066F8496F6E83FCC932AC2B66A12C91D27E7E7305C4B12B6F595F77664F +763EDF055907BFA90503B5C92F8B3B1D9F234BCE872AEACA16AA1FE701A4795D +93ABF4030B0169EF2084D46D96F011158139337D51822A3269827770ECC3B6C5 +A302C2884AFA7129DED8420B9E134EA54FAF797A324EC2310D777432FB630605 +AD3A28F2363D7B2FEA9528AB95C7B9B2DCEBDFA94D9391CC8893C9BC0B68D2D2 +7793B9F2DA30F6FA0045826999B0B8F8B103AC9F35A3174DCD3658A4C924377E +655B9A37532B3BE2109EBA9AF8CCD5105905934C28D9F8B82D413F1F8D844D1F +5F36F7540A97445D45D01C92CCB1C3DD1F11E3148E9FB14BB414CF383504298E +43F21314C75676E8B8F0DE47FE006DFDB857C015EEFBEB3795B27730693EC62D +B25EEAEF20F83E1B43C0E860024CBA717101F51049094FBAB4D0F991312106D0 +CF1C70EDBC10CAD125F46418D620849DDA9868A20DBA44126AAE63FB50CA16CC +6F8BBEAE9F660F9141F14162C2CB22AA9F0ACA1D977733E250C492CB0F281D0D +4104E440A2B60511BB701B6FD9B894909DE4D6399663896527DC894C0C99CD5F +0164897CD14A4E73C9B32EA4931A0D1B629C5F78DFC0EF737DB040458982F808 +56A5E2136FF134199B00782AA6B90D303CF3BD557A5127595F54155F0394B7EF +7B1320A078EBF18A81CF8B258345ABBC744858039176956A6A9FE480DE0197D6 +AEA79AD19158C9099DDB125F05A2D6591B9262788D04FC6C62AD3E1F15030EA4 +1B1EE0EC169C3B33FD21C55F75873D0CC4441A9ABFC267EE406E8F674636A1DC +1926B470845050D61E3B368731C0826CBD0C9D9652D87A166C3B72750F629ECE +42CE84FC05BED43AADEC7B2790E23983FFA6FE909AA195441DF31DE62A694AC5 +601ACB4E3FB6DF0D0672CEEBC1651885E7344B873A1CF9EF7E3712EEFAA5E329 +3FF7A2CC06427BBCFE91750070B65471F7F97AC3831F0234CB49C6E15C59C9BE +F528991410DDBEDE9AAFAD2DCE9060C3ED864CB1AFD6A46ED385A33918D90EDD +18476E09EA8BD621C5CEE1A171DF48BDC0E012A2038552DDE53D553DFE6B03B8 +1579FF629DA867302F75DDBB32899A26BE11B8F8575DC18D67922DEB40A3DDB4 +596879E4B817F39FCF678FCEB94B19C5AAF076D4440807A320AE1D2CAED5790E +3B2405A0C99736B7E56CAA78CDC63A3A62C462C9BE9FBEA067AEFB9F7045B6DE +DA819A42D2D28D9635B83F59DADB671D33A5AA6022FF8C406907A174EE9868E8 +302EE498ECF450911F8B4A06EC07B81468029A7E3CE34EF1AF35DBFD66B2E804 +26FAF5A3D3E0E41205F3584C5FEC21904297196C53A467EA1FE56E65B9D87A98 +2B8884E1105C47F9BFAA57AFDE233E09BAAF9C5A7DD05C45674A951CE1B2CDA0 +A176D473F1949221DEF2AA6E35FE72627DCD1B920B5B8CCC4E5BAAF3F97D8FFE +F15FC0B0D07E01B3A7DAC22DA34CED526708B049889CB600E61029D9C7D7AB85 +05E5C0D1D14CEB1248D8B889892B2A5B2F7C10AF3395A0EC02F9A3765FFDF0AC +17BF4202576D48FC88280A85495719114C0DA6D1B040C832D25C97B7C5A31D96 +E03F0E502FD0115D971936DB5A8808B9977D7107696041B997CF1C3CF3D2558B +05AEA679512B9CE6518DD10C408B83DC1EDACA0D0EA6434119AC08611CE1E2D8 +39A7354A2A24B2317A8C1C17E8E314BB6E0DFEC26AD1A43076625C96DBAF488B +4C76B2BA32DCDA9161B850B428D8EEA0C034E8C9FEC8BEDA74C552D78ABC253A +86AC5C8CCBE7658AE83374D417F1FCB5836AC25507A5B2B9FCF680880F72CCFC +43CC23A3019BBFB7E9FC6BBD00166F577BB3F1EB97BEE6368007D9A3671432F8 +F7754423350A5FCB3979D629AB52136FA3CF750E9A96A52F3E74D0DAF9249613 +21A2BF4FC21C9A8EF53AD911AFAA853340CE0E95D8096CDAFA28A1544233539B +4D1C0AF2B635BD2FDA2AE06485A42B94EC24CD6D08AD5FE186A4B330B7A7E2CF +7CAF7C929B2EC0AC0CF066F642B1FD77A6299F6FD50315A27A9E7F416D0A59DA +C5740A6AA35FB37ED7E2631784AB9427C71CACFD7F1BB8A08D466E40C5FEFE67 +4E81C0B6597B886B4E81BEFEE7501BD140C5F34653AB6443210E94B52B092D65 +0C86122ECF14BE14F3D21104698412DBA2B9186BE1F3EC2CC5721DCD12057E25 +1A95D75E1D173C301566B9CF19A092DB1F90793FCB1F0F6671C871E5EDDBB6D5 +2D054B41B59D69CB2C205F7E86C30778B4C254F6606F2BA759D08E4DBD800776 +69F14DAAB8A3BEF3A808EBD917970D254E6BCCDC98FC42C8ECAE8311822A18BD +765CF8F136485692B2B069359F11851F2AA9F9A14DB1EFBC34FCB46C0251458D +8C9FEFEA2723AD67668854A5A85E9E1831143D60194DDB8E8059344485F3B65D +FA047A29CC91CC45A3FDCA6677F836ABEC1C7A9029A0C7461DA9856C1D37908A +9992810D459F0598CC390135A481DD241E59B85938545ED728D332675BDB5857 +00DC0CED734A5D295D69C3657F8F32130CC0447B8D609D0AD9E97AF80FCFD766 +9018C9D1FC42DACFE999198F9D47A870CE7B48BCF539138B398662537EDA1E9D +2B7C7F9F75663CEA2960AB88B126A98CA16E3E8AC4F13706443D4F469F9D44F0 +002716FD449285518CD845A2E8BB824F2E03C5393E803A967955B7069AA8EF3A +2C49A16D753E5A34D7DB3688E5B5C116208AE555A23A13A91331E79541C56F74 +9A09E3A0123A38517511B9D4CD18F5230891AF7052C29E6B9E0AB664331CFEA3 +AC7A1BDDC53E9FE118307D548CBF22DC10017A3A3B606B9760CC286B6D05887F +357C778050E31D29D5ADACB352B2257234057B7ECC7384A0CE2097ACDB1981D2 +C9C4798FEA02362D04DBE745631DBF9DDBDD479603592BD898712A64FCB981F5 +B18423AC72E311461084CA85AF30F274D84468B319E675C8EE651A28F89D4DB9 +266E4513AE286EC25A6C5CEB8354C896C79EAE31B3D3E0D3ECB47526AFF2507F +0AD61CFD7C07B0D2513C2DB1EED8781C233EB06E4AE484D44A04E3B3AE2BF44B +40A6777DDB 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 0000000000000000000000000000000000000000000000000000000000000000 @@ -6629,10 +6639,10 @@ rf /Ff 133[44 53 53 72 53 55 39 39 39 53 55 50 55 83 48 51 45 51 76 25 48 1[25 51 45 28 40 51 40 51 45 9[93 1[68 66 51 67 1[62 71 68 83 57 71 1[33 68 1[59 62 69 66 64 68 15[45 45 2[30 31[51 51 53 11[{}50 90.9091 /CMSL10 -rf /Fk 134[44 1[60 42 49 30 37 38 1[46 46 51 74 23 2[28 -1[42 1[42 46 42 1[46 84[51 12[{}19 90.9091 /CMTI10 rf -/Fl 134[48 48 48 48 48 48 48 48 48 48 48 48 48 48 48 -48 48 1[48 48 48 48 48 48 48 1[48 2[48 14[48 48 1[48 +rf /Fk 134[44 1[60 42 49 30 37 38 1[46 46 51 74 23 42 +1[28 1[42 1[42 46 42 1[46 84[51 12[{}20 90.9091 /CMTI10 +rf /Fl 134[48 48 48 48 48 48 48 48 48 48 48 48 48 48 +48 48 48 1[48 48 48 48 48 48 48 1[48 2[48 14[48 48 1[48 1[48 2[48 48 48 17[48 48 2[48 5[48 39[{}37 90.9091 /CMSLTT10 rf /Fm 135[56 2[56 1[42 2[51 58 56 4[27 1[58 49 51 1[54 1[56 97[{}12 90.9091 /CMCSC10 rf /Fn 197[25 58[{}1 90.9091 @@ -6673,29 +6683,29 @@ ifelse %%EndSetup %%Page: 1 1 TeXDict begin 1 0 bop 150 1318 a Fu(GNU)65 b(Readline)g(Library)p -150 1418 3600 34 v 1873 1515 a Ft(Edition)30 b(8.0,)i(for)e -Fs(Readline)e(Library)h Ft(V)-8 b(ersion)31 b(8.0.)3364 -1623 y(Ma)m(y)g(2020)150 4927 y Fr(Chet)45 b(Ramey)-11 +150 1418 3600 34 v 1873 1515 a Ft(Edition)30 b(8.1,)i(for)e +Fs(Readline)e(Library)h Ft(V)-8 b(ersion)31 b(8.1.)3367 +1623 y(July)f(2020)150 4927 y Fr(Chet)45 b(Ramey)-11 b(,)46 b(Case)g(W)-11 b(estern)46 b(Reserv)l(e)g(Univ)l(ersit)l(y)150 5068 y(Brian)f(F)-11 b(o)l(x,)45 b(F)-11 b(ree)45 b(Soft)l(w)l(are)h(F) -11 b(oundation)p 150 5141 3600 17 v eop end %%Page: 2 2 -TeXDict begin 2 1 bop 150 4413 a Ft(This)23 b(man)m(ual)i(describ)s(es) -e(the)i(GNU)g(Readline)g(Library)e(\(v)m(ersion)i(8.0,)i(4)e(Ma)m(y)g -(2020\),)j(a)c(library)g(whic)m(h)150 4523 y(aids)j(in)g(the)h -(consistency)g(of)g(user)e(in)m(terface)j(across)f(discrete)g(programs) -f(whic)m(h)g(pro)m(vide)g(a)h(command)150 4633 y(line)j(in)m(terface.) -150 4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577 4767 y Fq(\015)f -Ft(1988{2020)35 b(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F)-8 -b(oundation,)31 b(Inc.)390 4902 y(P)m(ermission)21 b(is)f(gran)m(ted)h -(to)g(cop)m(y)-8 b(,)24 b(distribute)c(and/or)h(mo)s(dify)e(this)i(do)s -(cumen)m(t)f(under)f(the)390 5011 y(terms)25 b(of)h(the)f(GNU)h(F)-8 -b(ree)27 b(Do)s(cumen)m(tation)g(License,)g(V)-8 b(ersion)26 -b(1.3)g(or)f(an)m(y)h(later)g(v)m(ersion)390 5121 y(published)43 -b(b)m(y)h(the)h(F)-8 b(ree)46 b(Soft)m(w)m(are)g(F)-8 -b(oundation;)53 b(with)44 b(no)g(In)m(v)-5 b(arian)m(t)46 -b(Sections,)j(no)390 5230 y(F)-8 b(ron)m(t-Co)m(v)m(er)31 -b(T)-8 b(exts,)30 b(and)f(no)f(Bac)m(k-Co)m(v)m(er)k(T)-8 +TeXDict begin 2 1 bop 150 4413 a Ft(This)40 b(man)m(ual)g(describ)s(es) +g(the)g(GNU)h(Readline)g(Library)f(\(v)m(ersion)h(8.1,)j(17)e(July)d +(2020\),)46 b(a)40 b(library)150 4523 y(whic)m(h)f(aids)g(in)g(the)g +(consistency)h(of)g(user)e(in)m(terface)j(across)f(discrete)g(programs) +e(whic)m(h)h(pro)m(vide)h(a)150 4633 y(command)30 b(line)h(in)m +(terface.)150 4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577 +4767 y Fq(\015)f Ft(1988{2020)35 b(F)-8 b(ree)31 b(Soft)m(w)m(are)h(F) +-8 b(oundation,)31 b(Inc.)390 4902 y(P)m(ermission)21 +b(is)f(gran)m(ted)h(to)g(cop)m(y)-8 b(,)24 b(distribute)c(and/or)h(mo)s +(dify)e(this)i(do)s(cumen)m(t)f(under)f(the)390 5011 +y(terms)25 b(of)h(the)f(GNU)h(F)-8 b(ree)27 b(Do)s(cumen)m(tation)g +(License,)g(V)-8 b(ersion)26 b(1.3)g(or)f(an)m(y)h(later)g(v)m(ersion) +390 5121 y(published)43 b(b)m(y)h(the)h(F)-8 b(ree)46 +b(Soft)m(w)m(are)g(F)-8 b(oundation;)53 b(with)44 b(no)g(In)m(v)-5 +b(arian)m(t)46 b(Sections,)j(no)390 5230 y(F)-8 b(ron)m(t-Co)m(v)m(er) +31 b(T)-8 b(exts,)30 b(and)f(no)f(Bac)m(k-Co)m(v)m(er)k(T)-8 b(exts.)41 b(A)29 b(cop)m(y)h(of)f(the)g(license)h(is)f(included)390 5340 y(in)h(the)h(section)g(en)m(titled)h(\\GNU)f(F)-8 b(ree)32 b(Do)s(cumen)m(tation)g(License".)p eop end @@ -6840,7 +6850,7 @@ g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)38 b Ft(44)399 5338 y(2.4.13)93 b(A)31 b(Readline)g(Example)12 b Fn(:)j(:)h(:)f(:)g(:)h(:)f (:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:) g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)h(:)f(:)g(:)h(:)f(:)25 -b Ft(44)p eop end +b Ft(45)p eop end %%Page: -2 4 TeXDict begin -2 3 bop 3699 -116 a Ft(ii)399 83 y(2.4.14)93 b(Alternate)32 b(In)m(terface)g(Example)18 b Fn(:)e(:)f(:)h(:)f(:)g(:)h @@ -7265,27 +7275,28 @@ b(alue)26 b(greater)h(than)e(zero,)j(common)e(pre\014xes)e(longer)j (ellipsis)h(when)e(displa)m(ying)i(p)s(ossible)f(completions.)630 565 y Fs(completion-query-items)1110 675 y Ft(The)c(n)m(um)m(b)s(er)f (of)h(p)s(ossible)g(completions)h(that)g(determines)f(when)f(the)i -(user)1110 784 y(is)i(ask)m(ed)h(whether)f(the)h(list)g(of)f(p)s -(ossibilities)h(should)e(b)s(e)h(displa)m(y)m(ed.)41 -b(If)29 b(the)1110 894 y(n)m(um)m(b)s(er)d(of)h(p)s(ossible)f -(completions)i(is)f(greater)h(than)e(this)h(v)-5 b(alue,)28 -b(Readline)1110 1003 y(will)f(ask)g(the)f(user)g(whether)g(or)g(not)h -(he)f(wishes)g(to)i(view)e(them;)i(otherwise,)1110 1113 -y(they)d(are)f(simply)g(listed.)40 b(This)23 b(v)-5 b(ariable)25 -b(m)m(ust)g(b)s(e)e(set)i(to)g(an)g(in)m(teger)g(v)-5 -b(alue)1110 1223 y(greater)26 b(than)f(or)f(equal)i(to)f(0.)40 -b(A)24 b(negativ)m(e)j(v)-5 b(alue)26 b(means)e(Readline)i(should)1110 -1332 y(nev)m(er)31 b(ask.)41 b(The)29 b(default)i(limit)g(is)g -Fs(100)p Ft(.)630 1489 y Fs(convert-meta)1110 1598 y -Ft(If)22 b(set)g(to)h(`)p Fs(on)p Ft(',)h(Readline)f(will)f(con)m(v)m -(ert)i(c)m(haracters)f(with)f(the)g(eigh)m(th)h(bit)f(set)1110 -1708 y(to)33 b(an)e Fm(asci)r(i)h Ft(k)m(ey)h(sequence)f(b)m(y)g -(stripping)f(the)h(eigh)m(th)h(bit)f(and)f(pre\014xing)1110 -1817 y(an)24 b Fs(ESC)g Ft(c)m(haracter,)j(con)m(v)m(erting)f(them)f -(to)g(a)g(meta-pre\014xed)f(k)m(ey)h(sequence.)1110 1927 -y(The)i(default)h(v)-5 b(alue)28 b(is)f(`)p Fs(on)p Ft(',)i(but)d(will) -i(b)s(e)f(set)h(to)g(`)p Fs(off)p Ft(')g(if)f(the)h(lo)s(cale)h(is)f -(one)1110 2037 y(that)j(con)m(tains)h(eigh)m(t-bit)g(c)m(haracters.)630 +(user)1110 784 y(is)43 b(ask)m(ed)g(whether)f(the)g(list)h(of)g(p)s +(ossibilities)g(should)f(b)s(e)g(displa)m(y)m(ed.)77 +b(If)1110 894 y(the)29 b(n)m(um)m(b)s(er)f(of)h(p)s(ossible)g +(completions)h(is)f(greater)h(than)f(or)g(equal)g(to)h(this)1110 +1003 y(v)-5 b(alue,)45 b(Readline)e(will)f(ask)g(whether)f(or)h(not)g +(the)g(user)f(wishes)g(to)i(view)1110 1113 y(them;)33 +b(otherwise,)f(they)g(are)g(simply)g(listed.)45 b(This)31 +b(v)-5 b(ariable)33 b(m)m(ust)e(b)s(e)g(set)1110 1223 +y(to)39 b(an)f(in)m(teger)i(v)-5 b(alue)39 b(greater)g(than)f(or)h +(equal)g(to)g(0.)65 b(A)38 b(negativ)m(e)i(v)-5 b(alue)1110 +1332 y(means)30 b(Readline)h(should)f(nev)m(er)g(ask.)41 +b(The)30 b(default)h(limit)g(is)f Fs(100)p Ft(.)630 1489 +y Fs(convert-meta)1110 1598 y Ft(If)22 b(set)g(to)h(`)p +Fs(on)p Ft(',)h(Readline)f(will)f(con)m(v)m(ert)i(c)m(haracters)f(with) +f(the)g(eigh)m(th)h(bit)f(set)1110 1708 y(to)33 b(an)e +Fm(asci)r(i)h Ft(k)m(ey)h(sequence)f(b)m(y)g(stripping)f(the)h(eigh)m +(th)h(bit)f(and)f(pre\014xing)1110 1817 y(an)24 b Fs(ESC)g +Ft(c)m(haracter,)j(con)m(v)m(erting)f(them)f(to)g(a)g(meta-pre\014xed)f +(k)m(ey)h(sequence.)1110 1927 y(The)i(default)h(v)-5 +b(alue)28 b(is)f(`)p Fs(on)p Ft(',)i(but)d(will)i(b)s(e)f(set)h(to)g(`) +p Fs(off)p Ft(')g(if)f(the)h(lo)s(cale)h(is)f(one)1110 +2037 y(that)j(con)m(tains)h(eigh)m(t-bit)g(c)m(haracters.)630 2193 y Fs(disable-completion)1110 2303 y Ft(If)k(set)h(to)h(`)p Fs(On)p Ft(',)g(Readline)f(will)g(inhibit)f(w)m(ord)h(completion.)60 b(Completion)1110 2412 y(c)m(haracters)28 b(will)e(b)s(e)f(inserted)h @@ -7847,9 +7858,9 @@ y($endif)390 3477 y(#)i(use)g(a)h(visible)e(bell)g(if)h(one)g(is)h (convert-meta)d(off)390 4573 y(#)j(display)f(characters)f(with)i(the)g (eighth)f(bit)h(set)g(directly)390 4682 y(#)g(rather)g(than)f(as)h (meta-prefixed)e(characters)390 4792 y(set)i(output-meta)e(on)390 -5011 y(#)i(if)h(there)e(are)h(more)g(than)f(150)h(possible)f -(completions)e(for)390 5121 y(#)j(a)h(word,)e(ask)h(the)g(user)g(if)g -(he)g(wants)f(to)i(see)f(all)f(of)i(them)390 5230 y(set)f +5011 y(#)i(if)h(there)e(are)h(150)g(or)g(more)g(possible)e(completions) +g(for)i(a)g(word,)390 5121 y(#)g(ask)g(whether)f(or)h(not)g(the)g(user) +g(wants)f(to)h(see)g(all)g(of)g(them)390 5230 y(set)g (completion-query-items)42 b(150)p eop end %%Page: 16 20 TeXDict begin 16 19 bop 150 -116 a Ft(Chapter)30 b(1:)41 @@ -7934,466 +7945,475 @@ b(,)31 b(i.e.,)h(the)f(line)f(curren)m(tly)h(b)s(eing)f(en)m(tered.)150 2631 y Fs(reverse-search-history)24 b(\(C-r\))630 2741 y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g(the)f(curren)m(t)g (line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g(his-)630 -2850 y(tory)g(as)f(necessary)-8 b(.)42 b(This)29 b(is)i(an)f(incremen)m -(tal)i(searc)m(h.)150 2998 y Fs(forward-search-history)24 -b(\(C-s\))630 3107 y Ft(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h +2850 y(tory)26 b(as)h(necessary)-8 b(.)40 b(This)25 b(is)i(an)f +(incremen)m(tal)h(searc)m(h.)40 b(This)25 b(command)h(sets)h(the)f +(region)630 2960 y(to)31 b(the)g(matc)m(hed)g(text)g(and)f(activ)-5 +b(ates)33 b(the)d(mark.)150 3107 y Fs(forward-search-history)24 +b(\(C-s\))630 3217 y Ft(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h (the)e(curren)m(t)h(line)g(and)f(mo)m(ving)h(`do)m(wn')g(through)f(the) -630 3217 y(history)30 b(as)h(necessary)-8 b(.)41 b(This)30 -b(is)g(an)h(incremen)m(tal)g(searc)m(h.)150 3364 y Fs -(non-incremental-reverse-)o(sear)o(ch-h)o(ist)o(ory)24 -b(\(M-p\))630 3474 y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g +630 3326 y(history)38 b(as)g(necessary)-8 b(.)65 b(This)38 +b(is)g(an)g(incremen)m(tal)h(searc)m(h.)65 b(This)37 +b(command)h(sets)h(the)630 3436 y(region)31 b(to)g(the)g(matc)m(hed)g +(text)g(and)f(activ)-5 b(ates)33 b(the)d(mark.)150 3583 +y Fs(non-incremental-reverse-)o(sear)o(ch-h)o(ist)o(ory)24 +b(\(M-p\))630 3693 y Ft(Searc)m(h)31 b(bac)m(kw)m(ard)h(starting)g(at)g (the)f(curren)m(t)g(line)g(and)g(mo)m(ving)h(`up')e(through)h(the)g -(his-)630 3583 y(tory)36 b(as)g(necessary)h(using)e(a)i(non-incremen)m +(his-)630 3802 y(tory)36 b(as)g(necessary)h(using)e(a)i(non-incremen)m (tal)g(searc)m(h)f(for)g(a)g(string)g(supplied)f(b)m(y)h(the)630 -3693 y(user.)k(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an)m -(ywhere)g(in)f(a)h(history)f(line.)150 3840 y Fs +3912 y(user.)k(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an)m +(ywhere)g(in)f(a)h(history)f(line.)150 4059 y Fs (non-incremental-forward-)o(sear)o(ch-h)o(ist)o(ory)24 -b(\(M-n\))630 3950 y Ft(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h +b(\(M-n\))630 4169 y Ft(Searc)m(h)44 b(forw)m(ard)f(starting)h(at)h (the)e(curren)m(t)h(line)g(and)f(mo)m(ving)h(`do)m(wn')g(through)f(the) -630 4059 y(history)27 b(as)f(necessary)i(using)e(a)h(non-incremen)m +630 4278 y(history)27 b(as)f(necessary)i(using)e(a)h(non-incremen)m (tal)g(searc)m(h)h(for)e(a)h(string)g(supplied)e(b)m(y)i(the)630 -4169 y(user.)40 b(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an) -m(ywhere)g(in)f(a)h(history)f(line.)150 4316 y Fs -(history-search-forward)24 b(\(\))630 4426 y Ft(Searc)m(h)42 +4388 y(user.)40 b(The)30 b(searc)m(h)h(string)f(ma)m(y)h(matc)m(h)g(an) +m(ywhere)g(in)f(a)h(history)f(line.)150 4535 y Fs +(history-search-forward)24 b(\(\))630 4645 y Ft(Searc)m(h)42 b(forw)m(ard)f(through)f(the)i(history)f(for)g(the)h(string)f(of)h(c)m -(haracters)h(b)s(et)m(w)m(een)f(the)630 4535 y(start)36 +(haracters)h(b)s(et)m(w)m(een)f(the)630 4754 y(start)36 b(of)h(the)f(curren)m(t)f(line)i(and)e(the)h(p)s(oin)m(t.)58 b(The)35 b(searc)m(h)i(string)e(m)m(ust)h(matc)m(h)h(at)g(the)630 -4645 y(b)s(eginning)32 b(of)g(a)h(history)g(line.)47 +4864 y(b)s(eginning)32 b(of)g(a)h(history)g(line.)47 b(This)32 b(is)h(a)f(non-incremen)m(tal)i(searc)m(h.)48 -b(By)33 b(default,)g(this)630 4754 y(command)d(is)h(un)m(b)s(ound.)150 -4902 y Fs(history-search-backward)24 b(\(\))630 5011 +b(By)33 b(default,)g(this)630 4974 y(command)d(is)h(un)m(b)s(ound.)150 +5121 y Fs(history-search-backward)24 b(\(\))630 5230 y Ft(Searc)m(h)35 b(bac)m(kw)m(ard)g(through)f(the)h(history)g(for)g (the)f(string)h(of)g(c)m(haracters)h(b)s(et)m(w)m(een)g(the)630 -5121 y(start)g(of)h(the)f(curren)m(t)f(line)i(and)e(the)h(p)s(oin)m(t.) -58 b(The)35 b(searc)m(h)i(string)e(m)m(ust)h(matc)m(h)h(at)g(the)630 -5230 y(b)s(eginning)32 b(of)g(a)h(history)g(line.)47 -b(This)32 b(is)h(a)f(non-incremen)m(tal)i(searc)m(h.)48 -b(By)33 b(default,)g(this)630 5340 y(command)d(is)h(un)m(b)s(ound.)p +5340 y(start)g(of)h(the)f(curren)m(t)f(line)i(and)e(the)h(p)s(oin)m(t.) +58 b(The)35 b(searc)m(h)i(string)e(m)m(ust)h(matc)m(h)h(at)g(the)p eop end %%Page: 18 22 TeXDict begin 18 21 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(18)150 299 y Fs -(history-substring-search)o(-for)o(ward)24 b(\(\))630 -408 y Ft(Searc)m(h)42 b(forw)m(ard)f(through)f(the)i(history)f(for)g -(the)h(string)f(of)h(c)m(haracters)h(b)s(et)m(w)m(een)f(the)630 -518 y(start)29 b(of)g(the)g(curren)m(t)g(line)g(and)f(the)h(p)s(oin)m -(t.)40 b(The)29 b(searc)m(h)g(string)g(ma)m(y)g(matc)m(h)h(an)m(ywhere) -630 628 y(in)i(a)h(history)g(line.)47 b(This)32 b(is)g(a)h -(non-incremen)m(tal)h(searc)m(h.)47 b(By)33 b(default,)h(this)e -(command)630 737 y(is)e(un)m(b)s(ound.)150 895 y Fs -(history-substring-search)o(-bac)o(kwar)o(d)24 b(\(\))630 -1005 y Ft(Searc)m(h)35 b(bac)m(kw)m(ard)g(through)f(the)h(history)g -(for)g(the)f(string)h(of)g(c)m(haracters)h(b)s(et)m(w)m(een)g(the)630 -1114 y(start)29 b(of)g(the)g(curren)m(t)g(line)g(and)f(the)h(p)s(oin)m -(t.)40 b(The)29 b(searc)m(h)g(string)g(ma)m(y)g(matc)m(h)h(an)m(ywhere) -630 1224 y(in)i(a)h(history)g(line.)47 b(This)32 b(is)g(a)h -(non-incremen)m(tal)h(searc)m(h.)47 b(By)33 b(default,)h(this)e -(command)630 1333 y(is)e(un)m(b)s(ound.)150 1491 y Fs(yank-nth-arg)d -(\(M-C-y\))630 1601 y Ft(Insert)37 b(the)g(\014rst)f(argumen)m(t)i(to)f -(the)h(previous)e(command)h(\(usually)g(the)g(second)g(w)m(ord)630 -1710 y(on)32 b(the)g(previous)f(line\))i(at)f(p)s(oin)m(t.)46 -b(With)32 b(an)g(argumen)m(t)g Fj(n)p Ft(,)g(insert)g(the)g -Fj(n)p Ft(th)f(w)m(ord)g(from)630 1820 y(the)k(previous)f(command)h -(\(the)g(w)m(ords)g(in)f(the)h(previous)g(command)f(b)s(egin)h(with)f -(w)m(ord)630 1929 y(0\).)69 b(A)40 b(negativ)m(e)h(argumen)m(t)f -(inserts)g(the)f Fj(n)p Ft(th)g(w)m(ord)g(from)g(the)h(end)f(of)h(the)f -(previous)630 2039 y(command.)48 b(Once)33 b(the)g(argumen)m(t)h -Fj(n)e Ft(is)h(computed,)h(the)f(argumen)m(t)g(is)g(extracted)i(as)e -(if)630 2149 y(the)e(`)p Fs(!)p Fl(n)p Ft(')f(history)g(expansion)g -(had)g(b)s(een)g(sp)s(eci\014ed.)150 2306 y Fs(yank-last-arg)d(\(M-.)i -(or)h(M-_\))630 2416 y Ft(Insert)k(last)i(argumen)m(t)g(to)g(the)f -(previous)f(command)h(\(the)h(last)f(w)m(ord)g(of)g(the)g(previous)630 -2526 y(history)e(en)m(try\).)51 b(With)34 b(a)g(n)m(umeric)g(argumen)m +b(Command)29 b(Line)i(Editing)2107 b(18)630 299 y(b)s(eginning)32 +b(of)g(a)h(history)g(line.)47 b(This)32 b(is)h(a)f(non-incremen)m(tal)i +(searc)m(h.)48 b(By)33 b(default,)g(this)630 408 y(command)d(is)h(un)m +(b)s(ound.)150 581 y Fs(history-substring-search)o(-for)o(ward)24 +b(\(\))630 690 y Ft(Searc)m(h)42 b(forw)m(ard)f(through)f(the)i +(history)f(for)g(the)h(string)f(of)h(c)m(haracters)h(b)s(et)m(w)m(een)f +(the)630 800 y(start)29 b(of)g(the)g(curren)m(t)g(line)g(and)f(the)h(p) +s(oin)m(t.)40 b(The)29 b(searc)m(h)g(string)g(ma)m(y)g(matc)m(h)h(an)m +(ywhere)630 910 y(in)i(a)h(history)g(line.)47 b(This)32 +b(is)g(a)h(non-incremen)m(tal)h(searc)m(h.)47 b(By)33 +b(default,)h(this)e(command)630 1019 y(is)e(un)m(b)s(ound.)150 +1192 y Fs(history-substring-search)o(-bac)o(kwar)o(d)24 +b(\(\))630 1301 y Ft(Searc)m(h)35 b(bac)m(kw)m(ard)g(through)f(the)h +(history)g(for)g(the)f(string)h(of)g(c)m(haracters)h(b)s(et)m(w)m(een)g +(the)630 1411 y(start)29 b(of)g(the)g(curren)m(t)g(line)g(and)f(the)h +(p)s(oin)m(t.)40 b(The)29 b(searc)m(h)g(string)g(ma)m(y)g(matc)m(h)h +(an)m(ywhere)630 1520 y(in)i(a)h(history)g(line.)47 b(This)32 +b(is)g(a)h(non-incremen)m(tal)h(searc)m(h.)47 b(By)33 +b(default,)h(this)e(command)630 1630 y(is)e(un)m(b)s(ound.)150 +1802 y Fs(yank-nth-arg)d(\(M-C-y\))630 1912 y Ft(Insert)37 +b(the)g(\014rst)f(argumen)m(t)i(to)f(the)h(previous)e(command)h +(\(usually)g(the)g(second)g(w)m(ord)630 2021 y(on)32 +b(the)g(previous)f(line\))i(at)f(p)s(oin)m(t.)46 b(With)32 +b(an)g(argumen)m(t)g Fj(n)p Ft(,)g(insert)g(the)g Fj(n)p +Ft(th)f(w)m(ord)g(from)630 2131 y(the)k(previous)f(command)h(\(the)g(w) +m(ords)g(in)f(the)h(previous)g(command)f(b)s(egin)h(with)f(w)m(ord)630 +2241 y(0\).)69 b(A)40 b(negativ)m(e)h(argumen)m(t)f(inserts)g(the)f +Fj(n)p Ft(th)g(w)m(ord)g(from)g(the)h(end)f(of)h(the)f(previous)630 +2350 y(command.)48 b(Once)33 b(the)g(argumen)m(t)h Fj(n)e +Ft(is)h(computed,)h(the)f(argumen)m(t)g(is)g(extracted)i(as)e(if)630 +2460 y(the)e(`)p Fs(!)p Fl(n)p Ft(')f(history)g(expansion)g(had)g(b)s +(een)g(sp)s(eci\014ed.)150 2632 y Fs(yank-last-arg)d(\(M-.)i(or)h +(M-_\))630 2742 y Ft(Insert)k(last)i(argumen)m(t)g(to)g(the)f(previous) +f(command)h(\(the)h(last)f(w)m(ord)g(of)g(the)g(previous)630 +2851 y(history)e(en)m(try\).)51 b(With)34 b(a)g(n)m(umeric)g(argumen)m (t,)h(b)s(eha)m(v)m(e)f(exactly)h(lik)m(e)g Fs(yank-nth-arg)p -Ft(.)630 2635 y(Successiv)m(e)26 b(calls)g(to)f Fs(yank-last-arg)c +Ft(.)630 2961 y(Successiv)m(e)26 b(calls)g(to)f Fs(yank-last-arg)c Ft(mo)m(v)m(e)27 b(bac)m(k)e(through)f(the)h(history)g(list,)i -(inserting)630 2745 y(the)c(last)g(w)m(ord)f(\(or)h(the)g(w)m(ord)f(sp) +(inserting)630 3070 y(the)c(last)g(w)m(ord)f(\(or)h(the)g(w)m(ord)f(sp) s(eci\014ed)g(b)m(y)g(the)h(argumen)m(t)g(to)g(the)g(\014rst)f(call\))i -(of)f(eac)m(h)h(line)630 2854 y(in)36 b(turn.)58 b(An)m(y)36 +(of)f(eac)m(h)h(line)630 3180 y(in)36 b(turn.)58 b(An)m(y)36 b(n)m(umeric)h(argumen)m(t)f(supplied)g(to)h(these)g(successiv)m(e)g -(calls)h(determines)630 2964 y(the)d(direction)g(to)h(mo)m(v)m(e)g +(calls)h(determines)630 3290 y(the)d(direction)g(to)h(mo)m(v)m(e)g (through)e(the)h(history)-8 b(.)54 b(A)35 b(negativ)m(e)i(argumen)m(t)e -(switc)m(hes)h(the)630 3073 y(direction)23 b(through)g(the)g(history)f +(switc)m(hes)h(the)630 3399 y(direction)23 b(through)g(the)g(history)f (\(bac)m(k)i(or)f(forw)m(ard\).)38 b(The)22 b(history)h(expansion)g -(facilities)630 3183 y(are)28 b(used)f(to)h(extract)h(the)f(last)g +(facilities)630 3509 y(are)28 b(used)f(to)h(extract)h(the)f(last)g (argumen)m(t,)h(as)e(if)h(the)g(`)p Fs(!$)p Ft(')f(history)g(expansion) -h(had)f(b)s(een)630 3293 y(sp)s(eci\014ed.)150 3450 y -Fs(operate-and-get-next)e(\(C-o\))630 3560 y Ft(Accept)30 +h(had)f(b)s(een)630 3618 y(sp)s(eci\014ed.)150 3791 y +Fs(operate-and-get-next)e(\(C-o\))630 3900 y Ft(Accept)30 b(the)g(curren)m(t)e(line)i(for)f(return)f(to)h(the)h(calling)g -(application)h(as)e(if)g(a)h(newline)f(had)630 3670 y(b)s(een)22 +(application)h(as)e(if)g(a)h(newline)f(had)630 4010 y(b)s(een)22 b(en)m(tered,)k(and)d(fetc)m(h)h(the)f(next)g(line)h(relativ)m(e)h(to)f -(the)f(curren)m(t)g(line)h(from)f(the)g(history)630 3779 +(the)f(curren)m(t)g(line)h(from)f(the)g(history)630 4120 y(for)31 b(editing.)43 b(A)31 b(n)m(umeric)f(argumen)m(t,)i(if)f (supplied,)f(sp)s(eci\014es)h(the)g(history)f(en)m(try)i(to)f(use)630 -3889 y(instead)g(of)f(the)h(curren)m(t)f(line.)150 4086 +4229 y(instead)g(of)f(the)h(curren)m(t)f(line.)150 4441 y Fi(1.4.3)63 b(Commands)42 b(F)-10 b(or)41 b(Changing)g(T)-10 -b(ext)150 4257 y Fl(end-of-file)27 b Fs(\(usually)h(C-d\))630 -4367 y Ft(The)e(c)m(haracter)h(indicating)h(end-of-\014le)e(as)h(set,)g +b(ext)150 4620 y Fl(end-of-file)27 b Fs(\(usually)h(C-d\))630 +4729 y Ft(The)e(c)m(haracter)h(indicating)h(end-of-\014le)e(as)h(set,)g (for)f(example,)i(b)m(y)e Fs(stty)p Ft(.)39 b(If)25 b(this)h(c)m -(harac-)630 4477 y(ter)c(is)g(read)g(when)e(there)i(are)h(no)e(c)m +(harac-)630 4839 y(ter)c(is)g(read)g(when)e(there)i(are)h(no)e(c)m (haracters)j(on)d(the)h(line,)i(and)d(p)s(oin)m(t)h(is)g(at)h(the)f(b)s -(eginning)630 4586 y(of)31 b(the)f(line,)h(Readline)g(in)m(terprets)g +(eginning)630 4948 y(of)31 b(the)f(line,)h(Readline)g(in)m(terprets)g (it)g(as)f(the)h(end)f(of)g(input)f(and)h(returns)f Fm(eof)p -Ft(.)150 4744 y Fs(delete-char)e(\(C-d\))630 4853 y Ft(Delete)35 +Ft(.)150 5121 y Fs(delete-char)e(\(C-d\))630 5230 y Ft(Delete)35 b(the)f(c)m(haracter)h(at)f(p)s(oin)m(t.)49 b(If)33 b(this)g(function)g -(is)g(b)s(ound)e(to)j(the)g(same)f(c)m(haracter)630 4963 +(is)g(b)s(ound)e(to)j(the)g(same)f(c)m(haracter)630 5340 y(as)e(the)f(tt)m(y)i Fm(eof)d Ft(c)m(haracter,)j(as)f Fl(C-d)e Ft(commonly)i(is,)g(see)g(ab)s(o)m(v)m(e)h(for)e(the)g -(e\013ects.)150 5121 y Fs(backward-delete-char)25 b(\(Rubout\))630 -5230 y Ft(Delete)32 b(the)f(c)m(haracter)g(b)s(ehind)e(the)h(cursor.)40 -b(A)30 b(n)m(umeric)g(argumen)m(t)h(means)f(to)h(kill)g(the)630 -5340 y(c)m(haracters)h(instead)e(of)h(deleting)g(them.)p -eop end +(e\013ects.)p eop end %%Page: 19 23 TeXDict begin 19 22 bop 150 -116 a Ft(Chapter)30 b(1:)41 b(Command)29 b(Line)i(Editing)2107 b(19)150 299 y Fs -(forward-backward-delete-)o(char)24 b(\(\))630 408 y -Ft(Delete)40 b(the)f(c)m(haracter)h(under)c(the)j(cursor,)h(unless)d -(the)i(cursor)e(is)h(at)h(the)g(end)e(of)i(the)630 518 -y(line,)33 b(in)e(whic)m(h)g(case)i(the)f(c)m(haracter)h(b)s(ehind)d -(the)i(cursor)f(is)g(deleted.)46 b(By)32 b(default,)g(this)630 -628 y(is)e(not)h(b)s(ound)d(to)j(a)g(k)m(ey)-8 b(.)150 -803 y Fs(quoted-insert)27 b(\(C-q)i(or)h(C-v\))630 913 +(backward-delete-char)25 b(\(Rubout\))630 408 y Ft(Delete)32 +b(the)f(c)m(haracter)g(b)s(ehind)e(the)h(cursor.)40 b(A)30 +b(n)m(umeric)g(argumen)m(t)h(means)f(to)h(kill)g(the)630 +518 y(c)m(haracters)h(instead)e(of)h(deleting)g(them.)150 +669 y Fs(forward-backward-delete-)o(char)24 b(\(\))630 +779 y Ft(Delete)40 b(the)f(c)m(haracter)h(under)c(the)j(cursor,)h +(unless)d(the)i(cursor)e(is)h(at)h(the)g(end)e(of)i(the)630 +889 y(line,)33 b(in)e(whic)m(h)g(case)i(the)f(c)m(haracter)h(b)s(ehind) +d(the)i(cursor)f(is)g(deleted.)46 b(By)32 b(default,)g(this)630 +998 y(is)e(not)h(b)s(ound)d(to)j(a)g(k)m(ey)-8 b(.)150 +1149 y Fs(quoted-insert)27 b(\(C-q)i(or)h(C-v\))630 1259 y Ft(Add)j(the)i(next)f(c)m(haracter)i(t)m(yp)s(ed)e(to)h(the)f(line)h (v)m(erbatim.)53 b(This)33 b(is)i(ho)m(w)f(to)h(insert)f(k)m(ey)630 -1022 y(sequences)d(lik)m(e)g Fl(C-q)p Ft(,)f(for)g(example.)150 -1198 y Fs(tab-insert)e(\(M-TAB\))630 1307 y Ft(Insert)i(a)h(tab)f(c)m -(haracter.)150 1482 y Fs(self-insert)d(\(a,)j(b,)g(A,)f(1,)h(!,)g(...)o -(\))630 1592 y Ft(Insert)g(y)m(ourself.)150 1767 y Fs -(bracketed-paste-begin)25 b(\(\))630 1877 y Ft(This)f(function)h(is)f +1369 y(sequences)d(lik)m(e)g Fl(C-q)p Ft(,)f(for)g(example.)150 +1520 y Fs(tab-insert)e(\(M-TAB\))630 1630 y Ft(Insert)i(a)h(tab)f(c)m +(haracter.)150 1781 y Fs(self-insert)d(\(a,)j(b,)g(A,)f(1,)h(!,)g(...)o +(\))630 1891 y Ft(Insert)g(y)m(ourself.)150 2042 y Fs +(bracketed-paste-begin)25 b(\(\))630 2151 y Ft(This)f(function)h(is)f (in)m(tended)h(to)h(b)s(e)e(b)s(ound)f(to)i(the)g Fs(")p Ft(brac)m(k)m(eted)h(paste)p Fs(")f Ft(escap)s(e)h(sequence)630 -1987 y(sen)m(t)38 b(b)m(y)f(some)h(terminals,)i(and)d(suc)m(h)g(a)h +2261 y(sen)m(t)38 b(b)m(y)f(some)h(terminals,)i(and)d(suc)m(h)g(a)h (binding)e(is)i(assigned)f(b)m(y)h(default.)62 b(It)38 -b(allo)m(ws)630 2096 y(Readline)33 b(to)g(insert)g(the)f(pasted)h(text) +b(allo)m(ws)630 2371 y(Readline)33 b(to)g(insert)g(the)f(pasted)h(text) g(as)g(a)g(single)g(unit)f(without)h(treating)h(eac)m(h)f(c)m(har-)630 -2206 y(acter)40 b(as)f(if)g(it)g(had)f(b)s(een)g(read)h(from)f(the)h(k) +2480 y(acter)40 b(as)f(if)g(it)g(had)f(b)s(een)g(read)h(from)f(the)h(k) m(eyb)s(oard.)66 b(The)39 b(c)m(haracters)h(are)f(inserted)630 -2315 y(as)44 b(if)g(eac)m(h)i(one)e(w)m(as)g(b)s(ound)e(to)j +2590 y(as)44 b(if)g(eac)m(h)i(one)e(w)m(as)g(b)s(ound)e(to)j Fs(self-insert)c Ft(instead)j(of)h(executing)g(an)m(y)f(editing)630 -2425 y(commands.)150 2600 y Fs(transpose-chars)26 b(\(C-t\))630 -2710 y Ft(Drag)33 b(the)f(c)m(haracter)h(b)s(efore)f(the)g(cursor)f -(forw)m(ard)h(o)m(v)m(er)h(the)f(c)m(haracter)i(at)e(the)g(cursor,)630 -2819 y(mo)m(ving)k(the)g(cursor)f(forw)m(ard)g(as)g(w)m(ell.)57 -b(If)35 b(the)h(insertion)g(p)s(oin)m(t)f(is)g(at)i(the)e(end)g(of)h -(the)630 2929 y(line,)24 b(then)e(this)g(transp)s(oses)f(the)h(last)h -(t)m(w)m(o)g(c)m(haracters)g(of)f(the)h(line.)38 b(Negativ)m(e)25 -b(argumen)m(ts)630 3039 y(ha)m(v)m(e)32 b(no)e(e\013ect.)150 -3214 y Fs(transpose-words)c(\(M-t\))630 3324 y Ft(Drag)33 -b(the)g(w)m(ord)f(b)s(efore)g(p)s(oin)m(t)g(past)g(the)h(w)m(ord)f -(after)g(p)s(oin)m(t,)i(mo)m(ving)f(p)s(oin)m(t)f(past)g(that)630 -3433 y(w)m(ord)c(as)h(w)m(ell.)41 b(If)27 b(the)i(insertion)f(p)s(oin)m -(t)h(is)f(at)h(the)g(end)e(of)i(the)f(line,)i(this)e(transp)s(oses)g -(the)630 3543 y(last)j(t)m(w)m(o)h(w)m(ords)e(on)g(the)h(line.)150 -3718 y Fs(upcase-word)c(\(M-u\))630 3828 y Ft(Upp)s(ercase)32 -b(the)g(curren)m(t)g(\(or)g(follo)m(wing\))i(w)m(ord.)45 -b(With)32 b(a)g(negativ)m(e)j(argumen)m(t,)e(upp)s(er-)630 -3937 y(case)e(the)g(previous)f(w)m(ord,)g(but)g(do)g(not)h(mo)m(v)m(e)h -(the)e(cursor.)150 4113 y Fs(downcase-word)d(\(M-l\))630 -4222 y Ft(Lo)m(w)m(ercase)c(the)f(curren)m(t)f(\(or)h(follo)m(wing\))i +2699 y(commands.)630 2830 y(Brac)m(k)m(eted)38 b(paste)f(sets)f(the)h +(region)f(\(the)h(c)m(haracters)g(b)s(et)m(w)m(een)g(p)s(oin)m(t)f(and) +g(the)g(mark\))630 2939 y(to)j(the)g(inserted)f(text.)65 +b(It)39 b(uses)f(the)g(concept)h(of)g(an)f Fk(active)i(mark)10 +b Ft(:)57 b(when)38 b(the)g(mark)630 3049 y(is)d(activ)m(e,)k(Readline) +c(redispla)m(y)h(uses)e(the)h(terminal's)h(standout)f(mo)s(de)f(to)i +(denote)g(the)630 3159 y(region.)150 3310 y Fs(transpose-chars)26 +b(\(C-t\))630 3420 y Ft(Drag)33 b(the)f(c)m(haracter)h(b)s(efore)f(the) +g(cursor)f(forw)m(ard)h(o)m(v)m(er)h(the)f(c)m(haracter)i(at)e(the)g +(cursor,)630 3529 y(mo)m(ving)k(the)g(cursor)f(forw)m(ard)g(as)g(w)m +(ell.)57 b(If)35 b(the)h(insertion)g(p)s(oin)m(t)f(is)g(at)i(the)e(end) +g(of)h(the)630 3639 y(line,)24 b(then)e(this)g(transp)s(oses)f(the)h +(last)h(t)m(w)m(o)g(c)m(haracters)g(of)f(the)h(line.)38 +b(Negativ)m(e)25 b(argumen)m(ts)630 3748 y(ha)m(v)m(e)32 +b(no)e(e\013ect.)150 3900 y Fs(transpose-words)c(\(M-t\))630 +4009 y Ft(Drag)33 b(the)g(w)m(ord)f(b)s(efore)g(p)s(oin)m(t)g(past)g +(the)h(w)m(ord)f(after)g(p)s(oin)m(t,)i(mo)m(ving)f(p)s(oin)m(t)f(past) +g(that)630 4119 y(w)m(ord)c(as)h(w)m(ell.)41 b(If)27 +b(the)i(insertion)f(p)s(oin)m(t)h(is)f(at)h(the)g(end)e(of)i(the)f +(line,)i(this)e(transp)s(oses)g(the)630 4228 y(last)j(t)m(w)m(o)h(w)m +(ords)e(on)g(the)h(line.)150 4380 y Fs(upcase-word)c(\(M-u\))630 +4489 y Ft(Upp)s(ercase)32 b(the)g(curren)m(t)g(\(or)g(follo)m(wing\))i +(w)m(ord.)45 b(With)32 b(a)g(negativ)m(e)j(argumen)m(t,)e(upp)s(er-)630 +4599 y(case)e(the)g(previous)f(w)m(ord,)g(but)g(do)g(not)h(mo)m(v)m(e)h +(the)e(cursor.)150 4750 y Fs(downcase-word)d(\(M-l\))630 +4860 y Ft(Lo)m(w)m(ercase)c(the)f(curren)m(t)f(\(or)h(follo)m(wing\))i (w)m(ord.)37 b(With)22 b(a)g(negativ)m(e)i(argumen)m(t,)g(lo)m(w)m -(ercase)630 4332 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f(mo)m -(v)m(e)i(the)f(cursor.)150 4507 y Fs(capitalize-word)26 -b(\(M-c\))630 4617 y Ft(Capitalize)d(the)f(curren)m(t)f(\(or)g(follo)m +(ercase)630 4969 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f(mo)m +(v)m(e)i(the)f(cursor.)150 5121 y Fs(capitalize-word)26 +b(\(M-c\))630 5230 y Ft(Capitalize)d(the)f(curren)m(t)f(\(or)g(follo)m (wing\))i(w)m(ord.)38 b(With)21 b(a)h(negativ)m(e)h(argumen)m(t,)h -(capitalize)630 4726 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f -(mo)m(v)m(e)i(the)f(cursor.)150 4902 y Fs(overwrite-mode)26 -b(\(\))630 5011 y Ft(T)-8 b(oggle)35 b(o)m(v)m(erwrite)g(mo)s(de.)48 +(capitalize)630 5340 y(the)31 b(previous)e(w)m(ord,)i(but)e(do)i(not)f +(mo)m(v)m(e)i(the)f(cursor.)p eop end +%%Page: 20 24 +TeXDict begin 20 23 bop 150 -116 a Ft(Chapter)30 b(1:)41 +b(Command)29 b(Line)i(Editing)2107 b(20)150 299 y Fs(overwrite-mode)26 +b(\(\))630 408 y Ft(T)-8 b(oggle)35 b(o)m(v)m(erwrite)g(mo)s(de.)48 b(With)33 b(an)g(explicit)h(p)s(ositiv)m(e)g(n)m(umeric)f(argumen)m(t,) -h(switc)m(hes)630 5121 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37 +h(switc)m(hes)630 518 y(to)22 b(o)m(v)m(erwrite)i(mo)s(de.)37 b(With)22 b(an)g(explicit)h(non-p)s(ositiv)m(e)f(n)m(umeric)g(argumen)m -(t,)i(switc)m(hes)e(to)630 5230 y(insert)30 b(mo)s(de.)41 +(t,)i(switc)m(hes)e(to)630 628 y(insert)30 b(mo)s(de.)41 b(This)30 b(command)h(a\013ects)h(only)e Fs(emacs)f Ft(mo)s(de;)i -Fs(vi)f Ft(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 5340 +Fs(vi)f Ft(mo)s(de)g(do)s(es)g(o)m(v)m(erwrite)630 737 y(di\013eren)m(tly)-8 b(.)42 b(Eac)m(h)31 b(call)h(to)f -Fs(readline\(\))c Ft(starts)k(in)f(insert)g(mo)s(de.)p -eop end -%%Page: 20 24 -TeXDict begin 20 23 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(20)630 299 y(In)52 -b(o)m(v)m(erwrite)h(mo)s(de,)58 b(c)m(haracters)c(b)s(ound)c(to)j -Fs(self-insert)c Ft(replace)k(the)g(text)g(at)630 408 -y(p)s(oin)m(t)59 b(rather)f(than)h(pushing)e(the)i(text)g(to)h(the)f -(righ)m(t.)126 b(Characters)59 b(b)s(ound)d(to)630 518 +Fs(readline\(\))c Ft(starts)k(in)f(insert)g(mo)s(de.)630 +879 y(In)52 b(o)m(v)m(erwrite)h(mo)s(de,)58 b(c)m(haracters)c(b)s(ound) +c(to)j Fs(self-insert)c Ft(replace)k(the)g(text)g(at)630 +988 y(p)s(oin)m(t)59 b(rather)f(than)h(pushing)e(the)i(text)g(to)h(the) +f(righ)m(t.)126 b(Characters)59 b(b)s(ound)d(to)630 1098 y Fs(backward-delete-char)25 b Ft(replace)31 b(the)g(c)m(haracter)h(b)s -(efore)e(p)s(oin)m(t)g(with)g(a)h(space.)630 652 y(By)g(default,)f -(this)h(command)f(is)g(un)m(b)s(ound.)150 851 y Fi(1.4.4)63 -b(Killing)42 b(And)e(Y)-10 b(anking)150 1023 y Fs(kill-line)28 -b(\(C-k\))630 1132 y Ft(Kill)j(the)f(text)i(from)e(p)s(oin)m(t)g(to)h -(the)g(end)e(of)i(the)f(line.)150 1291 y Fs(backward-kill-line)25 -b(\(C-x)30 b(Rubout\))630 1401 y Ft(Kill)h(bac)m(kw)m(ard)g(from)e(the) +(efore)e(p)s(oin)m(t)g(with)g(a)h(space.)630 1240 y(By)g(default,)f +(this)h(command)f(is)g(un)m(b)s(ound.)150 1453 y Fi(1.4.4)63 +b(Killing)42 b(And)e(Y)-10 b(anking)150 1632 y Fs(kill-line)28 +b(\(C-k\))630 1741 y Ft(Kill)j(the)f(text)i(from)e(p)s(oin)m(t)g(to)h +(the)g(end)e(of)i(the)f(line.)150 1915 y Fs(backward-kill-line)25 +b(\(C-x)30 b(Rubout\))630 2025 y Ft(Kill)h(bac)m(kw)m(ard)g(from)e(the) i(cursor)f(to)h(the)f(b)s(eginning)g(of)h(the)f(curren)m(t)g(line.)150 -1560 y Fs(unix-line-discard)c(\(C-u\))630 1669 y Ft(Kill)31 +2198 y Fs(unix-line-discard)c(\(C-u\))630 2308 y Ft(Kill)31 b(bac)m(kw)m(ard)g(from)e(the)i(cursor)f(to)h(the)f(b)s(eginning)g(of)h -(the)f(curren)m(t)g(line.)150 1828 y Fs(kill-whole-line)c(\(\))630 -1938 y Ft(Kill)37 b(all)g(c)m(haracters)h(on)f(the)f(curren)m(t)h +(the)f(curren)m(t)g(line.)150 2481 y Fs(kill-whole-line)c(\(\))630 +2591 y Ft(Kill)37 b(all)g(c)m(haracters)h(on)f(the)f(curren)m(t)h (line,)h(no)f(matter)g(where)f(p)s(oin)m(t)h(is.)59 b(By)36 -b(default,)630 2047 y(this)30 b(is)h(un)m(b)s(ound.)150 -2206 y Fs(kill-word)d(\(M-d\))630 2316 y Ft(Kill)i(from)f(p)s(oin)m(t)g +b(default,)630 2700 y(this)30 b(is)h(un)m(b)s(ound.)150 +2874 y Fs(kill-word)d(\(M-d\))630 2984 y Ft(Kill)i(from)f(p)s(oin)m(t)g (to)h(the)g(end)e(of)i(the)f(curren)m(t)h(w)m(ord,)f(or)g(if)h(b)s(et)m -(w)m(een)g(w)m(ords,)f(to)h(the)g(end)630 2425 y(of)h(the)f(next)h(w)m +(w)m(een)g(w)m(ords,)f(to)h(the)g(end)630 3093 y(of)h(the)f(next)h(w)m (ord.)40 b(W)-8 b(ord)31 b(b)s(oundaries)e(are)h(the)h(same)g(as)f -Fs(forward-word)p Ft(.)150 2584 y Fs(backward-kill-word)25 -b(\(M-DEL\))630 2694 y Ft(Kill)k(the)g(w)m(ord)g(b)s(ehind)e(p)s(oin)m +Fs(forward-word)p Ft(.)150 3267 y Fs(backward-kill-word)25 +b(\(M-DEL\))630 3376 y Ft(Kill)k(the)g(w)m(ord)g(b)s(ehind)e(p)s(oin)m (t.)40 b(W)-8 b(ord)29 b(b)s(oundaries)f(are)h(the)g(same)g(as)g -Fs(backward-word)p Ft(.)150 2853 y Fs(shell-transpose-words)c -(\(M-C-t\))630 2962 y Ft(Drag)33 b(the)g(w)m(ord)f(b)s(efore)g(p)s(oin) +Fs(backward-word)p Ft(.)150 3550 y Fs(shell-transpose-words)c +(\(M-C-t\))630 3659 y Ft(Drag)33 b(the)g(w)m(ord)f(b)s(efore)g(p)s(oin) m(t)g(past)g(the)h(w)m(ord)f(after)g(p)s(oin)m(t,)i(mo)m(ving)f(p)s -(oin)m(t)f(past)g(that)630 3072 y(w)m(ord)c(as)h(w)m(ell.)41 +(oin)m(t)f(past)g(that)630 3769 y(w)m(ord)c(as)h(w)m(ell.)41 b(If)27 b(the)i(insertion)f(p)s(oin)m(t)h(is)f(at)h(the)g(end)e(of)i -(the)f(line,)i(this)e(transp)s(oses)g(the)630 3181 y(last)j(t)m(w)m(o)h +(the)f(line,)i(this)e(transp)s(oses)g(the)630 3879 y(last)j(t)m(w)m(o)h (w)m(ords)d(on)i(the)f(line.)41 b(W)-8 b(ord)31 b(b)s(oundaries)e(are)h -(the)h(same)f(as)h Fs(shell-forward-)630 3291 y(word)e -Ft(and)h Fs(shell-backward-word)p Ft(.)150 3450 y Fs(unix-word-rubout)c -(\(C-w\))630 3559 y Ft(Kill)32 b(the)g(w)m(ord)f(b)s(ehind)f(p)s(oin)m +(the)h(same)f(as)h Fs(shell-forward-)630 3988 y(word)e +Ft(and)h Fs(shell-backward-word)p Ft(.)150 4162 y Fs(unix-word-rubout)c +(\(C-w\))630 4271 y Ft(Kill)32 b(the)g(w)m(ord)f(b)s(ehind)f(p)s(oin)m (t,)i(using)f(white)h(space)g(as)g(a)g(w)m(ord)f(b)s(oundary)-8 -b(.)43 b(The)31 b(killed)630 3669 y(text)g(is)g(sa)m(v)m(ed)g(on)g(the) -f(kill-ring.)150 3828 y Fs(unix-filename-rubout)25 b(\(\))630 -3937 y Ft(Kill)37 b(the)f(w)m(ord)g(b)s(ehind)f(p)s(oin)m(t,)j(using)e +b(.)43 b(The)31 b(killed)630 4381 y(text)g(is)g(sa)m(v)m(ed)g(on)g(the) +f(kill-ring.)150 4555 y Fs(unix-filename-rubout)25 b(\(\))630 +4664 y Ft(Kill)37 b(the)f(w)m(ord)g(b)s(ehind)f(p)s(oin)m(t,)j(using)e (white)g(space)h(and)f(the)g(slash)g(c)m(haracter)i(as)f(the)630 -4047 y(w)m(ord)30 b(b)s(oundaries.)39 b(The)30 b(killed)h(text)g(is)g -(sa)m(v)m(ed)g(on)g(the)f(kill-ring.)150 4206 y Fs -(delete-horizontal-space)24 b(\(\))630 4315 y Ft(Delete)33 +4774 y(w)m(ord)30 b(b)s(oundaries.)39 b(The)30 b(killed)h(text)g(is)g +(sa)m(v)m(ed)g(on)g(the)f(kill-ring.)150 4947 y Fs +(delete-horizontal-space)24 b(\(\))630 5057 y Ft(Delete)33 b(all)e(spaces)g(and)e(tabs)i(around)e(p)s(oin)m(t.)41 -b(By)31 b(default,)f(this)h(is)f(un)m(b)s(ound.)150 4474 -y Fs(kill-region)d(\(\))630 4584 y Ft(Kill)k(the)f(text)i(in)e(the)g +b(By)31 b(default,)f(this)h(is)f(un)m(b)s(ound.)150 5230 +y Fs(kill-region)d(\(\))630 5340 y Ft(Kill)k(the)f(text)i(in)e(the)g (curren)m(t)h(region.)41 b(By)31 b(default,)f(this)h(command)f(is)g(un) -m(b)s(ound.)150 4743 y Fs(copy-region-as-kill)25 b(\(\))630 -4852 y Ft(Cop)m(y)34 b(the)g(text)h(in)f(the)g(region)g(to)h(the)f -(kill)h(bu\013er,)f(so)g(it)h(can)f(b)s(e)f(y)m(ank)m(ed)i(righ)m(t)f -(a)m(w)m(a)m(y)-8 b(.)630 4962 y(By)31 b(default,)f(this)h(command)f -(is)g(un)m(b)s(ound.)150 5121 y Fs(copy-backward-word)25 -b(\(\))630 5230 y Ft(Cop)m(y)38 b(the)h(w)m(ord)f(b)s(efore)g(p)s(oin)m -(t)g(to)i(the)e(kill)h(bu\013er.)64 b(The)38 b(w)m(ord)g(b)s(oundaries) -f(are)i(the)630 5340 y(same)31 b(as)f Fs(backward-word)p -Ft(.)38 b(By)30 b(default,)h(this)f(command)g(is)h(un)m(b)s(ound.)p -eop end +m(b)s(ound.)p eop end %%Page: 21 25 TeXDict begin 21 24 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(21)150 299 y Fs(copy-forward-word) -26 b(\(\))630 408 y Ft(Cop)m(y)31 b(the)g(w)m(ord)g(follo)m(wing)h(p)s -(oin)m(t)f(to)h(the)f(kill)h(bu\013er.)42 b(The)30 b(w)m(ord)h(b)s -(oundaries)e(are)j(the)630 518 y(same)f(as)f Fs(forward-word)p -Ft(.)38 b(By)30 b(default,)h(this)g(command)f(is)g(un)m(b)s(ound.)150 -684 y Fs(yank)f(\(C-y\))630 793 y Ft(Y)-8 b(ank)31 b(the)f(top)h(of)g -(the)f(kill)h(ring)f(in)m(to)i(the)e(bu\013er)g(at)h(p)s(oin)m(t.)150 -959 y Fs(yank-pop)d(\(M-y\))630 1068 y Ft(Rotate)36 b(the)f(kill-ring,) -i(and)d(y)m(ank)h(the)f(new)g(top.)54 b(Y)-8 b(ou)35 -b(can)g(only)f(do)h(this)f(if)h(the)g(prior)630 1178 -y(command)30 b(is)h Fs(yank)e Ft(or)h Fs(yank-pop)p Ft(.)150 -1383 y Fi(1.4.5)63 b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m(ts)150 -1558 y Fs(digit-argument)26 b(\()p Fl(M-0)p Fs(,)j Fl(M-1)p -Fs(,)h(...)f Fl(M--)p Fs(\))630 1668 y Ft(Add)d(this)h(digit)g(to)h -(the)f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f(new) -f(argumen)m(t.)630 1777 y Fl(M--)j Ft(starts)i(a)g(negativ)m(e)i -(argumen)m(t.)150 1943 y Fs(universal-argument)25 b(\(\))630 -2052 y Ft(This)g(is)g(another)h(w)m(a)m(y)g(to)h(sp)s(ecify)e(an)g +b(Command)29 b(Line)i(Editing)2107 b(21)150 299 y Fs +(copy-region-as-kill)25 b(\(\))630 408 y Ft(Cop)m(y)34 +b(the)g(text)h(in)f(the)g(region)g(to)h(the)f(kill)h(bu\013er,)f(so)g +(it)h(can)f(b)s(e)f(y)m(ank)m(ed)i(righ)m(t)f(a)m(w)m(a)m(y)-8 +b(.)630 518 y(By)31 b(default,)f(this)h(command)f(is)g(un)m(b)s(ound.) +150 689 y Fs(copy-backward-word)25 b(\(\))630 799 y Ft(Cop)m(y)38 +b(the)h(w)m(ord)f(b)s(efore)g(p)s(oin)m(t)g(to)i(the)e(kill)h +(bu\013er.)64 b(The)38 b(w)m(ord)g(b)s(oundaries)f(are)i(the)630 +908 y(same)31 b(as)f Fs(backward-word)p Ft(.)38 b(By)30 +b(default,)h(this)f(command)g(is)h(un)m(b)s(ound.)150 +1079 y Fs(copy-forward-word)26 b(\(\))630 1189 y Ft(Cop)m(y)31 +b(the)g(w)m(ord)g(follo)m(wing)h(p)s(oin)m(t)f(to)h(the)f(kill)h +(bu\013er.)42 b(The)30 b(w)m(ord)h(b)s(oundaries)e(are)j(the)630 +1298 y(same)f(as)f Fs(forward-word)p Ft(.)38 b(By)30 +b(default,)h(this)g(command)f(is)g(un)m(b)s(ound.)150 +1469 y Fs(yank)f(\(C-y\))630 1579 y Ft(Y)-8 b(ank)31 +b(the)f(top)h(of)g(the)f(kill)h(ring)f(in)m(to)i(the)e(bu\013er)g(at)h +(p)s(oin)m(t.)150 1749 y Fs(yank-pop)d(\(M-y\))630 1859 +y Ft(Rotate)36 b(the)f(kill-ring,)i(and)d(y)m(ank)h(the)f(new)g(top.)54 +b(Y)-8 b(ou)35 b(can)g(only)f(do)h(this)f(if)h(the)g(prior)630 +1969 y(command)30 b(is)h Fs(yank)e Ft(or)h Fs(yank-pop)p +Ft(.)150 2179 y Fi(1.4.5)63 b(Sp)s(ecifying)42 b(Numeric)f(Argumen)m +(ts)150 2357 y Fs(digit-argument)26 b(\()p Fl(M-0)p Fs(,)j +Fl(M-1)p Fs(,)h(...)f Fl(M--)p Fs(\))630 2467 y Ft(Add)d(this)h(digit)g +(to)h(the)f(argumen)m(t)g(already)h(accum)m(ulating,)h(or)e(start)h(a)f +(new)f(argumen)m(t.)630 2576 y Fl(M--)j Ft(starts)i(a)g(negativ)m(e)i +(argumen)m(t.)150 2747 y Fs(universal-argument)25 b(\(\))630 +2857 y Ft(This)g(is)g(another)h(w)m(a)m(y)g(to)h(sp)s(ecify)e(an)g (argumen)m(t.)40 b(If)25 b(this)g(command)h(is)f(follo)m(w)m(ed)i(b)m -(y)f(one)630 2162 y(or)k(more)f(digits,)i(optionally)g(with)e(a)h +(y)f(one)630 2966 y(or)k(more)f(digits,)i(optionally)g(with)e(a)h (leading)h(min)m(us)e(sign,)h(those)g(digits)g(de\014ne)f(the)h(ar-)630 -2271 y(gumen)m(t.)41 b(If)28 b(the)i(command)f(is)g(follo)m(w)m(ed)h(b) +3076 y(gumen)m(t.)41 b(If)28 b(the)i(command)f(is)g(follo)m(w)m(ed)h(b) m(y)f(digits,)i(executing)f Fs(universal-argument)630 -2381 y Ft(again)j(ends)e(the)h(n)m(umeric)f(argumen)m(t,)i(but)e(is)h +3185 y Ft(again)j(ends)e(the)h(n)m(umeric)f(argumen)m(t,)i(but)e(is)h (otherwise)g(ignored.)45 b(As)32 b(a)g(sp)s(ecial)h(case,)630 -2491 y(if)g(this)g(command)f(is)h(immediately)h(follo)m(w)m(ed)h(b)m(y) +3295 y(if)g(this)g(command)f(is)h(immediately)h(follo)m(w)m(ed)h(b)m(y) d(a)h(c)m(haracter)i(that)e(is)g(neither)g(a)g(digit)630 -2600 y(nor)41 b(min)m(us)f(sign,)k(the)e(argumen)m(t)f(coun)m(t)h(for)f +3404 y(nor)41 b(min)m(us)f(sign,)k(the)e(argumen)m(t)f(coun)m(t)h(for)f (the)h(next)f(command)g(is)g(m)m(ultiplied)h(b)m(y)630 -2710 y(four.)54 b(The)35 b(argumen)m(t)g(coun)m(t)h(is)f(initially)h +3514 y(four.)54 b(The)35 b(argumen)m(t)g(coun)m(t)h(is)f(initially)h (one,)h(so)e(executing)i(this)e(function)f(the)i(\014rst)630 -2819 y(time)29 b(mak)m(es)h(the)e(argumen)m(t)i(coun)m(t)f(four,)f(a)h +3624 y(time)29 b(mak)m(es)h(the)e(argumen)m(t)i(coun)m(t)f(four,)f(a)h (second)g(time)g(mak)m(es)h(the)e(argumen)m(t)h(coun)m(t)630 -2929 y(sixteen,)i(and)f(so)h(on.)40 b(By)31 b(default,)g(this)f(is)g -(not)h(b)s(ound)d(to)k(a)e(k)m(ey)-8 b(.)150 3134 y Fi(1.4.6)63 +3733 y(sixteen,)i(and)f(so)h(on.)40 b(By)31 b(default,)g(this)f(is)g +(not)h(b)s(ound)d(to)k(a)e(k)m(ey)-8 b(.)150 3944 y Fi(1.4.6)63 b(Letting)40 b(Readline)h(T)m(yp)s(e)g(F)-10 b(or)42 -b(Y)-10 b(ou)150 3309 y Fs(complete)28 b(\(TAB\))630 -3419 y Ft(A)m(ttempt)c(to)f(p)s(erform)e(completion)j(on)f(the)g(text)g +b(Y)-10 b(ou)150 4122 y Fs(complete)28 b(\(TAB\))630 +4231 y Ft(A)m(ttempt)c(to)f(p)s(erform)e(completion)j(on)f(the)g(text)g (b)s(efore)f(p)s(oin)m(t.)39 b(The)22 b(actual)i(completion)630 -3528 y(p)s(erformed)29 b(is)h(application-sp)s(eci\014c.)42 +4341 y(p)s(erformed)29 b(is)h(application-sp)s(eci\014c.)42 b(The)30 b(default)h(is)f(\014lename)h(completion.)150 -3694 y Fs(possible-completions)25 b(\(M-?\))630 3804 +4512 y Fs(possible-completions)25 b(\(M-?\))630 4621 y Ft(List)35 b(the)g(p)s(ossible)f(completions)i(of)e(the)h(text)h(b)s (efore)e(p)s(oin)m(t.)54 b(When)34 b(displa)m(ying)h(com-)630 -3913 y(pletions,)f(Readline)f(sets)f(the)h(n)m(um)m(b)s(er)e(of)i +4731 y(pletions,)f(Readline)f(sets)f(the)h(n)m(um)m(b)s(er)e(of)i (columns)f(used)f(for)i(displa)m(y)f(to)h(the)g(v)-5 -b(alue)33 b(of)630 4023 y Fs(completion-display-width)o +b(alue)33 b(of)630 4840 y Fs(completion-display-width)o Ft(,)g(the)j(v)-5 b(alue)37 b(of)g(the)f(en)m(vironmen)m(t)h(v)-5 -b(ariable)38 b Fs(COLUMNS)p Ft(,)630 4132 y(or)30 b(the)h(screen)f -(width,)g(in)g(that)h(order.)150 4298 y Fs(insert-completions)25 -b(\(M-*\))630 4407 y Ft(Insert)30 b(all)h(completions)h(of)f(the)g +b(ariable)38 b Fs(COLUMNS)p Ft(,)630 4950 y(or)30 b(the)h(screen)f +(width,)g(in)g(that)h(order.)150 5121 y Fs(insert-completions)25 +b(\(M-*\))630 5230 y Ft(Insert)30 b(all)h(completions)h(of)f(the)g (text)g(b)s(efore)f(p)s(oin)m(t)h(that)g(w)m(ould)f(ha)m(v)m(e)i(b)s -(een)e(generated)630 4517 y(b)m(y)g Fs(possible-completions)p -Ft(.)150 4682 y Fs(menu-complete)d(\(\))630 4792 y Ft(Similar)d(to)g -Fs(complete)p Ft(,)f(but)h(replaces)g(the)g(w)m(ord)g(to)g(b)s(e)f -(completed)i(with)e(a)i(single)f(matc)m(h)630 4902 y(from)37 -b(the)h(list)h(of)f(p)s(ossible)f(completions.)64 b(Rep)s(eated)39 -b(execution)g(of)f Fs(menu-complete)630 5011 y Ft(steps)i(through)g -(the)g(list)h(of)f(p)s(ossible)g(completions,)k(inserting)c(eac)m(h)i -(matc)m(h)f(in)f(turn.)630 5121 y(A)m(t)e(the)f(end)f(of)h(the)g(list)g -(of)g(completions,)i(the)e(b)s(ell)g(is)g(rung)f(\(sub)5 -b(ject)36 b(to)i(the)f(setting)630 5230 y(of)f Fs(bell-style)p -Ft(\))e(and)h(the)h(original)i(text)f(is)f(restored.)57 -b(An)36 b(argumen)m(t)h(of)f Fj(n)f Ft(mo)m(v)m(es)i -Fj(n)630 5340 y Ft(p)s(ositions)e(forw)m(ard)f(in)g(the)h(list)h(of)e -(matc)m(hes;)39 b(a)c(negativ)m(e)i(argumen)m(t)e(ma)m(y)g(b)s(e)f -(used)g(to)p eop end +(een)e(generated)630 5340 y(b)m(y)g Fs(possible-completions)p +Ft(.)p eop end %%Page: 22 26 TeXDict begin 22 25 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(22)630 299 y(mo)m(v)m(e)40 -b(bac)m(kw)m(ard)e(through)g(the)g(list.)65 b(This)38 -b(command)g(is)g(in)m(tended)g(to)h(b)s(e)f(b)s(ound)e(to)630 -408 y Fs(TAB)p Ft(,)30 b(but)f(is)i(un)m(b)s(ound)d(b)m(y)i(default.) -150 574 y Fs(menu-complete-backward)24 b(\(\))630 683 -y Ft(Iden)m(tical)36 b(to)g Fs(menu-complete)p Ft(,)d(but)h(mo)m(v)m -(es)j(bac)m(kw)m(ard)e(through)f(the)i(list)f(of)g(p)s(ossible)630 -793 y(completions,)d(as)e(if)h Fs(menu-complete)26 b -Ft(had)k(b)s(een)g(giv)m(en)h(a)g(negativ)m(e)i(argumen)m(t.)150 -958 y Fs(delete-char-or-list)25 b(\(\))630 1068 y Ft(Deletes)41 +b(Command)29 b(Line)i(Editing)2107 b(22)150 299 y Fs(menu-complete)27 +b(\(\))630 408 y Ft(Similar)d(to)g Fs(complete)p Ft(,)f(but)h(replaces) +g(the)g(w)m(ord)g(to)g(b)s(e)f(completed)i(with)e(a)i(single)f(matc)m +(h)630 518 y(from)37 b(the)h(list)h(of)f(p)s(ossible)f(completions.)64 +b(Rep)s(eated)39 b(execution)g(of)f Fs(menu-complete)630 +628 y Ft(steps)i(through)g(the)g(list)h(of)f(p)s(ossible)g +(completions,)k(inserting)c(eac)m(h)i(matc)m(h)f(in)f(turn.)630 +737 y(A)m(t)e(the)f(end)f(of)h(the)g(list)g(of)g(completions,)i(the)e +(b)s(ell)g(is)g(rung)f(\(sub)5 b(ject)36 b(to)i(the)f(setting)630 +847 y(of)f Fs(bell-style)p Ft(\))e(and)h(the)h(original)i(text)f(is)f +(restored.)57 b(An)36 b(argumen)m(t)h(of)f Fj(n)f Ft(mo)m(v)m(es)i +Fj(n)630 956 y Ft(p)s(ositions)e(forw)m(ard)f(in)g(the)h(list)h(of)e +(matc)m(hes;)39 b(a)c(negativ)m(e)i(argumen)m(t)e(ma)m(y)g(b)s(e)f +(used)g(to)630 1066 y(mo)m(v)m(e)40 b(bac)m(kw)m(ard)e(through)g(the)g +(list.)65 b(This)38 b(command)g(is)g(in)m(tended)g(to)h(b)s(e)f(b)s +(ound)e(to)630 1176 y Fs(TAB)p Ft(,)30 b(but)f(is)i(un)m(b)s(ound)d(b)m +(y)i(default.)150 1331 y Fs(menu-complete-backward)24 +b(\(\))630 1441 y Ft(Iden)m(tical)36 b(to)g Fs(menu-complete)p +Ft(,)d(but)h(mo)m(v)m(es)j(bac)m(kw)m(ard)e(through)f(the)i(list)f(of)g +(p)s(ossible)630 1550 y(completions,)d(as)e(if)h Fs(menu-complete)26 +b Ft(had)k(b)s(een)g(giv)m(en)h(a)g(negativ)m(e)i(argumen)m(t.)150 +1705 y Fs(delete-char-or-list)25 b(\(\))630 1815 y Ft(Deletes)41 b(the)e(c)m(haracter)h(under)e(the)h(cursor)f(if)h(not)g(at)g(the)h(b)s -(eginning)e(or)h(end)f(of)h(the)630 1177 y(line)50 b(\(lik)m(e)h +(eginning)e(or)h(end)f(of)h(the)630 1925 y(line)50 b(\(lik)m(e)h Fs(delete-char)p Ft(\).)96 b(If)49 b(at)h(the)g(end)f(of)h(the)f(line,) -55 b(b)s(eha)m(v)m(es)c(iden)m(tically)g(to)630 1287 +55 b(b)s(eha)m(v)m(es)c(iden)m(tically)g(to)630 2034 y Fs(possible-completions)p Ft(.)35 b(This)30 b(command)g(is)g(un)m(b)s -(ound)e(b)m(y)i(default.)150 1492 y Fi(1.4.7)63 b(Keyb)s(oard)41 -b(Macros)150 1666 y Fs(start-kbd-macro)26 b(\(C-x)j(\(\))630 -1776 y Ft(Begin)i(sa)m(ving)h(the)e(c)m(haracters)i(t)m(yp)s(ed)e(in)m +(ound)e(b)m(y)i(default.)150 2229 y Fi(1.4.7)63 b(Keyb)s(oard)41 +b(Macros)150 2399 y Fs(start-kbd-macro)26 b(\(C-x)j(\(\))630 +2509 y Ft(Begin)i(sa)m(ving)h(the)e(c)m(haracters)i(t)m(yp)s(ed)e(in)m (to)h(the)g(curren)m(t)f(k)m(eyb)s(oard)g(macro.)150 -1941 y Fs(end-kbd-macro)d(\(C-x)i(\)\))630 2051 y Ft(Stop)e(sa)m(ving)h +2664 y Fs(end-kbd-macro)d(\(C-x)i(\)\))630 2774 y Ft(Stop)e(sa)m(ving)h (the)g(c)m(haracters)g(t)m(yp)s(ed)f(in)m(to)i(the)e(curren)m(t)g(k)m -(eyb)s(oard)g(macro)h(and)f(sa)m(v)m(e)i(the)630 2160 -y(de\014nition.)150 2326 y Fs(call-last-kbd-macro)c(\(C-x)k(e\))630 -2435 y Ft(Re-execute)37 b(the)e(last)h(k)m(eyb)s(oard)f(macro)h +(eyb)s(oard)g(macro)h(and)f(sa)m(v)m(e)i(the)630 2883 +y(de\014nition.)150 3039 y Fs(call-last-kbd-macro)c(\(C-x)k(e\))630 +3148 y Ft(Re-execute)37 b(the)e(last)h(k)m(eyb)s(oard)f(macro)h (de\014ned,)f(b)m(y)h(making)f(the)g(c)m(haracters)i(in)e(the)630 -2545 y(macro)c(app)s(ear)f(as)g(if)h(t)m(yp)s(ed)f(at)h(the)f(k)m(eyb)s -(oard.)150 2710 y Fs(print-last-kbd-macro)25 b(\(\))630 -2819 y Ft(Prin)m(t)30 b(the)h(last)g(k)m(eb)s(oard)f(macro)h(de\014ned) +3258 y(macro)c(app)s(ear)f(as)g(if)h(t)m(yp)s(ed)f(at)h(the)f(k)m(eyb)s +(oard.)150 3413 y Fs(print-last-kbd-macro)25 b(\(\))630 +3523 y Ft(Prin)m(t)30 b(the)h(last)g(k)m(eb)s(oard)f(macro)h(de\014ned) e(in)i(a)f(format)h(suitable)g(for)f(the)h Fj(inputrc)k -Ft(\014le.)150 3024 y Fi(1.4.8)63 b(Some)41 b(Miscellaneous)i(Commands) -150 3199 y Fs(re-read-init-file)26 b(\(C-x)j(C-r\))630 -3309 y Ft(Read)22 b(in)g(the)g(con)m(ten)m(ts)h(of)f(the)g +Ft(\014le.)150 3718 y Fi(1.4.8)63 b(Some)41 b(Miscellaneous)i(Commands) +150 3888 y Fs(re-read-init-file)26 b(\(C-x)j(C-r\))630 +3997 y Ft(Read)22 b(in)g(the)g(con)m(ten)m(ts)h(of)f(the)g Fj(inputrc)27 b Ft(\014le,)d(and)d(incorp)s(orate)h(an)m(y)h(bindings)d -(or)i(v)-5 b(ariable)630 3418 y(assignmen)m(ts)31 b(found)e(there.)150 -3583 y Fs(abort)g(\(C-g\))630 3693 y Ft(Ab)s(ort)d(the)h(curren)m(t)f +(or)i(v)-5 b(ariable)630 4107 y(assignmen)m(ts)31 b(found)e(there.)150 +4262 y Fs(abort)g(\(C-g\))630 4372 y Ft(Ab)s(ort)d(the)h(curren)m(t)f (editing)h(command)f(and)g(ring)h(the)f(terminal's)h(b)s(ell)g(\(sub)5 -b(ject)26 b(to)i(the)630 3803 y(setting)j(of)g Fs(bell-style)p -Ft(\).)150 3968 y Fs(do-lowercase-version)25 b(\(M-A,)k(M-B,)g(M-)p -Fl(x)p Fs(,)g(...)o(\))630 4077 y Ft(If)35 b(the)g(meta\014ed)g(c)m +b(ject)26 b(to)i(the)630 4481 y(setting)j(of)g Fs(bell-style)p +Ft(\).)150 4637 y Fs(do-lowercase-version)25 b(\(M-A,)k(M-B,)g(M-)p +Fl(x)p Fs(,)g(...)o(\))630 4746 y Ft(If)35 b(the)g(meta\014ed)g(c)m (haracter)i Fj(x)k Ft(is)35 b(upp)s(er)e(case,)k(run)d(the)h(command)g -(that)g(is)g(b)s(ound)e(to)630 4187 y(the)g(corresp)s(onding)f +(that)g(is)g(b)s(ound)e(to)630 4856 y(the)g(corresp)s(onding)f (meta\014ed)h(lo)m(w)m(er)i(case)f(c)m(haracter.)50 b(The)32 -b(b)s(eha)m(vior)h(is)g(unde\014ned)e(if)630 4297 y Fj(x)37 -b Ft(is)30 b(already)h(lo)m(w)m(er)h(case.)150 4462 y -Fs(prefix-meta)27 b(\(ESC\))630 4571 y Ft(Metafy)39 b(the)e(next)h(c)m +b(b)s(eha)m(vior)h(is)g(unde\014ned)e(if)630 4965 y Fj(x)37 +b Ft(is)30 b(already)h(lo)m(w)m(er)h(case.)150 5121 y +Fs(prefix-meta)27 b(\(ESC\))630 5230 y Ft(Metafy)39 b(the)e(next)h(c)m (haracter)h(t)m(yp)s(ed.)62 b(This)37 b(is)g(for)h(k)m(eyb)s(oards)f -(without)g(a)h(meta)g(k)m(ey)-8 b(.)630 4681 y(T)m(yping)30 +(without)g(a)h(meta)g(k)m(ey)-8 b(.)630 5340 y(T)m(yping)30 b(`)p Fs(ESC)g(f)p Ft(')g(is)h(equiv)-5 b(alen)m(t)31 -b(to)g(t)m(yping)g Fl(M-f)p Ft(.)150 4846 y Fs(undo)e(\(C-_)g(or)h(C-x) -g(C-u\))630 4956 y Ft(Incremen)m(tal)h(undo,)f(separately)h(remem)m(b)s -(ered)f(for)g(eac)m(h)i(line.)150 5121 y Fs(revert-line)27 -b(\(M-r\))630 5230 y Ft(Undo)33 b(all)h(c)m(hanges)g(made)f(to)h(this)f -(line.)49 b(This)32 b(is)h(lik)m(e)i(executing)f(the)f -Fs(undo)f Ft(command)630 5340 y(enough)e(times)h(to)g(get)h(bac)m(k)f -(to)g(the)f(b)s(eginning.)p eop end +b(to)g(t)m(yping)g Fl(M-f)p Ft(.)p eop end %%Page: 23 27 TeXDict begin 23 26 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(23)150 299 y Fs(tilde-expand)27 -b(\(M-~\))630 408 y Ft(P)m(erform)j(tilde)h(expansion)g(on)f(the)g -(curren)m(t)h(w)m(ord.)150 562 y Fs(set-mark)d(\(C-@\))630 -671 y Ft(Set)33 b(the)g(mark)f(to)i(the)f(p)s(oin)m(t.)48 -b(If)32 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h(mark)g -(is)f(set)630 781 y(to)f(that)g(p)s(osition.)150 934 -y Fs(exchange-point-and-mark)24 b(\(C-x)29 b(C-x\))630 -1044 y Ft(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with)g(the)g(mark.)43 +b(Command)29 b(Line)i(Editing)2107 b(23)150 299 y Fs(undo)29 +b(\(C-_)g(or)h(C-x)g(C-u\))630 408 y Ft(Incremen)m(tal)h(undo,)f +(separately)h(remem)m(b)s(ered)f(for)g(eac)m(h)i(line.)150 +584 y Fs(revert-line)27 b(\(M-r\))630 693 y Ft(Undo)33 +b(all)h(c)m(hanges)g(made)f(to)h(this)f(line.)49 b(This)32 +b(is)h(lik)m(e)i(executing)f(the)f Fs(undo)f Ft(command)630 +803 y(enough)e(times)h(to)g(get)h(bac)m(k)f(to)g(the)f(b)s(eginning.) +150 978 y Fs(tilde-expand)d(\(M-~\))630 1088 y Ft(P)m(erform)j(tilde)h +(expansion)g(on)f(the)g(curren)m(t)h(w)m(ord.)150 1263 +y Fs(set-mark)d(\(C-@\))630 1373 y Ft(Set)33 b(the)g(mark)f(to)i(the)f +(p)s(oin)m(t.)48 b(If)32 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g +(supplied,)f(the)h(mark)g(is)f(set)630 1482 y(to)f(that)g(p)s(osition.) +150 1658 y Fs(exchange-point-and-mark)24 b(\(C-x)29 b(C-x\))630 +1767 y Ft(Sw)m(ap)i(the)g(p)s(oin)m(t)g(with)g(the)g(mark.)43 b(The)31 b(curren)m(t)g(cursor)f(p)s(osition)i(is)f(set)h(to)f(the)h -(sa)m(v)m(ed)630 1154 y(p)s(osition,)f(and)e(the)i(old)g(cursor)e(p)s -(osition)i(is)f(sa)m(v)m(ed)i(as)e(the)h(mark.)150 1307 -y Fs(character-search)26 b(\(C-]\))630 1417 y Ft(A)f(c)m(haracter)h(is) +(sa)m(v)m(ed)630 1877 y(p)s(osition,)f(and)e(the)i(old)g(cursor)e(p)s +(osition)i(is)f(sa)m(v)m(ed)i(as)e(the)h(mark.)150 2052 +y Fs(character-search)26 b(\(C-]\))630 2162 y Ft(A)f(c)m(haracter)h(is) f(read)g(and)f(p)s(oin)m(t)h(is)g(mo)m(v)m(ed)h(to)g(the)f(next)g(o)s -(ccurrence)g(of)g(that)g(c)m(haracter.)630 1526 y(A)30 +(ccurrence)g(of)g(that)g(c)m(haracter.)630 2271 y(A)30 b(negativ)m(e)j(coun)m(t)e(searc)m(hes)g(for)f(previous)g(o)s -(ccurrences.)150 1680 y Fs(character-search-backwar)o(d)24 -b(\(M-C-]\))630 1789 y Ft(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s +(ccurrences.)150 2447 y Fs(character-search-backwar)o(d)24 +b(\(M-C-]\))630 2556 y Ft(A)45 b(c)m(haracter)h(is)f(read)g(and)f(p)s (oin)m(t)h(is)g(mo)m(v)m(ed)h(to)f(the)g(previous)f(o)s(ccurrence)h(of) -g(that)630 1899 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f +g(that)630 2666 y(c)m(haracter.)d(A)31 b(negativ)m(e)h(coun)m(t)f (searc)m(hes)h(for)e(subsequen)m(t)f(o)s(ccurrences.)150 -2052 y Fs(skip-csi-sequence)d(\(\))630 2162 y Ft(Read)i(enough)f(c)m +2841 y Fs(skip-csi-sequence)d(\(\))630 2951 y Ft(Read)i(enough)f(c)m (haracters)h(to)g(consume)f(a)h(m)m(ulti-k)m(ey)h(sequence)f(suc)m(h)f -(as)g(those)h(de\014ned)630 2271 y(for)37 b(k)m(eys)h(lik)m(e)g(Home)g +(as)g(those)h(de\014ned)630 3061 y(for)37 b(k)m(eys)h(lik)m(e)g(Home)g (and)f(End.)60 b(Suc)m(h)37 b(sequences)g(b)s(egin)g(with)g(a)h(Con)m -(trol)g(Sequence)630 2381 y(Indicator)f(\(CSI\),)f(usually)h(ESC-[.)59 +(trol)g(Sequence)630 3170 y(Indicator)f(\(CSI\),)f(usually)h(ESC-[.)59 b(If)36 b(this)g(sequence)h(is)g(b)s(ound)d(to)k Fs("\\)p -Ft(e[)p Fs(")p Ft(,)g(k)m(eys)f(pro-)630 2491 y(ducing)31 +Ft(e[)p Fs(")p Ft(,)g(k)m(eys)f(pro-)630 3280 y(ducing)31 b(suc)m(h)h(sequences)g(will)h(ha)m(v)m(e)g(no)f(e\013ect)h(unless)e -(explicitly)j(b)s(ound)c(to)i(a)h(readline)630 2600 y(command,)f +(explicitly)j(b)s(ound)c(to)i(a)h(readline)630 3389 y(command,)f (instead)g(of)g(inserting)g(stra)m(y)h(c)m(haracters)g(in)m(to)g(the)f -(editing)h(bu\013er.)44 b(This)31 b(is)630 2710 y(un)m(b)s(ound)d(b)m +(editing)h(bu\013er.)44 b(This)31 b(is)630 3499 y(un)m(b)s(ound)d(b)m (y)i(default,)h(but)f(usually)g(b)s(ound)e(to)j(ESC-[.)150 -2863 y Fs(insert-comment)26 b(\(M-#\))630 2973 y Ft(Without)36 +3674 y Fs(insert-comment)26 b(\(M-#\))630 3784 y Ft(Without)36 b(a)g(n)m(umeric)g(argumen)m(t,)h(the)f(v)-5 b(alue)36 b(of)g(the)g Fs(comment-begin)c Ft(v)-5 b(ariable)36 -b(is)g(in-)630 3082 y(serted)c(at)g(the)g(b)s(eginning)f(of)h(the)f +b(is)g(in-)630 3893 y(serted)c(at)g(the)g(b)s(eginning)f(of)h(the)f (curren)m(t)h(line.)45 b(If)31 b(a)h(n)m(umeric)f(argumen)m(t)h(is)g -(supplied,)630 3192 y(this)k(command)h(acts)g(as)g(a)g(toggle:)55 +(supplied,)630 4003 y(this)k(command)h(acts)g(as)g(a)g(toggle:)55 b(if)37 b(the)f(c)m(haracters)i(at)g(the)e(b)s(eginning)g(of)h(the)g -(line)630 3302 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 +(line)630 4113 y(do)30 b(not)h(matc)m(h)h(the)f(v)-5 b(alue)31 b(of)f Fs(comment-begin)p Ft(,)e(the)i(v)-5 -b(alue)31 b(is)g(inserted,)g(otherwise)g(the)630 3411 +b(alue)31 b(is)g(inserted,)g(otherwise)g(the)630 4222 y(c)m(haracters)42 b(in)d Fs(comment-begin)e Ft(are)j(deleted)h(from)f -(the)g(b)s(eginning)g(of)g(the)g(line.)71 b(In)630 3521 +(the)g(b)s(eginning)g(of)g(the)g(line.)71 b(In)630 4332 y(either)31 b(case,)h(the)e(line)h(is)f(accepted)i(as)f(if)f(a)h -(newline)f(had)g(b)s(een)f(t)m(yp)s(ed.)150 3674 y Fs(dump-functions)d -(\(\))630 3784 y Ft(Prin)m(t)g(all)i(of)e(the)h(functions)f(and)g +(newline)f(had)g(b)s(een)f(t)m(yp)s(ed.)150 4507 y Fs(dump-functions)d +(\(\))630 4617 y Ft(Prin)m(t)g(all)i(of)e(the)h(functions)f(and)g (their)g(k)m(ey)h(bindings)e(to)j(the)e(Readline)h(output)f(stream.)630 -3893 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h +4726 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is)g(supplied,)f(the)h (output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a)m(y)g(that)630 -4003 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fj(inputrc)k +4836 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fj(inputrc)k Ft(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c(b)m(y)k -(default.)150 4156 y Fs(dump-variables)26 b(\(\))630 -4266 y Ft(Prin)m(t)21 b(all)h(of)g(the)f(settable)i(v)-5 +(default.)150 5011 y Fs(dump-variables)26 b(\(\))630 +5121 y Ft(Prin)m(t)21 b(all)h(of)g(the)f(settable)i(v)-5 b(ariables)22 b(and)f(their)g(v)-5 b(alues)22 b(to)g(the)f(Readline)h -(output)f(stream.)630 4376 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is) +(output)f(stream.)630 5230 y(If)31 b(a)h(n)m(umeric)g(argumen)m(t)g(is) g(supplied,)f(the)h(output)f(is)h(formatted)g(in)f(suc)m(h)h(a)g(w)m(a) -m(y)g(that)630 4485 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h +m(y)g(that)630 5340 y(it)f(can)g(b)s(e)e(made)i(part)f(of)g(an)h Fj(inputrc)k Ft(\014le.)41 b(This)29 b(command)h(is)h(un)m(b)s(ound)c -(b)m(y)k(default.)150 4639 y Fs(dump-macros)c(\(\))630 -4748 y Ft(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h(sequences) -f(b)s(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 -4858 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e +(b)m(y)k(default.)p eop end +%%Page: 24 28 +TeXDict begin 24 27 bop 150 -116 a Ft(Chapter)30 b(1:)41 +b(Command)29 b(Line)i(Editing)2107 b(24)150 299 y Fs(dump-macros)27 +b(\(\))630 408 y Ft(Prin)m(t)34 b(all)g(of)g(the)g(Readline)g(k)m(ey)h +(sequences)f(b)s(ound)e(to)i(macros)g(and)f(the)h(strings)g(they)630 +518 y(output.)53 b(If)35 b(a)g(n)m(umeric)f(argumen)m(t)i(is)e (supplied,)h(the)g(output)g(is)f(formatted)i(in)e(suc)m(h)h(a)630 -4967 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e +628 y(w)m(a)m(y)c(that)g(it)f(can)g(b)s(e)g(made)g(part)f(of)i(an)e Fj(inputrc)35 b Ft(\014le.)41 b(This)29 b(command)h(is)g(un)m(b)s(ound) -d(b)m(y)630 5077 y(default.)150 5230 y Fs(emacs-editing-mode)e(\(C-e\)) -630 5340 y Ft(When)30 b(in)g Fs(vi)g Ft(command)g(mo)s(de,)g(this)h -(causes)f(a)h(switc)m(h)g(to)g Fs(emacs)e Ft(editing)i(mo)s(de.)p +d(b)m(y)630 737 y(default.)150 897 y Fs(emacs-editing-mode)e(\(C-e\)) +630 1006 y Ft(When)30 b(in)g Fs(vi)g Ft(command)g(mo)s(de,)g(this)h +(causes)f(a)h(switc)m(h)g(to)g Fs(emacs)e Ft(editing)i(mo)s(de.)150 +1166 y Fs(vi-editing-mode)26 b(\(M-C-j\))630 1275 y Ft(When)k(in)g +Fs(emacs)f Ft(editing)i(mo)s(de,)f(this)h(causes)f(a)h(switc)m(h)g(to)g +Fs(vi)f Ft(editing)h(mo)s(de.)150 1516 y Fr(1.5)68 b(Readline)47 +b(vi)e(Mo)t(de)150 1675 y Ft(While)32 b(the)g(Readline)g(library)f(do)s +(es)g(not)h(ha)m(v)m(e)h(a)f(full)f(set)h(of)g Fs(vi)f +Ft(editing)h(functions,)f(it)h(do)s(es)g(con)m(tain)150 +1785 y(enough)i(to)h(allo)m(w)g(simple)f(editing)h(of)f(the)g(line.)52 +b(The)34 b(Readline)g Fs(vi)g Ft(mo)s(de)f(b)s(eha)m(v)m(es)i(as)f(sp)s +(eci\014ed)f(in)150 1895 y(the)e Fm(posix)e Ft(standard.)275 +2029 y(In)f(order)g(to)i(switc)m(h)g(in)m(teractiv)m(ely)i(b)s(et)m(w)m +(een)d Fs(emacs)f Ft(and)g Fs(vi)h Ft(editing)g(mo)s(des,)g(use)g(the)g +(command)150 2139 y Fl(M-C-j)36 b Ft(\(b)s(ound)h(to)h +(emacs-editing-mo)s(de)i(when)d(in)g Fs(vi)h Ft(mo)s(de)f(and)g(to)i +(vi-editing-mo)s(de)g(in)e Fs(emacs)150 2248 y Ft(mo)s(de\).)k(The)30 +b(Readline)h(default)f(is)g Fs(emacs)f Ft(mo)s(de.)275 +2383 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f(in)g Fs(vi)f +Ft(mo)s(de,)h(y)m(ou)h(are)f(already)h(placed)f(in)g(`insertion')g(mo)s +(de,)g(as)h(if)f(y)m(ou)150 2492 y(had)f(t)m(yp)s(ed)g(an)g(`)p +Fs(i)p Ft('.)41 b(Pressing)29 b Fs(ESC)f Ft(switc)m(hes)i(y)m(ou)g(in)m +(to)h(`command')e(mo)s(de,)h(where)e(y)m(ou)i(can)g(edit)g(the)150 +2602 y(text)35 b(of)f(the)g(line)g(with)f(the)h(standard)f +Fs(vi)g Ft(mo)m(v)m(emen)m(t)j(k)m(eys,)g(mo)m(v)m(e)f(to)f(previous)g +(history)f(lines)h(with)150 2711 y(`)p Fs(k)p Ft(')d(and)e(subsequen)m +(t)h(lines)h(with)f(`)p Fs(j)p Ft(',)g(and)g(so)h(forth.)p eop end -%%Page: 24 28 -TeXDict begin 24 27 bop 150 -116 a Ft(Chapter)30 b(1:)41 -b(Command)29 b(Line)i(Editing)2107 b(24)150 299 y Fs(vi-editing-mode)26 -b(\(M-C-j\))630 408 y Ft(When)k(in)g Fs(emacs)f Ft(editing)i(mo)s(de,)f -(this)h(causes)f(a)h(switc)m(h)g(to)g Fs(vi)f Ft(editing)h(mo)s(de.)150 -649 y Fr(1.5)68 b(Readline)47 b(vi)e(Mo)t(de)150 809 -y Ft(While)32 b(the)g(Readline)g(library)f(do)s(es)g(not)h(ha)m(v)m(e)h -(a)f(full)f(set)h(of)g Fs(vi)f Ft(editing)h(functions,)f(it)h(do)s(es)g -(con)m(tain)150 918 y(enough)i(to)h(allo)m(w)g(simple)f(editing)h(of)f -(the)g(line.)52 b(The)34 b(Readline)g Fs(vi)g Ft(mo)s(de)f(b)s(eha)m(v) -m(es)i(as)f(sp)s(eci\014ed)f(in)150 1028 y(the)e Fm(posix)e -Ft(standard.)275 1162 y(In)f(order)g(to)i(switc)m(h)g(in)m(teractiv)m -(ely)i(b)s(et)m(w)m(een)d Fs(emacs)f Ft(and)g Fs(vi)h -Ft(editing)g(mo)s(des,)g(use)g(the)g(command)150 1272 -y Fl(M-C-j)36 b Ft(\(b)s(ound)h(to)h(emacs-editing-mo)s(de)i(when)d(in) -g Fs(vi)h Ft(mo)s(de)f(and)g(to)i(vi-editing-mo)s(de)g(in)e -Fs(emacs)150 1381 y Ft(mo)s(de\).)k(The)30 b(Readline)h(default)f(is)g -Fs(emacs)f Ft(mo)s(de.)275 1516 y(When)g(y)m(ou)i(en)m(ter)f(a)h(line)f -(in)g Fs(vi)f Ft(mo)s(de,)h(y)m(ou)h(are)f(already)h(placed)f(in)g -(`insertion')g(mo)s(de,)g(as)h(if)f(y)m(ou)150 1626 y(had)f(t)m(yp)s -(ed)g(an)g(`)p Fs(i)p Ft('.)41 b(Pressing)29 b Fs(ESC)f -Ft(switc)m(hes)i(y)m(ou)g(in)m(to)h(`command')e(mo)s(de,)h(where)e(y)m -(ou)i(can)g(edit)g(the)150 1735 y(text)35 b(of)f(the)g(line)g(with)f -(the)h(standard)f Fs(vi)g Ft(mo)m(v)m(emen)m(t)j(k)m(eys,)g(mo)m(v)m(e) -f(to)f(previous)g(history)f(lines)h(with)150 1845 y(`)p -Fs(k)p Ft(')d(and)e(subsequen)m(t)h(lines)h(with)f(`)p -Fs(j)p Ft(',)g(and)g(so)h(forth.)p eop end %%Page: 25 29 TeXDict begin 25 28 bop 3659 -116 a Ft(25)150 299 y Fp(2)80 b(Programming)54 b(with)f(GNU)h(Readline)150 543 y Ft(This)24 @@ -9701,1130 +9721,1151 @@ b(Programming)30 b(with)g(GNU)h(Readline)1683 b(43)3350 Fg(\()p Ff(in)m(t)34 b(c)p Fg(\))390 408 y Ft(If)28 b Fj(c)35 b Ft(is)29 b(an)g(upp)s(ercase)f(alphab)s(etic)h(c)m(haracter,) i(return)d(the)h(corresp)s(onding)f(lo)m(w)m(ercase)j(c)m(harac-)390 -518 y(ter.)3350 712 y([F)-8 b(unction])-3599 b Fh(int)53 +518 y(ter.)3350 714 y([F)-8 b(unction])-3599 b Fh(int)53 b(_rl_digit_value)d Fg(\()p Ff(in)m(t)34 b(c)p Fg(\))390 -821 y Ft(If)c Fj(c)36 b Ft(is)31 b(a)f(n)m(um)m(b)s(er,)g(return)f(the) -h(v)-5 b(alue)31 b(it)g(represen)m(ts.)150 1025 y Fi(2.4.11)63 -b(Miscellaneous)42 b(F)-10 b(unctions)3350 1227 y Ft([F)i(unction]) +823 y Ft(If)c Fj(c)36 b Ft(is)31 b(a)f(n)m(um)m(b)s(er,)g(return)f(the) +h(v)-5 b(alue)31 b(it)g(represen)m(ts.)150 1028 y Fi(2.4.11)63 +b(Miscellaneous)42 b(F)-10 b(unctions)3350 1231 y Ft([F)i(unction]) -3599 b Fh(int)53 b(rl_macro_bind)d Fg(\()p Ff(const)34 b(c)m(har)g(*k)m(eyseq,)e(const)i(c)m(har)g(*macro,)565 -1336 y(Keymap)g(map)p Fg(\))390 1446 y Ft(Bind)23 b(the)g(k)m(ey)h +1340 y(Keymap)g(map)p Fg(\))390 1450 y Ft(Bind)23 b(the)g(k)m(ey)h (sequence)g Fj(k)m(eyseq)i Ft(to)e(in)m(v)m(ok)m(e)h(the)f(macro)f Fj(macro)p Ft(.)39 b(The)23 b(binding)f(is)i(p)s(erformed)d(in)390 -1556 y Fj(map)p Ft(.)39 b(When)28 b Fj(k)m(eyseq)i Ft(is)e(in)m(v)m(ok) +1559 y Fj(map)p Ft(.)39 b(When)28 b Fj(k)m(eyseq)i Ft(is)e(in)m(v)m(ok) m(ed,)i(the)d Fj(macro)33 b Ft(will)28 b(b)s(e)f(inserted)g(in)m(to)i -(the)e(line.)41 b(This)26 b(function)390 1665 y(is)k(deprecated;)i(use) -e Fs(rl_generic_bind\(\))25 b Ft(instead.)3350 1859 y([F)-8 +(the)e(line.)41 b(This)26 b(function)390 1669 y(is)k(deprecated;)i(use) +e Fs(rl_generic_bind\(\))25 b Ft(instead.)3350 1865 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_macro_dumper)c Fg(\()p -Ff(in)m(t)33 b(readable)p Fg(\))390 1968 y Ft(Prin)m(t)27 +Ff(in)m(t)33 b(readable)p Fg(\))390 1974 y Ft(Prin)m(t)27 b(the)g(k)m(ey)h(sequences)g(b)s(ound)d(to)j(macros)f(and)g(their)g(v) -5 b(alues,)28 b(using)f(the)g(curren)m(t)g(k)m(eymap,)390 -2078 y(to)32 b Fs(rl_outstream)p Ft(.)40 b(If)31 b Fj(readable)36 +2084 y(to)32 b Fs(rl_outstream)p Ft(.)40 b(If)31 b Fj(readable)36 b Ft(is)c(non-zero,)g(the)f(list)h(is)f(formatted)h(in)f(suc)m(h)g(a)g -(w)m(a)m(y)i(that)e(it)390 2188 y(can)g(b)s(e)e(made)i(part)f(of)h(an)f -Fs(inputrc)e Ft(\014le)j(and)e(re-read.)3350 2381 y([F)-8 +(w)m(a)m(y)i(that)e(it)390 2193 y(can)g(b)s(e)e(made)i(part)f(of)h(an)f +Fs(inputrc)e Ft(\014le)j(and)e(re-read.)3350 2389 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_variable_bind)e Fg(\()p Ff(const)34 b(c)m(har)f(*v)-6 b(ariable,)33 b(const)h(c)m(har)f(*v)-6 -b(alue)p Fg(\))390 2491 y Ft(Mak)m(e)31 b(the)e(Readline)g(v)-5 +b(alue)p Fg(\))390 2499 y Ft(Mak)m(e)31 b(the)e(Readline)g(v)-5 b(ariable)30 b Fj(v)-5 b(ariable)35 b Ft(ha)m(v)m(e)30 b Fj(v)-5 b(alue)p Ft(.)41 b(This)28 b(b)s(eha)m(v)m(es)h(as)h(if)f -(the)g(readline)g(com-)390 2600 y(mand)h(`)p Fs(set)g +(the)g(readline)g(com-)390 2608 y(mand)h(`)p Fs(set)g Fl(variable)e(value)p Ft(')h(had)h(b)s(een)h(executed)g(in)g(an)f Fs(inputrc)f Ft(\014le)i(\(see)h(Section)f(1.3.1)390 -2710 y([Readline)g(Init)f(File)i(Syn)m(tax],)f(page)g(4\).)3350 -2904 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_variable_value)f +2718 y([Readline)g(Init)f(File)i(Syn)m(tax],)f(page)g(4\).)3350 +2914 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_variable_value)f Fg(\()p Ff(const)34 b(c)m(har)g(*v)-6 b(ariable)p Fg(\))390 -3013 y Ft(Return)28 b(a)i(string)f(represen)m(ting)h(the)f(v)-5 +3023 y Ft(Return)28 b(a)i(string)f(represen)m(ting)h(the)f(v)-5 b(alue)30 b(of)f(the)h(Readline)g(v)-5 b(ariable)30 b Fj(v)-5 b(ariable)p Ft(.)41 b(F)-8 b(or)30 b(b)s(o)s(olean)390 -3123 y(v)-5 b(ariables,)31 b(this)g(string)f(is)g(either)h(`)p -Fs(on)p Ft(')f(or)h(`)p Fs(off)p Ft('.)3350 3317 y([F)-8 +3133 y(v)-5 b(ariables,)31 b(this)g(string)f(is)g(either)h(`)p +Fs(on)p Ft(')f(or)h(`)p Fs(off)p Ft('.)3350 3328 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_variable_dumper)c -Fg(\()p Ff(in)m(t)34 b(readable)p Fg(\))390 3426 y Ft(Prin)m(t)29 +Fg(\()p Ff(in)m(t)34 b(readable)p Fg(\))390 3438 y Ft(Prin)m(t)29 b(the)f(readline)h(v)-5 b(ariable)30 b(names)e(and)g(their)h(curren)m (t)f(v)-5 b(alues)29 b(to)h Fs(rl_outstream)p Ft(.)37 -b(If)28 b Fj(read-)390 3536 y(able)40 b Ft(is)34 b(non-zero,)i(the)e +b(If)28 b Fj(read-)390 3548 y(able)40 b Ft(is)34 b(non-zero,)i(the)e (list)g(is)g(formatted)h(in)f(suc)m(h)g(a)g(w)m(a)m(y)h(that)g(it)f -(can)g(b)s(e)g(made)g(part)g(of)g(an)390 3645 y Fs(inputrc)28 -b Ft(\014le)j(and)f(re-read.)3350 3839 y([F)-8 b(unction])-3599 +(can)g(b)s(e)g(made)g(part)g(of)g(an)390 3657 y Fs(inputrc)28 +b Ft(\014le)j(and)f(re-read.)3350 3853 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_set_paren_blink_ti)q(meou)q(t)f Fg(\()p -Ff(in)m(t)33 b(u)p Fg(\))390 3949 y Ft(Set)25 b(the)h(time)f(in)m(terv) +Ff(in)m(t)33 b(u)p Fg(\))390 3962 y Ft(Set)25 b(the)h(time)f(in)m(terv) -5 b(al)27 b(\(in)e(microseconds\))h(that)g(Readline)f(w)m(aits)h(when) -e(sho)m(wing)i(a)f(balancing)390 4058 y(c)m(haracter)32 +e(sho)m(wing)i(a)f(balancing)390 4072 y(c)m(haracter)32 b(when)d Fs(blink-matching-paren)c Ft(has)30 b(b)s(een)g(enabled.)3350 -4252 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_get_termcap)e -Fg(\()p Ff(const)34 b(c)m(har)g(*cap)p Fg(\))390 4361 +4268 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_get_termcap)e +Fg(\()p Ff(const)34 b(c)m(har)g(*cap)p Fg(\))390 4377 y Ft(Retriev)m(e)29 b(the)e(string)g(v)-5 b(alue)27 b(of)g(the)h (termcap)f(capabilit)m(y)i Fj(cap)p Ft(.)40 b(Readline)27 -b(fetc)m(hes)h(the)g(termcap)390 4471 y(en)m(try)34 b(for)f(the)h +b(fetc)m(hes)h(the)g(termcap)390 4487 y(en)m(try)34 b(for)f(the)h (curren)m(t)f(terminal)h(name)g(and)f(uses)g(those)h(capabilities)h(to) -f(mo)m(v)m(e)h(around)e(the)390 4581 y(screen)21 b(line)h(and)e(p)s +f(mo)m(v)m(e)h(around)e(the)390 4596 y(screen)21 b(line)h(and)e(p)s (erform)g(other)h(terminal-sp)s(eci\014c)h(op)s(erations,)h(lik)m(e)f -(erasing)g(a)f(line.)38 b(Readline)390 4690 y(do)s(es)d(not)g(use)g +(erasing)g(a)f(line.)38 b(Readline)390 4706 y(do)s(es)d(not)g(use)g (all)g(of)h(a)f(terminal's)g(capabilities,)k(and)34 b(this)h(function)g -(will)g(return)f(v)-5 b(alues)35 b(for)390 4800 y(only)30 -b(those)h(capabilities)i(Readline)e(uses.)3350 4994 y([F)-8 +(will)g(return)f(v)-5 b(alues)35 b(for)390 4816 y(only)30 +b(those)h(capabilities)i(Readline)e(uses.)3350 5011 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_clear_history)c Fg(\()p -Ff(v)m(oid)p Fg(\))390 5103 y Ft(Clear)27 b(the)h(history)f(list)h(b)m +Ff(v)m(oid)p Fg(\))390 5121 y Ft(Clear)27 b(the)h(history)f(list)h(b)m (y)f(deleting)h(all)g(of)f(the)h(en)m(tries,)h(in)d(the)i(same)f -(manner)g(as)g(the)g(History)390 5213 y(library's)42 +(manner)g(as)g(the)g(History)390 5230 y(library's)42 b Fs(clear_history\(\))d Ft(function.)78 b(This)42 b(di\013ers)g(from)g -Fs(clear_history)e Ft(b)s(ecause)i(it)390 5322 y(frees)30 +Fs(clear_history)e Ft(b)s(ecause)i(it)390 5340 y(frees)30 b(priv)-5 b(ate)31 b(data)g(Readline)g(sa)m(v)m(es)h(in)e(the)h (history)f(list.)p eop end %%Page: 44 48 TeXDict begin 44 47 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(44)150 -299 y Fi(2.4.12)63 b(Alternate)40 b(In)m(terface)150 -446 y Ft(An)21 b(alternate)j(in)m(terface)f(is)f(a)m(v)-5 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(44)3350 +299 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_activate_mark)c +Fg(\()p Ff(v)m(oid)p Fg(\))390 408 y Ft(Enable)30 b(an)f +Fk(active)37 b Ft(mark.)j(When)30 b(this)f(is)h(enabled,)g(the)g(text)h +(b)s(et)m(w)m(een)f(p)s(oin)m(t)g(and)f(mark)g(\(the)390 +518 y Fj(region)p Ft(\))c(is)f(displa)m(y)m(ed)h(in)f(the)g(terminal's) +h(standout)f(mo)s(de)f(\(a)i Fj(face)5 b Ft(\).)40 b(This)24 +b(is)g(called)h(b)m(y)f(v)-5 b(arious)390 628 y(readline)30 +b(functions)f(that)i(set)f(the)g(mark)g(and)f(insert)h(text,)h(and)e +(is)h(a)m(v)-5 b(ailable)32 b(for)e(applications)390 +737 y(to)h(call.)3350 951 y([F)-8 b(unction])-3599 b +Fh(void)54 b(rl_deactivate_mark)c Fg(\()p Ff(v)m(oid)p +Fg(\))390 1061 y Ft(T)-8 b(urn)29 b(o\013)i(the)f(activ)m(e)j(mark.) +3350 1274 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_keep_mark_active)d +Fg(\()p Ff(v)m(oid)p Fg(\))390 1384 y Ft(Indicate)28 +b(that)g(the)g(mark)f(should)f(remain)h(activ)m(e)j(when)d(the)g +(curren)m(t)g(readline)h(function)f(com-)390 1494 y(pletes)h(and)f +(after)h(redispla)m(y)f(o)s(ccurs.)40 b(In)27 b(most)g(cases,)i(the)f +(mark)f(remains)g(activ)m(e)j(for)d(only)h(the)390 1603 +y(duration)i(of)g(a)h(single)g(bindable)f(readline)h(function.)3350 +1817 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_mark_active_p)e +Fg(\()p Ff(v)m(oid)p Fg(\))390 1927 y Ft(Return)30 b(a)g(non-zero)h(v) +-5 b(alue)31 b(if)f(the)h(mark)f(is)h(curren)m(tly)f(activ)m(e;)j(zero) +e(otherwise.)150 2141 y Fi(2.4.12)63 b(Alternate)40 b(In)m(terface)150 +2288 y Ft(An)21 b(alternate)j(in)m(terface)f(is)f(a)m(v)-5 b(ailable)24 b(to)e(plain)g Fs(readline\(\))p Ft(.)35 b(Some)21 b(applications)i(need)f(to)g(in)m(terlea)m(v)m(e)150 -555 y(k)m(eyb)s(oard)35 b(I/O)h(with)f(\014le,)i(device,)h(or)e(windo)m -(w)f(system)g(I/O,)h(t)m(ypically)i(b)m(y)d(using)g(a)h(main)g(lo)s(op) -f(to)150 665 y Fs(select\(\))42 b Ft(on)i(v)-5 b(arious)45 +2397 y(k)m(eyb)s(oard)35 b(I/O)h(with)f(\014le,)i(device,)h(or)e(windo) +m(w)f(system)g(I/O,)h(t)m(ypically)i(b)m(y)d(using)g(a)h(main)g(lo)s +(op)f(to)150 2507 y Fs(select\(\))42 b Ft(on)i(v)-5 b(arious)45 b(\014le)f(descriptors.)83 b(T)-8 b(o)45 b(accommo)s(date)h(this)e -(need,)k(readline)d(can)f(also)i(b)s(e)150 775 y(in)m(v)m(ok)m(ed)33 +(need,)k(readline)d(can)f(also)i(b)s(e)150 2616 y(in)m(v)m(ok)m(ed)33 b(as)e(a)h(`callbac)m(k')h(function)e(from)g(an)g(ev)m(en)m(t)h(lo)s (op.)44 b(There)30 b(are)i(functions)f(a)m(v)-5 b(ailable)33 -b(to)f(mak)m(e)150 884 y(this)e(easy)-8 b(.)3350 1080 +b(to)f(mak)m(e)150 2726 y(this)e(easy)-8 b(.)3350 2940 y([F)g(unction])-3599 b Fh(void)54 b(rl_callback_handler_inst)q(all)e -Fg(\()p Ff(const)34 b(c)m(har)g(*prompt,)565 1190 y(rl)p -639 1190 30 5 v 44 w(v)m(cpfunc)p 1016 1190 V 45 w(t)f(*lhandler)p -Fg(\))390 1300 y Ft(Set)25 b(up)f(the)h(terminal)g(for)f(readline)i +Fg(\()p Ff(const)34 b(c)m(har)g(*prompt,)565 3049 y(rl)p +639 3049 30 5 v 44 w(v)m(cpfunc)p 1016 3049 V 45 w(t)f(*lhandler)p +Fg(\))390 3159 y Ft(Set)25 b(up)f(the)h(terminal)g(for)f(readline)i (I/O)e(and)g(displa)m(y)h(the)g(initial)h(expanded)e(v)-5 -b(alue)26 b(of)f Fj(prompt)p Ft(.)390 1409 y(Sa)m(v)m(e)34 +b(alue)26 b(of)f Fj(prompt)p Ft(.)390 3269 y(Sa)m(v)m(e)34 b(the)f(v)-5 b(alue)33 b(of)g Fj(lhandler)39 b Ft(to)34 b(use)e(as)h(a)g(handler)f(function)h(to)g(call)h(when)e(a)h(complete)i -(line)390 1519 y(of)h(input)f(has)g(b)s(een)g(en)m(tered.)57 +(line)390 3378 y(of)h(input)f(has)g(b)s(een)g(en)m(tered.)57 b(The)35 b(handler)g(function)g(receiv)m(es)j(the)e(text)g(of)g(the)g -(line)g(as)g(an)390 1628 y(argumen)m(t.)k(As)29 b(with)f +(line)g(as)g(an)390 3488 y(argumen)m(t.)k(As)29 b(with)f Fs(readline\(\))p Ft(,)e(the)j(handler)e(function)h(should)g -Fs(free)f Ft(the)h(line)h(when)e(it)i(it)390 1738 y(\014nished)g(with)h -(it.)3350 1934 y([F)-8 b(unction])-3599 b Fh(void)54 +Fs(free)f Ft(the)h(line)h(when)e(it)i(it)390 3597 y(\014nished)g(with)h +(it.)3350 3811 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_callback_read_char)d Fg(\()p Ff(v)m(oid)p Fg(\))390 -2044 y Ft(Whenev)m(er)34 b(an)g(application)h(determines)e(that)i(k)m +3921 y Ft(Whenev)m(er)34 b(an)g(application)h(determines)e(that)i(k)m (eyb)s(oard)e(input)g(is)h(a)m(v)-5 b(ailable,)37 b(it)d(should)f(call) -390 2153 y Fs(rl_callback_read_char\(\))p Ft(,)17 b(whic)m(h)22 +390 4030 y Fs(rl_callback_read_char\(\))p Ft(,)17 b(whic)m(h)22 b(will)g(read)f(the)h(next)g(c)m(haracter)h(from)f(the)f(curren)m(t)h -(input)390 2263 y(source.)40 b(If)27 b(that)i(c)m(haracter)g(completes) +(input)390 4140 y(source.)40 b(If)27 b(that)i(c)m(haracter)g(completes) h(the)e(line,)h Fs(rl_callback_read_char)22 b Ft(will)28 -b(in)m(v)m(ok)m(e)i(the)390 2373 y Fj(lhandler)47 b Ft(function)40 +b(in)m(v)m(ok)m(e)i(the)390 4249 y Fj(lhandler)47 b Ft(function)40 b(installed)i(b)m(y)e Fs(rl_callback_handler_insta)o(ll)35 -b Ft(to)41 b(pro)s(cess)f(the)h(line.)390 2482 y(Before)j(calling)h +b Ft(to)41 b(pro)s(cess)f(the)h(line.)390 4359 y(Before)j(calling)h (the)e Fj(lhandler)49 b Ft(function,)e(the)c(terminal)h(settings)g(are) -g(reset)f(to)h(the)g(v)-5 b(alues)390 2592 y(they)44 +g(reset)f(to)h(the)g(v)-5 b(alues)390 4469 y(they)44 b(had)e(b)s(efore)h(calling)i Fs(rl_callback_handler_insta)o(ll)p Ft(.)73 b(If)43 b(the)h Fj(lhandler)49 b Ft(function)390 -2701 y(returns,)27 b(and)h(the)g(line)g(handler)f(remains)h(installed,) +4578 y(returns,)27 b(and)h(the)g(line)g(handler)f(remains)h(installed,) i(the)e(terminal)g(settings)h(are)f(mo)s(di\014ed)f(for)390 -2811 y(Readline's)k(use)f(again.)42 b Fs(EOF)29 b Ft(is)i(indicated)g +4688 y(Readline's)k(use)f(again.)42 b Fs(EOF)29 b Ft(is)i(indicated)g (b)m(y)f(calling)i Fj(lhandler)k Ft(with)30 b(a)h Fs(NULL)e -Ft(line.)3350 3007 y([F)-8 b(unction])-3599 b Fh(void)54 +Ft(line.)3350 4902 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_callback_sigcleanup)e Fg(\()p Ff(v)m(oid)p Fg(\))390 -3117 y Ft(Clean)26 b(up)e(an)m(y)i(in)m(ternal)g(state)h(the)e(callbac) +5011 y Ft(Clean)26 b(up)e(an)m(y)i(in)m(ternal)g(state)h(the)e(callbac) m(k)j(in)m(terface)f(uses)e(to)h(main)m(tain)g(state)h(b)s(et)m(w)m -(een)f(calls)390 3226 y(to)35 b(rl)p 572 3226 28 4 v -40 w(callbac)m(k)p 928 3226 V 42 w(read)p 1142 3226 V +(een)f(calls)390 5121 y(to)35 b(rl)p 572 5121 28 4 v +40 w(callbac)m(k)p 928 5121 V 42 w(read)p 1142 5121 V 40 w(c)m(har)f(\(e.g.,)j(the)e(state)g(of)f(an)m(y)h(activ)m(e)h (incremen)m(tal)f(searc)m(hes\).)54 b(This)33 b(is)390 -3336 y(in)m(tended)f(to)h(b)s(e)e(used)g(b)m(y)h(applications)h(that)g +5230 y(in)m(tended)f(to)h(b)s(e)e(used)g(b)m(y)h(applications)h(that)g (wish)e(to)i(p)s(erform)d(their)j(o)m(wn)f(signal)g(handling;)390 -3446 y(Readline's)f(in)m(ternal)g(signal)g(handler)f(calls)h(this)g -(when)e(appropriate.)3350 3642 y([F)-8 b(unction])-3599 -b Fh(void)54 b(rl_callback_handler_remo)q(ve)e Fg(\()p -Ff(v)m(oid)p Fg(\))390 3751 y Ft(Restore)37 b(the)f(terminal)g(to)g -(its)h(initial)g(state)g(and)e(remo)m(v)m(e)i(the)f(line)g(handler.)56 -b(Y)-8 b(ou)36 b(ma)m(y)h(call)390 3861 y(this)25 b(function)g(from)g -(within)g(a)h(callbac)m(k)i(as)d(w)m(ell)i(as)f(indep)s(enden)m(tly)-8 -b(.)38 b(If)25 b(the)h Fj(lhandler)31 b Ft(installed)390 -3971 y(b)m(y)25 b Fs(rl_callback_handler_insta)o(ll)19 -b Ft(do)s(es)25 b(not)h(exit)g(the)g(program,)g(either)g(this)f -(function)g(or)390 4080 y(the)32 b(function)f(referred)f(to)i(b)m(y)g -(the)f(v)-5 b(alue)32 b(of)g Fs(rl_deprep_term_function)25 -b Ft(should)30 b(b)s(e)h(called)390 4190 y(b)s(efore)f(the)h(program)f -(exits)h(to)g(reset)g(the)f(terminal)h(settings.)150 -4395 y Fi(2.4.13)63 b(A)41 b(Readline)f(Example)150 4542 -y Ft(Here)34 b(is)g(a)g(function)g(whic)m(h)g(c)m(hanges)g(lo)m(w)m -(ercase)j(c)m(haracters)e(to)f(their)g(upp)s(ercase)f(equiv)-5 -b(alen)m(ts,)37 b(and)150 4652 y(upp)s(ercase)d(c)m(haracters)j(to)f -(lo)m(w)m(ercase.)58 b(If)35 b(this)g(function)g(w)m(as)h(b)s(ound)d -(to)j(`)p Fs(M-c)p Ft(',)h(then)e(t)m(yping)g(`)p Fs(M-c)p -Ft(')150 4761 y(w)m(ould)c(c)m(hange)i(the)f(case)g(of)g(the)g(c)m -(haracter)h(under)d(p)s(oin)m(t.)44 b(T)m(yping)31 b(`)p -Fs(M-1)f(0)g(M-c)p Ft(')h(w)m(ould)g(c)m(hange)i(the)150 -4871 y(case)e(of)g(the)g(follo)m(wing)g(10)h(c)m(haracters,)g(lea)m -(ving)g(the)e(cursor)g(on)g(the)h(last)g(c)m(haracter)h(c)m(hanged.)390 -5011 y Fs(/*)47 b(Invert)f(the)h(case)g(of)g(the)g(COUNT)f(following)g -(characters.)e(*/)390 5121 y(int)390 5230 y(invert_case_line)f -(\(count,)j(key\))629 5340 y(int)h(count,)f(key;)p eop -end +5340 y(Readline's)f(in)m(ternal)g(signal)g(handler)f(calls)h(this)g +(when)e(appropriate.)p eop end %%Page: 45 49 TeXDict begin 45 48 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(45)390 -299 y Fs({)485 408 y(register)46 b(int)h(start,)f(end,)h(i;)485 -628 y(start)g(=)g(rl_point;)485 847 y(if)h(\(rl_point)d(>=)i(rl_end\)) -581 956 y(return)f(\(0\);)485 1176 y(if)i(\(count)e(<)h(0\))581 -1285 y({)676 1395 y(direction)f(=)h(-1;)676 1504 y(count)g(=)g(-count;) -581 1614 y(})485 1724 y(else)581 1833 y(direction)e(=)j(1;)485 -2052 y(/*)g(Find)e(the)h(end)g(of)g(the)g(range)g(to)g(modify.)f(*/)485 -2162 y(end)h(=)h(start)e(+)i(\(count)e(*)h(direction\);)485 -2381 y(/*)h(Force)e(it)h(to)g(be)h(within)e(range.)g(*/)485 -2491 y(if)i(\(end)e(>)i(rl_end\))581 2600 y(end)f(=)g(rl_end;)485 -2710 y(else)g(if)g(\(end)g(<)g(0\))581 2819 y(end)g(=)g(0;)485 -3039 y(if)h(\(start)e(==)h(end\))581 3148 y(return)f(\(0\);)485 -3367 y(if)i(\(start)e(>)h(end\))581 3477 y({)676 3587 -y(int)g(temp)g(=)g(start;)676 3696 y(start)g(=)g(end;)676 -3806 y(end)g(=)h(temp;)581 3915 y(})485 4134 y(/*)g(Tell)e(readline)g -(that)g(we)i(are)f(modifying)e(the)i(line,)629 4244 y(so)g(it)g(will)g -(save)f(the)h(undo)g(information.)d(*/)485 4354 y(rl_modifying)h -(\(start,)h(end\);)485 4573 y(for)h(\(i)h(=)f(start;)f(i)i(!=)f(end;)f -(i++\))581 4682 y({)676 4792 y(if)i(\(_rl_uppercase_p)43 -b(\(rl_line_buffer[i]\)\))772 4902 y(rl_line_buffer[i])g(=)k -(_rl_to_lower)e(\(rl_line_buffer[i]\);)676 5011 y(else)i(if)g -(\(_rl_lowercase_p)d(\(rl_line_buffer[i]\)\))772 5121 -y(rl_line_buffer[i])f(=)k(_rl_to_upper)e(\(rl_line_buffer[i]\);)581 -5230 y(})485 5340 y(/*)j(Move)e(point)h(to)g(on)g(top)g(of)g(the)g -(last)g(character)e(changed.)g(*/)p eop end +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(45)3350 +299 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_callback_handler_remo)q +(ve)e Fg(\()p Ff(v)m(oid)p Fg(\))390 408 y Ft(Restore)37 +b(the)f(terminal)g(to)g(its)h(initial)g(state)g(and)e(remo)m(v)m(e)i +(the)f(line)g(handler.)56 b(Y)-8 b(ou)36 b(ma)m(y)h(call)390 +518 y(this)25 b(function)g(from)g(within)g(a)h(callbac)m(k)i(as)d(w)m +(ell)i(as)f(indep)s(enden)m(tly)-8 b(.)38 b(If)25 b(the)h +Fj(lhandler)31 b Ft(installed)390 628 y(b)m(y)25 b Fs +(rl_callback_handler_insta)o(ll)19 b Ft(do)s(es)25 b(not)h(exit)g(the)g +(program,)g(either)g(this)f(function)g(or)390 737 y(the)32 +b(function)f(referred)f(to)i(b)m(y)g(the)f(v)-5 b(alue)32 +b(of)g Fs(rl_deprep_term_function)25 b Ft(should)30 b(b)s(e)h(called) +390 847 y(b)s(efore)f(the)h(program)f(exits)h(to)g(reset)g(the)f +(terminal)h(settings.)150 1080 y Fi(2.4.13)63 b(A)41 +b(Readline)f(Example)150 1227 y Ft(Here)34 b(is)g(a)g(function)g(whic)m +(h)g(c)m(hanges)g(lo)m(w)m(ercase)j(c)m(haracters)e(to)f(their)g(upp)s +(ercase)f(equiv)-5 b(alen)m(ts,)37 b(and)150 1336 y(upp)s(ercase)d(c)m +(haracters)j(to)f(lo)m(w)m(ercase.)58 b(If)35 b(this)g(function)g(w)m +(as)h(b)s(ound)d(to)j(`)p Fs(M-c)p Ft(',)h(then)e(t)m(yping)g(`)p +Fs(M-c)p Ft(')150 1446 y(w)m(ould)c(c)m(hange)i(the)f(case)g(of)g(the)g +(c)m(haracter)h(under)d(p)s(oin)m(t.)44 b(T)m(yping)31 +b(`)p Fs(M-1)f(0)g(M-c)p Ft(')h(w)m(ould)g(c)m(hange)i(the)150 +1555 y(case)e(of)g(the)g(follo)m(wing)g(10)h(c)m(haracters,)g(lea)m +(ving)g(the)e(cursor)g(on)g(the)h(last)g(c)m(haracter)h(c)m(hanged.)390 +1724 y Fs(/*)47 b(Invert)f(the)h(case)g(of)g(the)g(COUNT)f(following)g +(characters.)e(*/)390 1833 y(int)390 1943 y(invert_case_line)f +(\(count,)j(key\))629 2052 y(int)h(count,)f(key;)390 +2162 y({)485 2271 y(register)g(int)h(start,)f(end,)h(i;)485 +2491 y(start)g(=)g(rl_point;)485 2710 y(if)h(\(rl_point)d(>=)i +(rl_end\))581 2819 y(return)f(\(0\);)485 3039 y(if)i(\(count)e(<)h(0\)) +581 3148 y({)676 3258 y(direction)f(=)h(-1;)676 3367 +y(count)g(=)g(-count;)581 3477 y(})485 3587 y(else)581 +3696 y(direction)e(=)j(1;)485 3915 y(/*)g(Find)e(the)h(end)g(of)g(the)g +(range)g(to)g(modify.)f(*/)485 4025 y(end)h(=)h(start)e(+)i(\(count)e +(*)h(direction\);)485 4244 y(/*)h(Force)e(it)h(to)g(be)h(within)e +(range.)g(*/)485 4354 y(if)i(\(end)e(>)i(rl_end\))581 +4463 y(end)f(=)g(rl_end;)485 4573 y(else)g(if)g(\(end)g(<)g(0\))581 +4682 y(end)g(=)g(0;)485 4902 y(if)h(\(start)e(==)h(end\))581 +5011 y(return)f(\(0\);)485 5230 y(if)i(\(start)e(>)h(end\))581 +5340 y({)p eop end %%Page: 46 50 TeXDict begin 46 49 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(46)485 -299 y Fs(rl_point)46 b(=)h(\(direction)e(==)j(1\))f(?)g(end)g(-)h(1)f -(:)h(start;)485 408 y(return)f(\(0\);)390 518 y(})150 -751 y Fi(2.4.14)63 b(Alternate)40 b(In)m(terface)g(Example)150 -898 y Ft(Here)f(is)g(a)g(complete)h(program)e(that)h(illustrates)h -(Readline's)f(alternate)h(in)m(terface.)67 b(It)38 b(reads)h(lines)150 -1007 y(from)30 b(the)i(terminal)f(and)f(displa)m(ys)h(them,)h(pro)m -(viding)f(the)g(standard)f(history)h(and)f(T)-8 b(AB)32 -b(completion)150 1117 y(functions.)40 b(It)31 b(understands)d(the)j -(EOF)f(c)m(haracter)i(or)e Fs(")p Ft(exit)p Fs(")h Ft(to)g(exit)g(the)g -(program.)390 1285 y Fs(/*)47 b(Standard)f(include)g(files.)g(stdio.h)f -(is)j(required.)d(*/)390 1395 y(#include)h()390 -1504 y(#include)g()390 1614 y(#include)g()390 -1724 y(#include)g()390 1943 y(/*)h(Used)g(for)g(select\(2\))e -(*/)390 2052 y(#include)h()390 2162 y(#include)g -()390 2381 y(#include)g()390 -2600 y(#include)g()390 2819 y(/*)h(Standard)f(readline)f -(include)h(files.)g(*/)390 2929 y(#include)g()390 -3039 y(#include)g()390 3258 y(static)g(void)h -(cb_linehandler)d(\(char)i(*\);)390 3367 y(static)g(void)h(sighandler)e -(\(int\);)390 3587 y(int)i(running;)390 3696 y(int)g -(sigwinch_received;)390 3806 y(const)f(char)h(*prompt)f(=)h("rltest$)f -(";)390 4025 y(/*)h(Handle)f(SIGWINCH)g(and)h(window)f(size)g(changes)g -(when)h(readline)e(is)j(not)f(active)f(and)p 3922 4045 -42 84 v 533 4134 a(reading)g(a)h(character.)e(*/)390 -4244 y(static)h(void)390 4354 y(sighandler)f(\(int)i(sig\))390 -4463 y({)485 4573 y(sigwinch_received)d(=)j(1;)390 4682 -y(})390 4902 y(/*)g(Callback)f(function)f(called)h(for)h(each)g(line)g -(when)f(accept-line)f(executed,)g(EOF)533 5011 y(seen,)i(or)g(EOF)g -(character)e(read.)94 b(This)47 b(sets)f(a)i(flag)e(and)h(returns;)f -(it)h(could)533 5121 y(also)g(call)f(exit\(3\).)g(*/)390 -5230 y(static)g(void)390 5340 y(cb_linehandler)e(\(char)i(*line\))p -eop end +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(46)676 +299 y Fs(int)47 b(temp)g(=)g(start;)676 408 y(start)g(=)g(end;)676 +518 y(end)g(=)h(temp;)581 628 y(})485 847 y(/*)g(Tell)e(readline)g +(that)g(we)i(are)f(modifying)e(the)i(line,)629 956 y(so)g(it)g(will)g +(save)f(the)h(undo)g(information.)d(*/)485 1066 y(rl_modifying)h +(\(start,)h(end\);)485 1285 y(for)h(\(i)h(=)f(start;)f(i)i(!=)f(end;)f +(i++\))581 1395 y({)676 1504 y(if)i(\(_rl_uppercase_p)43 +b(\(rl_line_buffer[i]\)\))772 1614 y(rl_line_buffer[i])g(=)k +(_rl_to_lower)e(\(rl_line_buffer[i]\);)676 1724 y(else)i(if)g +(\(_rl_lowercase_p)d(\(rl_line_buffer[i]\)\))772 1833 +y(rl_line_buffer[i])f(=)k(_rl_to_upper)e(\(rl_line_buffer[i]\);)581 +1943 y(})485 2052 y(/*)j(Move)e(point)h(to)g(on)g(top)g(of)g(the)g +(last)g(character)e(changed.)g(*/)485 2162 y(rl_point)h(=)h +(\(direction)e(==)j(1\))f(?)g(end)g(-)h(1)f(:)h(start;)485 +2271 y(return)f(\(0\);)390 2381 y(})150 2614 y Fi(2.4.14)63 +b(Alternate)40 b(In)m(terface)g(Example)150 2761 y Ft(Here)f(is)g(a)g +(complete)h(program)e(that)h(illustrates)h(Readline's)f(alternate)h(in) +m(terface.)67 b(It)38 b(reads)h(lines)150 2870 y(from)30 +b(the)i(terminal)f(and)f(displa)m(ys)h(them,)h(pro)m(viding)f(the)g +(standard)f(history)h(and)f(T)-8 b(AB)32 b(completion)150 +2980 y(functions.)40 b(It)31 b(understands)d(the)j(EOF)f(c)m(haracter)i +(or)e Fs(")p Ft(exit)p Fs(")h Ft(to)g(exit)g(the)g(program.)390 +3148 y Fs(/*)47 b(Standard)f(include)g(files.)g(stdio.h)f(is)j +(required.)d(*/)390 3258 y(#include)h()390 +3367 y(#include)g()390 3477 y(#include)g()390 +3587 y(#include)g()390 3806 y(/*)h(Used)g(for)g(select\(2\))e +(*/)390 3915 y(#include)h()390 4025 y(#include)g +()390 4244 y(#include)g()390 +4463 y(#include)g()390 4682 y(/*)h(Standard)f(readline)f +(include)h(files.)g(*/)390 4792 y(#include)g()390 +4902 y(#include)g()390 5121 y(static)g(void)h +(cb_linehandler)d(\(char)i(*\);)390 5230 y(static)g(void)h(sighandler)e +(\(int\);)p eop end %%Page: 47 51 TeXDict begin 47 50 bop 150 -116 a Ft(Chapter)30 b(2:)41 b(Programming)30 b(with)g(GNU)h(Readline)1683 b(47)390 -299 y Fs({)485 408 y(/*)48 b(Can)f(use)f(^D)i(\(stty)e(eof\))h(or)g -(`exit')f(to)h(exit.)f(*/)485 518 y(if)i(\(line)e(==)h(NULL)g(||)g -(strcmp)f(\(line,)g("exit"\))g(==)h(0\))581 628 y({)676 -737 y(if)h(\(line)e(==)h(0\))772 847 y(printf)f(\("\\n"\);)676 -956 y(printf)g(\("exit\\n"\);)676 1066 y(/*)i(This)e(function)g(needs)g -(to)h(be)g(called)g(to)g(reset)f(the)h(terminal)f(settings,)p -3874 1086 42 84 v 820 1176 a(and)g(calling)g(it)h(from)g(the)g(line)g -(handler)e(keeps)i(one)g(extra)f(prompt)g(from)p 3874 -1196 42 76 v 820 1285 a(being)g(displayed.)f(*/)676 1395 -y(rl_callback_handler_remove)c(\(\);)676 1614 y(running)46 -b(=)i(0;)581 1724 y(})485 1833 y(else)581 1943 y({)676 -2052 y(if)g(\(*line\))772 2162 y(add_history)d(\(line\);)676 -2271 y(printf)h(\("input)g(line:)h(\045s\\n",)f(line\);)676 -2381 y(free)h(\(line\);)581 2491 y(})390 2600 y(})390 -2819 y(int)390 2929 y(main)g(\(int)f(c,)h(char)g(**v\))390 -3039 y({)485 3148 y(fd_set)g(fds;)485 3258 y(int)g(r;)485 -3477 y(/*)h(Set)f(the)f(default)g(locale)g(values)g(according)g(to)h -(environment)e(variables.)g(*/)p 3874 3497 42 84 v 485 -3587 a(setlocale)h(\(LC_ALL,)f(""\);)485 3806 y(/*)j(Handle)e(window)g -(size)g(changes)g(when)h(readline)e(is)j(not)f(active)f(and)h(reading) -629 3915 y(characters.)d(*/)485 4025 y(signal)j(\(SIGWINCH,)e -(sighandler\);)485 4244 y(/*)j(Install)d(the)i(line)g(handler.)f(*/)485 -4354 y(rl_callback_handler_instal)o(l)c(\(prompt,)j(cb_linehandler\);) -485 4573 y(/*)j(Enter)e(a)h(simple)g(event)f(loop.)94 -b(This)47 b(waits)f(until)g(something)g(is)h(available)629 -4682 y(to)g(read)f(on)i(readline's)d(input)h(stream)g(\(defaults)f(to)j -(standard)d(input\))h(and)629 4792 y(calls)g(the)h(builtin)f(character) -f(read)i(callback)e(to)i(read)g(it.)95 b(It)47 b(does)f(not)629 -4902 y(have)g(to)h(modify)g(the)f(user's)h(terminal)e(settings.)g(*/) -485 5011 y(running)h(=)i(1;)485 5121 y(while)f(\(running\))581 -5230 y({)676 5340 y(FD_ZERO)f(\(&fds\);)p eop end +299 y Fs(int)47 b(running;)390 408 y(int)g(sigwinch_received;)390 +518 y(const)f(char)h(*prompt)f(=)h("rltest$)f(";)390 +737 y(/*)h(Handle)f(SIGWINCH)g(and)h(window)f(size)g(changes)g(when)h +(readline)e(is)j(not)f(active)f(and)p 3922 757 42 84 +v 533 847 a(reading)g(a)h(character.)e(*/)390 956 y(static)h(void)390 +1066 y(sighandler)f(\(int)i(sig\))390 1176 y({)485 1285 +y(sigwinch_received)d(=)j(1;)390 1395 y(})390 1614 y(/*)g(Callback)f +(function)f(called)h(for)h(each)g(line)g(when)f(accept-line)f +(executed,)g(EOF)533 1724 y(seen,)i(or)g(EOF)g(character)e(read.)94 +b(This)47 b(sets)f(a)i(flag)e(and)h(returns;)f(it)h(could)533 +1833 y(also)g(call)f(exit\(3\).)g(*/)390 1943 y(static)g(void)390 +2052 y(cb_linehandler)e(\(char)i(*line\))390 2162 y({)485 +2271 y(/*)i(Can)f(use)f(^D)i(\(stty)e(eof\))h(or)g(`exit')f(to)h(exit.) +f(*/)485 2381 y(if)i(\(line)e(==)h(NULL)g(||)g(strcmp)f(\(line,)g +("exit"\))g(==)h(0\))581 2491 y({)676 2600 y(if)h(\(line)e(==)h(0\))772 +2710 y(printf)f(\("\\n"\);)676 2819 y(printf)g(\("exit\\n"\);)676 +2929 y(/*)i(This)e(function)g(needs)g(to)h(be)g(called)g(to)g(reset)f +(the)h(terminal)f(settings,)p 3874 2949 V 820 3039 a(and)g(calling)g +(it)h(from)g(the)g(line)g(handler)e(keeps)i(one)g(extra)f(prompt)g +(from)p 3874 3059 42 76 v 820 3148 a(being)g(displayed.)f(*/)676 +3258 y(rl_callback_handler_remove)c(\(\);)676 3477 y(running)46 +b(=)i(0;)581 3587 y(})485 3696 y(else)581 3806 y({)676 +3915 y(if)g(\(*line\))772 4025 y(add_history)d(\(line\);)676 +4134 y(printf)h(\("input)g(line:)h(\045s\\n",)f(line\);)676 +4244 y(free)h(\(line\);)581 4354 y(})390 4463 y(})390 +4682 y(int)390 4792 y(main)g(\(int)f(c,)h(char)g(**v\))390 +4902 y({)485 5011 y(fd_set)g(fds;)485 5121 y(int)g(r;)485 +5340 y(/*)h(Set)f(the)f(default)g(locale)g(values)g(according)g(to)h +(environment)e(variables.)g(*/)p 3874 5360 42 84 v eop +end %%Page: 48 52 TeXDict begin 48 51 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(48)676 -299 y Fs(FD_SET)46 b(\(fileno)g(\(rl_instream\),)e(&fds\);)676 -518 y(r)k(=)f(select)f(\(FD_SETSIZE,)f(&fds,)h(NULL,)h(NULL,)f(NULL\);) -676 628 y(if)i(\(r)f(<)g(0)h(&&)f(errno)f(!=)h(EINTR\))772 -737 y({)867 847 y(perror)f(\("rltest:)g(select"\);)867 -956 y(rl_callback_handler_remov)o(e)c(\(\);)867 1066 -y(break;)772 1176 y(})676 1285 y(if)48 b(\(sigwinch_received\))390 -1395 y({)485 1504 y(rl_resize_terminal)43 b(\(\);)485 -1614 y(sigwinch_received)h(=)j(0;)390 1724 y(})676 1833 -y(if)h(\(r)f(<)g(0\))390 1943 y(continue;)676 2162 y(if)h(\(FD_ISSET)d -(\(fileno)h(\(rl_instream\),)e(&fds\)\))772 2271 y -(rl_callback_read_char)e(\(\);)581 2381 y(})485 2600 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(48)485 +299 y Fs(setlocale)46 b(\(LC_ALL,)f(""\);)485 518 y(/*)j(Handle)e +(window)g(size)g(changes)g(when)h(readline)e(is)j(not)f(active)f(and)h +(reading)629 628 y(characters.)d(*/)485 737 y(signal)j(\(SIGWINCH,)e +(sighandler\);)485 956 y(/*)j(Install)d(the)i(line)g(handler.)f(*/)485 +1066 y(rl_callback_handler_instal)o(l)c(\(prompt,)j(cb_linehandler\);) +485 1285 y(/*)j(Enter)e(a)h(simple)g(event)f(loop.)94 +b(This)47 b(waits)f(until)g(something)g(is)h(available)629 +1395 y(to)g(read)f(on)i(readline's)d(input)h(stream)g(\(defaults)f(to)j +(standard)d(input\))h(and)629 1504 y(calls)g(the)h(builtin)f(character) +f(read)i(callback)e(to)i(read)g(it.)95 b(It)47 b(does)f(not)629 +1614 y(have)g(to)h(modify)g(the)f(user's)h(terminal)e(settings.)g(*/) +485 1724 y(running)h(=)i(1;)485 1833 y(while)f(\(running\))581 +1943 y({)676 2052 y(FD_ZERO)f(\(&fds\);)676 2162 y(FD_SET)g(\(fileno)g +(\(rl_instream\),)e(&fds\);)676 2381 y(r)k(=)f(select)f(\(FD_SETSIZE,)f +(&fds,)h(NULL,)h(NULL,)f(NULL\);)676 2491 y(if)i(\(r)f(<)g(0)h(&&)f +(errno)f(!=)h(EINTR\))772 2600 y({)867 2710 y(perror)f(\("rltest:)g +(select"\);)867 2819 y(rl_callback_handler_remov)o(e)c(\(\);)867 +2929 y(break;)772 3039 y(})676 3148 y(if)48 b(\(sigwinch_received\))390 +3258 y({)485 3367 y(rl_resize_terminal)43 b(\(\);)485 +3477 y(sigwinch_received)h(=)j(0;)390 3587 y(})676 3696 +y(if)h(\(r)f(<)g(0\))390 3806 y(continue;)676 4025 y(if)h(\(FD_ISSET)d +(\(fileno)h(\(rl_instream\),)e(&fds\)\))772 4134 y +(rl_callback_read_char)e(\(\);)581 4244 y(})485 4463 y(printf)47 b(\("rltest:)e(Event)h(loop)h(has)g(exited\\n"\);)485 -2710 y(return)g(0;)390 2819 y(})150 3054 y Fr(2.5)68 -b(Readline)47 b(Signal)e(Handling)150 3214 y Ft(Signals)31 +4573 y(return)g(0;)390 4682 y(})150 4961 y Fr(2.5)68 +b(Readline)47 b(Signal)e(Handling)150 5121 y Ft(Signals)31 b(are)f(async)m(hronous)g(ev)m(en)m(ts)i(sen)m(t)f(to)g(a)g(pro)s(cess) f(b)m(y)h(the)f(Unix)g(k)m(ernel,)i(sometimes)f(on)g(b)s(ehalf)150 -3323 y(of)k(another)g(pro)s(cess.)53 b(They)34 b(are)h(in)m(tended)g +5230 y(of)k(another)g(pro)s(cess.)53 b(They)34 b(are)h(in)m(tended)g (to)g(indicate)h(exceptional)g(ev)m(en)m(ts,)i(lik)m(e)e(a)f(user)f -(pressing)150 3433 y(the)g(in)m(terrupt)f(k)m(ey)h(on)g(his)f +(pressing)150 5340 y(the)g(in)m(terrupt)f(k)m(ey)h(on)g(his)f (terminal,)i(or)f(a)g(net)m(w)m(ork)g(connection)h(b)s(eing)e(brok)m -(en.)50 b(There)34 b(is)f(a)h(class)150 3543 y(of)29 -b(signals)g(that)h(can)f(b)s(e)f(sen)m(t)h(to)h(the)f(pro)s(cess)f -(curren)m(tly)h(reading)g(input)f(from)g(the)h(k)m(eyb)s(oard.)40 -b(Since)150 3652 y(Readline)45 b(c)m(hanges)g(the)g(terminal)g +(en.)50 b(There)34 b(is)f(a)h(class)p eop end +%%Page: 49 53 +TeXDict begin 49 52 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(49)150 +299 y(of)29 b(signals)g(that)h(can)f(b)s(e)f(sen)m(t)h(to)h(the)f(pro)s +(cess)f(curren)m(tly)h(reading)g(input)f(from)g(the)h(k)m(eyb)s(oard.) +40 b(Since)150 408 y(Readline)45 b(c)m(hanges)g(the)g(terminal)g (attributes)g(when)e(it)i(is)g(called,)k(it)c(needs)f(to)h(p)s(erform)e -(sp)s(ecial)150 3762 y(pro)s(cessing)27 b(when)g(suc)m(h)g(a)h(signal)g +(sp)s(ecial)150 518 y(pro)s(cessing)27 b(when)g(suc)m(h)g(a)h(signal)g (is)g(receiv)m(ed)h(in)e(order)g(to)h(restore)h(the)e(terminal)h(to)h -(a)f(sane)f(state,)j(or)150 3871 y(pro)m(vide)g(application)i(writers)e +(a)f(sane)f(state,)j(or)150 628 y(pro)m(vide)g(application)i(writers)e (with)g(functions)g(to)h(do)g(so)f(man)m(ually)-8 b(.)275 -4003 y(Readline)40 b(con)m(tains)i(an)e(in)m(ternal)h(signal)g(handler) -f(that)h(is)f(installed)h(for)f(a)h(n)m(um)m(b)s(er)e(of)h(signals)150 -4112 y(\()p Fs(SIGINT)p Ft(,)e Fs(SIGQUIT)p Ft(,)f Fs(SIGTERM)p +775 y(Readline)40 b(con)m(tains)i(an)e(in)m(ternal)h(signal)g(handler)f +(that)h(is)f(installed)h(for)f(a)h(n)m(um)m(b)s(er)e(of)h(signals)150 +885 y(\()p Fs(SIGINT)p Ft(,)e Fs(SIGQUIT)p Ft(,)f Fs(SIGTERM)p Ft(,)g Fs(SIGHUP)p Ft(,)g Fs(SIGALRM)p Ft(,)g Fs(SIGTSTP)p Ft(,)g Fs(SIGTTIN)p Ft(,)g(and)g Fs(SIGTTOU)p Ft(\).)59 -b(When)150 4222 y(one)27 b(of)g(these)g(signals)g(is)g(receiv)m(ed,)i +b(When)150 994 y(one)27 b(of)g(these)g(signals)g(is)g(receiv)m(ed,)i (the)e(signal)g(handler)f(will)h(reset)h(the)e(terminal)i(attributes)f -(to)g(those)150 4332 y(that)33 b(w)m(ere)g(in)f(e\013ect)h(b)s(efore)f +(to)g(those)150 1104 y(that)33 b(w)m(ere)g(in)f(e\013ect)h(b)s(efore)f Fs(readline\(\))e Ft(w)m(as)i(called,)j(reset)d(the)h(signal)g -(handling)f(to)h(what)f(it)h(w)m(as)150 4441 y(b)s(efore)26 +(handling)f(to)h(what)f(it)h(w)m(as)150 1214 y(b)s(efore)26 b Fs(readline\(\))e Ft(w)m(as)j(called,)i(and)d(resend)g(the)h(signal)g (to)h(the)f(calling)h(application.)41 b(If)26 b(and)g(when)150 -4551 y(the)34 b(calling)i(application's)f(signal)g(handler)e(returns,)h +1323 y(the)34 b(calling)i(application's)f(signal)g(handler)e(returns,)h (Readline)g(will)h(reinitialize)h(the)e(terminal)h(and)150 -4660 y(con)m(tin)m(ue)29 b(to)g(accept)h(input.)39 b(When)28 +1433 y(con)m(tin)m(ue)29 b(to)g(accept)h(input.)39 b(When)28 b(a)h Fs(SIGINT)d Ft(is)j(receiv)m(ed,)h(the)e(Readline)h(signal)g -(handler)f(p)s(erforms)150 4770 y(some)39 b(additional)h(w)m(ork,)h +(handler)f(p)s(erforms)150 1542 y(some)39 b(additional)h(w)m(ork,)h (whic)m(h)d(will)h(cause)g(an)m(y)h(partially-en)m(tered)g(line)f(to)h -(b)s(e)e(ab)s(orted)g(\(see)i(the)150 4880 y(description)30 +(b)s(e)e(ab)s(orted)g(\(see)i(the)150 1652 y(description)30 b(of)h Fs(rl_free_line_state\(\))25 b Ft(b)s(elo)m(w\).)275 -5011 y(There)e(is)i(an)f(additional)h(Readline)g(signal)g(handler,)g +1800 y(There)e(is)i(an)f(additional)h(Readline)g(signal)g(handler,)g (for)f Fs(SIGWINCH)p Ft(,)g(whic)m(h)g(the)g(k)m(ernel)h(sends)e(to)j -(a)150 5121 y(pro)s(cess)i(whenev)m(er)h(the)g(terminal's)g(size)h(c)m +(a)150 1909 y(pro)s(cess)i(whenev)m(er)h(the)g(terminal's)g(size)h(c)m (hanges)g(\(for)f(example,)h(if)f(a)g(user)f(resizes)i(an)e -Fs(xterm)p Ft(\).)39 b(The)150 5230 y(Readline)d Fs(SIGWINCH)e +Fs(xterm)p Ft(\).)39 b(The)150 2019 y(Readline)d Fs(SIGWINCH)e Ft(handler)g(up)s(dates)h(Readline's)h(in)m(ternal)h(screen)e(size)i -(information,)g(and)e(then)150 5340 y(calls)g(an)m(y)f +(information,)g(and)e(then)150 2128 y(calls)g(an)m(y)f Fs(SIGWINCH)e Ft(signal)i(handler)f(the)h(calling)h(application)g(has)f -(installed.)51 b(Readline)35 b(calls)g(the)p eop end -%%Page: 49 53 -TeXDict begin 49 52 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(49)150 -299 y(application's)37 b Fs(SIGWINCH)c Ft(signal)i(handler)g(without)g -(resetting)h(the)g(terminal)f(to)h(its)g(original)g(state.)150 -408 y(If)31 b(the)i(application's)g(signal)g(handler)e(do)s(es)g(more)h -(than)g(up)s(date)f(its)i(idea)f(of)g(the)g(terminal)h(size)g(and)150 -518 y(return)28 b(\(for)i(example,)h(a)f Fs(longjmp)d +(installed.)51 b(Readline)35 b(calls)g(the)150 2238 y(application's)i +Fs(SIGWINCH)c Ft(signal)i(handler)g(without)g(resetting)h(the)g +(terminal)f(to)h(its)g(original)g(state.)150 2347 y(If)31 +b(the)i(application's)g(signal)g(handler)e(do)s(es)g(more)h(than)g(up)s +(date)f(its)i(idea)f(of)g(the)g(terminal)h(size)g(and)150 +2457 y(return)28 b(\(for)i(example,)h(a)f Fs(longjmp)d Ft(bac)m(k)k(to)f(a)g(main)g(pro)s(cessing)f(lo)s(op\),)h(it)g -Fk(must)39 b Ft(call)31 b Fs(rl_cleanup_)150 628 y(after_signal\(\))26 +Fk(must)39 b Ft(call)31 b Fs(rl_cleanup_)150 2567 y(after_signal\(\))26 b Ft(\(describ)s(ed)k(b)s(elo)m(w\),)h(to)g(restore)g(the)g(terminal)g -(state.)275 774 y(When)38 b(an)h(application)h(is)f(using)g(the)g +(state.)275 2714 y(When)38 b(an)h(application)h(is)f(using)g(the)g (callbac)m(k)i(in)m(terface)f(\(see)g(Section)g(2.4.12)h([Alternate)f -(In-)150 884 y(terface],)48 b(page)c(44\),)j(Readline)c(installs)h +(In-)150 2824 y(terface],)48 b(page)c(44\),)j(Readline)c(installs)h (signal)g(handlers)e(only)h(for)f(the)h(duration)g(of)g(the)g(call)h -(to)150 994 y Fs(rl_callback_read_char)p Ft(.)c(Applications)33 +(to)150 2933 y Fs(rl_callback_read_char)p Ft(.)c(Applications)33 b(using)f(the)g(callbac)m(k)j(in)m(terface)e(should)f(b)s(e)f(prepared) -g(to)150 1103 y(clean)d(up)d(Readline's)j(state)g(if)e(they)h(wish)f +g(to)150 3043 y(clean)d(up)d(Readline's)j(state)g(if)e(they)h(wish)f (to)h(handle)f(the)h(signal)h(b)s(efore)e(the)h(line)g(handler)f -(completes)150 1213 y(and)k(restores)h(the)f(terminal)h(state.)275 -1360 y(If)k(an)g(application)i(using)f(the)g(callbac)m(k)h(in)m +(completes)150 3153 y(and)k(restores)h(the)f(terminal)h(state.)275 +3300 y(If)k(an)g(application)i(using)f(the)g(callbac)m(k)h(in)m (terface)h(wishes)d(to)h(ha)m(v)m(e)h(Readline)g(install)f(its)g -(signal)150 1469 y(handlers)22 b(at)h(the)g(time)h(the)e(application)j +(signal)150 3410 y(handlers)22 b(at)h(the)g(time)h(the)e(application)j (calls)e Fs(rl_callback_handler_instal)o(l)17 b Ft(and)22 -b(remo)m(v)m(e)i(them)150 1579 y(only)f(when)g(a)g(complete)i(line)f +b(remo)m(v)m(e)i(them)150 3519 y(only)f(when)g(a)g(complete)i(line)f (of)f(input)f(has)h(b)s(een)g(read,)i(it)e(should)g(set)g(the)h -Fs(rl_persistent_signal_)150 1688 y(handlers)c Ft(v)-5 +Fs(rl_persistent_signal_)150 3629 y(handlers)c Ft(v)-5 b(ariable)23 b(to)f(a)h(non-zero)f(v)-5 b(alue.)39 b(This)21 b(allo)m(ws)i(an)f(application)i(to)f(defer)e(all)i(of)f(the)h -(handling)150 1798 y(of)j(the)h(signals)f(Readline)h(catc)m(hes)h(to)f +(handling)150 3738 y(of)j(the)h(signals)f(Readline)h(catc)m(hes)h(to)f (Readline.)39 b(Applications)27 b(should)f(use)f(this)h(v)-5 -b(ariable)27 b(with)f(care;)150 1908 y(it)d(can)g(result)g(in)f +b(ariable)27 b(with)f(care;)150 3848 y(it)d(can)g(result)g(in)f (Readline)h(catc)m(hing)i(signals)e(and)f(not)h(acting)h(on)f(them)f -(\(or)h(allo)m(wing)i(the)e(application)150 2017 y(to)36 +(\(or)h(allo)m(wing)i(the)e(application)150 3958 y(to)36 b(react)g(to)g(them\))g(un)m(til)f(the)h(application)g(calls)h Fs(rl_callback_read_char)p Ft(.)49 b(This)35 b(can)g(result)g(in)150 -2127 y(an)30 b(application)h(b)s(ecoming)f(less)g(resp)s(onsiv)m(e)f +4067 y(an)30 b(application)h(b)s(ecoming)f(less)g(resp)s(onsiv)m(e)f (to)i(k)m(eyb)s(oard)e(signals)h(lik)m(e)h(SIGINT.)f(If)f(an)h -(application)150 2236 y(do)s(es)24 b(not)g(w)m(an)m(t)h(or)g(need)f(to) +(application)150 4177 y(do)s(es)24 b(not)g(w)m(an)m(t)h(or)g(need)f(to) h(p)s(erform)d(an)m(y)j(signal)g(handling,)g(or)f(do)s(es)g(not)h(need) -f(to)g(do)h(an)m(y)f(pro)s(cessing)150 2346 y(b)s(et)m(w)m(een)31 +f(to)g(do)h(an)m(y)f(pro)s(cessing)150 4286 y(b)s(et)m(w)m(een)31 b(calls)h(to)f Fs(rl_callback_read_char)p Ft(,)24 b(setting)32 b(this)e(v)-5 b(ariable)31 b(ma)m(y)g(b)s(e)f(desirable.)275 -2493 y(Readline)f(pro)m(vides)f(t)m(w)m(o)i(v)-5 b(ariables)29 +4434 y(Readline)f(pro)m(vides)f(t)m(w)m(o)i(v)-5 b(ariables)29 b(that)h(allo)m(w)g(application)g(writers)e(to)h(con)m(trol)h(whether)e -(or)h(not)150 2602 y(it)34 b(will)f(catc)m(h)i(certain)f(signals)f(and) +(or)h(not)150 4544 y(it)34 b(will)f(catc)m(h)i(certain)f(signals)f(and) g(act)h(on)f(them)g(when)f(they)i(are)f(receiv)m(ed.)51 -b(It)33 b(is)g(imp)s(ortan)m(t)g(that)150 2712 y(applications)38 +b(It)33 b(is)g(imp)s(ortan)m(t)g(that)150 4653 y(applications)38 b(c)m(hange)g(the)e(v)-5 b(alues)37 b(of)g(these)g(v)-5 b(ariables)37 b(only)g(when)f(calling)i Fs(readline\(\))p -Ft(,)d(not)i(in)g(a)150 2821 y(signal)31 b(handler,)f(so)g(Readline's)i +Ft(,)d(not)i(in)g(a)150 4763 y(signal)31 b(handler,)f(so)g(Readline's)i (in)m(ternal)f(signal)g(state)h(is)e(not)h(corrupted.)3371 -3030 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_catch_signals)390 -3140 y Ft(If)28 b(this)h(v)-5 b(ariable)30 b(is)f(non-zero,)h(Readline) +4973 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_catch_signals)390 +5083 y Ft(If)28 b(this)h(v)-5 b(ariable)30 b(is)f(non-zero,)h(Readline) f(will)g(install)h(signal)f(handlers)f(for)h Fs(SIGINT)p -Ft(,)f Fs(SIGQUIT)p Ft(,)390 3249 y Fs(SIGTERM)p Ft(,)h +Ft(,)f Fs(SIGQUIT)p Ft(,)390 5192 y Fs(SIGTERM)p Ft(,)h Fs(SIGHUP)p Ft(,)g Fs(SIGALRM)p Ft(,)f Fs(SIGTSTP)p Ft(,)h -Fs(SIGTTIN)p Ft(,)f(and)i Fs(SIGTTOU)p Ft(.)390 3396 +Fs(SIGTTIN)p Ft(,)f(and)i Fs(SIGTTOU)p Ft(.)390 5340 y(The)g(default)g(v)-5 b(alue)31 b(of)g Fs(rl_catch_signals)26 -b Ft(is)k(1.)3371 3605 y([V)-8 b(ariable])-3598 b Fh(int)53 -b(rl_catch_sigwinch)390 3715 y Ft(If)37 b(this)h(v)-5 -b(ariable)38 b(is)g(set)g(to)g(a)g(non-zero)g(v)-5 b(alue,)40 -b(Readline)f(will)f(install)g(a)g(signal)g(handler)f(for)390 -3824 y Fs(SIGWINCH)p Ft(.)390 3971 y(The)30 b(default)g(v)-5 -b(alue)31 b(of)g Fs(rl_catch_sigwinch)25 b Ft(is)31 b(1.)3371 -4180 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_persistent_signal_)q -(hand)q(ler)q(s)390 4290 y Ft(If)31 b(an)h(application)g(using)g(the)f -(callbac)m(k)j(in)m(terface)f(wishes)e(Readline's)h(signal)h(handlers)d -(to)j(b)s(e)390 4399 y(installed)21 b(and)f(activ)m(e)j(during)d(the)h -(set)g(of)f(calls)i(to)g Fs(rl_callback_read_char)14 -b Ft(that)22 b(constitutes)390 4509 y(an)30 b(en)m(tire)i(single)f -(line,)g(it)f(should)g(set)h(this)f(v)-5 b(ariable)31 -b(to)g(a)g(non-zero)g(v)-5 b(alue.)390 4656 y(The)30 -b(default)g(v)-5 b(alue)31 b(of)g Fs(rl_persistent_signal_han)o(dle)o -(rs)24 b Ft(is)31 b(0.)3371 4864 y([V)-8 b(ariable])-3598 -b Fh(int)53 b(rl_change_environment)390 4974 y Ft(If)31 -b(this)g(v)-5 b(ariable)32 b(is)f(set)h(to)g(a)g(non-zero)g(v)-5 -b(alue,)32 b(and)f(Readline)h(is)f(handling)g Fs(SIGWINCH)p -Ft(,)e(Read-)390 5084 y(line)h(will)h(mo)s(dify)e(the)h +b Ft(is)k(1.)p eop end +%%Page: 50 54 +TeXDict begin 50 53 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(50)3371 +299 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_catch_sigwinch)390 +408 y Ft(If)37 b(this)h(v)-5 b(ariable)38 b(is)g(set)g(to)g(a)g +(non-zero)g(v)-5 b(alue,)40 b(Readline)f(will)f(install)g(a)g(signal)g +(handler)f(for)390 518 y Fs(SIGWINCH)p Ft(.)390 646 y(The)30 +b(default)g(v)-5 b(alue)31 b(of)g Fs(rl_catch_sigwinch)25 +b Ft(is)31 b(1.)3371 810 y([V)-8 b(ariable])-3598 b Fh(int)53 +b(rl_persistent_signal_)q(hand)q(ler)q(s)390 920 y Ft(If)31 +b(an)h(application)g(using)g(the)f(callbac)m(k)j(in)m(terface)f(wishes) +e(Readline's)h(signal)h(handlers)d(to)j(b)s(e)390 1029 +y(installed)21 b(and)f(activ)m(e)j(during)d(the)h(set)g(of)f(calls)i +(to)g Fs(rl_callback_read_char)14 b Ft(that)22 b(constitutes)390 +1139 y(an)30 b(en)m(tire)i(single)f(line,)g(it)f(should)g(set)h(this)f +(v)-5 b(ariable)31 b(to)g(a)g(non-zero)g(v)-5 b(alue.)390 +1267 y(The)30 b(default)g(v)-5 b(alue)31 b(of)g Fs +(rl_persistent_signal_han)o(dle)o(rs)24 b Ft(is)31 b(0.)3371 +1431 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_change_environment)390 +1541 y Ft(If)31 b(this)g(v)-5 b(ariable)32 b(is)f(set)h(to)g(a)g +(non-zero)g(v)-5 b(alue,)32 b(and)f(Readline)h(is)f(handling)g +Fs(SIGWINCH)p Ft(,)e(Read-)390 1650 y(line)h(will)h(mo)s(dify)e(the)h Fj(LINES)35 b Ft(and)29 b Fj(COLUMNS)35 b Ft(en)m(vironmen)m(t)30 b(v)-5 b(ariables)31 b(up)s(on)d(receipt)j(of)g(a)390 -5193 y Fs(SIGWINCH)390 5340 y Ft(The)f(default)g(v)-5 +1760 y Fs(SIGWINCH)390 1888 y Ft(The)f(default)g(v)-5 b(alue)31 b(of)g Fs(rl_change_environment)24 b Ft(is)31 -b(1.)p eop end -%%Page: 50 54 -TeXDict begin 50 53 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(50)275 -299 y(If)30 b(an)h(application)h(do)s(es)f(not)g(wish)f(to)i(ha)m(v)m -(e)g(Readline)g(catc)m(h)g(an)m(y)f(signals,)h(or)f(to)h(handle)e -(signals)150 408 y(other)39 b(than)f(those)h(Readline)h(catc)m(hes)g +b(1.)275 2052 y(If)f(an)h(application)h(do)s(es)f(not)g(wish)f(to)i(ha) +m(v)m(e)g(Readline)g(catc)m(h)g(an)m(y)f(signals,)h(or)f(to)h(handle)e +(signals)150 2162 y(other)39 b(than)f(those)h(Readline)h(catc)m(hes)g (\()p Fs(SIGHUP)p Ft(,)g(for)e(example\),)k(Readline)d(pro)m(vides)g -(con)m(v)m(enience)150 518 y(functions)30 b(to)h(do)f(the)h(necessary)g -(terminal)g(and)e(in)m(ternal)i(state)h(clean)m(up)f(up)s(on)e(receipt) -i(of)g(a)f(signal.)3350 704 y([F)-8 b(unction])-3599 +(con)m(v)m(enience)150 2271 y(functions)30 b(to)h(do)f(the)h(necessary) +g(terminal)g(and)e(in)m(ternal)i(state)h(clean)m(up)f(up)s(on)e +(receipt)i(of)g(a)f(signal.)3350 2436 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_pending_signal)e Fg(\()p Ff(v)m(oid)p -Fg(\))390 814 y Ft(Return)27 b(the)g(signal)h(n)m(um)m(b)s(er)e(of)i +Fg(\))390 2545 y Ft(Return)27 b(the)g(signal)h(n)m(um)m(b)s(er)e(of)i (the)f(most)h(recen)m(t)h(signal)f(Readline)g(receiv)m(ed)g(but)f(has)g -(not)h(y)m(et)390 924 y(handled,)i(or)g(0)h(if)f(there)h(is)f(no)g(p)s -(ending)f(signal.)3350 1110 y([F)-8 b(unction])-3599 +(not)h(y)m(et)390 2655 y(handled,)i(or)g(0)h(if)f(there)h(is)f(no)g(p)s +(ending)f(signal.)3350 2819 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_cleanup_after_signal)e Fg(\()p Ff(v)m(oid)p -Fg(\))390 1219 y Ft(This)33 b(function)h(will)g(reset)g(the)g(state)i +Fg(\))390 2929 y Ft(This)33 b(function)h(will)g(reset)g(the)g(state)i (of)e(the)g(terminal)g(to)h(what)f(it)g(w)m(as)g(b)s(efore)g -Fs(readline\(\))390 1329 y Ft(w)m(as)c(called,)h(and)d(remo)m(v)m(e)j +Fs(readline\(\))390 3039 y Ft(w)m(as)c(called,)h(and)d(remo)m(v)m(e)j (the)f(Readline)g(signal)g(handlers)e(for)h(all)h(signals,)h(dep)s -(ending)d(on)h(the)390 1439 y(v)-5 b(alues)31 b(of)f +(ending)d(on)h(the)390 3148 y(v)-5 b(alues)31 b(of)f Fs(rl_catch_signals)c Ft(and)k Fs(rl_catch_sigwinch)p -Ft(.)3350 1625 y([F)-8 b(unction])-3599 b Fh(void)54 +Ft(.)3350 3313 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_free_line_state)c Fg(\()p Ff(v)m(oid)p Fg(\))390 -1734 y Ft(This)38 b(will)i(free)f(an)m(y)h(partial)g(state)g(asso)s +3422 y Ft(This)38 b(will)i(free)f(an)m(y)h(partial)g(state)g(asso)s (ciated)h(with)e(the)g(curren)m(t)g(input)f(line)i(\(undo)e(infor-)390 -1844 y(mation,)46 b(an)m(y)d(partial)h(history)e(en)m(try)-8 +3532 y(mation,)46 b(an)m(y)d(partial)h(history)e(en)m(try)-8 b(,)47 b(an)m(y)42 b(partially-en)m(tered)j(k)m(eyb)s(oard)d(macro,)47 -b(and)42 b(an)m(y)390 1954 y(partially-en)m(tered)50 +b(and)42 b(an)m(y)390 3641 y(partially-en)m(tered)50 b(n)m(umeric)d(argumen)m(t\).)94 b(This)47 b(should)g(b)s(e)g(called)i -(b)s(efore)e Fs(rl_cleanup_)390 2063 y(after_signal\(\))p +(b)s(efore)e Fs(rl_cleanup_)390 3751 y(after_signal\(\))p Ft(.)74 b(The)42 b(Readline)h(signal)g(handler)f(for)h Fs(SIGINT)e Ft(calls)i(this)g(to)g(ab)s(ort)g(the)390 -2173 y(curren)m(t)30 b(input)g(line.)3350 2359 y([F)-8 +3861 y(curren)m(t)30 b(input)g(line.)3350 4025 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_reset_after_signal)d -Fg(\()p Ff(v)m(oid)p Fg(\))390 2469 y Ft(This)28 b(will)g(reinitialize) +Fg(\()p Ff(v)m(oid)p Fg(\))390 4134 y Ft(This)28 b(will)g(reinitialize) j(the)e(terminal)g(and)f(reinstall)h(an)m(y)g(Readline)g(signal)g -(handlers,)f(dep)s(end-)390 2578 y(ing)j(on)f(the)g(v)-5 +(handlers,)f(dep)s(end-)390 4244 y(ing)j(on)f(the)g(v)-5 b(alues)31 b(of)g Fs(rl_catch_signals)26 b Ft(and)j Fs -(rl_catch_sigwinch)p Ft(.)275 2765 y(If)j(an)g(application)i(w)m(an)m +(rl_catch_sigwinch)p Ft(.)275 4408 y(If)j(an)g(application)i(w)m(an)m (ts)g(to)f(force)g(Readline)h(to)f(handle)g(an)m(y)g(signals)g(that)g -(ha)m(v)m(e)h(arriv)m(ed)f(while)150 2874 y(it)j(has)g(b)s(een)f +(ha)m(v)m(e)h(arriv)m(ed)f(while)150 4518 y(it)j(has)g(b)s(een)f (executing,)j Fs(rl_check_signals\(\))31 b Ft(will)36 b(call)h(Readline's)g(in)m(ternal)g(signal)f(handler)f(if)150 -2984 y(there)i(are)g(an)m(y)g(p)s(ending)e(signals.)61 +4628 y(there)i(are)g(an)m(y)g(p)s(ending)e(signals.)61 b(This)36 b(is)g(primarily)h(in)m(tended)f(for)h(those)g(applications)h -(that)f(use)150 3093 y(a)h(custom)g Fs(rl_getc_function)33 +(that)f(use)150 4737 y(a)h(custom)g Fs(rl_getc_function)33 b Ft(\(see)39 b(Section)g(2.3)g([Readline)f(V)-8 b(ariables],)42 -b(page)c(28\))h(and)e(wish)g(to)150 3203 y(handle)30 +b(page)c(28\))h(and)e(wish)g(to)150 4847 y(handle)30 b(signals)h(receiv)m(ed)h(while)e(w)m(aiting)i(for)e(input.)3350 -3389 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_check_signals)c -Fg(\()p Ff(v)m(oid)p Fg(\))390 3499 y Ft(If)40 b(there)h(are)g(an)m(y)g +5011 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_check_signals)c +Fg(\()p Ff(v)m(oid)p Fg(\))390 5121 y Ft(If)40 b(there)h(are)g(an)m(y)g (p)s(ending)e(signals,)44 b(call)e(Readline's)g(in)m(ternal)f(signal)g -(handling)f(functions)390 3608 y(to)j(pro)s(cess)g(them.)77 +(handling)f(functions)390 5230 y(to)j(pro)s(cess)g(them.)77 b Fs(rl_pending_signal\(\))38 b Ft(can)43 b(b)s(e)f(used)g(indep)s -(enden)m(tly)f(to)j(determine)390 3718 y(whether)30 b(or)g(not)h(there) -f(are)h(an)m(y)g(p)s(ending)e(signals.)275 3904 y(If)38 -b(an)i(application)g(do)s(es)f(not)h(wish)f(Readline)h(to)g(catc)m(h)h -Fs(SIGWINCH)p Ft(,)e(it)h(ma)m(y)g(call)h Fs(rl_resize_)150 -4014 y(terminal\(\))24 b Ft(or)j Fs(rl_set_screen_size\(\))22 -b Ft(to)28 b(force)g(Readline)f(to)h(up)s(date)f(its)g(idea)h(of)f(the) -g(terminal)150 4124 y(size)k(when)f(it)h(receiv)m(es)h(a)e -Fs(SIGWINCH)p Ft(.)3350 4310 y([F)-8 b(unction])-3599 -b Fh(void)54 b(rl_echo_signal_char)d Fg(\()p Ff(in)m(t)33 -b(sig)p Fg(\))390 4419 y Ft(If)43 b(an)g(application)i(wishes)e(to)i -(install)f(its)g(o)m(wn)f(signal)i(handlers,)h(but)c(still)j(ha)m(v)m -(e)g(readline)390 4529 y(displa)m(y)31 b(c)m(haracters)h(that)f -(generate)h(signals,)f(calling)h(this)e(function)g(with)g -Fj(sig)39 b Ft(set)31 b(to)g Fs(SIGINT)p Ft(,)390 4639 -y Fs(SIGQUIT)p Ft(,)e(or)h Fs(SIGTSTP)e Ft(will)j(displa)m(y)g(the)f(c) -m(haracter)i(generating)g(that)f(signal.)3350 4825 y([F)-8 -b(unction])-3599 b Fh(void)54 b(rl_resize_terminal)c -Fg(\()p Ff(v)m(oid)p Fg(\))390 4934 y Ft(Up)s(date)30 -b(Readline's)h(in)m(ternal)g(screen)g(size)g(b)m(y)f(reading)h(v)-5 -b(alues)31 b(from)f(the)g(k)m(ernel.)3350 5121 y([F)-8 -b(unction])-3599 b Fh(void)54 b(rl_set_screen_size)c +(enden)m(tly)f(to)j(determine)390 5340 y(whether)30 b(or)g(not)h(there) +f(are)h(an)m(y)g(p)s(ending)e(signals.)p eop end +%%Page: 51 55 +TeXDict begin 51 54 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(51)275 +299 y(If)38 b(an)i(application)g(do)s(es)f(not)h(wish)f(Readline)h(to)g +(catc)m(h)h Fs(SIGWINCH)p Ft(,)e(it)h(ma)m(y)g(call)h +Fs(rl_resize_)150 408 y(terminal\(\))24 b Ft(or)j Fs +(rl_set_screen_size\(\))22 b Ft(to)28 b(force)g(Readline)f(to)h(up)s +(date)f(its)g(idea)h(of)f(the)g(terminal)150 518 y(size)k(when)f(it)h +(receiv)m(es)h(a)e Fs(SIGWINCH)p Ft(.)3350 703 y([F)-8 +b(unction])-3599 b Fh(void)54 b(rl_echo_signal_char)d +Fg(\()p Ff(in)m(t)33 b(sig)p Fg(\))390 813 y Ft(If)43 +b(an)g(application)i(wishes)e(to)i(install)f(its)g(o)m(wn)f(signal)i +(handlers,)h(but)c(still)j(ha)m(v)m(e)g(readline)390 +922 y(displa)m(y)31 b(c)m(haracters)h(that)f(generate)h(signals,)f +(calling)h(this)e(function)g(with)g Fj(sig)39 b Ft(set)31 +b(to)g Fs(SIGINT)p Ft(,)390 1032 y Fs(SIGQUIT)p Ft(,)e(or)h +Fs(SIGTSTP)e Ft(will)j(displa)m(y)g(the)f(c)m(haracter)i(generating)g +(that)f(signal.)3350 1217 y([F)-8 b(unction])-3599 b +Fh(void)54 b(rl_resize_terminal)c Fg(\()p Ff(v)m(oid)p +Fg(\))390 1326 y Ft(Up)s(date)30 b(Readline's)h(in)m(ternal)g(screen)g +(size)g(b)m(y)f(reading)h(v)-5 b(alues)31 b(from)f(the)g(k)m(ernel.) +3350 1511 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_set_screen_size)c Fg(\()p Ff(in)m(t)34 b(ro)m(ws,)f(in)m(t)g(cols)p Fg(\))390 -5230 y Ft(Set)28 b(Readline's)h(idea)f(of)g(the)g(terminal)g(size)h(to) +1621 y Ft(Set)28 b(Readline's)h(idea)f(of)g(the)g(terminal)g(size)h(to) g Fj(ro)m(ws)i Ft(ro)m(ws)d(and)f Fj(cols)33 b Ft(columns.)40 -b(If)27 b(either)h Fj(ro)m(ws)390 5340 y Ft(or)35 b Fj(columns)k +b(If)27 b(either)h Fj(ro)m(ws)390 1730 y Ft(or)35 b Fj(columns)k Ft(is)c(less)g(than)g(or)g(equal)h(to)g(0,)h(Readline's)f(idea)g(of)f -(that)h(terminal)f(dimension)g(is)p eop end -%%Page: 51 55 -TeXDict begin 51 54 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(51)390 -299 y(unc)m(hanged.)39 b(This)27 b(is)h(in)m(tended)g(to)g(tell)h -(Readline)f(the)g(ph)m(ysical)g(dimensions)f(of)h(the)g(terminal,)390 -408 y(and)44 b(is)h(used)f(in)m(ternally)i(to)f(calculate)j(the)d -(maxim)m(um)f(n)m(um)m(b)s(er)g(of)h(c)m(haracters)h(that)f(ma)m(y)390 -518 y(app)s(ear)30 b(on)g(a)h(single)g(line)g(and)e(on)i(the)f(screen.) -275 695 y(If)i(an)i(application)g(do)s(es)f(not)h(w)m(an)m(t)g(to)g -(install)g(a)g Fs(SIGWINCH)d Ft(handler,)j(but)e(is)i(still)g(in)m -(terested)g(in)150 804 y(the)d(screen)f(dimensions,)g(it)h(ma)m(y)g +(that)h(terminal)f(dimension)g(is)390 1840 y(unc)m(hanged.)k(This)27 +b(is)h(in)m(tended)g(to)g(tell)h(Readline)f(the)g(ph)m(ysical)g +(dimensions)f(of)h(the)g(terminal,)390 1949 y(and)44 +b(is)h(used)f(in)m(ternally)i(to)f(calculate)j(the)d(maxim)m(um)f(n)m +(um)m(b)s(er)g(of)h(c)m(haracters)h(that)f(ma)m(y)390 +2059 y(app)s(ear)30 b(on)g(a)h(single)g(line)g(and)e(on)i(the)f +(screen.)275 2244 y(If)i(an)i(application)g(do)s(es)f(not)h(w)m(an)m(t) +g(to)g(install)g(a)g Fs(SIGWINCH)d Ft(handler,)j(but)e(is)i(still)g(in) +m(terested)g(in)150 2353 y(the)d(screen)f(dimensions,)g(it)h(ma)m(y)g (query)f(Readline's)h(idea)g(of)f(the)h(screen)f(size.)3350 -981 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_get_screen_size)c +2538 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_get_screen_size)c Fg(\()p Ff(in)m(t)34 b(*ro)m(ws,)f(in)m(t)g(*cols)p Fg(\))390 -1091 y Ft(Return)c(Readline's)i(idea)g(of)f(the)g(terminal's)h(size)g +2648 y Ft(Return)c(Readline's)i(idea)g(of)f(the)g(terminal's)h(size)g (in)f(the)g(v)-5 b(ariables)31 b(p)s(oin)m(ted)f(to)g(b)m(y)g(the)h -(argu-)390 1200 y(men)m(ts.)3350 1377 y([F)-8 b(unction])-3599 +(argu-)390 2758 y(men)m(ts.)3350 2942 y([F)-8 b(unction])-3599 b Fh(void)54 b(rl_reset_screen_size)d Fg(\()p Ff(v)m(oid)p -Fg(\))390 1486 y Ft(Cause)30 b(Readline)h(to)g(reobtain)g(the)g(screen) -f(size)h(and)f(recalculate)j(its)e(dimensions.)275 1663 +Fg(\))390 3052 y Ft(Cause)30 b(Readline)h(to)g(reobtain)g(the)g(screen) +f(size)h(and)f(recalculate)j(its)e(dimensions.)275 3237 y(The)e(follo)m(wing)j(functions)e(install)h(and)f(remo)m(v)m(e)i -(Readline's)f(signal)g(handlers.)3350 1840 y([F)-8 b(unction])-3599 +(Readline's)f(signal)g(handlers.)3350 3422 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_set_signals)d Fg(\()p Ff(v)m(oid)p Fg(\))390 -1949 y Ft(Install)40 b(Readline's)h(signal)f(handler)f(for)h +3531 y Ft(Install)40 b(Readline's)h(signal)f(handler)f(for)h Fs(SIGINT)p Ft(,)h Fs(SIGQUIT)p Ft(,)f Fs(SIGTERM)p Ft(,)h -Fs(SIGHUP)p Ft(,)g Fs(SIGALRM)p Ft(,)390 2059 y Fs(SIGTSTP)p +Fs(SIGHUP)p Ft(,)g Fs(SIGALRM)p Ft(,)390 3641 y Fs(SIGTSTP)p Ft(,)35 b Fs(SIGTTIN)p Ft(,)f Fs(SIGTTOU)p Ft(,)h(and)g Fs(SIGWINCH)p Ft(,)f(dep)s(ending)g(on)h(the)g(v)-5 b(alues)36 -b(of)f Fs(rl_catch_)390 2168 y(signals)28 b Ft(and)i -Fs(rl_catch_sigwinch)p Ft(.)3350 2345 y([F)-8 b(unction])-3599 +b(of)f Fs(rl_catch_)390 3750 y(signals)28 b Ft(and)i +Fs(rl_catch_sigwinch)p Ft(.)3350 3935 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_clear_signals)e Fg(\()p Ff(v)m(oid)p -Fg(\))390 2455 y Ft(Remo)m(v)m(e)32 b(all)f(of)g(the)g(Readline)g +Fg(\))390 4045 y Ft(Remo)m(v)m(e)32 b(all)f(of)g(the)g(Readline)g (signal)g(handlers)e(installed)i(b)m(y)f Fs(rl_set_signals\(\))p -Ft(.)150 2690 y Fr(2.6)68 b(Custom)45 b(Completers)150 -2850 y Ft(T)m(ypically)-8 b(,)47 b(a)c(program)g(that)g(reads)f +Ft(.)150 4286 y Fr(2.6)68 b(Custom)45 b(Completers)150 +4446 y Ft(T)m(ypically)-8 b(,)47 b(a)c(program)g(that)g(reads)f (commands)h(from)f(the)g(user)g(has)h(a)g(w)m(a)m(y)g(of)g(disam)m -(biguating)150 2959 y(commands)35 b(and)g(data.)56 b(If)35 +(biguating)150 4555 y(commands)35 b(and)g(data.)56 b(If)35 b(y)m(our)h(program)f(is)g(one)h(of)g(these,)h(then)e(it)h(can)g(pro)m -(vide)f(completion)i(for)150 3069 y(commands,)29 b(data,)i(or)e(b)s +(vide)f(completion)i(for)150 4665 y(commands,)29 b(data,)i(or)e(b)s (oth.)39 b(The)29 b(follo)m(wing)i(sections)f(describ)s(e)e(ho)m(w)i(y) -m(our)f(program)g(and)f(Readline)150 3178 y(co)s(op)s(erate)j(to)h(pro) -m(vide)e(this)g(service.)150 3373 y Fi(2.6.1)63 b(Ho)m(w)40 -b(Completing)i(W)-10 b(orks)150 3520 y Ft(In)26 b(order)f(to)i +m(our)f(program)g(and)f(Readline)150 4774 y(co)s(op)s(erate)j(to)h(pro) +m(vide)e(this)g(service.)150 4974 y Fi(2.6.1)63 b(Ho)m(w)40 +b(Completing)i(W)-10 b(orks)150 5121 y Ft(In)26 b(order)f(to)i (complete)h(some)f(text,)h(the)f(full)f(list)h(of)f(p)s(ossible)g (completions)h(m)m(ust)g(b)s(e)e(a)m(v)-5 b(ailable.)42 -b(That)150 3629 y(is,)28 b(it)f(is)g(not)g(p)s(ossible)g(to)g +b(That)150 5230 y(is,)28 b(it)f(is)g(not)g(p)s(ossible)g(to)g (accurately)i(expand)d(a)h(partial)h(w)m(ord)f(without)f(kno)m(wing)i -(all)f(of)g(the)g(p)s(ossible)150 3739 y(w)m(ords)33 +(all)f(of)g(the)g(p)s(ossible)150 5340 y(w)m(ords)33 b(whic)m(h)g(mak)m(e)h(sense)f(in)g(that)g(con)m(text.)51 b(The)33 b(Readline)h(library)e(pro)m(vides)i(the)f(user)f(in)m -(terface)150 3848 y(to)d(completion,)h(and)e(t)m(w)m(o)i(of)e(the)h -(most)f(common)h(completion)h(functions:)39 b(\014lename)29 -b(and)e(username.)150 3958 y(F)-8 b(or)39 b(completing)g(other)f(t)m -(yp)s(es)g(of)h(text,)i(y)m(ou)d(m)m(ust)g(write)g(y)m(our)g(o)m(wn)g -(completion)h(function.)64 b(This)150 4067 y(section)32 -b(describ)s(es)d(exactly)j(what)f(suc)m(h)f(functions)g(m)m(ust)g(do,)g -(and)g(pro)m(vides)g(an)h(example.)275 4199 y(There)e(are)i(three)g(ma) -5 b(jor)30 b(functions)g(used)g(to)h(p)s(erform)e(completion:)199 -4331 y(1.)61 b(The)43 b(user-in)m(terface)h(function)f -Fs(rl_complete\(\))p Ft(.)76 b(This)43 b(function)g(is)g(called)i(with) -e(the)h(same)330 4441 y(argumen)m(ts)36 b(as)g(other)g(bindable)f -(Readline)h(functions:)51 b Fj(coun)m(t)38 b Ft(and)d -Fj(in)m(v)m(oking)p 3107 4441 28 4 v 41 w(k)m(ey)p Ft(.)57 -b(It)36 b(isolates)330 4551 y(the)i(w)m(ord)f(to)h(b)s(e)f(completed)i -(and)d(calls)j Fs(rl_completion_matches\(\))31 b Ft(to)39 -b(generate)g(a)f(list)g(of)330 4660 y(p)s(ossible)31 -b(completions.)44 b(It)31 b(then)g(either)g(lists)h(the)f(p)s(ossible)g -(completions,)h(inserts)f(the)g(p)s(ossible)330 4770 -y(completions,)50 b(or)45 b(actually)i(p)s(erforms)d(the)h(completion,) -50 b(dep)s(ending)44 b(on)h(whic)m(h)g(b)s(eha)m(vior)g(is)330 -4879 y(desired.)199 5011 y(2.)61 b(The)33 b(in)m(ternal)h(function)g -Fs(rl_completion_matches\(\))27 b Ft(uses)33 b(an)g -(application-supplied)h Fj(gener-)330 5121 y(ator)44 -b Ft(function)37 b(to)h(generate)g(the)f(list)h(of)f(p)s(ossible)f -(matc)m(hes,)k(and)d(then)f(returns)g(the)h(arra)m(y)h(of)330 -5230 y(these)h(matc)m(hes.)68 b(The)39 b(caller)h(should)e(place)i(the) -f(address)f(of)h(its)g(generator)i(function)d(in)h Fs(rl_)330 -5340 y(completion_entry_functio)o(n)p Ft(.)p eop end +(terface)p eop end %%Page: 52 56 TeXDict begin 52 55 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(52)199 -299 y(3.)61 b(The)22 b(generator)i(function)f(is)g(called)h(rep)s -(eatedly)f(from)g Fs(rl_completion_matches\(\))o Ft(,)c(returning)330 -408 y(a)33 b(string)g(eac)m(h)h(time.)48 b(The)32 b(argumen)m(ts)h(to)h +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(52)150 +299 y(to)29 b(completion,)h(and)e(t)m(w)m(o)i(of)e(the)h(most)f(common) +h(completion)h(functions:)39 b(\014lename)29 b(and)e(username.)150 +408 y(F)-8 b(or)39 b(completing)g(other)f(t)m(yp)s(es)g(of)h(text,)i(y) +m(ou)d(m)m(ust)g(write)g(y)m(our)g(o)m(wn)g(completion)h(function.)64 +b(This)150 518 y(section)32 b(describ)s(es)d(exactly)j(what)f(suc)m(h)f +(functions)g(m)m(ust)g(do,)g(and)g(pro)m(vides)g(an)h(example.)275 +644 y(There)e(are)i(three)g(ma)5 b(jor)30 b(functions)g(used)g(to)h(p)s +(erform)e(completion:)199 771 y(1.)61 b(The)43 b(user-in)m(terface)h +(function)f Fs(rl_complete\(\))p Ft(.)76 b(This)43 b(function)g(is)g +(called)i(with)e(the)h(same)330 880 y(argumen)m(ts)36 +b(as)g(other)g(bindable)f(Readline)h(functions:)51 b +Fj(coun)m(t)38 b Ft(and)d Fj(in)m(v)m(oking)p 3107 880 +28 4 v 41 w(k)m(ey)p Ft(.)57 b(It)36 b(isolates)330 990 +y(the)i(w)m(ord)f(to)h(b)s(e)f(completed)i(and)d(calls)j +Fs(rl_completion_matches\(\))31 b Ft(to)39 b(generate)g(a)f(list)g(of) +330 1100 y(p)s(ossible)31 b(completions.)44 b(It)31 b(then)g(either)g +(lists)h(the)f(p)s(ossible)g(completions,)h(inserts)f(the)g(p)s +(ossible)330 1209 y(completions,)50 b(or)45 b(actually)i(p)s(erforms)d +(the)h(completion,)50 b(dep)s(ending)44 b(on)h(whic)m(h)g(b)s(eha)m +(vior)g(is)330 1319 y(desired.)199 1445 y(2.)61 b(The)33 +b(in)m(ternal)h(function)g Fs(rl_completion_matches\(\))27 +b Ft(uses)33 b(an)g(application-supplied)h Fj(gener-)330 +1555 y(ator)44 b Ft(function)37 b(to)h(generate)g(the)f(list)h(of)f(p)s +(ossible)f(matc)m(hes,)k(and)d(then)f(returns)g(the)h(arra)m(y)h(of)330 +1664 y(these)h(matc)m(hes.)68 b(The)39 b(caller)h(should)e(place)i(the) +f(address)f(of)h(its)g(generator)i(function)d(in)h Fs(rl_)330 +1774 y(completion_entry_functio)o(n)p Ft(.)199 1900 y(3.)61 +b(The)22 b(generator)i(function)f(is)g(called)h(rep)s(eatedly)f(from)g +Fs(rl_completion_matches\(\))o Ft(,)c(returning)330 2010 +y(a)33 b(string)g(eac)m(h)h(time.)48 b(The)32 b(argumen)m(ts)h(to)h (the)f(generator)h(function)e(are)h Fj(text)j Ft(and)c -Fj(state)p Ft(.)49 b Fj(text)330 518 y Ft(is)32 b(the)g(partial)h(w)m +Fj(state)p Ft(.)49 b Fj(text)330 2119 y Ft(is)32 b(the)g(partial)h(w)m (ord)f(to)h(b)s(e)e(completed.)47 b Fj(state)38 b Ft(is)32 b(zero)h(the)f(\014rst)g(time)g(the)h(function)e(is)h(called,)330 -628 y(allo)m(wing)46 b(the)e(generator)h(to)f(p)s(erform)f(an)m(y)h +2229 y(allo)m(wing)46 b(the)e(generator)h(to)f(p)s(erform)f(an)m(y)h (necessary)g(initialization,)51 b(and)43 b(a)h(p)s(ositiv)m(e)h(non-) -330 737 y(zero)30 b(in)m(teger)h(for)d(eac)m(h)j(subsequen)m(t)d(call.) -42 b(The)29 b(generator)h(function)f(returns)f Fs(\(char)h(*\)NULL)e -Ft(to)330 847 y(inform)37 b Fs(rl_completion_matches\(\))32 -b Ft(that)39 b(there)f(are)g(no)g(more)g(p)s(ossibilities)h(left.)65 -b(Usually)330 956 y(the)39 b(generator)h(function)e(computes)h(the)g -(list)g(of)g(p)s(ossible)f(completions)i(when)e Fj(state)45 -b Ft(is)39 b(zero,)330 1066 y(and)25 b(returns)f(them)i(one)f(at)i(a)f -(time)g(on)f(subsequen)m(t)g(calls.)40 b(Eac)m(h)26 b(string)g(the)g -(generator)g(function)330 1176 y(returns)31 b(as)h(a)g(matc)m(h)h(m)m -(ust)f(b)s(e)f(allo)s(cated)j(with)d Fs(malloc\(\))p -Ft(;)g(Readline)h(frees)g(the)g(strings)g(when)330 1285 -y(it)i(has)g(\014nished)e(with)i(them.)51 b(Suc)m(h)33 -b(a)h(generator)h(function)f(is)g(referred)f(to)h(as)h(an)e -Fj(application-)330 1395 y(sp)s(eci\014c)d(completion)i(function)p -Ft(.)3350 1575 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_complete)c +330 2339 y(zero)30 b(in)m(teger)h(for)d(eac)m(h)j(subsequen)m(t)d +(call.)42 b(The)29 b(generator)h(function)f(returns)f +Fs(\(char)h(*\)NULL)e Ft(to)330 2448 y(inform)37 b Fs +(rl_completion_matches\(\))32 b Ft(that)39 b(there)f(are)g(no)g(more)g +(p)s(ossibilities)h(left.)65 b(Usually)330 2558 y(the)39 +b(generator)h(function)e(computes)h(the)g(list)g(of)g(p)s(ossible)f +(completions)i(when)e Fj(state)45 b Ft(is)39 b(zero,)330 +2667 y(and)25 b(returns)f(them)i(one)f(at)i(a)f(time)g(on)f(subsequen)m +(t)g(calls.)40 b(Eac)m(h)26 b(string)g(the)g(generator)g(function)330 +2777 y(returns)31 b(as)h(a)g(matc)m(h)h(m)m(ust)f(b)s(e)f(allo)s(cated) +j(with)d Fs(malloc\(\))p Ft(;)g(Readline)h(frees)g(the)g(strings)g +(when)330 2887 y(it)i(has)g(\014nished)e(with)i(them.)51 +b(Suc)m(h)33 b(a)h(generator)h(function)f(is)g(referred)f(to)h(as)h(an) +e Fj(application-)330 2996 y(sp)s(eci\014c)d(completion)i(function)p +Ft(.)3350 3156 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_complete)c Fg(\()p Ff(in)m(t)34 b(ignore,)e(in)m(t)i(in)m(v)m(oking)p -2020 1575 30 5 v 43 w(k)m(ey)p Fg(\))390 1685 y Ft(Complete)d(the)g(w)m +2020 3156 30 5 v 43 w(k)m(ey)p Fg(\))390 3266 y Ft(Complete)d(the)g(w)m (ord)g(at)g(or)g(b)s(efore)f(p)s(oin)m(t.)41 b(Y)-8 b(ou)32 b(ha)m(v)m(e)g(supplied)d(the)i(function)f(that)h(do)s(es)g(the)390 -1794 y(initial)42 b(simple)f(matc)m(hing)i(selection)f(algorithm)h +3375 y(initial)42 b(simple)f(matc)m(hing)i(selection)f(algorithm)h (\(see)f Fs(rl_completion_matches\(\))o Ft(\).)67 b(The)390 -1904 y(default)31 b(is)f(to)h(do)f(\014lename)h(completion.)3371 -2084 y([V)-8 b(ariable])-3598 b Fh(rl_compentry_func_t)58 -b(*)53 b(rl_completion_entry_fun)q(cti)q(on)390 2194 +3485 y(default)31 b(is)f(to)h(do)f(\014lename)h(completion.)3371 +3645 y([V)-8 b(ariable])-3598 b Fh(rl_compentry_func_t)58 +b(*)53 b(rl_completion_entry_fun)q(cti)q(on)390 3754 y Ft(This)39 b(is)h(a)g(p)s(oin)m(ter)g(to)h(the)f(generator)h (function)f(for)f Fs(rl_completion_matches\(\))p Ft(.)63 -b(If)40 b(the)390 2303 y(v)-5 b(alue)24 b(of)g Fs +b(If)40 b(the)390 3864 y(v)-5 b(alue)24 b(of)g Fs (rl_completion_entry_funct)o(ion)17 b Ft(is)24 b Fs(NULL)f Ft(then)g(the)h(default)g(\014lename)g(generator)390 -2413 y(function,)49 b Fs(rl_filename_completion_)o(fun)o(ctio)o(n\(\))p +3973 y(function,)49 b Fs(rl_filename_completion_)o(fun)o(ctio)o(n\(\))p Ft(,)42 b(is)j(used.)84 b(An)44 b Fj(application-sp)s(eci\014c)390 -2522 y(completion)22 b(function)f Ft(is)g(a)h(function)e(whose)h +4083 y(completion)22 b(function)f Ft(is)g(a)h(function)e(whose)h (address)f(is)h(assigned)h(to)f Fs(rl_completion_entry_)390 -2632 y(function)28 b Ft(and)i(whose)g(return)f(v)-5 b(alues)31 +4193 y(function)28 b Ft(and)i(whose)g(return)f(v)-5 b(alues)31 b(are)g(used)e(to)j(generate)f(p)s(ossible)f(completions.)150 -2828 y Fi(2.6.2)63 b(Completion)41 b(F)-10 b(unctions)150 -2975 y Ft(Here)31 b(is)f(the)h(complete)h(list)f(of)f(callable)j +4376 y Fi(2.6.2)63 b(Completion)41 b(F)-10 b(unctions)150 +4523 y Ft(Here)31 b(is)f(the)h(complete)h(list)f(of)f(callable)j (completion)e(functions)f(presen)m(t)h(in)f(Readline.)3350 -3156 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_complete_internal)f -Fg(\()p Ff(in)m(t)33 b(what)p 1861 3156 V 44 w(to)p 1994 -3156 V 43 w(do)p Fg(\))390 3265 y Ft(Complete)k(the)g(w)m(ord)f(at)i -(or)e(b)s(efore)g(p)s(oin)m(t.)60 b Fj(what)p 2208 3265 -28 4 v 40 w(to)p 2328 3265 V 41 w(do)41 b Ft(sa)m(ys)c(what)f(to)i(do)e -(with)g(the)h(com-)390 3375 y(pletion.)44 b(A)31 b(v)-5 +4682 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_complete_internal)f +Fg(\()p Ff(in)m(t)33 b(what)p 1861 4682 V 44 w(to)p 1994 +4682 V 43 w(do)p Fg(\))390 4792 y Ft(Complete)k(the)g(w)m(ord)f(at)i +(or)e(b)s(efore)g(p)s(oin)m(t.)60 b Fj(what)p 2208 4792 +28 4 v 40 w(to)p 2328 4792 V 41 w(do)41 b Ft(sa)m(ys)c(what)f(to)i(do)e +(with)g(the)h(com-)390 4902 y(pletion.)44 b(A)31 b(v)-5 b(alue)32 b(of)f(`)p Fs(?)p Ft(')g(means)h(list)f(the)h(p)s(ossible)e (completions.)45 b(`)p Fs(TAB)p Ft(')31 b(means)g(do)g(standard)390 -3484 y(completion.)44 b(`)p Fs(*)p Ft(')32 b(means)f(insert)g(all)h(of) +5011 y(completion.)44 b(`)p Fs(*)p Ft(')32 b(means)f(insert)g(all)h(of) f(the)g(p)s(ossible)g(completions.)44 b(`)p Fs(!)p Ft(')32 -b(means)f(to)h(displa)m(y)f(all)390 3594 y(of)k(the)f(p)s(ossible)g +b(means)f(to)h(displa)m(y)f(all)390 5121 y(of)k(the)f(p)s(ossible)g (completions,)j(if)d(there)h(is)f(more)g(than)h(one,)g(as)g(w)m(ell)g -(as)g(p)s(erforming)e(partial)390 3703 y(completion.)41 +(as)g(p)s(erforming)e(partial)390 5230 y(completion.)41 b(`)p Fs(@)p Ft(')27 b(is)h(similar)f(to)h(`)p Fs(!)p Ft(',)h(but)d(p)s(ossible)h(completions)i(are)e(not)h(listed)g(if)f -(the)g(p)s(ossible)390 3813 y(completions)32 b(share)e(a)g(common)h -(pre\014x.)3350 3993 y([F)-8 b(unction])-3599 b Fh(int)53 -b(rl_complete)c Fg(\()p Ff(in)m(t)34 b(ignore,)e(in)m(t)i(in)m(v)m -(oking)p 2020 3993 30 5 v 43 w(k)m(ey)p Fg(\))390 4103 -y Ft(Complete)42 b(the)f(w)m(ord)g(at)h(or)f(b)s(efore)g(p)s(oin)m(t.) -73 b(Y)-8 b(ou)41 b(ha)m(v)m(e)i(supplied)c(the)j(function)f(that)g(do) -s(es)390 4212 y(the)33 b(initial)h(simple)f(matc)m(hing)h(selection)h +(the)g(p)s(ossible)390 5340 y(completions)32 b(share)e(a)g(common)h +(pre\014x.)p eop end +%%Page: 53 57 +TeXDict begin 53 56 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(53)3350 +299 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_complete)c +Fg(\()p Ff(in)m(t)34 b(ignore,)e(in)m(t)i(in)m(v)m(oking)p +2020 299 30 5 v 43 w(k)m(ey)p Fg(\))390 408 y Ft(Complete)42 +b(the)f(w)m(ord)g(at)h(or)f(b)s(efore)g(p)s(oin)m(t.)73 +b(Y)-8 b(ou)41 b(ha)m(v)m(e)i(supplied)c(the)j(function)f(that)g(do)s +(es)390 518 y(the)33 b(initial)h(simple)f(matc)m(hing)h(selection)h (algorithm)f(\(see)g Fs(rl_completion_matches\(\))27 -b Ft(and)390 4322 y Fs(rl_completion_entry_func)o(tion)o +b Ft(and)390 628 y Fs(rl_completion_entry_func)o(tion)o Ft(\).)52 b(The)35 b(default)h(is)g(to)h(do)e(\014lename)h(completion.) -59 b(This)390 4432 y(calls)32 b Fs(rl_complete_internal\(\))24 +59 b(This)390 737 y(calls)32 b Fs(rl_complete_internal\(\))24 b Ft(with)30 b(an)g(argumen)m(t)h(dep)s(ending)e(on)h -Fj(in)m(v)m(oking)p 3314 4432 28 4 v 41 w(k)m(ey)p Ft(.)3350 -4612 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_possible_completio)q(ns) -f Fg(\()p Ff(in)m(t)33 b(coun)m(t,)h(in)m(t)f(in)m(v)m(oking)p -2622 4612 30 5 v 43 w(k)m(ey)p Fg(\))390 4721 y Ft(List)41 +Fj(in)m(v)m(oking)p 3314 737 28 4 v 41 w(k)m(ey)p Ft(.)3350 +923 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_possible_completio)q(ns)f +Fg(\()p Ff(in)m(t)33 b(coun)m(t,)h(in)m(t)f(in)m(v)m(oking)p +2622 923 30 5 v 43 w(k)m(ey)p Fg(\))390 1032 y Ft(List)41 b(the)f(p)s(ossible)g(completions.)73 b(See)40 b(description)h(of)g Fs(rl_complete)27 b(\(\))p Ft(.)70 b(This)40 b(calls)i -Fs(rl_)390 4831 y(complete_internal\(\))25 b Ft(with)30 -b(an)g(argumen)m(t)h(of)g(`)p Fs(?)p Ft('.)3350 5011 +Fs(rl_)390 1142 y(complete_internal\(\))25 b Ft(with)30 +b(an)g(argumen)m(t)h(of)g(`)p Fs(?)p Ft('.)3350 1327 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_insert_completions)f Fg(\()p Ff(in)m(t)34 b(coun)m(t,)f(in)m(t)g(in)m(v)m(oking)p -2517 5011 V 44 w(k)m(ey)p Fg(\))390 5121 y Ft(Insert)g(the)h(list)g(of) +2517 1327 V 44 w(k)m(ey)p Fg(\))390 1437 y Ft(Insert)g(the)h(list)g(of) g(p)s(ossible)f(completions)i(in)m(to)f(the)g(line,)h(deleting)g(the)f -(partially-completed)390 5230 y(w)m(ord.)44 b(See)32 +(partially-completed)390 1546 y(w)m(ord.)44 b(See)32 b(description)g(of)g Fs(rl_complete\(\))p Ft(.)41 b(This)31 b(calls)i Fs(rl_complete_internal\(\))25 b Ft(with)390 -5340 y(an)30 b(argumen)m(t)h(of)g(`)p Fs(*)p Ft('.)p -eop end -%%Page: 53 57 -TeXDict begin 53 56 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(53)3350 -299 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_completion_mode)e -Fg(\()p Ff(rl)p 1455 299 30 5 v 44 w(command)p 1919 299 -V 44 w(func)p 2147 299 V 46 w(t)33 b(*cfunc)p Fg(\))390 -408 y Ft(Returns)40 b(the)i(appropriate)g(v)-5 b(alue)41 +1656 y(an)30 b(argumen)m(t)h(of)g(`)p Fs(*)p Ft('.)3350 +1841 y([F)-8 b(unction])-3599 b Fh(int)53 b(rl_completion_mode)e +Fg(\()p Ff(rl)p 1455 1841 V 44 w(command)p 1919 1841 +V 44 w(func)p 2147 1841 V 46 w(t)33 b(*cfunc)p Fg(\))390 +1951 y Ft(Returns)40 b(the)i(appropriate)g(v)-5 b(alue)41 b(to)i(pass)e(to)h Fs(rl_complete_internal\(\))35 b Ft(dep)s(ending)40 -b(on)390 518 y(whether)g Fj(cfunc)46 b Ft(w)m(as)41 b(called)h(t)m -(wice)g(in)f(succession)g(and)f(the)h(v)-5 b(alues)41 -b(of)g(the)g Fs(show-all-if-)390 628 y(ambiguous)25 b -Ft(and)i Fs(show-all-if-unmodified)21 b Ft(v)-5 b(ariables.)41 -b(Application-sp)s(eci\014c)29 b(completion)390 737 y(functions)h(ma)m -(y)h(use)f(this)g(function)g(to)h(presen)m(t)g(the)f(same)h(in)m -(terface)h(as)f Fs(rl_complete\(\))p Ft(.)3350 917 y([F)-8 -b(unction])-3599 b Fh(char)54 b(**)e(rl_completion_matches)g -Fg(\()p Ff(const)34 b(c)m(har)g(*text,)565 1027 y(rl)p -639 1027 V 44 w(comp)s(en)m(try)p 1145 1027 V 44 w(func)p -1373 1027 V 45 w(t)f(*en)m(try)p 1767 1027 V 44 w(func)p -Fg(\))390 1137 y Ft(Returns)k(an)h(arra)m(y)g(of)g(strings)g(whic)m(h)f -(is)h(a)g(list)h(of)f(completions)h(for)e Fj(text)p Ft(.)64 -b(If)38 b(there)g(are)g(no)390 1246 y(completions,)f(returns)c -Fs(NULL)p Ft(.)52 b(The)34 b(\014rst)f(en)m(try)i(in)f(the)h(returned)e -(arra)m(y)i(is)g(the)f(substitution)390 1356 y(for)26 -b Fj(text)p Ft(.)40 b(The)26 b(remaining)h(en)m(tries)g(are)g(the)f(p)s -(ossible)g(completions.)40 b(The)26 b(arra)m(y)h(is)f(terminated)390 -1465 y(with)k(a)h Fs(NULL)e Ft(p)s(oin)m(ter.)390 1599 -y Fj(en)m(try)p 603 1599 28 4 v 40 w(func)44 b Ft(is)c(a)g(function)f -(of)h(t)m(w)m(o)g(args,)j(and)38 b(returns)h(a)g Fs(char)30 -b(*)p Ft(.)67 b(The)39 b(\014rst)g(argumen)m(t)h(is)390 -1708 y Fj(text)p Ft(.)66 b(The)39 b(second)f(is)h(a)g(state)h(argumen)m -(t;)j(it)c(is)g(zero)g(on)g(the)g(\014rst)f(call,)k(and)c(non-zero)h -(on)390 1818 y(subsequen)m(t)33 b(calls.)52 b Fj(en)m(try)p -1320 1818 V 41 w(func)38 b Ft(returns)33 b(a)h Fs(NULL)f -Ft(p)s(oin)m(ter)g(to)i(the)f(caller)h(when)e(there)h(are)g(no)390 -1927 y(more)d(matc)m(hes.)3350 2107 y([F)-8 b(unction])-3599 +b(on)390 2060 y(whether)g Fj(cfunc)46 b Ft(w)m(as)41 +b(called)h(t)m(wice)g(in)f(succession)g(and)f(the)h(v)-5 +b(alues)41 b(of)g(the)g Fs(show-all-if-)390 2170 y(ambiguous)25 +b Ft(and)i Fs(show-all-if-unmodified)21 b Ft(v)-5 b(ariables.)41 +b(Application-sp)s(eci\014c)29 b(completion)390 2279 +y(functions)h(ma)m(y)h(use)f(this)g(function)g(to)h(presen)m(t)g(the)f +(same)h(in)m(terface)h(as)f Fs(rl_complete\(\))p Ft(.)3350 +2465 y([F)-8 b(unction])-3599 b Fh(char)54 b(**)e +(rl_completion_matches)g Fg(\()p Ff(const)34 b(c)m(har)g(*text,)565 +2574 y(rl)p 639 2574 V 44 w(comp)s(en)m(try)p 1145 2574 +V 44 w(func)p 1373 2574 V 45 w(t)f(*en)m(try)p 1767 2574 +V 44 w(func)p Fg(\))390 2684 y Ft(Returns)k(an)h(arra)m(y)g(of)g +(strings)g(whic)m(h)f(is)h(a)g(list)h(of)f(completions)h(for)e +Fj(text)p Ft(.)64 b(If)38 b(there)g(are)g(no)390 2794 +y(completions,)f(returns)c Fs(NULL)p Ft(.)52 b(The)34 +b(\014rst)f(en)m(try)i(in)f(the)h(returned)e(arra)m(y)i(is)g(the)f +(substitution)390 2903 y(for)26 b Fj(text)p Ft(.)40 b(The)26 +b(remaining)h(en)m(tries)g(are)g(the)f(p)s(ossible)g(completions.)40 +b(The)26 b(arra)m(y)h(is)f(terminated)390 3013 y(with)k(a)h +Fs(NULL)e Ft(p)s(oin)m(ter.)390 3148 y Fj(en)m(try)p +603 3148 28 4 v 40 w(func)44 b Ft(is)c(a)g(function)f(of)h(t)m(w)m(o)g +(args,)j(and)38 b(returns)h(a)g Fs(char)30 b(*)p Ft(.)67 +b(The)39 b(\014rst)g(argumen)m(t)h(is)390 3257 y Fj(text)p +Ft(.)66 b(The)39 b(second)f(is)h(a)g(state)h(argumen)m(t;)j(it)c(is)g +(zero)g(on)g(the)g(\014rst)f(call,)k(and)c(non-zero)h(on)390 +3367 y(subsequen)m(t)33 b(calls.)52 b Fj(en)m(try)p 1320 +3367 V 41 w(func)38 b Ft(returns)33 b(a)h Fs(NULL)f Ft(p)s(oin)m(ter)g +(to)i(the)f(caller)h(when)e(there)h(are)g(no)390 3476 +y(more)d(matc)m(hes.)3350 3662 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_filename_completion)q(_fu)q(nct)q(ion)g -Fg(\()p Ff(const)34 b(c)m(har)g(*text,)e(in)m(t)565 2217 -y(state)p Fg(\))390 2327 y Ft(A)26 b(generator)h(function)e(for)g +Fg(\()p Ff(const)34 b(c)m(har)g(*text,)e(in)m(t)565 3771 +y(state)p Fg(\))390 3881 y Ft(A)26 b(generator)h(function)e(for)g (\014lename)h(completion)h(in)e(the)h(general)h(case.)40 -b Fj(text)28 b Ft(is)e(a)g(partial)h(\014le-)390 2436 +b Fj(text)28 b Ft(is)e(a)g(partial)h(\014le-)390 3991 y(name.)38 b(The)21 b(Bash)g(source)h(is)g(a)f(useful)g(reference)h (for)f(writing)h(application-sp)s(eci\014c)h(completion)390 -2546 y(functions)30 b(\(the)h(Bash)f(completion)i(functions)e(call)i -(this)e(and)g(other)g(Readline)h(functions\).)3350 2726 +4100 y(functions)30 b(\(the)h(Bash)f(completion)i(functions)e(call)i +(this)e(and)g(other)g(Readline)h(functions\).)3350 4285 y([F)-8 b(unction])-3599 b Fh(char)54 b(*)e(rl_username_completion)q (_fu)q(nct)q(ion)g Fg(\()p Ff(const)34 b(c)m(har)g(*text,)e(in)m(t)565 -2836 y(state)p Fg(\))390 2945 y Ft(A)d(completion)g(generator)h(for)e +4395 y(state)p Fg(\))390 4505 y Ft(A)d(completion)g(generator)h(for)e (usernames.)40 b Fj(text)31 b Ft(con)m(tains)f(a)f(partial)g(username)f -(preceded)g(b)m(y)390 3055 y(a)j(random)f(c)m(haracter)i(\(usually)e(`) +(preceded)g(b)m(y)390 4614 y(a)j(random)f(c)m(haracter)i(\(usually)e(`) p Fs(~)p Ft('\).)42 b(As)31 b(with)f(all)h(completion)h(generators,)g -Fj(state)37 b Ft(is)31 b(zero)g(on)390 3164 y(the)g(\014rst)e(call)j -(and)e(non-zero)h(for)f(subsequen)m(t)f(calls.)150 3361 +Fj(state)37 b Ft(is)31 b(zero)g(on)390 4724 y(the)g(\014rst)e(call)j +(and)e(non-zero)h(for)f(subsequen)m(t)f(calls.)150 4924 y Fi(2.6.3)63 b(Completion)41 b(V)-10 b(ariables)3371 -3555 y Ft([V)i(ariable])-3598 b Fh(rl_compentry_func_t)58 -b(*)53 b(rl_completion_entry_fun)q(cti)q(on)390 3665 +5121 y Ft([V)i(ariable])-3598 b Fh(rl_compentry_func_t)58 +b(*)53 b(rl_completion_entry_fun)q(cti)q(on)390 5230 y Ft(A)34 b(p)s(oin)m(ter)f(to)h(the)g(generator)h(function)e(for)g Fs(rl_completion_matches\(\))p Ft(.)44 b Fs(NULL)32 b -Ft(means)h(to)390 3774 y(use)d Fs(rl_filename_completion_fu)o(nct)o -(ion\()o(\))p Ft(,)25 b(the)30 b(default)h(\014lename)f(completer.)3371 -3954 y([V)-8 b(ariable])-3598 b Fh(rl_completion_func_t)58 +Ft(means)h(to)390 5340 y(use)d Fs(rl_filename_completion_fu)o(nct)o +(ion\()o(\))p Ft(,)25 b(the)30 b(default)h(\014lename)f(completer.)p +eop end +%%Page: 54 58 +TeXDict begin 54 57 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(54)3371 +299 y([V)-8 b(ariable])-3598 b Fh(rl_completion_func_t)58 b(*)53 b(rl_attempted_completio)q(n_f)q(unct)q(ion)390 -4064 y Ft(A)35 b(p)s(oin)m(ter)g(to)g(an)g(alternativ)m(e)i(function)d +408 y Ft(A)35 b(p)s(oin)m(ter)g(to)g(an)g(alternativ)m(e)i(function)d (to)i(create)g(matc)m(hes.)55 b(The)34 b(function)h(is)f(called)i(with) -390 4173 y Fj(text)p Ft(,)26 b Fj(start)p Ft(,)f(and)d +390 518 y Fj(text)p Ft(,)26 b Fj(start)p Ft(,)f(and)d Fj(end)p Ft(.)38 b Fj(start)25 b Ft(and)e Fj(end)j Ft(are)d(indices)g (in)g Fs(rl_line_buffer)c Ft(de\014ning)j(the)h(b)s(ound-)390 -4283 y(aries)j(of)h Fj(text)p Ft(,)h(whic)m(h)d(is)h(a)h(c)m(haracter)g +628 y(aries)j(of)h Fj(text)p Ft(,)h(whic)m(h)d(is)h(a)h(c)m(haracter)g (string.)39 b(If)26 b(this)g(function)f(exists)i(and)e(returns)g -Fs(NULL)p Ft(,)h(or)g(if)390 4393 y(this)c(v)-5 b(ariable)22 +Fs(NULL)p Ft(,)h(or)g(if)390 737 y(this)c(v)-5 b(ariable)22 b(is)g(set)h(to)f Fs(NULL)p Ft(,)h(then)f Fs(rl_complete\(\))c Ft(will)k(call)h(the)f(v)-5 b(alue)23 b(of)f Fs(rl_completion_)390 -4502 y(entry_function)i Ft(to)30 b(generate)f(matc)m(hes,)i(otherwise)d +847 y(entry_function)i Ft(to)30 b(generate)f(matc)m(hes,)i(otherwise)d (the)h(arra)m(y)g(of)f(strings)h(returned)e(will)i(b)s(e)390 -4612 y(used.)37 b(If)22 b(this)g(function)g(sets)h(the)g +956 y(used.)37 b(If)22 b(this)g(function)g(sets)h(the)g Fs(rl_attempted_completion)o(_ove)o(r)16 b Ft(v)-5 b(ariable)24 -b(to)f(a)f(non-zero)390 4721 y(v)-5 b(alue,)35 b(Readline)g(will)f(not) +b(to)f(a)f(non-zero)390 1066 y(v)-5 b(alue,)35 b(Readline)g(will)f(not) g(p)s(erform)f(its)h(default)g(completion)h(ev)m(en)g(if)f(this)g -(function)f(returns)390 4831 y(no)d(matc)m(hes.)3371 -5011 y([V)-8 b(ariable])-3598 b Fh(rl_quote_func_t)57 -b(*)52 b(rl_filename_quoting_)q(func)q(tio)q(n)390 5121 +(function)f(returns)390 1176 y(no)d(matc)m(hes.)3371 +1351 y([V)-8 b(ariable])-3598 b Fh(rl_quote_func_t)57 +b(*)52 b(rl_filename_quoting_)q(func)q(tio)q(n)390 1461 y Ft(A)33 b(p)s(oin)m(ter)f(to)h(a)g(function)g(that)g(will)g(quote)g (a)g(\014lename)f(in)h(an)f(application-sp)s(eci\014c)i(fashion.)390 -5230 y(This)k(is)i(called)g(if)f(\014lename)h(completion)g(is)f(b)s +1570 y(This)k(is)i(called)g(if)f(\014lename)h(completion)g(is)f(b)s (eing)g(attempted)i(and)d(one)i(of)f(the)g(c)m(haracters)390 -5340 y(in)33 b Fs(rl_filename_quote_charac)o(ter)o(s)27 +1680 y(in)33 b Fs(rl_filename_quote_charac)o(ter)o(s)27 b Ft(app)s(ears)33 b(in)g(a)g(completed)h(\014lename.)50 -b(The)32 b(function)p eop end -%%Page: 54 58 -TeXDict begin 54 57 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(54)390 -299 y(is)37 b(called)h(with)e Fj(text)p Ft(,)k Fj(matc)m(h)p -1438 299 28 4 v 41 w(t)m(yp)s(e)p Ft(,)f(and)d Fj(quote)p -2119 299 V 41 w(p)s(oin)m(ter)p Ft(.)60 b(The)36 b Fj(text)k -Ft(is)d(the)g(\014lename)g(to)h(b)s(e)390 408 y(quoted.)76 -b(The)42 b Fj(matc)m(h)p 1210 408 V 41 w(t)m(yp)s(e)48 -b Ft(is)42 b(either)h Fs(SINGLE_MATCH)p Ft(,)f(if)g(there)g(is)h(only)f -(one)h(completion)390 518 y(matc)m(h,)33 b(or)e Fs(MULT_MATCH)p -Ft(.)41 b(Some)31 b(functions)g(use)g(this)h(to)g(decide)f(whether)g -(or)h(not)f(to)h(insert)g(a)390 628 y(closing)22 b(quote)f(c)m -(haracter.)40 b(The)20 b Fj(quote)p 1751 628 V 41 w(p)s(oin)m(ter)27 +b(The)32 b(function)390 1789 y(is)37 b(called)h(with)e +Fj(text)p Ft(,)k Fj(matc)m(h)p 1438 1789 28 4 v 41 w(t)m(yp)s(e)p +Ft(,)f(and)d Fj(quote)p 2119 1789 V 41 w(p)s(oin)m(ter)p +Ft(.)60 b(The)36 b Fj(text)k Ft(is)d(the)g(\014lename)g(to)h(b)s(e)390 +1899 y(quoted.)76 b(The)42 b Fj(matc)m(h)p 1210 1899 +V 41 w(t)m(yp)s(e)48 b Ft(is)42 b(either)h Fs(SINGLE_MATCH)p +Ft(,)f(if)g(there)g(is)h(only)f(one)h(completion)390 +2008 y(matc)m(h,)33 b(or)e Fs(MULT_MATCH)p Ft(.)41 b(Some)31 +b(functions)g(use)g(this)h(to)g(decide)f(whether)g(or)h(not)f(to)h +(insert)g(a)390 2118 y(closing)22 b(quote)f(c)m(haracter.)40 +b(The)20 b Fj(quote)p 1751 2118 V 41 w(p)s(oin)m(ter)27 b Ft(is)21 b(a)g(p)s(oin)m(ter)g(to)g(an)m(y)h(op)s(ening)e(quote)h(c)m -(haracter)390 737 y(the)31 b(user)e(t)m(yp)s(ed.)41 b(Some)30 -b(functions)g(c)m(ho)s(ose)h(to)g(reset)g(this)g(c)m(haracter.)3371 -908 y([V)-8 b(ariable])-3598 b Fh(rl_dequote_func_t)57 -b(*)c(rl_filename_dequoting_)q(fun)q(cti)q(on)390 1018 +(haracter)390 2228 y(the)31 b(user)e(t)m(yp)s(ed.)41 +b(Some)30 b(functions)g(c)m(ho)s(ose)h(to)g(reset)g(this)g(c)m +(haracter.)3371 2403 y([V)-8 b(ariable])-3598 b Fh(rl_dequote_func_t)57 +b(*)c(rl_filename_dequoting_)q(fun)q(cti)q(on)390 2513 y Ft(A)30 b(p)s(oin)m(ter)f(to)i(a)f(function)f(that)h(will)g(remo)m(v) m(e)h(application-sp)s(eci\014c)g(quoting)f(c)m(haracters)h(from)390 -1128 y(a)i(\014lename)g(b)s(efore)f(completion)h(is)g(attempted,)h(so)f +2622 y(a)i(\014lename)g(b)s(efore)f(completion)h(is)g(attempted,)h(so)f (those)g(c)m(haracters)h(do)e(not)h(in)m(terfere)g(with)390 -1237 y(matc)m(hing)39 b(the)f(text)i(against)f(names)f(in)g(the)g +2732 y(matc)m(hing)39 b(the)f(text)i(against)f(names)f(in)g(the)g (\014lesystem.)64 b(It)38 b(is)g(called)i(with)d Fj(text)p -Ft(,)42 b(the)c(text)390 1347 y(of)k(the)h(w)m(ord)f(to)g(b)s(e)g -(dequoted,)j(and)d Fj(quote)p 2014 1347 V 41 w(c)m(har)p +Ft(,)42 b(the)c(text)390 2841 y(of)k(the)h(w)m(ord)f(to)g(b)s(e)g +(dequoted,)j(and)d Fj(quote)p 2014 2841 V 41 w(c)m(har)p Ft(,)j(whic)m(h)d(is)h(the)f(quoting)h(c)m(haracter)g(that)390 -1456 y(delimits)33 b(the)f(\014lename)g(\(usually)h(`)p +2951 y(delimits)33 b(the)f(\014lename)g(\(usually)h(`)p Fs(')p Ft(')f(or)g(`)p Fs(")p Ft('\).)46 b(If)32 b Fj(quote)p -2368 1456 V 41 w(c)m(har)39 b Ft(is)32 b(zero,)i(the)e(\014lename)g(w)m -(as)h(not)390 1566 y(in)d(an)g(em)m(b)s(edded)g(string.)3371 -1737 y([V)-8 b(ariable])-3598 b Fh(rl_linebuf_func_t)57 -b(*)c(rl_char_is_quoted_p)390 1847 y Ft(A)37 b(p)s(oin)m(ter)g(to)g(a)g +2368 2951 V 41 w(c)m(har)39 b Ft(is)32 b(zero,)i(the)e(\014lename)g(w)m +(as)h(not)390 3061 y(in)d(an)g(em)m(b)s(edded)g(string.)3371 +3236 y([V)-8 b(ariable])-3598 b Fh(rl_linebuf_func_t)57 +b(*)c(rl_char_is_quoted_p)390 3345 y Ft(A)37 b(p)s(oin)m(ter)g(to)g(a)g (function)g(to)g(call)h(that)g(determines)f(whether)f(or)h(not)g(a)g -(sp)s(eci\014c)f(c)m(haracter)390 1956 y(in)e(the)h(line)f(bu\013er)g +(sp)s(eci\014c)f(c)m(haracter)390 3455 y(in)e(the)h(line)f(bu\013er)g (is)g(quoted,)i(according)g(to)f(whatev)m(er)g(quoting)g(mec)m(hanism)g -(the)f(program)390 2066 y(calling)26 b(Readline)g(uses.)38 +(the)f(program)390 3565 y(calling)26 b(Readline)g(uses.)38 b(The)24 b(function)h(is)g(called)h(with)e(t)m(w)m(o)i(argumen)m(ts:)39 -b Fj(text)p Ft(,)27 b(the)e(text)h(of)f(the)390 2176 +b Fj(text)p Ft(,)27 b(the)e(text)h(of)f(the)390 3674 y(line,)31 b(and)g Fj(index)p Ft(,)f(the)h(index)f(of)h(the)g(c)m (haracter)i(in)d(the)h(line.)42 b(It)31 b(is)g(used)f(to)h(decide)g -(whether)g(a)390 2285 y(c)m(haracter)h(found)d(in)g Fs +(whether)g(a)390 3784 y(c)m(haracter)h(found)d(in)g Fs (rl_completer_word_break_ch)o(ara)o(cter)o(s)24 b Ft(should)29 -b(b)s(e)h(used)f(to)i(break)390 2395 y(w)m(ords)f(for)g(the)h -(completer.)3371 2566 y([V)-8 b(ariable])-3598 b Fh +b(b)s(e)h(used)f(to)i(break)390 3893 y(w)m(ords)f(for)g(the)h +(completer.)3371 4069 y([V)-8 b(ariable])-3598 b Fh (rl_compignore_func_t)58 b(*)53 b(rl_ignore_some_complet)q(ion)q(s_fu)q -(nct)q(ion)390 2676 y Ft(This)37 b(function,)i(if)f(de\014ned,)g(is)g +(nct)q(ion)390 4178 y Ft(This)37 b(function,)i(if)f(de\014ned,)g(is)g (called)h(b)m(y)e(the)h(completer)h(when)e(real)h(\014lename)g -(completion)390 2785 y(is)c(done,)h(after)f(all)h(the)g(matc)m(hing)g +(completion)390 4288 y(is)c(done,)h(after)f(all)h(the)g(matc)m(hing)g (names)e(ha)m(v)m(e)j(b)s(een)d(generated.)53 b(It)34 -b(is)g(passed)f(a)i Fs(NULL)d Ft(ter-)390 2895 y(minated)f(arra)m(y)g +b(is)g(passed)f(a)i Fs(NULL)d Ft(ter-)390 4398 y(minated)f(arra)m(y)g (of)g(matc)m(hes.)43 b(The)31 b(\014rst)f(elemen)m(t)i(\()p Fs(matches[0])p Ft(\))d(is)h(the)h(maximal)h(substring)390 -3004 y(common)d(to)g(all)h(matc)m(hes.)41 b(This)28 b(function)h(can)g +4507 y(common)d(to)g(all)h(matc)m(hes.)41 b(This)28 b(function)h(can)g (re-arrange)g(the)g(list)h(of)f(matc)m(hes)g(as)g(required,)390 -3114 y(but)h(eac)m(h)h(elemen)m(t)h(deleted)f(from)f(the)h(arra)m(y)g -(m)m(ust)f(b)s(e)g(freed.)3371 3285 y([V)-8 b(ariable])-3598 +4617 y(but)h(eac)m(h)h(elemen)m(t)h(deleted)f(from)f(the)h(arra)m(y)g +(m)m(ust)f(b)s(e)g(freed.)3371 4792 y([V)-8 b(ariable])-3598 b Fh(rl_icppfunc_t)56 b(*)d(rl_directory_completio)q(n_ho)q(ok)390 -3395 y Ft(This)44 b(function,)49 b(if)d(de\014ned,)i(is)d(allo)m(w)m +4902 y Ft(This)44 b(function,)49 b(if)d(de\014ned,)i(is)d(allo)m(w)m (ed)i(to)f(mo)s(dify)e(the)i(directory)g(p)s(ortion)e(of)i(\014lenames) -390 3504 y(Readline)35 b(completes.)56 b(It)35 b(could)g(b)s(e)f(used)g +390 5011 y(Readline)35 b(completes.)56 b(It)35 b(could)g(b)s(e)f(used)g (to)i(expand)e(sym)m(b)s(olic)h(links)g(or)g(shell)g(v)-5 -b(ariables)35 b(in)390 3614 y(pathnames.)70 b(It)41 b(is)f(called)h +b(ariables)35 b(in)390 5121 y(pathnames.)70 b(It)41 b(is)f(called)h (with)f(the)h(address)e(of)i(a)g(string)f(\(the)h(curren)m(t)f -(directory)h(name\))390 3724 y(as)d(an)f(argumen)m(t,)j(and)d(ma)m(y)i +(directory)h(name\))390 5230 y(as)d(an)f(argumen)m(t,)j(and)d(ma)m(y)i (mo)s(dify)d(that)j(string.)62 b(If)37 b(the)h(string)f(is)h(replaced)g -(with)f(a)h(new)390 3833 y(string,)j(the)d(old)h(v)-5 +(with)f(a)h(new)390 5340 y(string,)j(the)d(old)h(v)-5 b(alue)39 b(should)e(b)s(e)h(freed.)64 b(An)m(y)39 b(mo)s(di\014ed)e -(directory)i(name)f(should)g(ha)m(v)m(e)i(a)390 3943 -y(trailing)c(slash.)54 b(The)35 b(mo)s(di\014ed)e(v)-5 +(directory)i(name)f(should)g(ha)m(v)m(e)i(a)p eop end +%%Page: 55 59 +TeXDict begin 55 58 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(55)390 +299 y(trailing)36 b(slash.)54 b(The)35 b(mo)s(di\014ed)e(v)-5 b(alue)36 b(will)f(b)s(e)f(used)g(as)i(part)e(of)h(the)h(completion,)h -(replacing)390 4052 y(the)32 b(directory)g(p)s(ortion)f(of)h(the)g +(replacing)390 408 y(the)32 b(directory)g(p)s(ortion)f(of)h(the)g (pathname)f(the)h(user)f(t)m(yp)s(ed.)44 b(A)m(t)33 b(the)f(least,)h -(ev)m(en)g(if)e(no)h(other)390 4162 y(expansion)j(is)h(p)s(erformed,)f +(ev)m(en)g(if)e(no)h(other)390 518 y(expansion)j(is)h(p)s(erformed,)f (this)h(function)f(should)g(remo)m(v)m(e)i(an)m(y)f(quote)g(c)m -(haracters)h(from)e(the)390 4271 y(directory)c(name,)g(b)s(ecause)f -(its)h(result)f(will)h(b)s(e)e(passed)h(directly)h(to)g -Fs(opendir\(\))p Ft(.)390 4402 y(The)25 b(directory)i(completion)g(ho)s -(ok)e(returns)g(an)h(in)m(teger)h(that)f(should)f(b)s(e)g(non-zero)i -(if)e(the)i(func-)390 4511 y(tion)35 b(mo)s(di\014es)e(its)i(directory) -f(argumen)m(t.)53 b(The)33 b(function)h(should)f(not)i(mo)s(dify)e(the) -h(directory)390 4621 y(argumen)m(t)d(if)f(it)h(returns)e(0.)3371 -4792 y([V)-8 b(ariable])-3598 b Fh(rl_icppfunc_t)56 b(*)d -(rl_directory_rewrite_h)q(ook;)390 4902 y Ft(If)24 b(non-zero,)i(this)e +(haracters)h(from)e(the)390 628 y(directory)c(name,)g(b)s(ecause)f(its) +h(result)f(will)h(b)s(e)e(passed)h(directly)h(to)g Fs(opendir\(\))p +Ft(.)390 768 y(The)25 b(directory)i(completion)g(ho)s(ok)e(returns)g +(an)h(in)m(teger)h(that)f(should)f(b)s(e)g(non-zero)i(if)e(the)i(func-) +390 878 y(tion)35 b(mo)s(di\014es)e(its)i(directory)f(argumen)m(t.)53 +b(The)33 b(function)h(should)f(not)i(mo)s(dify)e(the)h(directory)390 +987 y(argumen)m(t)d(if)f(it)h(returns)e(0.)3371 1183 +y([V)-8 b(ariable])-3598 b Fh(rl_icppfunc_t)56 b(*)d +(rl_directory_rewrite_h)q(ook;)390 1293 y Ft(If)24 b(non-zero,)i(this)e (is)h(the)f(address)g(of)g(a)h(function)f(to)h(call)g(when)f -(completing)h(a)g(directory)g(name.)390 5011 y(This)h(function)g(tak)m +(completing)h(a)g(directory)g(name.)390 1402 y(This)h(function)g(tak)m (es)i(the)f(address)f(of)h(the)f(directory)h(name)g(to)g(b)s(e)f(mo)s -(di\014ed)g(as)h(an)f(argumen)m(t.)390 5121 y(Unlik)m(e)40 +(di\014ed)g(as)h(an)f(argumen)m(t.)390 1512 y(Unlik)m(e)40 b Fs(rl_directory_completion_h)o(ook)p Ft(,)35 b(it)40 b(only)f(mo)s(di\014es)f(the)i(directory)f(name)h(used)390 -5230 y(in)35 b Fs(opendir)p Ft(,)g(not)g(what)h(is)f(displa)m(y)m(ed)h +1622 y(in)35 b Fs(opendir)p Ft(,)g(not)g(what)h(is)f(displa)m(y)m(ed)h (when)e(the)i(p)s(ossible)f(completions)h(are)g(prin)m(ted)f(or)g(in-) -390 5340 y(serted.)k(It)27 b(is)f(called)h(b)s(efore)f(rl)p -1463 5340 V 40 w(directory)p 1859 5340 V 41 w(completion)p -2333 5340 V 41 w(ho)s(ok.)39 b(A)m(t)27 b(the)g(least,)h(ev)m(en)f(if)g -(no)f(other)p eop end -%%Page: 55 59 -TeXDict begin 55 58 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(55)390 -299 y(expansion)35 b(is)h(p)s(erformed,)f(this)h(function)f(should)g -(remo)m(v)m(e)i(an)m(y)f(quote)g(c)m(haracters)h(from)e(the)390 -408 y(directory)c(name,)g(b)s(ecause)f(its)h(result)f(will)h(b)s(e)e -(passed)h(directly)h(to)g Fs(opendir\(\))p Ft(.)390 540 -y(The)37 b(directory)i(rewrite)f(ho)s(ok)f(returns)g(an)h(in)m(teger)h -(that)f(should)f(b)s(e)g(non-zero)i(if)e(the)i(func-)390 -650 y(tion)c(mo)s(di\014es)e(its)i(directory)f(argumen)m(t.)53 +390 1731 y(serted.)k(It)27 b(is)f(called)h(b)s(efore)f(rl)p +1463 1731 28 4 v 40 w(directory)p 1859 1731 V 41 w(completion)p +2333 1731 V 41 w(ho)s(ok.)39 b(A)m(t)27 b(the)g(least,)h(ev)m(en)f(if)g +(no)f(other)390 1841 y(expansion)35 b(is)h(p)s(erformed,)f(this)h +(function)f(should)g(remo)m(v)m(e)i(an)m(y)f(quote)g(c)m(haracters)h +(from)e(the)390 1950 y(directory)c(name,)g(b)s(ecause)f(its)h(result)f +(will)h(b)s(e)e(passed)h(directly)h(to)g Fs(opendir\(\))p +Ft(.)390 2091 y(The)37 b(directory)i(rewrite)f(ho)s(ok)f(returns)g(an)h +(in)m(teger)h(that)f(should)f(b)s(e)g(non-zero)i(if)e(the)i(func-)390 +2200 y(tion)c(mo)s(di\014es)e(its)i(directory)f(argumen)m(t.)53 b(The)33 b(function)h(should)f(not)i(mo)s(dify)e(the)h(directory)390 -759 y(argumen)m(t)d(if)f(it)h(returns)e(0.)3371 934 y([V)-8 -b(ariable])-3598 b Fh(rl_icppfunc_t)56 b(*)d(rl_filename_stat_hook)390 -1044 y Ft(If)30 b(non-zero,)h(this)f(is)g(the)g(address)f(of)h(a)h -(function)f(for)f(the)i(completer)g(to)g(call)g(b)s(efore)f(deciding) -390 1154 y(whic)m(h)g(c)m(haracter)i(to)e(app)s(end)f(to)i(a)f -(completed)h(name.)41 b(This)29 b(function)h(mo)s(di\014es)f(its)i -(\014lename)390 1263 y(name)36 b(argumen)m(t,)h(and)e(the)h(mo)s -(di\014ed)e(v)-5 b(alue)36 b(is)g(passed)f(to)h Fs(stat\(\))e -Ft(to)i(determine)g(the)g(\014le's)390 1373 y(t)m(yp)s(e)41 -b(and)f(c)m(haracteristics.)73 b(This)40 b(function)g(do)s(es)g(not)h -(need)f(to)h(remo)m(v)m(e)h(quote)f(c)m(haracters)390 -1482 y(from)30 b(the)g(\014lename.)390 1614 y(The)40 -b(stat)h(ho)s(ok)f(returns)f(an)h(in)m(teger)h(that)g(should)e(b)s(e)h -(non-zero)g(if)h(the)f(function)g(mo)s(di\014es)390 1724 -y(its)32 b(directory)f(argumen)m(t.)44 b(The)31 b(function)f(should)h -(not)g(mo)s(dify)g(the)g(directory)h(argumen)m(t)f(if)g(it)390 -1833 y(returns)e(0.)3371 2008 y([V)-8 b(ariable])-3598 +2310 y(argumen)m(t)d(if)f(it)h(returns)e(0.)3371 2506 +y([V)-8 b(ariable])-3598 b Fh(rl_icppfunc_t)56 b(*)d +(rl_filename_stat_hook)390 2616 y Ft(If)30 b(non-zero,)h(this)f(is)g +(the)g(address)f(of)h(a)h(function)f(for)f(the)i(completer)g(to)g(call) +g(b)s(efore)f(deciding)390 2725 y(whic)m(h)g(c)m(haracter)i(to)e(app)s +(end)f(to)i(a)f(completed)h(name.)41 b(This)29 b(function)h(mo)s +(di\014es)f(its)i(\014lename)390 2835 y(name)36 b(argumen)m(t,)h(and)e +(the)h(mo)s(di\014ed)e(v)-5 b(alue)36 b(is)g(passed)f(to)h +Fs(stat\(\))e Ft(to)i(determine)g(the)g(\014le's)390 +2944 y(t)m(yp)s(e)41 b(and)f(c)m(haracteristics.)73 b(This)40 +b(function)g(do)s(es)g(not)h(need)f(to)h(remo)m(v)m(e)h(quote)f(c)m +(haracters)390 3054 y(from)30 b(the)g(\014lename.)390 +3194 y(The)40 b(stat)h(ho)s(ok)f(returns)f(an)h(in)m(teger)h(that)g +(should)e(b)s(e)h(non-zero)g(if)h(the)f(function)g(mo)s(di\014es)390 +3304 y(its)32 b(directory)f(argumen)m(t.)44 b(The)31 +b(function)f(should)h(not)g(mo)s(dify)g(the)g(directory)h(argumen)m(t)f +(if)g(it)390 3414 y(returns)e(0.)3371 3610 y([V)-8 b(ariable])-3598 b Fh(rl_dequote_func_t)57 b(*)c(rl_filename_rewrite_ho)q(ok)390 -2118 y Ft(If)39 b(non-zero,)k(this)d(is)f(the)h(address)f(of)h(a)g +3719 y Ft(If)39 b(non-zero,)k(this)d(is)f(the)h(address)f(of)h(a)g (function)g(called)g(when)f(reading)h(directory)g(en)m(tries)390 -2228 y(from)f(the)h(\014lesystem)g(for)g(completion)h(and)e(comparing)i +3829 y(from)f(the)h(\014lesystem)g(for)g(completion)h(and)e(comparing)i (them)e(to)i(the)f(partial)h(w)m(ord)e(to)i(b)s(e)390 -2337 y(completed.)g(The)26 b(function)h(should)f(p)s(erform)f(an)m(y)j +3938 y(completed.)g(The)26 b(function)h(should)f(p)s(erform)f(an)m(y)j (necessary)f(application)i(or)e(system-sp)s(eci\014c)390 -2447 y(con)m(v)m(ersion)35 b(on)g(the)f(\014lename,)i(suc)m(h)d(as)i +4048 y(con)m(v)m(ersion)35 b(on)g(the)f(\014lename,)i(suc)m(h)d(as)i (con)m(v)m(erting)h(b)s(et)m(w)m(een)f(c)m(haracter)g(sets)g(or)f(con)m -(v)m(erting)390 2556 y(from)f(a)g(\014lesystem)h(format)g(to)g(a)f(c)m +(v)m(erting)390 4158 y(from)f(a)g(\014lesystem)h(format)g(to)g(a)f(c)m (haracter)i(input)e(format.)50 b(The)32 b(function)h(tak)m(es)i(t)m(w)m -(o)g(argu-)390 2666 y(men)m(ts:)49 b Fj(fname)p Ft(,)36 +(o)g(argu-)390 4267 y(men)m(ts:)49 b Fj(fname)p Ft(,)36 b(the)e(\014lename)h(to)g(b)s(e)f(con)m(v)m(erted,)j(and)d Fj(fnlen)p Ft(,)h(its)g(length)g(in)f(b)m(ytes.)53 b(It)35 -b(m)m(ust)390 2776 y(either)24 b(return)e(its)h(\014rst)g(argumen)m(t)g +b(m)m(ust)390 4377 y(either)24 b(return)e(its)h(\014rst)g(argumen)m(t)g (\(if)h(no)f(con)m(v)m(ersion)h(tak)m(es)h(place\))g(or)e(the)g(con)m -(v)m(erted)i(\014lename)390 2885 y(in)j(newly-allo)s(cated)i(memory)-8 +(v)m(erted)i(\014lename)390 4486 y(in)j(newly-allo)s(cated)i(memory)-8 b(.)41 b(The)27 b(con)m(v)m(erted)j(form)e(is)g(used)g(to)h(compare)f -(against)i(the)e(w)m(ord)390 2995 y(to)g(b)s(e)e(completed,)j(and,)f +(against)i(the)e(w)m(ord)390 4596 y(to)g(b)s(e)e(completed,)j(and,)f (if)f(it)h(matc)m(hes,)h(is)e(added)f(to)i(the)g(list)f(of)h(matc)m -(hes.)41 b(Readline)27 b(will)h(free)390 3104 y(the)j(allo)s(cated)h -(string.)3371 3280 y([V)-8 b(ariable])-3598 b Fh(rl_compdisp_func_t)58 +(hes.)41 b(Readline)27 b(will)h(free)390 4706 y(the)j(allo)s(cated)h +(string.)3371 4902 y([V)-8 b(ariable])-3598 b Fh(rl_compdisp_func_t)58 b(*)52 b(rl_completion_display)q(_ma)q(tch)q(es_h)q(ook)390 -3389 y Ft(If)22 b(non-zero,)i(then)e(this)g(is)g(the)g(address)f(of)h +5011 y Ft(If)22 b(non-zero,)i(then)e(this)g(is)g(the)g(address)f(of)h (a)g(function)g(to)h(call)g(when)e(completing)i(a)g(w)m(ord)e(w)m(ould) -390 3499 y(normally)h(displa)m(y)h(the)f(list)h(of)f(p)s(ossible)g +390 5121 y(normally)h(displa)m(y)h(the)f(list)h(of)f(p)s(ossible)g (matc)m(hes.)39 b(This)21 b(function)h(is)g(called)i(in)e(lieu)g(of)g -(Readline)390 3608 y(displa)m(ying)37 b(the)h(list.)61 +(Readline)390 5230 y(displa)m(ying)37 b(the)h(list.)61 b(It)37 b(tak)m(es)i(three)e(argumen)m(ts:)54 b(\()p Fs(char)30 b(**)p Fj(matc)m(hes)p Ft(,)39 b Fs(int)d -Fj(n)m(um)p 3370 3608 28 4 v 40 w(matc)m(hes)p Ft(,)390 -3718 y Fs(int)26 b Fj(max)p 735 3718 V 40 w(length)p -Ft(\))h(where)f Fj(matc)m(hes)31 b Ft(is)c(the)f(arra)m(y)h(of)g(matc)m -(hing)g(strings,)h Fj(n)m(um)p 3152 3718 V 39 w(matc)m(hes)j -Ft(is)c(the)390 3828 y(n)m(um)m(b)s(er)35 b(of)i(strings)f(in)g(that)h -(arra)m(y)-8 b(,)39 b(and)d Fj(max)p 2073 3828 V 40 w(length)h +Fj(n)m(um)p 3370 5230 V 40 w(matc)m(hes)p Ft(,)390 5340 +y Fs(int)26 b Fj(max)p 735 5340 V 40 w(length)p Ft(\))h(where)f +Fj(matc)m(hes)31 b Ft(is)c(the)f(arra)m(y)h(of)g(matc)m(hing)g +(strings,)h Fj(n)m(um)p 3152 5340 V 39 w(matc)m(hes)j +Ft(is)c(the)p eop end +%%Page: 56 60 +TeXDict begin 56 59 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(56)390 +299 y(n)m(um)m(b)s(er)35 b(of)i(strings)f(in)g(that)h(arra)m(y)-8 +b(,)39 b(and)d Fj(max)p 2073 299 28 4 v 40 w(length)h Ft(is)g(the)f(length)h(of)g(the)f(longest)i(string)390 -3937 y(in)f(that)i(arra)m(y)-8 b(.)63 b(Readline)39 b(pro)m(vides)e(a)h +408 y(in)f(that)i(arra)m(y)-8 b(.)63 b(Readline)39 b(pro)m(vides)e(a)h (con)m(v)m(enience)i(function,)f Fs(rl_display_match_list)p -Ft(,)390 4047 y(that)33 b(tak)m(es)g(care)g(of)f(doing)g(the)g(displa)m +Ft(,)390 518 y(that)33 b(tak)m(es)g(care)g(of)f(doing)g(the)g(displa)m (y)g(to)h(Readline's)g(output)e(stream.)46 b(Y)-8 b(ou)33 -b(ma)m(y)f(call)h(that)390 4156 y(function)d(from)g(this)g(ho)s(ok.) -3371 4332 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g -(rl_basic_word_break_ch)q(ara)q(cter)q(s)390 4441 y Ft(The)44 +b(ma)m(y)f(call)h(that)390 628 y(function)d(from)g(this)g(ho)s(ok.)3371 +810 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g +(rl_basic_word_break_ch)q(ara)q(cter)q(s)390 920 y Ft(The)44 b(basic)g(list)h(of)f(c)m(haracters)i(that)f(signal)g(a)f(break)g(b)s (et)m(w)m(een)h(w)m(ords)f(for)g(the)g(completer)390 -4551 y(routine.)61 b(The)37 b(default)g(v)-5 b(alue)37 +1029 y(routine.)61 b(The)37 b(default)g(v)-5 b(alue)37 b(of)h(this)f(v)-5 b(ariable)38 b(is)f(the)g(c)m(haracters)i(whic)m(h)e -(break)g(w)m(ords)f(for)390 4661 y(completion)c(in)e(Bash:)41 -b Fs(")30 b(\\t\\n\\"\\\\'`@$><=;|&{\(")p Ft(.)3371 4836 +(break)g(w)m(ords)f(for)390 1139 y(completion)c(in)e(Bash:)41 +b Fs(")30 b(\\t\\n\\"\\\\'`@$><=;|&{\(")p Ft(.)3371 1322 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g -(rl_basic_quote_charact)q(ers)390 4945 y Ft(A)30 b(list)i(of)e(quote)h +(rl_basic_quote_charact)q(ers)390 1431 y Ft(A)30 b(list)i(of)e(quote)h (c)m(haracters)h(whic)m(h)e(can)h(cause)g(a)f(w)m(ord)g(break.)3371 -5121 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g -(rl_completer_word_brea)q(k_c)q(hara)q(cte)q(rs)390 5230 +1614 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g +(rl_completer_word_brea)q(k_c)q(hara)q(cte)q(rs)390 1724 y Ft(The)64 b(list)i(of)f(c)m(haracters)h(that)g(signal)g(a)f(break)g (b)s(et)m(w)m(een)g(w)m(ords)g(for)f Fs(rl_complete_)390 -5340 y(internal\(\))p Ft(.)38 b(The)30 b(default)g(list)h(is)g(the)f(v) +1833 y(internal\(\))p Ft(.)38 b(The)30 b(default)g(list)h(is)g(the)f(v) -5 b(alue)31 b(of)g Fs(rl_basic_word_break_cha)o(ract)o(ers)p -Ft(.)p eop end -%%Page: 56 60 -TeXDict begin 56 59 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(56)3371 -299 y([V)-8 b(ariable])-3598 b Fh(rl_cpvfunc_t)56 b(*)d -(rl_completion_word_brea)q(k_ho)q(ok)390 408 y Ft(If)31 -b(non-zero,)i(this)e(is)h(the)f(address)g(of)g(a)h(function)g(to)g -(call)h(when)d(Readline)i(is)g(deciding)f(where)390 518 -y(to)k(separate)g(w)m(ords)f(for)g(w)m(ord)g(completion.)54 +Ft(.)3371 2016 y([V)-8 b(ariable])-3598 b Fh(rl_cpvfunc_t)56 +b(*)d(rl_completion_word_brea)q(k_ho)q(ok)390 2125 y +Ft(If)31 b(non-zero,)i(this)e(is)h(the)f(address)g(of)g(a)h(function)g +(to)g(call)h(when)d(Readline)i(is)g(deciding)f(where)390 +2235 y(to)k(separate)g(w)m(ords)f(for)g(w)m(ord)g(completion.)54 b(It)34 b(should)f(return)g(a)i(c)m(haracter)h(string)e(lik)m(e)i -Fs(rl_)390 628 y(completer_word_break_cha)o(ract)o(ers)26 +Fs(rl_)390 2345 y(completer_word_break_cha)o(ract)o(ers)26 b Ft(to)34 b(b)s(e)e(used)g(to)i(p)s(erform)e(the)h(curren)m(t)f -(completion.)390 737 y(The)24 b(function)h(ma)m(y)g(c)m(ho)s(ose)h(to)f -(set)g Fs(rl_completer_word_break_ch)o(arac)o(ter)o(s)19 -b Ft(itself.)39 b(If)25 b(the)390 847 y(function)30 b(returns)f -Fs(NULL)p Ft(,)h Fs(rl_completer_word_break)o(_cha)o(rac)o(ters)24 -b Ft(is)30 b(used.)3371 1011 y([V)-8 b(ariable])-3598 +(completion.)390 2454 y(The)24 b(function)h(ma)m(y)g(c)m(ho)s(ose)h(to) +f(set)g Fs(rl_completer_word_break_ch)o(arac)o(ter)o(s)19 +b Ft(itself.)39 b(If)25 b(the)390 2564 y(function)30 +b(returns)f Fs(NULL)p Ft(,)h Fs(rl_completer_word_break)o(_cha)o(rac)o +(ters)24 b Ft(is)30 b(used.)3371 2746 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g(rl_completer_quote_cha)q(rac)q(ters)390 -1121 y Ft(A)34 b(list)g(of)g(c)m(haracters)h(whic)m(h)e(can)h(b)s(e)g +2856 y Ft(A)34 b(list)g(of)g(c)m(haracters)h(whic)m(h)e(can)h(b)s(e)g (used)e(to)j(quote)f(a)g(substring)f(of)h(the)f(line.)51 -b(Completion)390 1230 y(o)s(ccurs)26 b(on)g(the)g(en)m(tire)i +b(Completion)390 2966 y(o)s(ccurs)26 b(on)g(the)g(en)m(tire)i (substring,)e(and)f(within)h(the)g(substring)g Fs -(rl_completer_word_break)o(_)390 1340 y(characters)32 +(rl_completer_word_break)o(_)390 3075 y(characters)32 b Ft(are)k(treated)g(as)f(an)m(y)h(other)f(c)m(haracter,)j(unless)d -(they)g(also)h(app)s(ear)e(within)h(this)390 1450 y(list.)3371 -1614 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g -(rl_filename_quote_char)q(act)q(ers)390 1724 y Ft(A)34 +(they)g(also)h(app)s(ear)e(within)h(this)390 3185 y(list.)3371 +3367 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g +(rl_filename_quote_char)q(act)q(ers)390 3477 y Ft(A)34 b(list)g(of)g(c)m(haracters)h(that)f(cause)h(a)f(\014lename)g(to)g(b)s (e)f(quoted)h(b)m(y)f(the)h(completer)h(when)e(they)390 -1833 y(app)s(ear)d(in)g(a)h(completed)g(\014lename.)41 +3587 y(app)s(ear)d(in)g(a)h(completed)g(\014lename.)41 b(The)30 b(default)g(is)h(the)f(n)m(ull)h(string.)3371 -1998 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g -(rl_special_prefixes)390 2107 y Ft(The)27 b(list)i(of)e(c)m(haracters)j +3769 y([V)-8 b(ariable])-3598 b Fh(const)54 b(char)f(*)g +(rl_special_prefixes)390 3879 y Ft(The)27 b(list)i(of)e(c)m(haracters)j (that)e(are)g(w)m(ord)f(break)h(c)m(haracters,)i(but)d(should)f(b)s(e)h -(left)i(in)e Fj(text)k Ft(when)390 2217 y(it)25 b(is)g(passed)f(to)h +(left)i(in)e Fj(text)k Ft(when)390 3988 y(it)25 b(is)g(passed)f(to)h (the)g(completion)h(function.)38 b(Programs)25 b(can)g(use)f(this)h(to) -g(help)f(determine)h(what)390 2326 y(kind)i(of)h(completing)h(to)f(do.) +g(help)f(determine)h(what)390 4098 y(kind)i(of)h(completing)h(to)f(do.) 40 b(F)-8 b(or)29 b(instance,)g(Bash)f(sets)g(this)g(v)-5 b(ariable)28 b(to)h Fs(")p Ft($@)p Fs(")e Ft(so)h(that)g(it)h(can)390 -2436 y(complete)j(shell)e(v)-5 b(ariables)31 b(and)f(hostnames.)3371 -2600 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_query_i)q -(tems)390 2710 y Ft(Up)36 b(to)h(this)f(man)m(y)g(items)h(will)f(b)s(e) +4208 y(complete)j(shell)e(v)-5 b(ariables)31 b(and)f(hostnames.)3371 +4390 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_query_i)q +(tems)390 4500 y Ft(Up)36 b(to)h(this)f(man)m(y)g(items)h(will)f(b)s(e) g(displa)m(y)m(ed)h(in)e(resp)s(onse)h(to)h(a)f(p)s -(ossible-completions)h(call.)390 2819 y(After)28 b(that,)h(readline)f +(ossible-completions)h(call.)390 4609 y(After)28 b(that,)h(readline)f (asks)g(the)g(user)f(if)h(she)f(is)h(sure)f(she)h(w)m(an)m(ts)g(to)h -(see)f(them)g(all.)40 b(The)28 b(default)390 2929 y(v)-5 +(see)f(them)g(all.)40 b(The)28 b(default)390 4719 y(v)-5 b(alue)31 b(is)f(100.)42 b(A)31 b(negativ)m(e)h(v)-5 b(alue)31 b(indicates)g(that)g(Readline)g(should)f(nev)m(er)h(ask)f -(the)h(user.)3371 3093 y([V)-8 b(ariable])-3598 b Fh(int)53 -b(rl_completion_append_)q(char)q(act)q(er)390 3203 y +(the)h(user.)3371 4902 y([V)-8 b(ariable])-3598 b Fh(int)53 +b(rl_completion_append_)q(char)q(act)q(er)390 5011 y Ft(When)33 b(a)h(single)f(completion)i(alternativ)m(e)h(matc)m(hes)e (at)g(the)f(end)g(of)g(the)h(command)f(line,)h(this)390 -3313 y(c)m(haracter)23 b(is)e(app)s(ended)f(to)i(the)g(inserted)f +5121 y(c)m(haracter)23 b(is)e(app)s(ended)f(to)i(the)g(inserted)f (completion)i(text.)39 b(The)20 b(default)i(is)g(a)f(space)h(c)m -(haracter)390 3422 y(\(`)31 b('\).)40 b(Setting)27 b(this)g(to)g(the)g +(haracter)390 5230 y(\(`)31 b('\).)40 b(Setting)27 b(this)g(to)g(the)g (n)m(ull)f(c)m(haracter)j(\(`)p Fs(\\0)p Ft('\))e(prev)m(en)m(ts)g(an)m -(ything)g(b)s(eing)f(app)s(ended)f(auto-)390 3532 y(matically)-8 +(ything)g(b)s(eing)f(app)s(ended)f(auto-)390 5340 y(matically)-8 b(.)41 b(This)22 b(can)i(b)s(e)f(c)m(hanged)h(in)f(application-sp)s -(eci\014c)h(completion)h(functions)e(to)h(pro)m(vide)390 -3641 y(the)d(\\most)i(sensible)e(w)m(ord)g(separator)h(c)m(haracter")h -(according)f(to)g(an)f(application-sp)s(eci\014c)i(com-)390 -3751 y(mand)28 b(line)i(syn)m(tax)f(sp)s(eci\014cation.)42 +(eci\014c)h(completion)h(functions)e(to)h(pro)m(vide)p +eop end +%%Page: 57 61 +TeXDict begin 57 60 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(57)390 +299 y(the)21 b(\\most)i(sensible)e(w)m(ord)g(separator)h(c)m(haracter") +h(according)f(to)g(an)f(application-sp)s(eci\014c)i(com-)390 +408 y(mand)28 b(line)i(syn)m(tax)f(sp)s(eci\014cation.)42 b(It)29 b(is)g(set)h(to)g(the)f(default)g(b)s(efore)g(an)m(y)g -(application-sp)s(eci\014c)390 3861 y(completion)j(function)e(is)g +(application-sp)s(eci\014c)390 518 y(completion)j(function)e(is)g +(called,)i(and)e(ma)m(y)h(only)f(b)s(e)g(c)m(hanged)h(within)f(suc)m(h) +g(a)h(function.)3371 682 y([V)-8 b(ariable])-3598 b Fh(int)53 +b(rl_completion_suppres)q(s_ap)q(pen)q(d)390 792 y Ft(If)33 +b(non-zero,)i Fj(rl)p 949 792 28 4 v 39 w(completion)p +1421 792 V 42 w(app)s(end)p 1755 792 V 38 w(c)m(haracter)42 +b Ft(is)33 b(not)g(app)s(ended)f(to)i(matc)m(hes)g(at)g(the)g(end)390 +902 y(of)28 b(the)f(command)h(line,)h(as)e(describ)s(ed)g(ab)s(o)m(v)m +(e.)41 b(It)27 b(is)h(set)g(to)g(0)g(b)s(efore)g(an)m(y)f +(application-sp)s(eci\014c)390 1011 y(completion)32 b(function)e(is)g (called,)i(and)e(ma)m(y)h(only)f(b)s(e)g(c)m(hanged)h(within)f(suc)m(h) -g(a)h(function.)3371 4025 y([V)-8 b(ariable])-3598 b -Fh(int)53 b(rl_completion_suppres)q(s_ap)q(pen)q(d)390 -4134 y Ft(If)33 b(non-zero,)i Fj(rl)p 949 4134 28 4 v -39 w(completion)p 1421 4134 V 42 w(app)s(end)p 1755 4134 -V 38 w(c)m(haracter)42 b Ft(is)33 b(not)g(app)s(ended)f(to)i(matc)m -(hes)g(at)g(the)g(end)390 4244 y(of)28 b(the)f(command)h(line,)h(as)e -(describ)s(ed)g(ab)s(o)m(v)m(e.)41 b(It)27 b(is)h(set)g(to)g(0)g(b)s -(efore)g(an)m(y)f(application-sp)s(eci\014c)390 4354 -y(completion)32 b(function)e(is)g(called,)i(and)e(ma)m(y)h(only)f(b)s -(e)g(c)m(hanged)h(within)f(suc)m(h)g(a)h(function.)3371 -4518 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_quote_c)q -(hara)q(cte)q(r)390 4628 y Ft(When)36 b(Readline)h(is)f(completing)h -(quoted)g(text,)h(as)f(delimited)g(b)m(y)f(one)g(of)g(the)h(c)m -(haracters)g(in)390 4737 y Fj(rl)p 457 4737 V 40 w(completer)p -885 4737 V 41 w(quote)p 1145 4737 V 41 w(c)m(haracters)p -Ft(,)43 b(it)c(sets)g(this)g(v)-5 b(ariable)40 b(to)g(the)f(quoting)g -(c)m(haracter)i(found.)390 4847 y(This)30 b(is)g(set)h(b)s(efore)f(an)m -(y)h(application-sp)s(eci\014c)g(completion)h(function)e(is)h(called.) -3371 5011 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_suppres) -q(s_qu)q(ote)390 5121 y Ft(If)32 b(non-zero,)h(Readline)g(do)s(es)f -(not)h(app)s(end)d(a)j(matc)m(hing)g(quote)g(c)m(haracter)h(when)d(p)s -(erforming)390 5230 y(completion)25 b(on)e(a)h(quoted)g(string.)38 +g(a)h(function.)3371 1176 y([V)-8 b(ariable])-3598 b +Fh(int)53 b(rl_completion_quote_c)q(hara)q(cte)q(r)390 +1285 y Ft(When)36 b(Readline)h(is)f(completing)h(quoted)g(text,)h(as)f +(delimited)g(b)m(y)f(one)g(of)g(the)h(c)m(haracters)g(in)390 +1395 y Fj(rl)p 457 1395 V 40 w(completer)p 885 1395 V +41 w(quote)p 1145 1395 V 41 w(c)m(haracters)p Ft(,)43 +b(it)c(sets)g(this)g(v)-5 b(ariable)40 b(to)g(the)f(quoting)g(c)m +(haracter)i(found.)390 1504 y(This)30 b(is)g(set)h(b)s(efore)f(an)m(y)h +(application-sp)s(eci\014c)g(completion)h(function)e(is)h(called.)3371 +1669 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_suppres)q +(s_qu)q(ote)390 1778 y Ft(If)32 b(non-zero,)h(Readline)g(do)s(es)f(not) +h(app)s(end)d(a)j(matc)m(hing)g(quote)g(c)m(haracter)h(when)d(p)s +(erforming)390 1888 y(completion)25 b(on)e(a)h(quoted)g(string.)38 b(It)24 b(is)f(set)h(to)h(0)f(b)s(efore)f(an)m(y)h(application-sp)s -(eci\014c)h(completion)390 5340 y(function)30 b(is)g(called,)i(and)e +(eci\014c)h(completion)390 1998 y(function)30 b(is)g(called,)i(and)e (ma)m(y)h(only)g(b)s(e)e(c)m(hanged)i(within)f(suc)m(h)g(a)h(function.) -p eop end -%%Page: 57 61 -TeXDict begin 57 60 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(57)3371 -299 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_found_q)q -(uote)390 408 y Ft(When)31 b(Readline)i(is)e(completing)i(quoted)f +3371 2162 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_found_q) +q(uote)390 2271 y Ft(When)31 b(Readline)i(is)e(completing)i(quoted)f (text,)h(it)f(sets)g(this)g(v)-5 b(ariable)32 b(to)h(a)f(non-zero)g(v) --5 b(alue)32 b(if)390 518 y(the)21 b(w)m(ord)g(b)s(eing)g(completed)h +-5 b(alue)32 b(if)390 2381 y(the)21 b(w)m(ord)g(b)s(eing)g(completed)h (con)m(tains)g(or)f(is)g(delimited)h(b)m(y)f(an)m(y)g(quoting)h(c)m -(haracters,)i(including)390 628 y(bac)m(kslashes.)42 +(haracters,)i(including)390 2491 y(bac)m(kslashes.)42 b(This)29 b(is)i(set)g(b)s(efore)f(an)m(y)g(application-sp)s(eci\014c)i -(completion)g(function)e(is)g(called.)3371 816 y([V)-8 +(completion)g(function)e(is)g(called.)3371 2655 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_mark_sy)q(mlin)q(k_d)q -(irs)390 925 y Ft(If)31 b(non-zero,)i(a)f(slash)g(will)g(b)s(e)f(app)s +(irs)390 2765 y Ft(If)31 b(non-zero,)i(a)f(slash)g(will)g(b)s(e)f(app)s (ended)f(to)j(completed)g(\014lenames)e(that)i(are)f(sym)m(b)s(olic)g -(links)390 1035 y(to)25 b(directory)g(names,)g(sub)5 +(links)390 2874 y(to)25 b(directory)g(names,)g(sub)5 b(ject)24 b(to)h(the)f(v)-5 b(alue)25 b(of)f(the)h(user-settable)g -Fj(mark-directories)k Ft(v)-5 b(ariable.)390 1144 y(This)27 +Fj(mark-directories)k Ft(v)-5 b(ariable.)390 2984 y(This)27 b(v)-5 b(ariable)28 b(exists)g(so)f(that)h(application-sp)s(eci\014c)h (completion)g(functions)e(can)g(o)m(v)m(erride)i(the)390 -1254 y(user's)42 b(global)h(preference)g(\(set)g(via)g(the)f +3093 y(user's)42 b(global)h(preference)g(\(set)g(via)g(the)f Fj(mark-symlink)m(ed-directories)48 b Ft(Readline)43 -b(v)-5 b(ariable\))390 1363 y(if)38 b(appropriate.)62 +b(v)-5 b(ariable\))390 3203 y(if)38 b(appropriate.)62 b(This)37 b(v)-5 b(ariable)38 b(is)g(set)g(to)g(the)g(user's)f -(preference)g(b)s(efore)g(an)m(y)h(application-)390 1473 +(preference)g(b)s(efore)g(an)m(y)h(application-)390 3313 y(sp)s(eci\014c)31 b(completion)i(function)f(is)f(called,)j(so)e (unless)f(that)h(function)f(mo)s(di\014es)g(the)h(v)-5 -b(alue,)33 b(the)390 1583 y(user's)d(preferences)g(are)h(honored.)3371 -1771 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_ignore_completion_)q -(dupl)q(ica)q(tes)390 1880 y Ft(If)30 b(non-zero,)h(then)f(duplicates)h +b(alue,)33 b(the)390 3422 y(user's)d(preferences)g(are)h(honored.)3371 +3587 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_ignore_completion_)q +(dupl)q(ica)q(tes)390 3696 y Ft(If)30 b(non-zero,)h(then)f(duplicates)h (in)f(the)h(matc)m(hes)g(are)g(remo)m(v)m(ed.)42 b(The)29 -b(default)i(is)f(1.)3371 2068 y([V)-8 b(ariable])-3598 +b(default)i(is)f(1.)3371 3861 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_filename_completio)q(n_de)q(sir)q(ed)390 -2178 y Ft(Non-zero)33 b(means)f(that)g(the)g(results)f(of)h(the)g(matc) +3970 y Ft(Non-zero)33 b(means)f(that)g(the)g(results)f(of)h(the)g(matc) m(hes)h(are)f(to)h(b)s(e)e(treated)i(as)f(\014lenames.)45 -b(This)390 2287 y(is)40 b Fk(always)49 b Ft(zero)41 b(when)e +b(This)390 4080 y(is)40 b Fk(always)49 b Ft(zero)41 b(when)e (completion)i(is)f(attempted,)j(and)d(can)g(only)g(b)s(e)f(c)m(hanged)i -(within)e(an)390 2397 y(application-sp)s(eci\014c)i(completion)g +(within)e(an)390 4189 y(application-sp)s(eci\014c)i(completion)g (function.)67 b(If)39 b(it)h(is)f(set)h(to)h(a)e(non-zero)h(v)-5 -b(alue)40 b(b)m(y)f(suc)m(h)h(a)390 2506 y(function,)24 +b(alue)40 b(b)m(y)f(suc)m(h)h(a)390 4299 y(function,)24 b(directory)f(names)f(ha)m(v)m(e)h(a)g(slash)f(app)s(ended)e(and)i -(Readline)h(attempts)g(to)g(quote)g(com-)390 2616 y(pleted)35 +(Readline)h(attempts)g(to)g(quote)g(com-)390 4408 y(pleted)35 b(\014lenames)g(if)g(they)h(con)m(tain)g(an)m(y)f(c)m(haracters)i(in)e -Fs(rl_filename_quote_chara)o(cter)o(s)390 2725 y Ft(and)30 +Fs(rl_filename_quote_chara)o(cter)o(s)390 4518 y Ft(and)30 b Fs(rl_filename_quoting_des)o(ired)24 b Ft(is)30 b(set)h(to)g(a)g -(non-zero)g(v)-5 b(alue.)3371 2913 y([V)d(ariable])-3598 -b Fh(int)53 b(rl_filename_quoting_d)q(esir)q(ed)390 3023 +(non-zero)g(v)-5 b(alue.)3371 4682 y([V)d(ariable])-3598 +b Fh(int)53 b(rl_filename_quoting_d)q(esir)q(ed)390 4792 y Ft(Non-zero)29 b(means)f(that)h(the)f(results)g(of)g(the)g(matc)m (hes)i(are)e(to)h(b)s(e)e(quoted)h(using)g(double)f(quotes)390 -3133 y(\(or)43 b(an)f(application-sp)s(eci\014c)i(quoting)f(mec)m +4902 y(\(or)43 b(an)f(application-sp)s(eci\014c)i(quoting)f(mec)m (hanism\))g(if)f(the)h(completed)g(\014lename)g(con)m(tains)390 -3242 y(an)m(y)28 b(c)m(haracters)h(in)e Fs(rl_filename_quote_chars)p +5011 y(an)m(y)28 b(c)m(haracters)h(in)e Fs(rl_filename_quote_chars)p Ft(.)34 b(This)27 b(is)g Fk(always)37 b Ft(non-zero)28 -b(when)f(comple-)390 3352 y(tion)h(is)g(attempted,)h(and)e(can)h(only)g +b(when)f(comple-)390 5121 y(tion)h(is)g(attempted,)h(and)e(can)h(only)g (b)s(e)f(c)m(hanged)h(within)f(an)h(application-sp)s(eci\014c)h -(completion)390 3461 y(function.)37 b(The)21 b(quoting)g(is)g +(completion)390 5230 y(function.)37 b(The)21 b(quoting)g(is)g (e\013ected)i(via)e(a)h(call)g(to)g(the)f(function)g(p)s(oin)m(ted)g -(to)g(b)m(y)g Fs(rl_filename_)390 3571 y(quoting_function)p -Ft(.)3371 3759 y([V)-8 b(ariable])-3598 b Fh(int)53 b -(rl_attempted_completi)q(on_o)q(ver)390 3868 y Ft(If)93 -b(an)h(application-sp)s(eci\014c)i(completion)f(function)f(assigned)g -(to)h Fs(rl_attempted_)390 3978 y(completion_function)48 -b Ft(sets)53 b(this)g(v)-5 b(ariable)54 b(to)g(a)f(non-zero)h(v)-5 -b(alue,)60 b(Readline)53 b(will)h(not)390 4088 y(p)s(erform)28 -b(its)i(default)g(\014lename)g(completion)h(ev)m(en)f(if)g(the)f -(application's)i(completion)g(function)390 4197 y(returns)e(no)h(matc)m -(hes.)42 b(It)31 b(should)e(b)s(e)h(set)h(only)f(b)m(y)h(an)f -(application's)i(completion)f(function.)3371 4385 y([V)-8 -b(ariable])-3598 b Fh(int)53 b(rl_sort_completion_ma)q(tche)q(s)390 -4495 y Ft(If)29 b(an)h(application)h(sets)f(this)g(v)-5 -b(ariable)31 b(to)f(0,)h(Readline)f(will)g(not)g(sort)g(the)g(list)h -(of)f(completions)390 4604 y(\(whic)m(h)25 b(implies)f(that)i(it)f -(cannot)g(remo)m(v)m(e)h(an)m(y)f(duplicate)g(completions\).)40 -b(The)24 b(default)h(v)-5 b(alue)25 b(is)390 4714 y(1,)32 +(to)g(b)m(y)g Fs(rl_filename_)390 5340 y(quoting_function)p +Ft(.)p eop end +%%Page: 58 62 +TeXDict begin 58 61 bop 150 -116 a Ft(Chapter)30 b(2:)41 +b(Programming)30 b(with)g(GNU)h(Readline)1683 b(58)3371 +299 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_attempted_completi)q +(on_o)q(ver)390 408 y Ft(If)93 b(an)h(application-sp)s(eci\014c)i +(completion)f(function)f(assigned)g(to)h Fs(rl_attempted_)390 +518 y(completion_function)48 b Ft(sets)53 b(this)g(v)-5 +b(ariable)54 b(to)g(a)f(non-zero)h(v)-5 b(alue,)60 b(Readline)53 +b(will)h(not)390 628 y(p)s(erform)28 b(its)i(default)g(\014lename)g +(completion)h(ev)m(en)f(if)g(the)f(application's)i(completion)g +(function)390 737 y(returns)e(no)h(matc)m(hes.)42 b(It)31 +b(should)e(b)s(e)h(set)h(only)f(b)m(y)h(an)f(application's)i +(completion)f(function.)3371 922 y([V)-8 b(ariable])-3598 +b Fh(int)53 b(rl_sort_completion_ma)q(tche)q(s)390 1031 +y Ft(If)29 b(an)h(application)h(sets)f(this)g(v)-5 b(ariable)31 +b(to)f(0,)h(Readline)f(will)g(not)g(sort)g(the)g(list)h(of)f +(completions)390 1141 y(\(whic)m(h)25 b(implies)f(that)i(it)f(cannot)g +(remo)m(v)m(e)h(an)m(y)f(duplicate)g(completions\).)40 +b(The)24 b(default)h(v)-5 b(alue)25 b(is)390 1250 y(1,)32 b(whic)m(h)f(means)g(that)h(Readline)g(will)f(sort)h(the)f(completions) -h(and,)f(dep)s(ending)f(on)h(the)g(v)-5 b(alue)390 4823 +h(and,)f(dep)s(ending)f(on)h(the)g(v)-5 b(alue)390 1360 y(of)31 b Fs(rl_ignore_completion_du)o(pli)o(cate)o(s)p Ft(,)25 b(will)30 b(attempt)i(to)f(remo)m(v)m(e)h(duplicate)f(matc)m -(hes.)3371 5011 y([V)-8 b(ariable])-3598 b Fh(int)53 -b(rl_completion_type)390 5121 y Ft(Set)35 b(to)h(a)f(c)m(haracter)i +(hes.)3371 1544 y([V)-8 b(ariable])-3598 b Fh(int)53 +b(rl_completion_type)390 1654 y Ft(Set)35 b(to)h(a)f(c)m(haracter)i (describing)e(the)g(t)m(yp)s(e)g(of)g(completion)i(Readline)e(is)g -(curren)m(tly)h(attempt-)390 5230 y(ing;)f(see)f(the)g(description)f +(curren)m(tly)h(attempt-)390 1763 y(ing;)f(see)f(the)g(description)f (of)g Fs(rl_complete_internal\(\))28 b Ft(\(see)34 b(Section)g(2.6.2)h -([Completion)390 5340 y(F)-8 b(unctions],)39 b(page)f(52\))f(for)g(the) +([Completion)390 1873 y(F)-8 b(unctions],)39 b(page)f(52\))f(for)g(the) g(list)g(of)g(c)m(haracters.)61 b(This)36 b(is)g(set)i(to)f(the)g -(appropriate)f(v)-5 b(alue)p eop end -%%Page: 58 62 -TeXDict begin 58 61 bop 150 -116 a Ft(Chapter)30 b(2:)41 -b(Programming)30 b(with)g(GNU)h(Readline)1683 b(58)390 -299 y(b)s(efore)31 b(an)m(y)h(application-sp)s(eci\014c)h(completion)g -(function)f(is)f(called,)j(allo)m(wing)f(suc)m(h)e(functions)390 -408 y(to)g(presen)m(t)g(the)f(same)h(in)m(terface)h(as)e -Fs(rl_complete\(\))p Ft(.)3371 593 y([V)-8 b(ariable])-3598 -b Fh(int)53 b(rl_completion_invokin)q(g_ke)q(y)390 702 -y Ft(Set)41 b(to)g(the)g(\014nal)g(c)m(haracter)h(in)e(the)h(k)m(ey)g -(sequence)h(that)f(in)m(v)m(ok)m(ed)h(one)f(of)g(the)g(completion)390 -812 y(functions)c(that)h(call)h Fs(rl_complete_internal\(\))p -Ft(.)56 b(This)37 b(is)g(set)h(to)g(the)g(appropriate)f(v)-5 -b(alue)390 922 y(b)s(efore)30 b(an)m(y)h(application-sp)s(eci\014c)h -(completion)f(function)f(is)h(called.)3371 1106 y([V)-8 -b(ariable])-3598 b Fh(int)53 b(rl_inhibit_completion)390 -1215 y Ft(If)28 b(this)g(v)-5 b(ariable)29 b(is)f(non-zero,)i +(appropriate)f(v)-5 b(alue)390 1983 y(b)s(efore)31 b(an)m(y)h +(application-sp)s(eci\014c)h(completion)g(function)f(is)f(called,)j +(allo)m(wing)f(suc)m(h)e(functions)390 2092 y(to)g(presen)m(t)g(the)f +(same)h(in)m(terface)h(as)e Fs(rl_complete\(\))p Ft(.)3371 +2276 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_completion_invokin)q +(g_ke)q(y)390 2386 y Ft(Set)41 b(to)g(the)g(\014nal)g(c)m(haracter)h +(in)e(the)h(k)m(ey)g(sequence)h(that)f(in)m(v)m(ok)m(ed)h(one)f(of)g +(the)g(completion)390 2496 y(functions)c(that)h(call)h +Fs(rl_complete_internal\(\))p Ft(.)56 b(This)37 b(is)g(set)h(to)g(the)g +(appropriate)f(v)-5 b(alue)390 2605 y(b)s(efore)30 b(an)m(y)h +(application-sp)s(eci\014c)h(completion)f(function)f(is)h(called.)3371 +2790 y([V)-8 b(ariable])-3598 b Fh(int)53 b(rl_inhibit_completion)390 +2899 y Ft(If)28 b(this)g(v)-5 b(ariable)29 b(is)f(non-zero,)i (completion)f(is)f(inhibited.)40 b(The)28 b(completion)h(c)m(haracter)h -(will)f(b)s(e)390 1325 y(inserted)h(as)h(an)m(y)g(other)f(b)s(ound)e -(to)k Fs(self-insert)p Ft(.)150 1524 y Fi(2.6.4)63 b(A)40 -b(Short)i(Completion)g(Example)150 1671 y Ft(Here)30 +(will)f(b)s(e)390 3009 y(inserted)h(as)h(an)m(y)g(other)f(b)s(ound)e +(to)k Fs(self-insert)p Ft(.)150 3208 y Fi(2.6.4)63 b(A)40 +b(Short)i(Completion)g(Example)150 3355 y Ft(Here)30 b(is)f(a)g(small)h(application)g(demonstrating)f(the)h(use)e(of)i(the)f (GNU)h(Readline)f(library)-8 b(.)40 b(It)30 b(is)f(called)150 -1781 y Fs(fileman)p Ft(,)40 b(and)f(the)h(source)g(co)s(de)g(resides)f +3465 y Fs(fileman)p Ft(,)40 b(and)f(the)h(source)g(co)s(de)g(resides)f (in)g Fs(examples/fileman.c)p Ft(.)64 b(This)39 b(sample)h(application) -150 1890 y(pro)m(vides)26 b(completion)i(of)e(command)g(names,)h(line)f +150 3574 y(pro)m(vides)26 b(completion)i(of)e(command)g(names,)h(line)f (editing)h(features,)h(and)d(access)j(to)f(the)f(history)g(list.)p eop end %%Page: 59 63 @@ -11803,7 +11844,7 @@ b Fb(17)146 2088 y Fr(B)150 2211 y Fe(backward-char)h(\(C-b\))14 b Fa(:)g(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)28 b Fb(16)150 2300 y Fe(backward-delete-char)i(\(Rubout\))24 b Fa(:)14 b(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b Fb(18)150 2389 +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)37 b Fb(19)150 2389 y Fe(backward-kill-line)30 b(\(C-x)c(Rubout\))7 b Fa(:)15 b(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)21 b Fb(20)150 2478 y Fe(backward-kill-word)30 b(\(M-DEL\))13 @@ -11866,12 +11907,12 @@ b Fa(:)k(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)24 b Fb(6)150 4936 y Fe(copy-backward-word)30 b(\(\))9 b Fa(:)k(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)23 b Fb(20)150 +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)23 b Fb(21)150 5025 y Fe(copy-forward-word)29 b(\(\))11 b Fa(:)j(:)f(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)26 b Fb(21)150 5112 y Fe(copy-region-as-kill)k(\(\))6 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(20)2021 817 y Fr(D)2025 +(:)g(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(21)2021 817 y Fr(D)2025 935 y Fe(delete-char)28 b(\(C-d\))20 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)34 b Fb(18)2025 1023 y Fe(delete-char-or-list)c(\(\))6 @@ -11893,7 +11934,7 @@ b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(23)2025 1640 y Fe(dump-macros)28 b(\(\))10 b Fa(:)j(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)24 b Fb(23)2025 1727 y Fe(dump-variables)29 +g(:)g(:)h(:)f(:)g(:)g(:)24 b Fb(24)2025 1727 y Fe(dump-variables)29 b(\(\))19 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(23)2021 1989 y Fr(E)2025 2108 y Fb(ec)n(ho-con)n(trol-c)n @@ -11904,7 +11945,7 @@ b Fb(6)2025 2196 y(editing-mo)r(de)10 b Fa(:)j(:)g(:)g(:)g(:)g(:)g(:)h g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)25 b Fb(6)2025 2284 y Fe(emacs-editing-mode)k(\(C-e\))18 b Fa(:)d(:)e(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)33 -b Fb(23)2025 2372 y(emacs-mo)r(de-string)18 b Fa(:)c(:)f(:)g(:)g(:)g(:) +b Fb(24)2025 2372 y(emacs-mo)r(de-string)18 b Fa(:)c(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)33 b Fb(6)2025 2460 y(enable-brac)n(k)n (eted-paste)18 b Fa(:)12 b(:)h(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g @@ -11990,7 +12031,7 @@ b(:)h(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(8)150 1509 y Fe(menu-complete)29 b(\(\))22 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(21)150 +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)36 b Fb(22)150 1600 y Fe(menu-complete-backward)31 b(\(\))16 b Fa(:)d(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)30 b Fb(22)150 1692 y(men)n(u-complete-displa)n(y-pre\014x)10 @@ -12016,7 +12057,7 @@ b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)34 b Fb(8)150 3311 y Fe(overwrite-mode)29 b(\(\))19 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fb(19)146 +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fb(20)146 3633 y Fr(P)150 3762 y Fb(page-completions)8 b Fa(:)15 b(:)e(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)23 @@ -12048,362 +12089,370 @@ b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)26 b Fb(9)2025 847 y Fe(revert-line)i(\(M-r\))20 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(22)2025 -935 y Fe(rl_add_defun)8 b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)22 b Fb(33)2025 1022 y Fe(rl_add_funmap_entry)7 -b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(37)2025 -1109 y Fe(rl_add_undo)10 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(38)2025 1197 y -Fe(rl_alphabetic)g Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)37 b Fb(42)2025 1284 y Fe(rl_begin_undo_group)7 -b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(38)2025 -1371 y Fe(rl_bind_key)10 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(35)2025 1459 y -Fe(rl_bind_key_if_unbound)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 -b Fb(35)2025 1546 y Fe(rl_bind_key_if_unbound_in_map)16 +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(23)2025 +935 y Fe(rl_activate_mark)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)29 b Fb(44)2025 1022 y Fe(rl_add_defun)8 b Fa(:)15 +b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 +b Fb(33)2025 1109 y Fe(rl_add_funmap_entry)7 b Fa(:)17 +b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(37)2025 1197 y +Fe(rl_add_undo)10 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(38)2025 1284 y Fe(rl_alphabetic)g +Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 +b Fb(42)2025 1371 y Fe(rl_begin_undo_group)7 b Fa(:)17 +b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(38)2025 1459 y +Fe(rl_bind_key)10 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)25 b Fb(35)2025 1546 y Fe +(rl_bind_key_if_unbound)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 +b Fb(35)2025 1633 y Fe(rl_bind_key_if_unbound_in_map)16 b Fa(:)j(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)30 -b Fb(35)2025 1633 y Fe(rl_bind_key_in_map)10 b Fa(:)17 +b Fb(35)2025 1721 y Fe(rl_bind_key_in_map)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(35)2025 1721 +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(35)2025 1808 y Fe(rl_bind_keyseq)f Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)34 b Fb(36)2025 1808 y Fe(rl_bind_keyseq_if_unbound)9 +h(:)f(:)34 b Fb(36)2025 1896 y Fe(rl_bind_keyseq_if_unbound)9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)23 b Fb(36)2025 1896 y Fe(rl_bind_keyseq_if_unbound_in_m)q +(:)g(:)h(:)23 b Fb(36)2025 1983 y Fe(rl_bind_keyseq_if_unbound_in_m)q (ap)8 b Fa(:)19 b(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)23 -b Fb(36)2025 1983 y Fe(rl_bind_keyseq_in_map)h Fa(:)13 +b Fb(36)2025 2070 y Fe(rl_bind_keyseq_in_map)h Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)34 b Fb(36)2025 2070 y Fe +(:)g(:)g(:)g(:)g(:)34 b Fb(36)2025 2158 y Fe (rl_callback_handler_install)27 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(44)2025 2158 y +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(44)2025 2245 y Fe(rl_callback_handler_remove)6 b Fa(:)19 b(:)13 b(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)21 b Fb(44)2025 -2245 y Fe(rl_callback_read_char)j Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)21 b Fb(45)2025 +2332 y Fe(rl_callback_read_char)j Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 -b Fb(44)2025 2332 y Fe(rl_callback_sigcleanup)16 b Fa(:)i(:)13 +b Fb(44)2025 2420 y Fe(rl_callback_sigcleanup)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)31 b Fb(44)2025 2420 y Fe(rl_check_signals)15 +(:)g(:)g(:)31 b Fb(44)2025 2507 y Fe(rl_check_signals)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 b -Fb(50)2025 2507 y Fe(rl_cleanup_after_signal)14 b Fa(:)k(:)13 +Fb(50)2025 2595 y Fe(rl_cleanup_after_signal)14 b Fa(:)k(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)28 b Fb(50)2025 2595 y Fe(rl_clear_history)15 +(:)h(:)28 b Fb(50)2025 2682 y Fe(rl_clear_history)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 b -Fb(43)2025 2682 y Fe(rl_clear_message)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g +Fb(43)2025 2769 y Fe(rl_clear_message)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)29 b Fb(39)2025 2769 y Fe(rl_clear_pending_input)16 +g(:)g(:)g(:)h(:)f(:)29 b Fb(39)2025 2857 y Fe(rl_clear_pending_input)16 b Fa(:)i(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)31 b Fb(41)2025 2857 y Fe(rl_clear_signals)15 +(:)g(:)h(:)f(:)g(:)g(:)31 b Fb(41)2025 2944 y Fe(rl_clear_signals)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 b -Fb(51)2025 2944 y Fe(rl_clear_visible_line)24 b Fa(:)13 +Fb(51)2025 3031 y Fe(rl_clear_visible_line)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)34 b Fb(39)2025 3031 y Fe(rl_complete)10 -b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)25 b Fb(52)2025 3119 y Fe(rl_complete_internal)h -Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(52)2025 3206 y -Fe(rl_completion_matches)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 -b Fb(53)2025 3293 y Fe(rl_completion_mode)10 b Fa(:)17 -b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(53)2025 3381 -y Fe(rl_copy_keymap)f Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)34 b Fb(34)2025 3468 y Fe(rl_copy_text)8 b Fa(:)15 -b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)22 -b Fb(40)2025 3556 y Fe(rl_crlf)g Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 -b Fb(39)2025 3643 y Fe(rl_delete_text)23 b Fa(:)13 b(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fb(40)2025 3730 y -Fe(rl_deprep_terminal)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +(:)g(:)g(:)g(:)g(:)34 b Fb(39)2025 3119 y Fe(rl_complete)17 +b Fa(:)e(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)31 +b Fb(52,)c(53)2025 3206 y Fe(rl_complete_internal)f Fa(:)13 +b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(52)2025 3293 y Fe(rl_completion_matches) +24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(53)2025 3381 y +Fe(rl_completion_mode)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 -b Fb(41)2025 3818 y Fe(rl_ding)e Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 -b Fb(42)2025 3905 y Fe(rl_discard_keymap)12 b Fa(:)17 -b(:)c(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 b Fb(34)2025 -3992 y Fe(rl_display_match_list)d Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 -b Fb(42)2025 4080 y Fe(rl_do_undo)13 b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)27 b Fb(38)2025 -4167 y Fe(rl_echo_signal_char)7 b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g +b Fb(53)2025 3468 y Fe(rl_copy_keymap)f Fa(:)13 b(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fb(34)2025 3556 y Fe(rl_copy_text)8 +b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +22 b Fb(40)2025 3643 y Fe(rl_crlf)g Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 +b Fb(39)2025 3730 y Fe(rl_deactivate_mark)10 b Fa(:)17 +b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(44)2025 3818 +y Fe(rl_delete_text)f Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -22 b Fb(50)2025 4255 y Fe(rl_empty_keymap)17 b Fa(:)g(:)c(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)32 b Fb(34)2025 4342 y Fe -(rl_end_undo_group)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -27 b Fb(38)2025 4429 y Fe(rl_execute_next)17 b Fa(:)g(:)c(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)32 b Fb(41)2025 4517 y Fe(rl_expand_prompt) -15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 -b Fb(39)2025 4604 y Fe(rl_extend_line_buffer)24 b Fa(:)13 +h(:)f(:)34 b Fb(40)2025 3905 y Fe(rl_deprep_terminal)10 +b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(41)2025 +3992 y Fe(rl_ding)e Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 b Fb(42)2025 +4080 y Fe(rl_discard_keymap)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)27 b Fb(34)2025 4167 y Fe(rl_display_match_list)d +Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(42)2025 4255 y Fe(rl_do_undo)13 +b Fa(:)i(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)27 b Fb(38)2025 4342 y Fe(rl_echo_signal_char)7 +b Fa(:)17 b(:)c(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)22 b Fb(51)2025 +4429 y Fe(rl_empty_keymap)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)32 b Fb(34)2025 4517 y Fe(rl_end_undo_group)12 +b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 b Fb(38)2025 +4604 y Fe(rl_execute_next)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)32 b Fb(41)2025 4691 y Fe(rl_expand_prompt)15 +b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)29 b +Fb(39)2025 4779 y Fe(rl_extend_line_buffer)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)34 b Fb(42)2025 4691 y Fe +(:)g(:)g(:)g(:)g(:)34 b Fb(42)2025 4866 y Fe (rl_filename_completion_functio)q(n)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fb(53)2025 -4779 y Fe(rl_forced_update_display)11 b Fa(:)19 b(:)13 +4954 y Fe(rl_forced_update_display)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)26 b Fb(38)2025 4866 y Fe(rl_free)c Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:) +(:)26 b Fb(38)2025 5041 y Fe(rl_free)c Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)35 -b Fb(42)2025 4954 y Fe(rl_free_keymap)23 b Fa(:)13 b(:)g(:)g(:)g(:)g(:) +b Fb(42)2025 5128 y Fe(rl_free_keymap)23 b Fa(:)13 b(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fb(34)2025 5041 y -Fe(rl_free_line_state)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 -b Fb(50)2025 5128 y Fe(rl_free_undo_list)12 b Fa(:)17 -b(:)c(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 b Fb(38)p eop -end +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b Fb(34)p eop end %%Page: 78 82 TeXDict begin 78 81 bop 150 -116 a Ft(F)-8 b(unction)31 b(and)f(V)-8 b(ariable)32 b(Index)2370 b(78)150 260 y -Fe(rl_function_dumper)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +Fe(rl_free_line_state)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 -b Fb(37)150 347 y Fe(rl_function_of_keyseq)g Fa(:)13 -b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)33 b Fb(37)150 434 y Fe(rl_function_of_keyseq_len)9 -b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)23 b Fb(37)150 521 y Fe(rl_funmap_names)17 +b Fb(50)150 347 y Fe(rl_free_undo_list)12 b Fa(:)17 b(:)c(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) +g(:)g(:)g(:)g(:)h(:)26 b Fb(38)150 434 y Fe(rl_function_dumper)10 +b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(37)150 +521 y Fe(rl_function_of_keyseq)g Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 +b Fb(37)150 609 y Fe(rl_function_of_keyseq_len)9 b Fa(:)19 +b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)23 b Fb(37)150 696 y Fe(rl_funmap_names)17 b Fa(:)g(:)c(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(37)150 783 y Fe(rl_generic_bind)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 -b Fb(37)150 609 y Fe(rl_generic_bind)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:) -h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(36)150 696 y Fe(rl_get_keymap)25 -b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 -b Fb(34)150 783 y Fe(rl_get_keymap_by_name)24 b Fa(:)13 -b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)33 b Fb(34)150 870 y Fe(rl_get_keymap_name)10 -b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(34)150 -957 y Fe(rl_get_screen_size)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)24 b Fb(51)150 1045 y Fe(rl_get_termcap)f Fa(:)13 -b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 -b Fb(43)150 1132 y Fe(rl_getc)22 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)35 -b Fb(40)150 1219 y Fe(rl_initialize)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g +b Fb(36)150 870 y Fe(rl_get_keymap)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(42)150 1306 y -Fe(rl_insert_completions)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(34)150 957 y +Fe(rl_get_keymap_by_name)24 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)33 -b Fb(52)150 1393 y Fe(rl_insert_text)23 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f +b Fb(34)150 1045 y Fe(rl_get_keymap_name)10 b Fa(:)17 +b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(34)150 1132 +y Fe(rl_get_screen_size)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +24 b Fb(51)150 1219 y Fe(rl_get_termcap)f Fa(:)13 b(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(40)150 1481 y Fe -(rl_invoking_keyseqs)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 -b Fb(37)150 1568 y Fe(rl_invoking_keyseqs_in_map)7 b -Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)21 b Fb(37)150 1655 y Fe(rl_kill_text)8 b Fa(:)16 -b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 -b Fb(40)150 1742 y Fe(rl_list_funmap_names)k Fa(:)13 -b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)36 b Fb(37)150 1829 y Fe(rl_macro_bind)25 +g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(43)150 1306 y Fe(rl_getc)22 +b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)35 b Fb(40)150 1393 y Fe(rl_initialize)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 -b Fb(43)150 1917 y Fe(rl_macro_dumper)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g +b Fb(42)150 1481 y Fe(rl_insert_completions)24 b Fa(:)13 +b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)33 b Fb(53)150 1568 y Fe(rl_insert_text)23 +b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 +b Fb(40)150 1655 y Fe(rl_invoking_keyseqs)7 b Fa(:)17 +b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(37)150 1742 y +Fe(rl_invoking_keyseqs_in_map)7 b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(37)150 +1829 y Fe(rl_keep_mark_active)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)32 b Fb(43)150 2004 y Fe(rl_make_bare_keymap)7 -b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +21 b Fb(44)150 1917 y Fe(rl_kill_text)8 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g +(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(40)150 +2004 y Fe(rl_list_funmap_names)k Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 +b Fb(37)150 2091 y Fe(rl_macro_bind)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(43)150 2178 y +Fe(rl_macro_dumper)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)32 b Fb(43)150 2265 y Fe(rl_make_bare_keymap)7 b +Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(34)150 -2091 y Fe(rl_make_keymap)i Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)34 b Fb(34)150 2178 y Fe(rl_message)13 -b Fa(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)27 b Fb(39)150 2265 y Fe(rl_modifying)8 b Fa(:)16 -b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 -b Fb(38)150 2353 y Fe(rl_named_function)12 b Fa(:)17 -b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(37)150 -2440 y Fe(rl_on_new_line)d Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +2353 y Fe(rl_make_keymap)i Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)34 b Fb(38)150 2527 y Fe(rl_on_new_line_with_prompt)7 -b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)21 b Fb(39)150 2614 y Fe(rl_parse_and_bind)12 -b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(36)150 -2701 y Fe(rl_pending_signal)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)26 b Fb(50)150 2789 y Fe(rl_possible_completions)14 -b Fa(:)k(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)28 b Fb(52)150 2876 y Fe(rl_prep_terminal)15 +(:)f(:)g(:)g(:)34 b Fb(34)150 2440 y Fe(rl_mark_active_p)15 b Fa(:)h(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)29 b -Fb(41)150 2963 y Fe(rl_push_macro_input)7 b Fa(:)17 b(:)d(:)f(:)g(:)g +Fb(44)150 2527 y Fe(rl_message)13 b Fa(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) +h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(39)150 +2614 y Fe(rl_modifying)8 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(38)150 2701 y Fe(rl_named_function) +12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 +b Fb(37)150 2789 y Fe(rl_on_new_line)d Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:) +g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)34 b Fb(38)150 2876 y Fe +(rl_on_new_line_with_prompt)7 b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(39)150 +2963 y Fe(rl_parse_and_bind)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)21 b Fb(40)150 3050 y Fe(rl_read_init_file)12 +g(:)h(:)26 b Fb(36)150 3050 y Fe(rl_pending_signal)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(36)150 -3137 y Fe(rl_read_key)10 b Fa(:)16 b(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)25 b Fb(40)150 3225 y -Fe(rl_redisplay)8 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) -g(:)g(:)h(:)f(:)g(:)22 b Fb(38)150 3312 y Fe(rl_replace_line)17 -b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)32 -b Fb(42)150 3399 y Fe(rl_reset_after_signal)24 b Fa(:)13 -b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)33 b Fb(50)150 3486 y Fe(rl_reset_line_state)7 +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(50)150 +3137 y Fe(rl_possible_completions)14 b Fa(:)k(:)13 b(:)h(:)f(:)g(:)g(:) +g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)28 +b Fb(53)150 3225 y Fe(rl_prep_terminal)15 b Fa(:)h(:)e(:)f(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)29 b Fb(41)150 3312 y Fe(rl_push_macro_input)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(39)150 -3573 y Fe(rl_reset_screen_size)26 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)36 -b Fb(51)150 3661 y Fe(rl_reset_terminal)12 b Fa(:)17 -b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(41)150 -3748 y Fe(rl_resize_terminal)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 b Fb(40)150 +3399 y Fe(rl_read_init_file)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:) +g(:)h(:)26 b Fb(36)150 3486 y Fe(rl_read_key)10 b Fa(:)16 +b(:)d(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)25 +b Fb(40)150 3573 y Fe(rl_redisplay)8 b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:) +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)22 b Fb(38)150 +3661 y Fe(rl_replace_line)17 b Fa(:)g(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)32 b Fb(42)150 3748 y Fe(rl_reset_after_signal)24 +b Fa(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)h(:)f(:)33 b Fb(50)150 3835 y Fe +(rl_reset_line_state)7 b Fa(:)17 b(:)d(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f +(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)21 +b Fb(39)150 3922 y Fe(rl_reset_screen_size)26 b Fa(:)13 +b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)36 b Fb(51)150 4009 y Fe(rl_reset_terminal)12 +b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(41)150 +4097 y Fe(rl_resize_terminal)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)24 b Fb(50)150 3835 y Fe(rl_restore_prompt)12 b Fa(:)17 +g(:)24 b Fb(51)150 4184 y Fe(rl_restore_prompt)12 b Fa(:)17 b(:)c(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)26 b Fb(39)150 -3922 y Fe(rl_restore_state)15 b Fa(:)h(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)h +4271 y Fe(rl_restore_state)15 b Fa(:)h(:)e(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)29 b Fb(42)150 4009 y Fe(rl_save_prompt)23 b +g(:)g(:)29 b Fb(42)150 4358 y Fe(rl_save_prompt)23 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)34 -b Fb(39)150 4097 y Fe(rl_save_state)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g +b Fb(39)150 4445 y Fe(rl_save_state)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(41)150 4184 y +g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(41)150 4533 y Fe(rl_set_key)13 b Fa(:)i(:)e(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(36)150 4271 y Fe +g(:)g(:)g(:)h(:)f(:)g(:)27 b Fb(36)150 4620 y Fe (rl_set_keyboard_input_timeout)17 b Fa(:)h(:)c(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(41)150 4358 y Fe(rl_set_keymap)25 +(:)g(:)h(:)f(:)g(:)g(:)30 b Fb(41)150 4707 y Fe(rl_set_keymap)25 b Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 -b Fb(34)150 4445 y Fe(rl_set_keymap_name)10 b Fa(:)17 +b Fb(34)150 4794 y Fe(rl_set_keymap_name)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(34)150 4533 +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(34)150 4881 y Fe(rl_set_paren_blink_timeout)7 b Fa(:)18 b(:)13 b(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)21 b Fb(43)150 -4620 y Fe(rl_set_prompt)k Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h +4969 y Fe(rl_set_prompt)k Fa(:)13 b(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)g(:)g(:)37 b Fb(40)150 4707 y Fe(rl_set_screen_size)10 +g(:)g(:)g(:)g(:)37 b Fb(40)150 5056 y Fe(rl_set_screen_size)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(50)150 -4794 y Fe(rl_set_signals)f Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)24 b Fb(51)150 +5143 y Fe(rl_set_signals)f Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)34 b Fb(51)150 4881 y Fe(rl_show_char)8 -b Fa(:)16 b(:)d(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f -(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -22 b Fb(39)150 4969 y Fe(rl_stuff_char)j Fa(:)13 b(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) -g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)37 b Fb(40)2025 260 y +(:)f(:)g(:)g(:)34 b Fb(51)2025 260 y Fe(rl_show_char)8 +b Fa(:)15 b(:)f(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:) +22 b Fb(39)2025 348 y Fe(rl_stuff_char)j Fa(:)13 b(:)g(:)g(:)h(:)f(:)g +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 b Fb(40)2025 436 y Fe(rl_tty_set_default_bindings)27 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h -(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(41)2025 348 +(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(41)2025 524 y Fe(rl_tty_set_echoing)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -24 b Fb(41)2025 436 y Fe(rl_tty_unset_default_bindings)16 +24 b Fb(41)2025 613 y Fe(rl_tty_unset_default_bindings)16 b Fa(:)j(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)30 -b Fb(41)2025 524 y Fe(rl_unbind_command_in_map)11 b Fa(:)19 +b Fb(41)2025 701 y Fe(rl_unbind_command_in_map)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:) -g(:)g(:)26 b Fb(36)2025 613 y Fe(rl_unbind_function_in_map)9 +g(:)g(:)26 b Fb(36)2025 789 y Fe(rl_unbind_function_in_map)9 b Fa(:)18 b(:)c(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g -(:)g(:)h(:)23 b Fb(35)2025 701 y Fe(rl_unbind_key)i Fa(:)13 +(:)g(:)h(:)23 b Fb(35)2025 877 y Fe(rl_unbind_key)i Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)37 -b Fb(35)2025 789 y Fe(rl_unbind_key_in_map)26 b Fa(:)13 +b Fb(35)2025 965 y Fe(rl_unbind_key_in_map)26 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(35)2025 877 y Fe +(:)g(:)g(:)h(:)f(:)g(:)36 b Fb(35)2025 1053 y Fe (rl_username_completion_functio)q(n)11 b Fa(:)19 b(:)13 b(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)25 b Fb(53)2025 -965 y Fe(rl_variable_bind)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g +1142 y Fe(rl_variable_bind)15 b Fa(:)h(:)d(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:) -h(:)f(:)29 b Fb(43)2025 1054 y Fe(rl_variable_dumper)10 +h(:)f(:)29 b Fb(43)2025 1230 y Fe(rl_variable_dumper)10 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)24 b Fb(43)2025 -1141 y Fe(rl_variable_value)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g +1317 y Fe(rl_variable_value)12 b Fa(:)17 b(:)c(:)g(:)g(:)g(:)h(:)f(:)g (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)27 b Fb(43)2021 1397 y Fr(S)2025 1516 y Fe(self-insert)h(\(a,)e +g(:)g(:)27 b Fb(43)2021 1573 y Fr(S)2025 1692 y Fe(self-insert)h(\(a,)e (b,)g(A,)g(1,)g(!,)g(...)q(\))15 b Fa(:)e(:)g(:)g(:)h(:)f(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)29 b Fb(19)2025 1604 y Fe(set-mark)e(\(C-@\))10 +(:)g(:)g(:)h(:)f(:)29 b Fb(19)2025 1780 y Fe(set-mark)e(\(C-@\))10 b Fa(:)k(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)24 -b Fb(23)2025 1693 y Fe(shell-transpose-words)30 b(\(M-C-t\))24 +b Fb(23)2025 1868 y Fe(shell-transpose-words)30 b(\(M-C-t\))24 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)37 -b Fb(20)2025 1781 y(sho)n(w-all-if-am)n(biguous)22 b +b Fb(20)2025 1957 y(sho)n(w-all-if-am)n(biguous)22 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)35 b Fb(9)2025 -1869 y(sho)n(w-all-if-unmo)r(di\014ed)11 b Fa(:)j(:)f(:)g(:)g(:)h(:)f +2045 y(sho)n(w-all-if-unmo)r(di\014ed)11 b Fa(:)j(:)f(:)g(:)g(:)h(:)f (:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) -g(:)g(:)g(:)27 b Fb(9)2025 1957 y(sho)n(w-mo)r(de-in-prompt)15 +g(:)g(:)g(:)27 b Fb(9)2025 2133 y(sho)n(w-mo)r(de-in-prompt)15 b Fa(:)d(:)h(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:) g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)30 b Fb(9)2025 -2045 y(skip-completed-text)17 b Fa(:)11 b(:)j(:)f(:)g(:)g(:)g(:)g(:)g +2221 y(skip-completed-text)17 b Fa(:)11 b(:)j(:)f(:)g(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)32 b Fb(9)2025 2134 y Fe(skip-csi-sequence)d(\(\))11 +g(:)g(:)g(:)32 b Fb(9)2025 2309 y Fe(skip-csi-sequence)d(\(\))11 b Fa(:)j(:)f(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fb(23)2025 2221 +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fb(23)2025 2397 y Fe(start-kbd-macro)j(\(C-x)d(\(\))10 b Fa(:)k(:)f(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)25 -b Fb(22)2021 2476 y Fr(T)2025 2595 y Fe(tab-insert)j(\(M-TAB\))16 +b Fb(22)2021 2652 y Fr(T)2025 2771 y Fe(tab-insert)j(\(M-TAB\))16 b Fa(:)f(:)e(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)31 b Fb(19)2025 -2683 y Fe(tilde-expand)d(\(M-~\))16 b Fa(:)f(:)e(:)g(:)g(:)g(:)g(:)h(:) +2859 y Fe(tilde-expand)d(\(M-~\))16 b Fa(:)f(:)e(:)g(:)g(:)g(:)g(:)h(:) f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)31 b Fb(23)2025 2772 y Fe(transpose-chars)e(\(C-t\))9 +(:)g(:)31 b Fb(23)2025 2947 y Fe(transpose-chars)e(\(C-t\))9 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g -(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)23 b Fb(19)2025 2859 y +(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)23 b Fb(19)2025 3034 y Fe(transpose-words)29 b(\(M-t\))9 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g(:)h (:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)23 -b Fb(19)2021 3124 y Fr(U)2025 3243 y Fe(undo)j(\(C-_)h(or)f(C-x)g +b Fb(19)2021 3300 y Fr(U)2025 3419 y Fe(undo)j(\(C-_)h(or)f(C-x)g (C-u\))12 b Fa(:)i(:)f(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g -(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 b Fb(22)2025 -3332 y Fe(universal-argument)i(\(\))9 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g +(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)27 b Fb(23)2025 +3507 y Fe(universal-argument)i(\(\))9 b Fa(:)14 b(:)f(:)g(:)g(:)g(:)g (:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -23 b Fb(21)2025 3420 y Fe(unix-filename-rubout)30 b(\(\))21 +23 b Fb(21)2025 3595 y Fe(unix-filename-rubout)30 b(\(\))21 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g -(:)g(:)g(:)h(:)f(:)35 b Fb(20)2025 3508 y Fe(unix-line-discard)29 +(:)g(:)g(:)h(:)f(:)35 b Fb(20)2025 3683 y Fe(unix-line-discard)29 b(\(C-u\))22 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:) -g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(20)2025 3596 +g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 b Fb(20)2025 3771 y Fe(unix-word-rubout)29 b(\(C-w\))6 b Fa(:)14 b(:)g(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)21 -b Fb(20)2025 3683 y Fe(upcase-word)28 b(\(M-u\))20 b +b Fb(20)2025 3859 y Fe(upcase-word)28 b(\(M-u\))20 b Fa(:)13 b(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)34 b Fb(19)2021 -3949 y Fr(V)2025 4068 y Fb(vi-cmd-mo)r(de-string)18 b +4124 y Fr(V)2025 4243 y Fb(vi-cmd-mo)r(de-string)18 b Fa(:)13 b(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)33 b Fb(10)2025 -4156 y Fe(vi-editing-mode)c(\(M-C-j\))22 b Fa(:)13 b(:)g(:)g(:)h(:)f(:) +4331 y Fe(vi-editing-mode)c(\(M-C-j\))22 b Fa(:)13 b(:)g(:)g(:)h(:)f(:) g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)35 -b Fb(24)2025 4245 y(vi-ins-mo)r(de-string)8 b Fa(:)13 +b Fb(24)2025 4419 y(vi-ins-mo)r(de-string)8 b Fa(:)13 b(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)23 b Fb(10)2025 -4332 y(visible-stats)11 b Fa(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) +4506 y(visible-stats)11 b Fa(:)j(:)f(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g -(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(10)2021 4586 y -Fr(Y)2025 4705 y Fe(yank)g(\(C-y\))21 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g +(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)26 b Fb(10)2021 4760 y +Fr(Y)2025 4879 y Fe(yank)g(\(C-y\))21 b Fa(:)13 b(:)g(:)h(:)f(:)g(:)g (:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)34 b -Fb(21)2025 4793 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))10 +Fb(21)2025 4968 y Fe(yank-last-arg)28 b(\(M-.)f(or)f(M-_\))10 b Fa(:)k(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)h(:) -f(:)g(:)24 b Fb(18)2025 4881 y Fe(yank-nth-arg)k(\(M-C-y\))11 +f(:)g(:)24 b Fb(18)2025 5056 y Fe(yank-nth-arg)k(\(M-C-y\))11 b Fa(:)k(:)e(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:) -g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fb(18)2025 4969 +g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)26 b Fb(18)2025 5143 y Fe(yank-pop)h(\(M-y\))10 b Fa(:)k(:)f(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g (:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:)g(:)h(:)f(:)g(:)g(:)g(:)g(:)g(:) h(:)f(:)g(:)g(:)24 b Fb(21)p eop end diff --git a/doc/readline_3.ps b/doc/readline_3.ps index c295fc4..d5bef07 100644 --- a/doc/readline_3.ps +++ b/doc/readline_3.ps @@ -1,6 +1,6 @@ %!PS-Adobe-3.0 %%Creator: groff version 1.22.4 -%%CreationDate: Wed Jun 10 15:27:11 2020 +%%CreationDate: Fri Jul 17 15:13:14 2020 %%DocumentNeededResources: font Times-Roman %%+ font Times-Bold %%+ font Times-Italic @@ -547,11 +547,11 @@ ced with an ellipsis when displaying possible completions.).25 E F1 .561(may be set to an)3.061 F 3.061(yi)-.15 G(nte)-3.061 E .561(ger v) -.15 F .561(alue greater than or)-.25 F .783(equal to zero.)144 696 R .783(If the number of possible completions is greater than or equal to \ -the v)5.783 F .782(alue of this)-.25 F -.25(va)144 708 S .237 -(riable, the user is ask).25 F .237(ed whether or not he wishes to vie) --.1 F 2.737(wt)-.25 G .237(hem; otherwise the)-2.737 F 2.737(ya)-.15 G -.237(re simply listed)-2.737 F(on the terminal.)144 720 Q 2.5(An)5 G --2.25 -.15(eg a)-2.5 H(ti).15 E .3 -.15(ve v)-.25 H +the v)5.783 F .782(alue of this)-.25 F -.25(va)144 708 S .367 +(riable, readline will ask whether or not the user wishes to vie).25 F +2.868(wt)-.25 G .368(hem; otherwise the)-2.868 F 2.868(ya)-.15 G .368 +(re simply)-2.868 F(listed on the terminal.)144 720 Q 2.5(An)5 G -2.25 +-.15(eg a)-2.5 H(ti).15 E .3 -.15(ve v)-.25 H (alue causes readline to ne)-.1 E -.15(ve)-.25 G 2.5(ra).15 G(sk.)-2.5 E (GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(3)198.45 E 0 Cg EP %%Page: 4 4 diff --git a/doc/rltech.texi b/doc/rltech.texi index 4547469..bbf57c2 100644 --- a/doc/rltech.texi +++ b/doc/rltech.texi @@ -1342,6 +1342,29 @@ This differs from @code{clear_history} because it frees private data Readline saves in the history list. @end deftypefun +@deftypefun {void} rl_activate_mark (void) +Enable an @emph{active} mark. +When this is enabled, the text between point and mark (the @var{region}) is +displayed in the terminal's standout mode (a @var{face}). +This is called by various readline functions that set the mark and insert +text, and is available for applications to call. +@end deftypefun + +@deftypefun {void} rl_deactivate_mark (void) +Turn off the active mark. +@end deftypefun + +@deftypefun {void} rl_keep_mark_active (void) +Indicate that the mark should remain active when the current readline function +completes and after redisplay occurs. +In most cases, the mark remains active for only the duration of a single +bindable readline function. +@end deftypefun + +@deftypefun {int} rl_mark_active_p (void) +Return a non-zero value if the mark is currently active; zero otherwise. +@end deftypefun + @node Alternate Interface @subsection Alternate Interface diff --git a/doc/rluser.texi b/doc/rluser.texi index d71aa4d..746e38c 100644 --- a/doc/rluser.texi +++ b/doc/rluser.texi @@ -493,9 +493,9 @@ replaced with an ellipsis when displaying possible completions. @vindex completion-query-items The number of possible completions that determines when the user is asked whether the list of possibilities should be displayed. -If the number of possible completions is greater than this value, -Readline will ask the user whether or not he wishes to view -them; otherwise, they are simply listed. +If the number of possible completions is greater than or equal to this value, +Readline will ask whether or not the user wishes to view them; +otherwise, they are simply listed. This variable must be set to an integer value greater than or equal to 0. A negative value means Readline should never ask. The default limit is @code{100}. @@ -1115,8 +1115,8 @@ set convert-meta off # rather than as meta-prefixed characters set output-meta on -# if there are more than 150 possible completions for -# a word, ask the user if he wants to see all of them +# if there are 150 or more possible completions for a word, +# ask whether or not the user wants to see all of them set completion-query-items 150 # For FTP @@ -1254,10 +1254,12 @@ being entered. @item reverse-search-history (C-r) Search backward starting at the current line and moving `up' through the history as necessary. This is an incremental search. +This command sets the region to the matched text and activates the mark. @item forward-search-history (C-s) Search forward starting at the current line and moving `down' through the history as necessary. This is an incremental search. +This command sets the region to the matched text and activates the mark. @item non-incremental-reverse-search-history (M-p) Search backward starting at the current line and moving `up' @@ -1377,6 +1379,11 @@ each character as if it had been read from the keyboard. The characters are inserted as if each one was bound to @code{self-insert} instead of executing any editing commands. +Bracketed paste sets the region (the characters between point and the mark) +to the inserted text. It uses the concept of an @emph{active mark}: when the +mark is active, Readline redisplay uses the terminal's standout mode to +denote the region. + @item transpose-chars (C-t) Drag the character before the cursor forward over the character at the cursor, moving the @@ -1426,9 +1433,13 @@ By default, this command is unbound. @item kill-line (C-k) Kill the text from point to the end of the line. +With a negative numeric argument, kill backward from the cursor to the +beginning of the current line. @item backward-kill-line (C-x Rubout) Kill backward from the cursor to the beginning of the current line. +With a negative numeric argument, kill forward from the cursor to the +end of the current line. @item unix-line-discard (C-u) Kill backward from the cursor to the beginning of the current line. diff --git a/doc/rluserman.dvi b/doc/rluserman.dvi index 7f209f2..7d987e7 100644 Binary files a/doc/rluserman.dvi and b/doc/rluserman.dvi differ diff --git a/doc/rluserman.html b/doc/rluserman.html index b737d13..ebcb993 100644 --- a/doc/rluserman.html +++ b/doc/rluserman.html @@ -1,6 +1,6 @@ - +