Skip to content

Commit f9267e1

Browse files
author
Elena Zannoni
committed
Import of readline 4.1
1 parent a44161c commit f9267e1

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+8827
-2467
lines changed

readline/CHANGELOG

Lines changed: 123 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,3 +214,126 @@ Makefile.in,{doc,examples,shlib}/Makefile.in
214214
- set SHELL from @MAKE_SHELL@
215215

216216
[readline-4.0 released]
217+
218+
3/11
219+
----
220+
doc/Makefile.in
221+
- removed references to HTMLTOC, since separate HTML table-of-contents
222+
files are no longer created
223+
224+
examples/Makefile.in
225+
- remove `*.exe' in clean target for MS-DOS
226+
227+
Makefile.in
228+
- make `readline' target depend on ./libreadline.a
229+
- configure now substitutes TERMCAP_LIB into Makefile.in
230+
- use ${TERMCAP_LIB} instead of -ltermcap in recipe for `readline'
231+
- clean target now removes readline and readline.exe in case they
232+
get built
233+
234+
configure.in
235+
- use `pwd.exe' to set BUILD_DIR on MS-DOS DJGPP
236+
237+
3/15
238+
----
239+
support/shlib-install
240+
- Irix 5.x and Irix 6.x should install shared libraries like Solaris 2
241+
- changes for installing on hp-ux 1[01].x
242+
243+
3/23
244+
----
245+
configure.in
246+
- make sure that the $CC argument to shobj-conf is quoted
247+
248+
4/8
249+
---
250+
251+
xmalloc.h, rlprivate.h, rlshell.h
252+
- new files
253+
254+
Makefile.in,shlib/Makefile.in
255+
- add dependencies on xmalloc.h, rlshell.h
256+
- add xmalloc.h, rlprivate.h, rlshell.h to list of header files
257+
258+
MANIFEST
259+
- add xmalloc.h, rlprivate.h, rlshell.h
260+
261+
4/9
262+
---
263+
Makefile.in,shlib/Makefile.in
264+
- add dependencies on rlprivate.h
265+
266+
4/13
267+
----
268+
doc/Makefile.in
269+
- add variable, PSDVI, which is the desired resolution of the
270+
generated postscript files. Set to 300 because I don't have
271+
any 600-dpi printers
272+
- set LANGUAGE= before calling makeinfo, so messages are in English
273+
- add rluserman.{info,dvi,ps,html} to appropriate variables
274+
- add rules to create rluserman.{info,dvi,ps,html}
275+
- install and uninstall rluserman.info, but don't update the directory
276+
file in $(infodir) yet
277+
278+
MANIFEST
279+
- add doc/rluserman.{texinfo,info,dvi,ps,html}
280+
281+
4/30
282+
----
283+
configure.in
284+
- updated library version to 4.1
285+
286+
5/3
287+
---
288+
configure.in
289+
- SHLIB_MAJOR and SHLIB_MINOR shared library version numbers are
290+
constructed from $LIBRARY_VERSION and substituted into Makefiles
291+
292+
5/5
293+
---
294+
support/shlib-install
295+
- OSF/1 installs shared libraries like Solaris
296+
297+
Makefile.in
298+
- broke the header file install and uninstall into two new targets:
299+
install-headers and uninstall-headers
300+
- install and uninstall depend on install-headers and uninstall-headers
301+
respectively
302+
- changed install-shared and uninstall-shared targets to depend on
303+
install-headers and uninstall-headers, respectively, so users may
304+
choose to install only the shared libraries. I'm not sure about
305+
the uninstall one yet -- maybe it should check whether or not
306+
the static libraries are installed and not remove the header files
307+
if they are
308+
309+
9/3
310+
---
311+
configure.in, config.h.in
312+
- added test for memmove (for later use)
313+
- changed version to 4.1-beta1
314+
315+
9/13
316+
----
317+
examples/rlfe.c
318+
- Per Bothner's `rlfe' readline front-end program
319+
320+
examples/Makefile.in
321+
- added rules to build rlfe
322+
323+
9/21
324+
----
325+
support/shlib-install
326+
- changes to handle FreeBSD-3.x elf or a.out shared libraries, which
327+
have different semantics and need different naming conventions
328+
329+
1/24/2000
330+
---------
331+
doc/Makefile.in
332+
- remove *.bt and *.bts on `make clean'
333+
334+
2/4
335+
---
336+
337+
338+
configure.in
339+
- changed LIBVERSION to 4.1-beta5

readline/CHANGES

Lines changed: 108 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,111 @@
1+
This document details the changes between this version, readline-4.1,
2+
and the previous version, readline-4.0.
3+
4+
1. Changes to Readline
5+
6+
a. Changed the HTML documents so that the table-of-contents is no longer
7+
a separate file.
8+
9+
b. Changes to the shared object configuration for: Irix 5.x, Irix 6.x,
10+
OSF/1.
11+
12+
c. The shared library major and minor versions are now constructed
13+
automatically by configure and substituted into the makefiles.
14+
15+
d. It's now possible to install the shared libraries separately from the
16+
static libraries.
17+
18+
e. The history library tries to truncate the history file only if it is a
19+
regular file.
20+
21+
f. A bug that caused _rl_dispatch to address negative array indices on
22+
systems with signed chars was fixed.
23+
24+
g. rl-yank-nth-arg now leaves the history position the same as when it was
25+
called.
26+
27+
h. Changes to the completion code to handle MS-DOS drive-letter:pathname
28+
filenames.
29+
30+
i. Completion is now case-insensitive by default on MS-DOS.
31+
32+
j. Fixes to the history file manipulation code for MS-DOS.
33+
34+
k. Readline attempts to bind the arrow keys to appropriate defaults on MS-DOS.
35+
36+
l. Some fixes were made to the redisplay code for better operation on MS-DOS.
37+
38+
m. The quoted-insert code will now insert tty special chars like ^C.
39+
40+
n. A bug was fixed that caused the display code to reference memory before
41+
the start of the prompt string.
42+
43+
o. More support for __EMX__ (OS/2).
44+
45+
p. A bug was fixed in readline's signal handling that could cause infinite
46+
recursion in signal handlers.
47+
48+
q. A bug was fixed that caused the point to be less than zero when rl_forward
49+
was given a very large numeric argument.
50+
51+
r. The vi-mode code now gets characters via the application-settable value
52+
of rl_getc_function rather than calling rl_getc directly.
53+
54+
s. The history file code now uses O_BINARY mode when reading and writing
55+
the history file on cygwin32.
56+
57+
t. Fixed a bug in the redisplay code for lines with more than 256 line
58+
breaks.
59+
60+
u. A bug was fixed which caused invisible character markers to not be
61+
stripped from the prompt string if the terminal was in no-echo mode.
62+
63+
v. Readline no longer tries to get the variables it needs for redisplay
64+
from the termcap entry if the calling application has specified its
65+
own redisplay function. Readline treats the terminal as `dumb' in
66+
this case.
67+
68+
w. Fixes to the SIGWINCH code so that a multiple-line prompt with escape
69+
sequences is redrawn correctly.
70+
71+
x. Changes to the install and install-shared targets so that the libraries
72+
and header files are installed separately.
73+
74+
2. New Features in Readline
75+
76+
a. A new Readline `user manual' is in doc/rluserman.texinfo.
77+
78+
b. Parentheses matching is now always compiled into readline, and enabled
79+
or disabled when the value of the `blink-matching-paren' variable is
80+
changed.
81+
82+
c. MS-DOS systems now use ~/_inputrc as the last-ditch inputrc filename.
83+
84+
d. MS-DOS systems now use ~/_history as the default history file.
85+
86+
e. history-search-{forward,backward} now leave the point at the end of the
87+
line when the string to search for is empty, like
88+
{reverse,forward}-search-history.
89+
90+
f. history-search-{forward,backward} now leave the last history line found
91+
in the readline buffer if the second or subsequent search fails.
92+
93+
g. New function for use by applications: rl_on_new_line_with_prompt, used
94+
when an application displays the prompt itself before calling readline().
95+
96+
h. New variable for use by applications: rl_already_prompted. An application
97+
that displays the prompt itself before calling readline() must set this to
98+
a non-zero value.
99+
100+
i. A new variable, rl_gnu_readline_p, always 1. The intent is that an
101+
application can verify whether or not it is linked with the `real'
102+
readline library or some substitute.
103+
104+
j. Per Bothner's `rlfe' (pronounced `Ralphie') readline front-end program
105+
is included in the examples subdirectory, though it is not built
106+
by default.
107+
108+
-------------------------------------------------------------------------------
1109
This document details the changes between this version, readline-4.0,
2110
and the previous version, readline-2.2.
3111

