]> git.ipfire.org Git - thirdparty/readline.git/commitdiff
commit readline-20201030 snapshot
authorChet Ramey <chet.ramey@case.edu>
Fri, 30 Oct 2020 14:18:50 +0000 (10:18 -0400)
committerChet Ramey <chet.ramey@case.edu>
Fri, 30 Oct 2020 14:18:50 +0000 (10:18 -0400)
39 files changed:
CHANGELOG
CHANGES
INSTALL
Makefile.in
NEWS
bind.c
configure
configure.ac
doc/history.0
doc/history.3
doc/history.dvi
doc/history.html
doc/history.info
doc/history.pdf
doc/history.ps
doc/history_3.ps
doc/hstech.texi
doc/readline.0
doc/readline.3
doc/readline.dvi
doc/readline.html
doc/readline.info
doc/readline.pdf
doc/readline.ps
doc/readline_3.ps
doc/rluser.texi
doc/rluserman.dvi
doc/rluserman.html
doc/rluserman.info
doc/rluserman.pdf
doc/rluserman.ps
doc/version.texi
isearch.c
kill.c
readline.c
rlprivate.h
search.c
shlib/Makefile.in
terminal.c

index f9badf10d20d8787682e172a8826dc2f7b83b541..5c24e91e0ad1446754266ea7ec8045713dfdd62e 100644 (file)
--- a/CHANGELOG
+++ b/CHANGELOG
@@ -1394,3 +1394,12 @@ configure.ac
 configure.ac
        - add -Wno-parentheses -Wno-format-security to CFLAGS if gcc (or clang)
          is the compiler
+
+                                  10/29
+                                  -----
+configure.ac
+       - --enable-bracketed-paste-default: new invocation option, toggles the
+         default value of enable-bracketed-paste (on by default)
+
+INSTALL
+       - document new --enable-bracketed-paste-default configure option
diff --git a/CHANGES b/CHANGES
index e4534ad50c3d2008431233ef2a6d9b57682a2af8..79628e85a0533290044df4b03cc990362098d83f 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -77,6 +77,12 @@ x. Fixed a bug that could cause an application with an application-specific
    redisplay function to crash if the line data structures had not been
    initialized.
 
+y. Terminals that are named "dumb" or unknown do not enable bracketed paste
+   by default.
+
+z. Ensure that disabling bracketed paste turns off highlighting the incremental
+   search string when the search is successful.
+
 2. New Features in Readline
 
 a. If a second consecutive completion attempt produces matches where the first
@@ -101,7 +107,8 @@ f. New active mark and face feature: when enabled, it will highlight the text
 
 g. Readline sets the mark in several additional commands.
 
-h. Bracketed paste mode is enabled by default (for now).
+h. Bracketed paste mode is enabled by default. There is a configure-time
+   option (--enable-bracketed-paste-default) to set the default to on or off.
 
 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
diff --git a/INSTALL b/INSTALL
index e11be22b0539bff7662c618bfec80ec487cf034b..4f0d7b0c0d5d9d2dabac9f80c8400c5923372232 100644 (file)
--- a/INSTALL
+++ b/INSTALL
@@ -183,6 +183,11 @@ The readline `configure' recognizes a single `--with-PACKAGE' option:
 
 `--enable-static'
     Build the static libraries by default.  The default is `yes'.