readline/COPYING

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
Version 2, June 1991
33

44
Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5-
675 Mass Ave, Cambridge, MA 02139, USA
5+
59 Temple Place, Suite 330, Boston, MA 02111 USA
66
Everyone is permitted to copy and distribute verbatim copies
77
of this license document, but changing it is not allowed.
88

@@ -305,7 +305,7 @@ the "copyright" line and a pointer to where the full notice is found.
305305

306306
You should have received a copy of the GNU General Public License
307307
along with this program; if not, write to the Free Software
308-
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
308+
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
309309

310310
Also add information on how to contact you by electronic and paper mail.
311311

readline/MANIFEST

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@ MANIFEST f
1111
INSTALL f
1212
CHANGELOG f
1313
CHANGES f
14+
USAGE f
1415
aclocal.m4 f
15-
acconfig.h f
1616
config.h.in f
1717
configure f
1818
configure.in f
@@ -28,11 +28,14 @@ posixstat.h f
2828
readline.h f
2929
rlconf.h f
3030
rldefs.h f
31+
rlprivate.h f
32+
rlshell.h f
3133
rlstdc.h f
3234
rltty.h f
3335
rlwinsize.h f
3436
tcap.h f
3537
tilde.h f
38+
xmalloc.h f
3639
bind.c f
3740
complete.c f
3841
display.c f
@@ -77,15 +80,18 @@ doc/manvers.texinfo f
7780
doc/rlman.texinfo f
7881
doc/rltech.texinfo f
7982
doc/rluser.texinfo f
83+
doc/rluserman.texinfo f
8084
doc/hist.texinfo f
8185
doc/hstech.texinfo f
8286
doc/hsuser.texinfo f
8387
doc/readline.3 f
8488
doc/texi2dvi f
8589
doc/texi2html f
8690
examples/Makefile.in f
91+
examples/excallback.c f
8792
examples/fileman.c f
8893
examples/manexamp.c f
94+
examples/rlfe.c f
8995
examples/rltest.c f
9096
examples/rl.c f
9197
examples/rlversion.c f
@@ -94,10 +100,14 @@ examples/Inputrc f
94100
# formatted documentation, from MANIFEST.doc
95101
doc/readline.ps f
96102
doc/history.ps f
103+
doc/rluserman.ps f
97104
doc/readline.dvi f
98105
doc/history.dvi f
106+
doc/rluserman.dvi f
99107
doc/readline.info f
100108
doc/history.info f
109+
doc/rluserman.info f
101110
doc/readline.html f
102111
doc/history.html f
112+
doc/rluserman.html f
103113
doc/readline.0 f

0 commit comments

Comments
 (0)