+
+`--enable-bracketed-paste-default'
+    Enable bracketed paste by default, so the initial value of the
+    `enable-bracketed-paste' Readline variable is `on'. The default
+    is `yes'.
  
 Shared Libraries
 ================
index 7803f27719c8905a989579bbac476e2f04c1797c..c57db60887f1fd29d92b6b43e86ea6ed54273a6d 100644 (file)
@@ -75,7 +75,7 @@ ETAGS = etags
 CTAGS = ctags -w
 
 CFLAGS = @CFLAGS@
-LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
+LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' @BRACKETED_PASTE@
 CPPFLAGS = @CPPFLAGS@
 
 DEFS = @DEFS@ @CROSS_COMPILE@
diff --git a/NEWS b/NEWS
index d371d204825eae295685ddf1525ea65049ac834e..c3286288dd47c8ddd2c8928480c0e1ea60e80d4b 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,8 @@ f. New active mark and face feature: when enabled, it will highlight the text
 
 g. Readline sets the mark in several additional commands.
 
-h. Bracketed paste mode is enabled by default (for now).
+h. Bracketed paste mode is enabled by default. There is a configure-time
+   option (--enable-bracketed-paste-default) to set the default to on or off.
 
 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
diff --git a/bind.c b/bind.c
index 3cbed2cc420fca1f46e84ab999f1e29e1083e16d..87596dcec95ad161743c6adf84e25f15ba7401b3 100644 (file)
--- a/bind.c
+++ b/bind.c
@@ -1812,7 +1812,7 @@ static const struct {
   { "convert-meta",            &_rl_convert_meta_chars_to_ascii, 0 },
   { "disable-completion",      &rl_inhibit_completion,         0 },
   { "echo-control-characters", &_rl_echo_control_chars,        0 },
-  { "enable-bracketed-paste",  &_rl_enable_bracketed_paste,    0 },
+  { "enable-bracketed-paste",  &_rl_enable_bracketed_paste,    V_SPECIAL },
   { "enable-keypad",           &_rl_enable_keypad,             0 },
   { "enable-meta-key",         &_rl_enable_meta,               0 },
   { "expand-tilde",            &rl_complete_with_tilde_expansion, 0 },
@@ -1878,6 +1878,8 @@ hack_special_boolean_var (int i)
     }
   else if (_rl_stricmp (name, "show-mode-in-prompt") == 0)
     _rl_reset_prompt ();
+  else if (_rl_stricmp (name, "enable-bracketed-paste") == 0)
+    _rl_enable_active_region = _rl_enable_bracketed_paste;
 }
 
 typedef int _rl_sv_func_t PARAMS((const char *));
index 9fac1502e482029c1ab84ea7b34ee74ef0b01350..5a0bf2f9235dbcd8385852d240e0f289ca8b81a3 100755 (executable)
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
 #! /bin/sh
-# From configure.ac for Readline 8.1, version 2.89.
+# From configure.ac for Readline 8.1, version 2.90.
 # Guess values for system-dependent variables and create Makefiles.
 # Generated by GNU Autoconf 2.69 for readline 8.1.
 #
@@ -673,6 +673,7 @@ CFLAGS
 CC
 SET_MAKE
 CROSS_COMPILE
+BRACKETED_PASTE
 host_os
 host_vendor
 host_cpu
@@ -727,6 +728,7 @@ enable_multibyte
 enable_shared
 enable_static
 enable_install_examples
+enable_bracketed_paste_default
 enable_largefile
 '
       ac_precious_vars='build_alias
@@ -1356,6 +1358,9 @@ Optional Features:
   --enable-static         build static libraries [[default=YES]]
   --disable-install-examples
                           don't install examples [[default=install]]
+  --disable-bracketed-paste-default
+                          disable bracketed paste by default
+                          [[default=enable]]
   --disable-largefile     omit support for large files
 
 Optional Packages:
@@ -2568,6 +2573,7 @@ opt_multibyte=yes
 opt_static_libs=yes
 opt_shared_libs=yes
 opt_install_examples=yes
+opt_bracketed_paste_default=yes
 
 # Check whether --enable-multibyte was given.
 if test "${enable_multibyte+set}" = set; then :
@@ -2590,11 +2596,24 @@ if test "${enable_install_examples+set}" = set; then :
 fi
 
 
+# Check whether --enable-bracketed-paste-default was given.
+if test "${enable_bracketed_paste_default+set}" = set; then :
+  enableval=$enable_bracketed_paste_default; opt_bracketed_paste_default=$enableval
+fi
+
+
 if test $opt_multibyte = no; then
 $as_echo "#define NO_MULTIBYTE_SUPPORT 1" >>confdefs.h
 
 fi
 
+if test $opt_bracketed_paste_default = yes; then
+       BRACKETED_PASTE='-DBRACKETED_PASTE_DEFAULT=1'
+else
+       BRACKETED_PASTE='-DBRACKETED_PASTE_DEFAULT=0'
+fi
+
+
 
 
 CROSS_COMPILE=
index edd78c9f440be421c0383501efb048cb3b41f3f1..147bae577334826ae6d32038b89dccd28043dee8 100644 (file)
@@ -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 <http://www.gnu.org/licenses/>.
 
-AC_REVISION([for Readline 8.1, version 2.89])
+AC_REVISION([for Readline 8.1, version 2.90])
 
 AC_INIT(readline, 8.1, bug-readline@gnu.org)
 
@@ -52,16 +52,26 @@ opt_multibyte=yes
 opt_static_libs=yes
 opt_shared_libs=yes
 opt_install_examples=yes
+opt_bracketed_paste_default=yes
 
 AC_ARG_ENABLE(multibyte, AC_HELP_STRING([--enable-multibyte], [enable multibyte characters if OS supports them]), opt_multibyte=$enableval)
 AC_ARG_ENABLE(shared, AC_HELP_STRING([--enable-shared], [build shared libraries [[default=YES]]]), opt_shared_libs=$enableval)
 AC_ARG_ENABLE(static, AC_HELP_STRING([--enable-static], [build static libraries [[default=YES]]]), opt_static_libs=$enableval)
 AC_ARG_ENABLE(install-examples, AC_HELP_STRING([--disable-install-examples], [don't install examples [[default=install]]]), opt_install_examples=$enableval)
 
+AC_ARG_ENABLE(bracketed-paste-default, AC_HELP_STRING([--disable-bracketed-paste-default], [disable bracketed paste by default [[default=enable]]]), opt_bracketed_paste_default=$enableval)
+
 if test $opt_multibyte = no; then
 AC_DEFINE(NO_MULTIBYTE_SUPPORT)
 fi
 
+if test $opt_bracketed_paste_default = yes; then
+       BRACKETED_PASTE='-DBRACKETED_PASTE_DEFAULT=1'
+else
+       BRACKETED_PASTE='-DBRACKETED_PASTE_DEFAULT=0'
+fi
+AC_SUBST(BRACKETED_PASTE)
+
 dnl load up the cross-building cache file -- add more cases and cache
 dnl files as necessary
 
index 5f5e703c953c0c33d4e8e253033c13054aead7ec..3c1a794e933b62457f633689e8999ffd69b70f03 100644 (file)
@@ -384,7 +384,7 @@ HISTORY(3)                 Library Functions Manual                 HISTORY(3)
               -1     if there was an error in expansion;
               2      if  the  returned  line should be displayed, but not exe-
                      cuted, as with the \e[1m:p \e[22mmodifier.
-       If an error ocurred in expansion, then \e[4moutput\e[24m  contains  a  descriptive
+       If an error occurred in expansion, then \e[4moutput\e[24m contains  a  descriptive
        error message.
 
        \e[4mchar\e[24m \e[4m*\e[24m \e[1mget_history_event \e[22m(\e[4mconst\e[24m \e[4mchar\e[24m \e[4m*string,\e[24m \e[4mint\e[24m \e[4m*cindex,\e[24m \e[4mint\e[24m \e[4mqchar\e[24m)
index 9b787c6d911c3bbd89fa14cbe38c315cee47b844..df6cd376c4763d5bae658bb9f626f7458d707452 100644 (file)
@@ -552,7 +552,7 @@ if the returned line should be displayed, but not executed,
 as with the \fB:p\fP modifier.
 .PD
 .RE
-If an error ocurred in expansion, then \fIoutput\fP contains a descriptive
+If an error occurred in expansion, then \fIoutput\fP contains a descriptive
 error message.
 
 .Fn3 "char *" get_history_event "const char *string" "int *cindex" "int qchar"
index 5722192b3844557259772fd49f11ed9985de325e..9734c24b8379b443ede346a26726876768fd8b4a 100644 (file)
Binary files a/doc/history.dvi and b/doc/history.dvi differ
index 8aa3b5723eef85bb200b132a7e16d8ba03cb7149..3110cf3546282c70b8fb3d533d23cd65e44d26a2 100644 (file)
@@ -1,6 +1,6 @@
 <HTML>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on July, 17  2020 by texi2html 1.64 -->
+<!-- Created on October, 30  2020 by texi2html 1.64 -->
 <!-- 
 Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
             Karl Berry  <karl@freefriends.org>
@@ -2180,7 +2180,7 @@ to permit their use in free software.
 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="history.html#SEC_About"> ? </A>]</TD>
 </TR></TABLE>
 <H1>About this document</H1>
-This document was generated by <I>Chet Ramey</I> on <I>July, 17  2020</I>
+This document was generated by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 <P></P>  
@@ -2342,7 +2342,7 @@ the following structure:
 <BR>  
 <FONT SIZE="-1">
 This document was generated
-by <I>Chet Ramey</I> on <I>July, 17  2020</I>
+by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 
index 360410d20f8df4477711714390ee5be379b0f728..749d53ee9ed8888e0db12fe586c469fa0b542f6b 100644 (file)
@@ -1,7 +1,7 @@
 This is history.info, produced by makeinfo version 6.7 from
 history.texi.
 
-This document describes the GNU History library (version 8.1, 17 July
+This document describes the GNU History library (version 8.1, 29 October
 2020), a programming tool that provides a consistent user interface for
 recalling lines of previously typed input.
 
@@ -1395,28 +1395,28 @@ Appendix C Function and Variable Index
 
 \1f
 Tag Table:
-Node: Top\7f845
-Node: Using History Interactively\7f1490
-Node: History Interaction\7f1998
-Node: Event Designators\7f3896
-Node: Word Designators\7f5170
-Node: Modifiers\7f6930
-Node: Programming with GNU History\7f8475
-Node: Introduction to History\7f9219
-Node: History Storage\7f10897
-Node: History Functions\7f12032
-Node: Initializing History and State Management\7f13021
-Node: History List Management\7f13833
-Node: Information About the History List\7f16127
-Node: Moving Around the History List\7f17741
-Node: Searching the History List\7f18834
-Node: Managing the History File\7f20759
-Node: History Expansion\7f22579
-Node: History Variables\7f24508
-Node: History Programming Example\7f28488
-Node: GNU Free Documentation License\7f31165
-Node: Concept Index\7f56337
-Node: Function and Variable Index\7f57042
+Node: Top\7f848
+Node: Using History Interactively\7f1493
+Node: History Interaction\7f2001
+Node: Event Designators\7f3899
+Node: Word Designators\7f5173
+Node: Modifiers\7f6933
+Node: Programming with GNU History\7f8478
+Node: Introduction to History\7f9222
+Node: History Storage\7f10900
+Node: History Functions\7f12035
+Node: Initializing History and State Management\7f13024
+Node: History List Management\7f13836
+Node: Information About the History List\7f16130
+Node: Moving Around the History List\7f17744
+Node: Searching the History List\7f18837
+Node: Managing the History File\7f20762
+Node: History Expansion\7f22582
+Node: History Variables\7f24511
+Node: History Programming Example\7f28491
+Node: GNU Free Documentation License\7f31168
+Node: Concept Index\7f56340
+Node: Function and Variable Index\7f57045
 \1f
 End Tag Table
 
index f5d6936e9af25489322fb624b9465472d60cbdaa..949244f486d066b6cbf9df8723129f27acee88bb 100644 (file)
Binary files a/doc/history.pdf and b/doc/history.pdf differ
index 4d15b60395a5fbfeb5b29e92e1310a78293810fc..3e9c231c6553efc2f650eda2ff4fc15544c46ae7 100644 (file)
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Creator: dvips(k) 5.999 Copyright 2019 Radical Eye Software
 %%Title: history.dvi
-%%CreationDate: Fri Jul 17 19:13:14 2020
+%%CreationDate: Fri Oct 30 14:07:46 2020
 %%Pages: 24
 %%PageOrder: Ascend
 %%BoundingBox: 0 0 612 792
@@ -12,7 +12,7 @@
 %DVIPSWebPage: (www.radicaleye.com)
 %DVIPSCommandLine: dvips -D 600 -t letter -o history.ps history.dvi
 %DVIPSParameters: dpi=600
-%DVIPSSource:  TeX output 2020.07.17:1513
+%DVIPSSource:  TeX output 2020.10.30:1007
 %%BeginProcSet: tex.pro 0 0
 %!
 /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -5241,28 +5241,28 @@ ifelse
 %%Page: 1 1
 TeXDict begin 1 0 bop 150 1318 a Fr(GNU)65 b(History)h(Library)p
 150 1418 3600 34 v 1920 1515 a Fq(Edition)31 b(8.1,)h(for)e
-Fp(History)e(Library)h Fq(V)-8 b(ersion)31 b(8.1.)3367
-1623 y(July)f(2020)150 4927 y Fo(Chet)45 b(Ramey)-11
+Fp(History)e(Library)h Fq(V)-8 b(ersion)31 b(8.1.)3217
+1623 y(Octob)s(er)f(2020)150 4927 y Fo(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 Fq(This)31 b(do)s(cumen)m(t)h(describ)
-s(es)f(the)h(GNU)h(History)f(library)g(\(v)m(ersion)g(8.1,)i(17)f(July)
-e(2020\),)k(a)d(program-)150 4523 y(ming)38 b(to)s(ol)h(that)f(pro)m
-(vides)g(a)g(consisten)m(t)i(user)d(in)m(terface)i(for)f(recalling)h
-(lines)g(of)f(previously)f(t)m(yp)s(ed)150 4633 y(input.)150
-4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577 4767 y Fn(\015)30
-b Fq(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 Fq(This)35 b(do)s(cumen)m(t)g(describ)
+s(es)g(the)h(GNU)h(History)f(library)f(\(v)m(ersion)i(8.1,)h(29)f
+(Octob)s(er)f(2020\),)j(a)d(pro-)150 4523 y(gramming)23
+b(to)s(ol)g(that)g(pro)m(vides)f(a)h(consisten)m(t)h(user)d(in)m
+(terface)j(for)e(recalling)i(lines)f(of)f(previously)g(t)m(yp)s(ed)150
+4633 y(input.)150 4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577
+4767 y Fn(\015)30 b Fq(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
index 6a10f4c43a9f45f3a66f215270f4850833f8b08d..1f2b083089b456a62b930aa4cf84b3c3f9a717eb 100644 (file)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.22.4
-%%CreationDate: Fri Jul 17 15:13:14 2020
+%%CreationDate: Mon Oct 12 10:59:26 2020
 %%DocumentNeededResources: font Times-Roman
 %%+ font Times-Bold
 %%+ font Times-Italic
@@ -749,7 +749,7 @@ F -.25(va)-.15 G 3.065(lo).25 G 3.065(fe)-3.065 G(scape)-3.065 E
 (as an error in e)-.1 E(xpansion;)-.15 E(2)144 268.8 Q
 (if the returned line should be displayed, b)180 268.8 Q(ut not e)-.2 E
 -.15(xe)-.15 G(cuted, as with the).15 E F1(:p)2.5 E F0(modi\214er)2.5 E
-(.)-.55 E(If an error ocurred in e)108 280.8 Q(xpansion, then)-.15 E F2
+(.)-.55 E(If an error occurred in e)108 280.8 Q(xpansion, then)-.15 E F2
 (output)2.5 E F0(contains a descripti)2.5 E .3 -.15(ve e)-.25 H
 (rror message.).15 E F2 -.15(ch)108 304.8 S(ar *).15 E F1(get_history_e)
 2.5 E -.1(ve)-.15 G(nt).1 E F0(\()4.166 E F2(const c)A(har *string)-.15
index 2de62f76656271d9f6c12791f93d303fdb5701a6..7ac11953df304255a3f64424ab073656ab731e84 100644 (file)
@@ -1,7 +1,7 @@
 @ignore
 This file documents the user interface to the GNU History library.
 
-Copyright (C) 1988-2016 Free Software Foundation, Inc.
+Copyright (C) 1988-2020 Free Software Foundation, Inc.
 Authored by Brian Fox and Chet Ramey.
 
 Permission is granted to make and distribute verbatim copies of this manual
index 4d201c4f8c906d9e2f81b3c164ae98883b1116bf..d32329bab8b84e5a46ae5a32ce04ce120a702330 100644 (file)
@@ -254,7 +254,7 @@ READLINE(3)                Library Functions Manual                READLINE(3)
               escapes  to  begin and end sequences of non-printing characters,
               which can be used to embed a terminal control sequence into  the
               mode string.
-       \e[1menable-bracketed-paste (Off)\e[0m
+       \e[1menable-bracketed-paste (On)\e[0m
               When  set  to  \e[1mOn\e[22m, readline will configure the terminal in a way
               that will enable it to insert each paste into the editing buffer
               as a single string of characters, instead of treating each char-
@@ -1127,4 +1127,4 @@ READLINE(3)                Library Functions Manual                READLINE(3)
 
 
 
-GNU Readline 8.0                 2020 March 24                     READLINE(3)
+GNU Readline 8.1                2020 October 29                    READLINE(3)
index 0663556e9c8a03a9ed08f849535f813024839862..179c7814bcd384110e37df8e072a6841e08693f2 100644 (file)
@@ -8,7 +8,7 @@
 .\"
 .\"    Last Change: Tue Mar 24 09:27:30 EDT 2020
 .\"
-.TH READLINE 3 "2020 March 24" "GNU Readline 8.0"
+.TH READLINE 3 "2020 October 29" "GNU Readline 8.1"
 .\"
 .\" File Name macro.  This used to be `.PN', for Path Name,
 .\" but Sun doesn't seem to like that very much.
@@ -447,7 +447,7 @@ Use the \e1 and \e2 escapes to begin and end sequences of
 non-printing characters, which can be used to embed a terminal control 
 sequence into the mode string.
 .TP
-.B enable\-bracketed\-paste (Off)
+.B enable\-bracketed\-paste (On)
 When set to \fBOn\fP, readline will configure the terminal in a way
 that will enable it to insert each paste into the editing buffer as a
 single string of characters, instead of treating each character as if
index cd68b1065c314dc9d4cb6982db62a36d11bf5a44..715e5ae0bb64702b69186a80e8ce004c61eb1c96 100644 (file)
Binary files a/doc/readline.dvi and b/doc/readline.dvi differ
index 63a30b6a96017a2378e01777c00b07ea8b530f3c..1dd76930a172e6d6c05c6979ad285d8138d6a20d 100644 (file)
@@ -1,6 +1,6 @@
 <HTML>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on September, 9  2020 by texi2html 1.64 -->
+<!-- Created on October, 30  2020 by texi2html 1.64 -->
 <!-- 
 Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
             Karl Berry  <karl@freefriends.org>
@@ -725,7 +725,7 @@ When set to <SAMP>`On'</SAMP>, Readline will configure the terminal in a way
 that will enable it to insert each paste into the editing buffer as a
 single string of characters, instead of treating each character as if
 it had been read from the keyboard.  This can prevent pasted characters
-from being interpreted as editing commands.  The default is <SAMP>`off'</SAMP>.
+from being interpreted as editing commands.  The default is <SAMP>`On'</SAMP>.
 <P>
 
 <DT><CODE>enable-keypad</CODE>
@@ -7599,7 +7599,7 @@ to permit their use in free software.
 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="readline.html#SEC_About"> ? </A>]</TD>
 </TR></TABLE>
 <H1>About this document</H1>
-This document was generated by <I>Chet Ramey</I> on <I>September, 9  2020</I>
+This document was generated by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 <P></P>  
@@ -7761,7 +7761,7 @@ the following structure:
 <BR>  
 <FONT SIZE="-1">
 This document was generated
-by <I>Chet Ramey</I> on <I>September, 9  2020</I>
+by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 
index 1da0e276b596b7c9614e6c4f099587a6cfc1dac9..93d54dc84a814fa4001563fcb1a6c59ba8da3a12 100644 (file)
@@ -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.1, 17 July
+This manual describes the GNU Readline Library (version 8.1, 29 October
 2020), a library which aids in the consistency of user interface across
 discrete programs which provide a command line interface.
 
@@ -473,7 +473,7 @@ Variable Settings
           buffer as a single string of characters, instead of treating
           each character as if it had been read from the keyboard.  This
           can prevent pasted characters from being interpreted as
-          editing commands.  The default is 'off'.
+          editing commands.  The default is 'On'.
 
      'enable-keypad'
           When set to 'on', Readline will try to enable the application
@@ -5135,59 +5135,59 @@ Function and Variable Index
 
 \1f
 Tag Table:
-Node: Top\7f861
-Node: Command Line Editing\7f1586
-Node: Introduction and Notation\7f2238
-Node: Readline Interaction\7f3862
-Node: Readline Bare Essentials\7f5054
-Node: Readline Movement Commands\7f6838
-Node: Readline Killing Commands\7f7799
-Node: Readline Arguments\7f9718
-Node: Searching\7f10763
-Node: Readline Init File\7f12916
-Node: Readline Init File Syntax\7f14070
-Node: Conditional Init Constructs\7f34329
-Node: Sample Init File\7f38526
-Node: Bindable Readline Commands\7f41651
-Node: Commands For Moving\7f42706
-Node: Commands For History\7f44465
-Node: Commands For Text\7f49228
-Node: Commands For Killing\7f52931
-Node: Numeric Arguments\7f55645
-Node: Commands For Completion\7f56785
-Node: Keyboard Macros\7f58754
-Node: Miscellaneous Commands\7f59442
-Node: Readline vi Mode\7f63364
-Node: Programming with GNU Readline\7f65181
-Node: Basic Behavior\7f66167
-Node: Custom Functions\7f69850
-Node: Readline Typedefs\7f71333
-Node: Function Writing\7f72967
-Node: Readline Variables\7f74281
-Node: Readline Convenience Functions\7f86953
-Node: Function Naming\7f88025
-Node: Keymaps\7f89287
-Node: Binding Keys\7f92366
-Node: Associating Function Names and Bindings\7f96914
-Node: Allowing Undoing\7f99693
-Node: Redisplay\7f102243
-Node: Modifying Text\7f106267
-Node: Character Input\7f107514
-Node: Terminal Management\7f109412
-Node: Utility Functions\7f111235
-Node: Miscellaneous Functions\7f114563
-Node: Alternate Interface\7f117982
-Node: A Readline Example\7f120724
-Node: Alternate Interface Example\7f122663
-Node: Readline Signal Handling\7f126195
-Node: Custom Completers\7f135454
-Node: How Completing Works\7f136174
-Node: Completion Functions\7f139481
-Node: Completion Variables\7f143055
-Node: A Short Completion Example\7f158848
-Node: GNU Free Documentation License\7f171628
-Node: Concept Index\7f196802
-Node: Function and Variable Index\7f198323
+Node: Top\7f864
+Node: Command Line Editing\7f1589
+Node: Introduction and Notation\7f2241
+Node: Readline Interaction\7f3865
+Node: Readline Bare Essentials\7f5057
+Node: Readline Movement Commands\7f6841
+Node: Readline Killing Commands\7f7802
+Node: Readline Arguments\7f9721
+Node: Searching\7f10766
+Node: Readline Init File\7f12919
+Node: Readline Init File Syntax\7f14073
+Node: Conditional Init Constructs\7f34331
+Node: Sample Init File\7f38528
+Node: Bindable Readline Commands\7f41653
+Node: Commands For Moving\7f42708
+Node: Commands For History\7f44467
+Node: Commands For Text\7f49230
+Node: Commands For Killing\7f52933
+Node: Numeric Arguments\7f55647
+Node: Commands For Completion\7f56787
+Node: Keyboard Macros\7f58756
+Node: Miscellaneous Commands\7f59444
+Node: Readline vi Mode\7f63366
+Node: Programming with GNU Readline\7f65183
+Node: Basic Behavior\7f66169
+Node: Custom Functions\7f69852
+Node: Readline Typedefs\7f71335
+Node: Function Writing\7f72969
+Node: Readline Variables\7f74283
+Node: Readline Convenience Functions\7f86955
+Node: Function Naming\7f88027
+Node: Keymaps\7f89289
+Node: Binding Keys\7f92368
+Node: Associating Function Names and Bindings\7f96916
+Node: Allowing Undoing\7f99695
+Node: Redisplay\7f102245
+Node: Modifying Text\7f106269
+Node: Character Input\7f107516
+Node: Terminal Management\7f109414
+Node: Utility Functions\7f111237
+Node: Miscellaneous Functions\7f114565
+Node: Alternate Interface\7f117984
+Node: A Readline Example\7f120726
+Node: Alternate Interface Example\7f122665
+Node: Readline Signal Handling\7f126197
+Node: Custom Completers\7f135456
+Node: How Completing Works\7f136176
+Node: Completion Functions\7f139483
+Node: Completion Variables\7f143057
+Node: A Short Completion Example\7f158850
+Node: GNU Free Documentation License\7f171630
+Node: Concept Index\7f196804
+Node: Function and Variable Index\7f198325
 \1f
 End Tag Table
 
index 70afd0f95da04f579b5f25ee9f127a43f9570ae6..8723e986519e3a65bd2a9c25d2a365c6b69a610f 100644 (file)
Binary files a/doc/readline.pdf and b/doc/readline.pdf differ
index e21297ab932a172b14bb9509a5c9183d54ee5b4c..229f63f30be3deb64deacc9c3d68069e6ceee8c7 100644 (file)
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Creator: dvips(k) 5.999 Copyright 2019 Radical Eye Software
 %%Title: readline.dvi
-%%CreationDate: Wed Sep  9 19:34:50 2020
+%%CreationDate: Fri Oct 30 14:07:46 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.09.09:1534
+%DVIPSSource:  TeX output 2020.10.30:1007
 %%BeginProcSet: tex.pro 0 0
 %!
 /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -6684,15 +6684,15 @@ ifelse
 %%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.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
+Fs(Readline)e(Library)h Ft(V)-8 b(ersion)31 b(8.1.)3217
+1623 y(Octob)s(er)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)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
+TeXDict begin 2 1 bop 150 4413 a Ft(This)28 b(man)m(ual)i(describ)s(es)
+e(the)i(GNU)f(Readline)h(Library)e(\(v)m(ersion)i(8.1,)h(29)f(Octob)s
+(er)f(2020\),)j(a)d(library)150 4523 y(whic)m(h)39 b(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
@@ -7339,7 +7339,7 @@ e(of)g(treating)h(eac)m(h)g(c)m(haracter)g(as)f(if)f(it)i(had)1110
 5230 y(b)s(een)e(read)i(from)e(the)i(k)m(eyb)s(oard.)49
 b(This)32 b(can)h(prev)m(en)m(t)h(pasted)f(c)m(haracters)1110
 5340 y(from)d(b)s(eing)g(in)m(terpreted)h(as)f(editing)h(commands.)41
-b(The)29 b(default)i(is)f(`)p Fs(off)p Ft('.)p eop end
+b(The)29 b(default)i(is)f(`)p Fs(On)p Ft('.)p eop end
 %%Page: 7 11
 TeXDict begin 7 10 bop 150 -116 a Ft(Chapter)30 b(1:)41
 b(Command)29 b(Line)i(Editing)2153 b(7)630 299 y Fs(enable-keypad)1110
index d5bef07f43bb72b05ef5e03e006131ebab8d9efc..0870adcb01af2c966d518d4be28d28d9cc58d4b8 100644 (file)
@@ -1,6 +1,6 @@
 %!PS-Adobe-3.0
 %%Creator: groff version 1.22.4
-%%CreationDate: Fri Jul 17 15:13:14 2020
+%%CreationDate: Fri Oct 30 10:07:47 2020
 %%DocumentNeededResources: font Times-Roman
 %%+ font Times-Bold
 %%+ font Times-Italic
@@ -344,8 +344,8 @@ le is read, and the k)108 616.8 R 1.459 -.15(ey b)-.1 H 1.159
 (re).15 G(xample, placing)-2.65 E(M\255Control\255u: uni)144 698.4 Q
 -.15(ve)-.25 G(rsal\255ar).15 E(gument)-.18 E(or)108 710.4 Q
 (C\255Meta\255u: uni)144 722.4 Q -.15(ve)-.25 G(rsal\255ar).15 E(gument)
--.18 E(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(1)198.45 E 0 Cg
-EP
+-.18 E(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(1)195.395 E 0
+Cg EP
 %%Page: 2 2
 %%BeginPageSetup
 BP
@@ -441,7 +441,7 @@ tes should be used to indicate a macro de\214nition.)-.15 F .089
 (Unquoted te)108 720 R .089(xt is assumed to be a function name.)-.15 F
 .09(In the macro body)5.089 F 2.59(,t)-.65 G .09
 (he backslash escapes described abo)-2.59 F -.15(ve)-.15 G
-(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(2)198.45 E 0 Cg EP
+(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(2)195.395 E 0 Cg EP
 %%Page: 3 3
 %%BeginPageSetup
 BP
@@ -553,7 +553,7 @@ the v)5.783 F .782(alue of this)-.25 F -.25(va)144 708 S .367
 (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
+(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(3)195.395 E 0 Cg EP
 %%Page: 4 4
 %%BeginPageSetup
 BP
@@ -596,7 +596,7 @@ R -.15(ve)-.25 G 5.622(.T).15 G .622(he v)-5.622 F .622(alue is e)-.25 F
 (ailable. Use)-.05 F .298(the \\1 and \\2 escapes to be)2.798 F .298
 (gin and end sequences of non-printing characters, which)-.15 F
 (can be used to embed a terminal control sequence into the mode string.)
-144 312 Q F1(enable\255brack)108 324 Q(eted\255paste \(Off\))-.1 E F0
+144 312 Q F1(enable\255brack)108 324 Q(eted\255paste \(On\))-.1 E F0
 1.222(When set to)144 336 R F1(On)3.721 E F0 3.721(,r)C 1.221
 (eadline will con\214gure the terminal in a w)-3.721 F 1.221
 (ay that will enable it to insert each)-.1 F .353
@@ -659,8 +659,8 @@ F0 .439(The string of characters that should terminate an incremental s\
 earch without subsequently e)144 708 R -.15(xe)-.15 G(cut-).15 E .935
 (ing the character as a command.)144 720 R .935(If this v)5.935 F .935
 (ariable has not been gi)-.25 F -.15(ve)-.25 G 3.434(nav).15 G .934
-(alue, the characters)-3.684 F F2(ESC)3.434 E F0(GNU Readline 8.0)72 768
-Q(2020 March 24)128.74 E(4)198.45 E 0 Cg EP
+(alue, the characters)-3.684 F F2(ESC)3.434 E F0(GNU Readline 8.1)72 768
+Q(2020 October 29)125.685 E(4)195.395 E 0 Cg EP
 %%Page: 5 5
 %%BeginPageSetup
 BP
@@ -773,7 +773,7 @@ es to be listed immediately instead of ringing the bell.)144 684 Q F2
 (ginning of the prompt indicating the editing mode: emacs, vi)-.15 F
 (command, or vi insertion.)144 720 Q(The mode strings are user)5 E
 (-settable \(e.g.,)-.2 E F1(emacs\255mode\255string)2.5 E F0(\).)A
-(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(5)198.45 E 0 Cg EP
+(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(5)195.395 E 0 Cg EP
 %%Page: 6 6
 %%BeginPageSetup
 BP
@@ -884,8 +884,8 @@ F .503(Each program)5.503 F .114(using the readline library sets the)180
 (ey s)-.1 H .397(equence that quotes the).15 F(current or pre)180 688.8
 Q(vious w)-.25 E(ord in)-.1 E F1(bash)2.5 E F0(:)A F1($if)180 712.8 Q F0
 (Bash)2.5 E 2.5(#Q)180 724.8 S(uote the current or pre)-2.5 E(vious w)
--.25 E(ord)-.1 E(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(6)
-198.45 E 0 Cg EP
+-.25 E(ord)-.1 E(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(6)
+195.395 E 0 Cg EP
 %%Page: 7 7
 %%BeginPageSetup
 BP
@@ -983,8 +983,8 @@ E(beginning\255of\255line \(C\255a\))108 616.8 Q F0(Mo)144 628.8 Q .3
 664.8 S(rward\255char \(C\255f\)).25 E F0(Mo)144 676.8 Q .3 -.15(ve f)
 -.15 H(orw).15 E(ard a character)-.1 E(.)-.55 E F1
 (backward\255char \(C\255b\))108 688.8 Q F0(Mo)144 700.8 Q .3 -.15(ve b)
--.15 H(ack a character).15 E(.)-.55 E(GNU Readline 8.0)72 768 Q
-(2020 March 24)128.74 E(7)198.45 E 0 Cg EP
+-.15 H(ack a character).15 E(.)-.55 E(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(7)195.395 E 0 Cg EP
 %%Page: 8 8
 %%BeginPageSetup
 BP
@@ -1073,7 +1073,7 @@ ng of characters between the start of the current)-.1 F .12
 /Times-Italic@0 SF(point)2.62 E F0 2.62(\). The)B .12
 (search string must match at the be)2.62 F .12(ginning of a)-.15 F
 (history line.)144 700.8 Q(This is a non-incremental search.)5 E
-(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(8)198.45 E 0 Cg EP
+(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(8)195.395 E 0 Cg EP
 %%Page: 9 9
 %%BeginPageSetup
 BP
@@ -1178,8 +1178,8 @@ Q F0 2.5(,f)C(or e)-2.5 E(xample.)-.15 E F1(tab\255insert \(M-T)108
 (ving point forw)-.15 F .321(ard as well.)-.1 F 1.182
 (If point is at the end of the line, then this transposes the tw)144
 724.8 R 3.683(oc)-.1 G 1.183(haracters before point.)-3.683 F(Ne)6.183 E
--.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(GNU Readline 8.0)72 768 Q
-(2020 March 24)128.74 E(9)198.45 E 0 Cg EP
+-.05(ga)-.15 G(ti).05 E -.15(ve)-.25 G(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(9)195.395 E 0 Cg EP
 %%Page: 10 10
 %%BeginPageSetup
 BP
@@ -1272,8 +1272,8 @@ F 5.364(.T)-.65 G .364(he killed te)-5.364 F .364(xt is sa)-.15 F -.15
 (ord follo)-.1 F 2.008(wing point to the kill b)-.25 F(uf)-.2 E(fer)-.25
 E 7.007(.T)-.55 G 2.007(he w)-7.007 F 2.007
 (ord boundaries are the same as)-.1 F F1 -.25(fo)4.507 G -.37(r-).25 G
-(ward\255w)144 712.8 Q(ord)-.1 E F0(.)A(GNU Readline 8.0)72 768 Q
-(2020 March 24)128.74 E(10)193.45 E 0 Cg EP
+(ward\255w)144 712.8 Q(ord)-.1 E F0(.)A(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(10)190.395 E 0 Cg EP
 %%Page: 11 11
 %%BeginPageSetup
 BP
@@ -1380,7 +1380,8 @@ F1 -.25(Ke)87 626.4 S(yboard Macr).25 E(os)-.18 E(start\255kbd\255macr)
 E F0(Re-e)144 698.4 Q -.15(xe)-.15 G .999(cute the last k).15 F -.15(ey)
 -.1 G .999(board macro de\214ned, by making the characters in the macro\
  appear as if).15 F(typed at the k)144 710.4 Q -.15(ey)-.1 G(board.).15
-E(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(11)193.45 E 0 Cg EP
+E(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(11)190.395 E 0 Cg
+EP
 %%Page: 12 12
 %%BeginPageSetup
 BP
@@ -1481,8 +1482,8 @@ F .283(alues to the readline output stream.)-.25 F .283(If a numeric ar)
 5.283 F(gu-)-.18 E
 (ment is supplied, the output is formatted in such a w)144 700.8 Q
 (ay that it can be made part of an)-.1 E F2(inputr)2.5 E(c)-.37 E F0
-(\214le.)2.5 E(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(12)
-193.45 E 0 Cg EP
+(\214le.)2.5 E(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(12)
+190.395 E 0 Cg EP
 %%Page: 13 13
 %%BeginPageSetup
 BP
@@ -1543,8 +1544,8 @@ E 2.5("C-M" accept-line)151.2 477.6 R 2.5("C-N" ne)151.2 489.6 R
 (":" to)151.2 657.6 R 2.5("~" self-insert)2.5 F 2.5("C-?" backw)151.2
 669.6 R(ard-delete-char)-.1 E(Emacs Meta bindings)151.2 686.4 Q 2.5
 ("M-C-G" abort)151.2 710.4 R 2.5("M-C-H" backw)151.2 722.4 R(ard-kill-w)
--.1 E(ord)-.1 E(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(13)
-193.45 E 0 Cg EP
+-.1 E(ord)-.1 E(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(13)
+190.395 E 0 Cg EP
 %%Page: 14 14
 %%BeginPageSetup
 BP
@@ -1585,8 +1586,8 @@ R(xpand)-.15 E 2.5("M-C-?" backw)151.2 576 R(ard-kill-w)-.1 E(ord)-.1 E
 652.8 R 2.5("C-XC-X" e)151.2 664.8 R(xchange-point-and-mark)-.15 E 2.5
 ("C-X\(" start-kbd-macro)151.2 676.8 R 2.5("C-X\)" end-kbd-macro)151.2
 688.8 R 2.5("C-XE" call-last-kbd-macro)151.2 700.8 R 2.5("C-XC-?" backw)
-151.2 712.8 R(ard-kill-line)-.1 E(GNU Readline 8.0)72 768 Q
-(2020 March 24)128.74 E(14)193.45 E 0 Cg EP
+151.2 712.8 R(ard-kill-line)-.1 E(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(14)190.395 E 0 Cg EP
 %%Page: 15 15
 %%BeginPageSetup
 BP
@@ -1625,7 +1626,8 @@ R 2.5("C-V" quoted-insert)151.2 228 R 2.5("C-W" unix-w)151.2 240 R
 ("." vi-redo)151.2 676.8 R 2.5("/" vi-search)151.2 688.8 R 2.5("0" be)
 151.2 700.8 R(ginning-of-line)-.15 E("1" to "9")151.2 712.8 Q(vi-ar)5 E
 (g-digit)-.18 E 2.5(";" vi-char)151.2 724.8 R(-search)-.2 E
-(GNU Readline 8.0)72 768 Q(2020 March 24)128.74 E(15)193.45 E 0 Cg EP
+(GNU Readline 8.1)72 768 Q(2020 October 29)125.685 E(15)190.395 E 0 Cg
+EP
 %%Page: 16 16
 %%BeginPageSetup
 BP
@@ -1663,8 +1665,8 @@ R 2.5("y" vi-yank-to)151.2 600 R 2.5("|" vi-column)151.2 612 R 2.5
 (ox and Chet Rame)-.15 E(y)-.15 E F2(bash)108 676.8 Q F0(\(1\))A F1
 (FILES)72 693.6 Q F2(~/.inputr)109.666 705.6 Q(c)-.37 E F0(Indi)144
 717.6 Q(vidual)-.25 E/F3 10/Times-Bold@0 SF -.18(re)2.5 G(adline).18 E
-F0(initialization \214le)2.5 E(GNU Readline 8.0)72 768 Q(2020 March 24)
-128.74 E(16)193.45 E 0 Cg EP
+F0(initialization \214le)2.5 E(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(16)190.395 E 0 Cg EP
 %%Page: 17 17
 %%BeginPageSetup
 BP
@@ -1695,8 +1697,8 @@ BP
 (ug reports concerning this manual page should be directed to)-.2 E F3
 -.15(ch)2.5 G(et.r).15 E(ame)-.15 E(y@case)-.3 E(.edu)-.15 E F0(.).25 E
 F1 -.11(BU)72 252 S(GS).11 E F0(It')108 264 Q 2.5(st)-.55 G
-(oo big and too slo)-2.5 E -.65(w.)-.25 G(GNU Readline 8.0)72 768 Q
-(2020 March 24)128.74 E(17)193.45 E 0 Cg EP
+(oo big and too slo)-2.5 E -.65(w.)-.25 G(GNU Readline 8.1)72 768 Q
+(2020 October 29)125.685 E(17)190.395 E 0 Cg EP
 %%Trailer
 end
 %%EOF
index 746e38c86a9b68dff6a8961258cc916da40c3367..26b0ff072c7a8503f3e9e567ca4cfecdd3dcc506 100644 (file)
@@ -546,7 +546,7 @@ When set to @samp{On}, Readline will configure the terminal in a way
 that will enable it to insert each paste into the editing buffer as a
 single string of characters, instead of treating each character as if
 it had been read from the keyboard.  This can prevent pasted characters
-from being interpreted as editing commands.  The default is @samp{off}.
+from being interpreted as editing commands.  The default is @samp{On}.
 
 @item enable-keypad
 @vindex enable-keypad
index 3109d753b7fff9f040c1e396f72c3fd3d2e8fae1..4c0b1421970812580de8e6adb9a224f7ae638590 100644 (file)
Binary files a/doc/rluserman.dvi and b/doc/rluserman.dvi differ
index 35cb1b5e388221016ed6b70db83fb888ae0967f8..ab522acaca198e2525d02636c99fc65b6b934142 100644 (file)
@@ -1,6 +1,6 @@
 <HTML>
 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
-<!-- Created on September, 9  2020 by texi2html 1.64 -->
+<!-- Created on October, 30  2020 by texi2html 1.64 -->
 <!-- 
 Written by: Lionel Cons <Lionel.Cons@cern.ch> (original author)
             Karl Berry  <karl@freefriends.org>
@@ -721,7 +721,7 @@ When set to <SAMP>`On'</SAMP>, Readline will configure the terminal in a way
 that will enable it to insert each paste into the editing buffer as a
 single string of characters, instead of treating each character as if
 it had been read from the keyboard.  This can prevent pasted characters
-from being interpreted as editing commands.  The default is <SAMP>`off'</SAMP>.
+from being interpreted as editing commands.  The default is <SAMP>`On'</SAMP>.
 <P>
 
 <DT><CODE>enable-keypad</CODE>
@@ -3025,7 +3025,7 @@ to permit their use in free software.
 <TD VALIGN="MIDDLE" ALIGN="LEFT">[<A HREF="rluserman.html#SEC_About"> ? </A>]</TD>
 </TR></TABLE>
 <H1>About this document</H1>
-This document was generated by <I>Chet Ramey</I> on <I>September, 9  2020</I>
+This document was generated by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 <P></P>  
@@ -3187,7 +3187,7 @@ the following structure:
 <BR>  
 <FONT SIZE="-1">
 This document was generated
-by <I>Chet Ramey</I> on <I>September, 9  2020</I>
+by <I>Chet Ramey</I> on <I>October, 30  2020</I>
 using <A HREF="http://www.mathematik.uni-kl.de/~obachman/Texi2html
 "><I>texi2html</I></A>
 
index 1b86b0a4d24cc8b1864009208d8e0f91ea83ba91..16049283d863e86462a7b2739a1587481d0622ab 100644 (file)
@@ -2,8 +2,8 @@ This is rluserman.info, produced by makeinfo version 6.7 from
 rluserman.texi.
 
 This manual describes the end user interface of 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
+(version 8.1, 29 October 2020), a library which aids in the consistency
+of user interface across discrete programs which provide a command line
 interface.
 
    Copyright (C) 1988-2020 Free Software Foundation, Inc.
@@ -471,7 +471,7 @@ Variable Settings
           buffer as a single string of characters, instead of treating
           each character as if it had been read from the keyboard.  This
           can prevent pasted characters from being interpreted as
-          editing commands.  The default is 'off'.
+          editing commands.  The default is 'On'.
 
      'enable-keypad'
           When set to 'on', Readline will try to enable the application
@@ -1998,30 +1998,30 @@ their use in free software.
 
 \1f
 Tag Table:
-Node: Top\7f904
-Node: Command Line Editing\7f1426
-Node: Introduction and Notation\7f2080
-Node: Readline Interaction\7f3705
-Node: Readline Bare Essentials\7f4898
-Node: Readline Movement Commands\7f6683
-Node: Readline Killing Commands\7f7645
-Node: Readline Arguments\7f9565
-Node: Searching\7f10611
-Node: Readline Init File\7f12765
-Node: Readline Init File Syntax\7f13920
-Node: Conditional Init Constructs\7f34180
-Node: Sample Init File\7f38378
-Node: Bindable Readline Commands\7f41504
-Node: Commands For Moving\7f42560
-Node: Commands For History\7f44320
-Node: Commands For Text\7f49084
-Node: Commands For Killing\7f52788
-Node: Numeric Arguments\7f55503
-Node: Commands For Completion\7f56644
-Node: Keyboard Macros\7f58614
-Node: Miscellaneous Commands\7f59303
-Node: Readline vi Mode\7f63226
-Node: GNU Free Documentation License\7f64140
+Node: Top\7f907
+Node: Command Line Editing\7f1429
+Node: Introduction and Notation\7f2083
+Node: Readline Interaction\7f3708
+Node: Readline Bare Essentials\7f4901
+Node: Readline Movement Commands\7f6686
+Node: Readline Killing Commands\7f7648
+Node: Readline Arguments\7f9568
+Node: Searching\7f10614
+Node: Readline Init File\7f12768
+Node: Readline Init File Syntax\7f13923
+Node: Conditional Init Constructs\7f34182
+Node: Sample Init File\7f38380
+Node: Bindable Readline Commands\7f41506
+Node: Commands For Moving\7f42562
+Node: Commands For History\7f44322
+Node: Commands For Text\7f49086
+Node: Commands For Killing\7f52790
+Node: Numeric Arguments\7f55505
+Node: Commands For Completion\7f56646
+Node: Keyboard Macros\7f58616
+Node: Miscellaneous Commands\7f59305
+Node: Readline vi Mode\7f63228
+Node: GNU Free Documentation License\7f64142
 \1f
 End Tag Table
 
index 8501864cb8767aaef86f5085e807d7fe1ef4ff0c..a7db1e93fd3bc42165855adf4c232f096e3dec4b 100644 (file)
Binary files a/doc/rluserman.pdf and b/doc/rluserman.pdf differ
index e2da0babbdb99ef7439f498f70d525c0bbf5e821..9bae0d05b4737c7bf8e918d3e293ca6d0258eb92 100644 (file)
@@ -1,7 +1,7 @@
 %!PS-Adobe-2.0
 %%Creator: dvips(k) 5.999 Copyright 2019 Radical Eye Software
 %%Title: rluserman.dvi
-%%CreationDate: Wed Sep  9 19:34:51 2020
+%%CreationDate: Fri Oct 30 14:07:47 2020
 %%Pages: 35
 %%PageOrder: Ascend
 %%BoundingBox: 0 0 612 792
@@ -12,7 +12,7 @@
 %DVIPSWebPage: (www.radicaleye.com)
 %DVIPSCommandLine: dvips -D 600 -t letter -o rluserman.ps rluserman.dvi
 %DVIPSParameters: dpi=600
-%DVIPSSource:  TeX output 2020.09.09:1534
+%DVIPSSource:  TeX output 2020.10.30:1007
 %%BeginProcSet: tex.pro 0 0
 %!
 /TeXDict 300 dict def TeXDict begin/N{def}def/B{bind def}N/S{exch}N/X{S
@@ -5185,18 +5185,18 @@ ifelse
 TeXDict begin 1 0 bop 150 1318 a Fp(GNU)65 b(Readline)g(Library)g(User)
 g(In)-5 b(terface)p 150 1418 3600 34 v 1873 1515 a Fo(Edition)30
 b(8.1,)i(for)e Fn(Readline)e(Library)h Fo(V)-8 b(ersion)31
-b(8.1.)3367 1623 y(July)f(2020)150 4927 y Fm(Chet)45
+b(8.1.)3217 1623 y(Octob)s(er)f(2020)150 4927 y Fm(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 Fo(This)29 b(man)m(ual)g(describ)s(es)
-g(the)h(end)e(user)h(in)m(terface)i(of)f(the)f(GNU)h(Readline)g
-(Library)f(\(v)m(ersion)h(8.1,)h(17)150 4523 y(July)25
-b(2020\),)j(a)e(library)f(whic)m(h)f(aids)i(in)f(the)g(consistency)h
-(of)f(user)g(in)m(terface)i(across)e(discrete)h(programs)150
-4633 y(whic)m(h)k(pro)m(vide)h(a)f(command)g(line)h(in)m(terface.)150
+TeXDict begin 2 1 bop 150 4413 a Fo(This)38 b(man)m(ual)h(describ)s(es)
+f(the)h(end)f(user)g(in)m(terface)i(of)f(the)g(GNU)g(Readline)g
+(Library)f(\(v)m(ersion)i(8.1,)150 4523 y(29)35 b(Octob)s(er)f(2020\),)
+k(a)d(library)f(whic)m(h)g(aids)g(in)g(the)h(consistency)g(of)g(user)e
+(in)m(terface)j(across)f(discrete)150 4633 y(programs)30
+b(whic)m(h)g(pro)m(vide)h(a)f(command)g(line)h(in)m(terface.)150
 4767 y(Cop)m(yrigh)m(t)602 4764 y(c)577 4767 y Fl(\015)f
 Fo(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
@@ -5742,7 +5742,7 @@ e(of)g(treating)h(eac)m(h)g(c)m(haracter)g(as)f(if)f(it)i(had)1110
 5230 y(b)s(een)e(read)i(from)e(the)i(k)m(eyb)s(oard.)49
 b(This)32 b(can)h(prev)m(en)m(t)h(pasted)f(c)m(haracters)1110
 5340 y(from)d(b)s(eing)g(in)m(terpreted)h(as)f(editing)h(commands.)41
-b(The)29 b(default)i(is)f(`)p Fn(off)p Fo('.)p eop end
+b(The)29 b(default)i(is)f(`)p Fn(On)p Fo('.)p eop end
 %%Page: 7 10
 TeXDict begin 7 9 bop 150 -116 a Fo(Chapter)30 b(1:)41
 b(Command)29 b(Line)i(Editing)2153 b(7)630 299 y Fn(enable-keypad)1110
index cb495abff2d66db23e03a28c28ed28fbbefe78d7..abb9cb6ba573493530f878612d271b4c80848fce 100644 (file)
@@ -4,7 +4,7 @@ Copyright (C) 1988-2020 Free Software Foundation, Inc.
 
 @set EDITION 8.1
 @set VERSION 8.1
-@set UPDATED 17 July 2020
-@set UPDATED-MONTH July 2020
+@set UPDATED 29 October 2020
+@set UPDATED-MONTH October 2020
 
-@set LASTCHANGE Fri Jul 17 09:35:36 EDT 2020
+@set LASTCHANGE Thu Oct 29 16:49:01 EDT 2020
index 201a37bbcff0d4c84fa2e92a8792a70e2f73c078..8c841f76458583a5370aae856daaa843641f397c 100644 (file)
--- a/isearch.c
+++ b/isearch.c
@@ -357,7 +357,7 @@ _rl_isearch_dispatch (_rl_search_cxt *cxt, int c)
 
   /* XXX - experimental code to allow users to bracketed-paste into the search
      string even when ESC is one of the isearch-terminators. Not perfect yet. */
-  if (_rl_enable_bracketed_paste && c == ESC && strchr (cxt->search_terminators, c) && (n = _rl_nchars_available ()) > (2*BRACK_PASTE_SLEN-1))
+  if (_rl_enable_bracketed_paste && c == ESC && strchr (cxt->search_terminators, c) && (n = _rl_nchars_available ()) > (BRACK_PASTE_SLEN-1))
     {
       j = _rl_read_bracketed_paste_prefix (c);
       if (j == 1)
@@ -680,7 +680,8 @@ opcode_dispatch:
          free (paste);
          break;
        }
-      rl_activate_mark ();
+      if (_rl_enable_active_region)
+       rl_activate_mark ();
       if (cxt->search_string_index + pastelen + 1 >= cxt->search_string_size)
        {
          cxt->search_string_size += pastelen + 2;
@@ -805,7 +806,8 @@ opcode_dispatch:
     {
       cxt->prev_line_found = cxt->lines[cxt->history_pos];
       rl_replace_line (cxt->lines[cxt->history_pos], 0);
-      rl_activate_mark ();     
+      if (_rl_enable_active_region)
+       rl_activate_mark ();    
       rl_point = cxt->sline_index;
       if (rl_mark_active_p () && cxt->search_string_index > 0)
        rl_mark = rl_point + cxt->search_string_index;
diff --git a/kill.c b/kill.c
index e9d52502a1c21b0b34e5c55f24e78ce55cb7b6da..50c3fdead765bc71b0e3e2d1ef81e4155982aa8a 100644 (file)
--- a/kill.c
+++ b/kill.c
@@ -729,7 +729,8 @@ rl_bracketed_paste_begin (int count, int key)
   buf = _rl_bracketed_text (&len);
   rl_mark = rl_point;
   retval = rl_insert_text (buf) == len ? 0 : 1;
-  rl_activate_mark ();
+  if (_rl_enable_active_region)
+    rl_activate_mark ();
 
   xfree (buf);
   return (retval);
index 800eb119cd1488316b7967c065a59eb700f686fa..e61d188bbe944264e8e6cbdd8a878bfb1db33a9a 100644 (file)
@@ -321,7 +321,8 @@ int _rl_show_mode_in_prompt = 0;
 /* Non-zero means to attempt to put the terminal in `bracketed paste mode',
    where it will prefix pasted text with an escape sequence and send
    another to mark the end of the paste. */
-int _rl_enable_bracketed_paste = 1;    /* XXX - for now */
+int _rl_enable_bracketed_paste = BRACKETED_PASTE_DEFAULT;
+int _rl_enable_active_region = BRACKETED_PASTE_DEFAULT;
 
 /* **************************************************************** */
 /*                                                                 */
index 050f5068025cd2d4d04566f3e2c2856286366c0e..23ab2d8cec0d02d1b862ae707ec4ff3c03d9f1d2 100644 (file)
@@ -312,6 +312,10 @@ extern int _rl_isearch_cleanup PARAMS((_rl_search_cxt *, int));
 extern int _rl_search_getchar PARAMS((_rl_search_cxt *));
 
 /* kill.c */
+#ifndef BRACKETED_PASTE_DEFAULT
+#  define BRACKETED_PASTE_DEFAULT      1       /* XXX - for now */
+#endif
+
 #define BRACK_PASTE_PREF       "\033[200~"
 #define BRACK_PASTE_SUFF       "\033[201~"
 
@@ -532,6 +536,7 @@ extern int _rl_revert_all_at_newline;
 extern int _rl_echo_control_chars;
 extern int _rl_show_mode_in_prompt;
 extern int _rl_enable_bracketed_paste;
+extern int _rl_enable_active_region;
 extern char *_rl_comment_begin;
 extern unsigned char _rl_parsing_conditionalized_out;
 extern Keymap _rl_keymap;
index ab65a3752395cd589f8fd16be18804147ca3db18..38a29361d7020897ebbc7cea7d7eeb4559223359 100644 (file)
--- a/search.c
+++ b/search.c
@@ -192,7 +192,7 @@ noninc_dosearch (char *string, int dir, int flags)
 
   make_history_line_current (entry);
 
-  if (_rl_enable_bracketed_paste && ((flags & SF_PATTERN) == 0) && ind > 0 && ind < rl_end)
+  if (_rl_enable_active_region && ((flags & SF_PATTERN) == 0) && ind > 0 && ind < rl_end)
     {
       rl_point = ind;
       rl_mark = ind + strlen (string);
index f2ec3e46b7bac4d88bd7cab2067e42fb15552150..d138524ce9ee01e544dfd79d1e16bbd083e2281d 100644 (file)
@@ -64,7 +64,7 @@ localedir = @localedir@
 DESTDIR =
 
 CFLAGS = @CFLAGS@
-LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"'
+LOCAL_CFLAGS = @LOCAL_CFLAGS@ -DRL_LIBRARY_VERSION='"$(RL_LIBRARY_VERSION)"' @BRACKETED_PASTE@
 CPPFLAGS = @CPPFLAGS@
 LDFLAGS = @LDFLAGS@ @LOCAL_LDFLAGS@ @CFLAGS@
 
index 41b6f1948014c1ef28fedcf7d19e4f539a4f1f82..05415dc42de1dca338d4047b168bc8b5aedd12ae 100644 (file)
@@ -456,7 +456,7 @@ _rl_init_terminal_io (const char *terminal_name)
 {
   const char *term;
   char *buffer;
-  int tty, tgetent_ret;
+  int tty, tgetent_ret, dumbterm;
 
   term = terminal_name ? terminal_name : sh_get_env_value ("TERM");
   _rl_term_clrpag = _rl_term_cr = _rl_term_clreol = _rl_term_clrscroll = (char *)NULL;
@@ -465,6 +465,8 @@ _rl_init_terminal_io (const char *terminal_name)
   if (term == 0)
     term = "dumb";
 
+  dumbterm = STREQ (term, "dumb");
+
 #ifdef __MSDOS__
   _rl_term_im = _rl_term_ei = _rl_term_ic = _rl_term_IC = (char *)NULL;
   _rl_term_up = _rl_term_dc = _rl_term_DC = _rl_visible_bell = (char *)NULL;
@@ -544,6 +546,10 @@ _rl_init_terminal_io (const char *terminal_name)
       _rl_term_so = _rl_term_se = (char *)NULL;
       _rl_terminal_can_insert = term_has_meta = 0;
 
+      /* Assume generic unknown terminal can't handle the enable/disable
+        escape sequences */
+      _rl_enable_bracketed_paste = 0;
+
       /* Reasonable defaults for tgoto().  Readline currently only uses
          tgoto if _rl_term_IC or _rl_term_DC is defined, but just in case we
          change that later... */
@@ -595,6 +601,11 @@ _rl_init_terminal_io (const char *terminal_name)
   bind_termcap_arrow_keys (vi_insertion_keymap);
 #endif /* VI_MODE */
 
+  /* There's no way to determine whether or not a given terminal supports
+     bracketed paste mode, so we assume a terminal named "dumb" does not. */
+  if (dumbterm)
+    _rl_enable_bracketed_paste = 0;
+    
   return 0;
 }