3 * Makefile.in (datarootdir): New variable.
4 * doc/Makefile.in (datarootdir): New variable.
5 * shlib/Makefile.in (datarootdir): New variable.
9 * Makefile.in: Add html target. Add dummy install-html and
14 Build fixes for DJGPP.
16 * signals.c (rl_set_sighandler): Guard access to SIGWINCH.
17 * wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
22 * rltty.c (block_sigint, release_sigint): Rename to...
23 (_rl_block_sigint, _rl_release_sigint): ...these and make them global.
24 * rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes.
25 * display.c (rl_redisplay): Wrap the function by the calls to
26 _RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT.
32 * configure.in (CROSS_COMPILE): Initialize to empty.
33 * configure: Regenerated.
37 * Makefile.in: Add dummy "pdf" target.
41 * terminal.c (_rl_get_screen_size): use wr and wc variable to store
46 * callback.c: Include "xmalloc.h".
47 * Makefile.in: Add dependency.
51 Imported readline 5.1, and upstream patches 001-004.
55 * histfile.c (read_history_range): Remove '\r' character from
60 * readline/terminal.c (_rl_get_screen_size): Get console size from
61 the Windows API when compiling with MinGW.
65 * input.c (rl_getc): Use getch to read console input on
67 * readline.c (bind_arrow_keys_internal): Translate
68 Windows keysequences into ANSI key sequences.
69 * rldefs.h (NO_TTY_DRIVER): Define on MinGW.
70 * rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
75 * configure.in: Check for getpwnam instead of getpwname.
76 * configure: Regenerate.
80 * aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
81 * complete.c (pwd.h): Guard with HAVE_PWD_H.
82 (getpwent): Guard with HAVE_GETPWENT.
83 (rl_username_completion_function): Guard use of getpwent.
85 * config.h.in (HAVE_FCNTL): New macro.
86 (HAVE_GETPWENT): Likewise.
87 (HAVE_GETPWNAM): Likewise.
88 (HAVE_GETPWUID): Likewise.
89 (HAVE_KILL): Likewise.
90 (HAVE_PWD_H): Likewise.
91 * configure: Regenerated.
92 * configure.in: Handle MinGW when cross compiling. Check for
93 getpwnam, getpwent, getpwuid, kill, and pwd.h.
94 * display.c (rl_clear_screen): Treat Windows like DOS.
95 (insert_some_chars): Likewise.
96 (delete_chars): Likewise.
97 * shell.c (pwd.h): Guard with HAVE_PWD_H.
98 (getpwuid): Guard with HAVE_GETPWUID.
99 (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H.
100 * signals.c (rl_signal_handler): Don't use SIGALRM or
101 SIGQUIT if not defined. Use "raise" if "kill" is not available.
102 (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if
103 they are not defined.
104 (rl_clear_signals): Likewise.
105 * tilde.c (pwd.h): Guard with HAVE_PWD_H.
106 (getpwuid): Guard declaration with HAVE_GETPWUID.
107 (getpwnam): Guard declaration with HAVE_GETPWNAM.
108 (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
112 * config.guess: Update from version 2003-06-12 to 2004-02-16.
113 * config.sub: Update from version 2003-06-13 to 2004-02-16.
117 Merge in official patches to readline-4.3 from
118 ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches:
119 NOTE: Patch-ID readline-43-004 was already applied (see below).
121 * bind.c (rl_generic_bind): Pressing certain key sequences
122 causes an infinite loop in _rl_dispatch_subseq with the `key' argument
123 set to 256. This eventually causes bash to exceed the stack size
124 limit and crash with a segmentation violation.
125 Patch-ID: readline43-001.
127 * readline.c (_rl_dispatch_subseq): Repeating an edit in
128 vi-mode with `.' does not work.
129 Patch-ID: readline43-002.
131 * mbutil.c (_rl_get_char_len, _rl_compare_chars,
132 _rl_adjust_point): When in a locale with multibyte characters, the
133 readline display updater will occasionally cause a
134 segmentation fault when attempting to compute the length of the first
135 multibyte character on the line.
136 Patch-ID: readline43-003.
138 * vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing
139 mode's case-changing commands in a locale with multibyte characters
140 will cause garbage characters to be inserted into the editing buffer.
141 Patch-ID: readline43-005.
145 * readline.c (rl_save_state, rl_restore_state): Support systems
146 that don't define SIGWINCH.
150 * terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
151 screen width and height using console I/O.
152 (_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
153 variables. Convert to _rl_* naming scheme.
154 (_rl_set_cursor) [__MSDOS__]: Ifdef away this function.
158 * display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
159 variable `l'. Use `delta' instead recomputing its value anew.
160 Assign -delta to i instead of the other way around.
164 * rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE.
165 Revert requirement of HAVE_MBRTOWC. Delete macro definitions
166 that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined
167 and HAVE_MBSTATE_T is not defined.
171 * support/config.guess: Update to 2003-06-12 version.
172 * support/config.sub: Update to 2003-06-13 version.
176 * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.
177 * configure: Regenerate.
181 * support/config.guess: Update to 2003-05-09 version.
182 * support/config.sub: Update to 2003-05-09 version.
186 * aclocal.m4: Add check for mbrtowc.
187 * config.h.in: Regenerate.
188 * configure: Regenerate.
189 * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
193 * aclocal.m4: Cause wcwidth check to substitute
194 HAVE_WCWIDTH for building.
195 * Makefile.in: Add wcwidth object to lib if required.
196 * shlib/Makefile.in: Likewise.
197 * configure: Regenerate.
202 ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches/readline43-004
204 * display.c: Fix perverse screen refresh with UTF-8.
205 When running in a locale with multibyte characters, the
206 readline display updater will use carriage returns when
207 drawing the line, overwriting any partial output already on
208 the screen and not terminated by a newline.
209 Patch-ID: readline43-004
213 * config.guess: Update to 2003-01-03 version.
214 * config.sub: Update to 2003-01-03 version.
218 * configure.in: Remove --enable-shared option. It shouldn't be used
220 * configure: Regenerate.
224 * config/cygwin.cache: Prime mbstate_t.
228 Import of readline 4.3. NB: This import includes those gdb
229 local changes that aren't in the official readline sources.
231 * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
232 text.c, doc/history.0, doc/history.3, support/wcwidth.c,
233 examples/readlinebuf.h, examples/rlcat.c: New files.
235 * CHANGELOG, CHANGES, INSTALL, MANIFEST, Makefile.in, README,
236 aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
237 complete.c, config.h.in, configure, configure.in, display.c,
238 emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
239 history.c, history.h, histsearch.c, input.c, isearch.c,
240 keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
241 posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
242 rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
243 search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
244 undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
245 doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
246 doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
247 doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
248 doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
249 shlib/Makefile.in, support/install.sh, support/mkdirs,
250 support/mkdist, support/shlib-install, support/shobj-conf,
251 examples/Inputrc, examples/Makefile.in, examples/fileman.c,
252 examples/histexamp.c, examples/manexamp.c, examples/rl.c,
253 examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
258 * support/config.guess: Import version 2002-08-23.
259 * support/config.sub: Import version 2002-08-22.
263 * support/config.guess: Update from ../config.guess.
264 * support/config.sub: Update from ../config.sub.
268 * ChangeLog.gdb: Renamed from ChangeLog.Cygnus.
272 * support/config.guess: Import from master sources, rev 1.232.
273 * support/config.sub: Import from master sources, rev 1.246.
277 * config.guess: Import from master sources, rev 1.229.
278 * config.sub: Import from master sources, rev 1.240.
282 * support/config.guess: Import from master sources, rev 1.225.
283 * support/config.sub: Import from master sources, rev 1.238.
287 * support/config.guess: Update using ../config.sub.
291 * support/config.sub: Update using ../config.sub.
295 * configure.in: Add -fsigned-char to LOCAL_CFLAGS for Linux
296 running on the IBM S/390.
301 * rltty.c (save_tty_chars): Fix compilation-stopping typo.
305 * terminal.c (_rl_get_screen_size) [__DJGPP__]: Determine screen
306 size via DJGPP-specific calls.
307 (_rl_init_terminal_io) [__MSDOS__]: DJGPP-specific terminal
309 (_rl_backspace) [__MSDOS__]: Don't call tputs.
310 (ding) [__MSDOS__]: Use DJGPP-specific calls to support visible
313 * display.c (_rl_move_vert) [__MSDOS__]: Support cursor movement
314 upwards with DJGPP-specific calls.
315 (_rl_clear_to_eol) [__MSDOS__]: Don't call tputs.
316 (_rl_clear_screen) [__MSDOS__]: Support clear-screen with
317 DJGPP-specific calls.
318 (insert_some_chars) [__MSDOS__]: Don't call tputs.
319 (delete_chars) [__MSDOS__]: Don't call tputs.
323 * readline/readline.h: Ifdef out the export of savestring().
324 It should not have been in the distribution.
328 * Import of readline 4.1.
330 Locally modified files: Makefile.in, configure.in, configure
331 (regenerated), config.h.in (regenerated), rltty.c,
334 Locally added files: acconfig.h, config/*, config.h.bot,
335 cross-build/*, doc/inc-hit.texinfo.
337 New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
341 * support/shobj-conf: Shared libs are unsupported on MSDOS.
343 * bind.c (_rl_read_file): Open files in binary mode. Strip CR
344 characters after reading the file.
345 (rl_re_read_init_file, rl_read_init_file): Allow for _inputrc on
348 * complete.c (username_completion_function): Don't bypass getpw*
349 function calls for DJGPP.
350 (Filename_completion_function): Handle d:foo/bar file names.
352 * display.c (_rl_move_vert) [__GO32__]: fflush the stream, to make
353 sure cursor position is up to date.
354 (_rl_clear_screen) [__GO32__]: Clear screen and home the cursor.
355 (insert_some_characters, delete_characters) [__DJGPP__]: Don't use
358 * histfile.c (read_history_range, history_truncate_file)
359 (history_do_write) [__MSDOS__]: Allow for underscore instead of
360 the leading dot in file names.
362 * input.c: Don't use GO32-specific workarounds if HAVE_SELECT or
363 HAVE_TERMIOS_H are defined.
365 * readline.c: Don't disable signals if __DJGPP__ is defined.
367 * rltty.c: Don't disable signals and don't bypass termios code for
368 DJGPP (if HAVE_TERMIOS_H is defined).
370 * signals.c: Don't disable signals for DJGPP.
372 * terminal.c (_rl_get_screen_size) [__DJGPP__]: Initialize screen
374 (ding) [__DJGPP__]: Support visual bell.
379 * shell.c (stdio.h): File included, for definition of NULL.
380 * readline/rltty.c (get_tty_settings): Conditionalize
381 call to set_winsize on TIOGWINSZ.
385 * Imported Readline 4.0. Integrated all the Cygnus
386 local changes since last import.
388 New files: rlstdc.h, savestring.c, shlib directory,
389 doc/manvers.texinfo, examples/rlversion.c,
390 support/install-shlib, support/shobj-conf.
392 Removed files: MANIFEST.doc, doc/inc-hist.texi.
396 * acconfig.h: Fix typo: it's GWINSZ_IN_SYS_IOCTL, not
397 TIOCGWINSZ_IN_SYS_IOCTL.
399 * config.h.in: Regenerate with autoheader.
403 * ChangeLog.Cygnus: new file. It is the old Changelog.
404 * ChangeLog: removed. It was conflicting with CHANGELOG
409 * Makefile.in (install): Make comment about this change more explicit.
413 * Makefile.in (install): Don't install the final libreadline.a
420 * display.c: Change some terminal calls to work on DJGPP.
421 * terminal.c: Likewise.
422 * Makefile.in: Remove . from the VPATH directive.
426 * support/config.sub: Recognize cygwin*, not just cygwin32.
430 * configure.in: Do not use the ./support directory.
431 * configure: Regenerate.
435 * configure.in: Use LOCAL_CFLAGS rather than CFLAGS for
436 searching libtermcap directory.
437 * configure: Regenerate.
441 * configure.in: Search devo libtermcap directory for termcap.h
442 when compiling for cygwin.
443 * configure: Regenerated.
447 * Makefile.in (install): Only try to copy libreadline.a and
448 libhistory.a if they exist.
452 * cross-build/cygwin.cache: Add a couple more known settings.
453 * configure.in: Fix typo.
454 * configure: Regenerated.
458 * cross-build: new directory.
460 * cross-build/cygwin.cache: new file. Used for Cygwin cross builds.
462 * configure.in: added tests for cross-build for Cygwin.
466 * Makefile.in: Add CYGNUS LOCAL comment.
467 * acconfig.h: Add missing defines.
468 * config.h.bot: Add missing content.
469 * configure, config.h.in: Regenerated.
473 * Makefile.in: comment out the rule to rebuild configure by
478 * shell.c (savestring): ifdef'd it out.
480 * Imported new version of Readline 2.2.1. Removed all the Cygnus
483 New files: acconfig.h, aclocal.m4, ansi_stdlib.h, callback.c,
484 config.h.in, configure, histexpand.c, histfile.c, histlib.h,
485 histsearch.c, input.c, kill.c, macro.c, nls.c, posixdir.h,
486 posixjmp.h, posixstat.h, rlconf.h, rltty.h, rlwinsize.h, shell.c,
487 tcap.h, terminal.c, undo.c, util.c, support directory.
489 Removed files: sysdep*, config directory.
494 The following changes were made by Jim Blandy
497 made by HP; HP did not create ChangeLog entries.
499 * config/mp-enable-tui: New file.
500 (TUI_CFLAGS): Search devo's include directory, as long as we're
501 totally ruining modularity.
502 (INCLUDE_SRCDIR): New var.
503 (GDB_TUI_SRCDIR): Fix syntax error.
505 * configure.in: Check the --enable-tui flag; if it's set, include
506 a makefile fragment that #defines TUI and adds the needed #include
508 (*-*-hpux*): New host; use sysdep-hpux.h.
510 * Makefile.in (.c.o): Check the variable set in the makefile
513 * display.c (term_goto): declare it.
514 (insert_some_chars): set it.
515 (delete_chars): set it.
517 * readline.c: add tui include files surrounded by TUI.
518 (rl_reset): new function, move some of rl_abort functionality to
520 (rl_abort): call rl_reset.
521 (rl_getc): tui changes.
522 (init_terminal_io): tui changes.
524 * readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
525 tui_tputs): declare if TUI is defined.
527 * rltty.c (prepare_terminal_settings): additional comment.
529 * signals.c: add tui include files surrounded by TUI. move #if
530 and #endif to column 1 so HP's compiler will accept them. Remove
531 declaration of tuiDoAndReturnToTop since it's declared in tui.h.
532 (rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
533 (rl_handle_sigwinch_on_clear): define if TUI defined.
534 (rl_set_signals): if TUI, avoid infinite recursion.
535 (rl_clear_signals): install rl_handle_sigwinch_on_clear.
537 * sysdep-hpux.h: New file.
541 * configure.in: Check cygwin* instead of cygwin32*.
545 * sysdep-hpux11.h: New file.
546 * configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.
550 * configure.bat: Remove obsolete file.
551 * examples/configure.bat: Remove obsolete file.
555 * sysdep-6irix.h: New file.
556 * configure.in (*-*-irix6*): New host; use sysdep-6irix.h.
558 * Makefile.in (isearch.o, search.o): Depend upon sysdep.h.
559 (Makefile): Depend upon $(srcdir)/configure.in.
563 * configure.in (host==netbsd): Include config/mh-bsd44.
564 * config/mh-bsd44: New file.
568 * rltty.c: fix typos.
572 * tilde.c (tilde_word_expand): __MSDOS___ -> __MSDOS__
576 * rldefs.h: On Linux, include <termios.h> to fix compile error
581 * rldefs.h: Enable HANDLE_SIGNALS for cygwin32.
585 * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
589 * complete.c: Include <pwd.h> if not DOS, and if cygwin32 or not
591 * configure.in: Add test for *-*-cygwin32* to use config/mh-posix.
592 * readline.c: Move decl of tgetstr to rldefs.h.
593 * (_rl_set_screen_size): Remove redundant ifdef MINIMALs.
594 * rldefs.h: Don't do MINIMAL for cygwin32. Cygwin32 now uses
595 full-blown readline, except for termcap.
599 * rldefs.c: Get rid of define of SIGALRM if _WIN32 or __MSDOS__.
600 * Don't define ScreenCols/ScreenRows/... if cygwin32.
601 * sysdep-norm.h: Don't include <malloc.h> if cygwin32.
605 * rldefs.h: If __osf__is defined, include <termio.h> instead of
610 * bind.c complete.c history.c readline.c: Don't include sys/file.h.
611 * complete.c display.c parens.c readline.c rldefs.h rltty.c
612 signals.c tilde.c: Change refs to _MSC_VER and __WIN32__ to _WIN32.
613 * signals.c (rl_signal_handler): Ifdef out kill if _WIN32.
614 * sysdep-norm.h: Ifdef out include of dirent.h if _WIN32.
615 Include malloc.h if _WIN32.
619 * rldefs.h (sys/uio.h) Before sys/stream.h is included under AIX,
620 include sys/uio.h, which prevents an undefined structure used in a
621 prototype message from being generated.
625 * Makefile.in (datadir): Set to $(prefix)/share.
632 * sysdep-linux.h: New file.
633 * display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
634 * configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
635 support non-x86 based Linux platforms.
640 * config/mh-gnu: New file.
641 * configure.in (*-*-gnu*): New host.
646 * configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like
647 SCO 3.2v4 than 3.2v2.
651 * readline.c, display.c, complete.c: Add _MSC_VER to list of
652 things which can't do most things.
656 * complete.c: Change WIN32 to __WIN32__, added #else return NULL
657 to end of that define.
661 * display.c, parens.c, readline.c, rldefs.h: Change use of
666 * Makefile.in (BISON): Remove macro.
670 * complete.c (filename_completion_function): Enable for
675 * configure.in: Handle powerpc-ibm-aix* like rs6000-ibm-aix*.
679 * rltty.c (outchar): Return an int, like tputs expects.
680 * signals.c (_rl_output_character_function): Ditto.
684 Fixes for when the host WIN32, but not MSC.
685 * complete.c: Sometimes have pwd.h
686 * parens.c: WIN32 has similar restrictions to __GO32__.
687 * readline.c (__GO32__): Some of this moved into rldefs.h
688 * signals.c (__GO32__): Likewise.
689 * rldefs.h (MSDOS||WIN32) becomes MSDOS||MSC.
690 (WIN32&&!WIN32): New definitions.
694 * Makefile.in (maintainer-clean): New synonym for realclean.
698 * rltty.c (outchar): Provide prototype for outchar, to silence
699 type warnings in passing outchar to tputs on systems like Linux
700 that have full prototypes.
702 * signals.c (_rl_output_character_function): Provide prototype to
703 silence type warnings.
705 Sun Jan 15 14:10:37 1995 Steve Chamberlain <sac@splat>
707 * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
708 * complete.c, display.c, readline.c, rltty.c: Test MINIMAL
713 * configure.in: Change i[34]86 to i[345]86.
717 * configure.in (m88*-harris-cxux7*): Recognize.
718 * sysdep-cxux7.h: New file.
722 * rttty.c (control_meta_key_on): Remove superfluous testing of
727 * rltty.c (control_meta_key_on): Don't compile if __GO32__ is
729 (rltty_set_default_bindings): Likewise.
730 * display.c (insert_some_chars, delete_chars): row_start should be
732 * parens.c (rl_insert_close): No FD_SET if using __GO32__.
733 * readline.c (rl_gather_tyi): Strip off spurious high bits.
737 * history.c: Swap inclusion of rldefs.h and chardefs.h to avoid
738 CTRL macro redefinition.
742 * readline.c (readline_default_bindings): Don't compile if
744 (_rl_set_screen_size): Likewise.
745 * rltty.c (rltty_set_default_bindings): Likewise.
746 (control_meta_key): Likewise.
747 * display.c: If __GO32__ is defined, include <sys/pc.h>.
748 * parens.c: If __GO32__ is defined, undefine FD_SET.
749 * signals.c: Include SIGWINCH handling in the set of things which
750 is not done if HANDLE_SIGNALS is not set.
754 * config/mh-go32: New fragment.
755 * configure.in (host==go32): Use go32 fragment.
759 * chardefs.h, rldefs.h: Move decls of string funcs from chardefs.h
760 to rldefs.h so that they don't pollute apps that include
762 * history.c: include rldefs.h to get decls of string funcs.
766 * configure.in (rs6000-bull-bosx*): New configuration, RS/6000
771 * configure.in: Use mh-posix for sunos4.1*.
775 * rltty.c (set_tty_settings): Don't set readline_echoing_p.
776 (rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
780 * Makefile.in: Add TAGS target.
784 * isearch.c, search.c: Include sysdep.h.
788 * configure.in: For ISC, use mh-sysv, not mh-isc.
792 * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
793 into tilde.c and use it. Add system function declarations where
794 necessary. Check for __GO32__, not _GO32_ consistently.
795 * Makefile.in: Update dependencies.
796 * rltty.c: Include <sys/file.h> to match include file setup
797 in readline.c for rldefs.h. Otherwise we get inconsistent
798 TTY_DRIVER definitions in readline.c and rltty.c.
799 * bind.c, complete.c: Do not include <sys/types.h>, it is already
800 included via sysdep.h, which causes problems if <sys/types.h> has
801 no multiple inclusion protection.
802 * readline.c (_rl_set_screen_size): Reestablish test for
804 * rldefs.h: Define S_ISREG if necessary.
808 * Makefile.in: Add search.o rule for Sun make.
812 * rltty.c: #if out some code if __GO32__.
816 * readline.c (_rl_output_character_function), display.c:
817 Return int, not void, to conform with the expected arg of tputs.
818 * readline.c (init_terminal_io): tgetflag only takes 1 arg.
819 * readline.c (_rl_savestring): New function.
820 * chardefs.h: To avoid conflicts and/or warnings, define
821 savestring as a macro wrapper for _rl_savestring.
822 * display.c (extern term_xn): It's an int flag, not a string.
823 * charsdefs.h, rldefs.h: Remove HAVE_STRING_H-related junk.
827 * Makefile.in: Remove obsolete rules for history.info and
832 * chardefs.h: Only declare strrchr if it is not #define'd.
836 * rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.
840 * chardefs.h, tilde.c: Just declare strrchr rather than trying to
841 include a system header.
845 * Makefile.in (distclean, realclean): Expand local-distclean
846 inline after doing recursion. You can't recurse after removing
847 Makefile. Make them depend on local-clean.
848 * Makefile.in (local-distclean): Remove now superfluous target.
852 * readline.c (doing_an_undo): Delete second declaration, since it
853 confuses the alpha-osf1 native compiler.
857 * complete.c, bind.c: Include <sys/stat.h>.
858 * complete.c: Define X_OK if not defined by a system header.
860 * chardefs.h: Don't declare xmalloc.
862 * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
864 * Makefile.in (clean mostlyclean distclean realclean): Recurse
865 into subdirectories as well as doing this directory. Add clean-dvi
870 * readline.c, display.c: Patches to allow use of all 80
871 columns on most terminals (those with am and xn).
873 Merge in changes from bash-1.13. The most obvious one is
874 that the file readline.c has been split into multiple files.
875 * bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
876 rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
880 * readline.c (rl_getc): If GO32, trim high bit from getkey,
881 otherwise fancy PC keys cause grief.
885 * configure.in: Add doc to configdirs.
886 * Makefile.in (info dvi install-info clean-info): Recurse into doc.
890 * configure.in: Add * to end of all OS names.
894 * readline.c: Add stuff for HIUX to place where we detect termio
895 vs. sgtty (ugh, but I don't see a simple better way).
899 * readline.c (parser_if): Free tname when done with it (change
900 imported from from bash 1.12 readline).
904 * configure.in (m88k-*-sysvr4*): Comment out previous change.
908 * configure.in (*-*-riscos*): New entry; use mh-sysv.
912 * configure.in: Add comment.
914 Mon Jun 14 14:28:55 1993 Jim Kingdon (kingdon@eric)
916 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
920 * Makefile.in ({real,dist}clean): Remove sysdep.h.
924 * Makefile.in: Add mostlyclean, distclean, and realclean targets.
928 * config/mh-isc: New file.
929 * configure.in: Use it.
931 Sat Apr 17 00:40:12 1993 Jim Kingdon (kingdon at calvin)
933 * readline.c, history.c: Don't include sys/types.h; sysdep.h does.
935 * config/mh-sysv: Define TIOCGWINSZ_BROKEN.
936 readline.c: Check it.
938 Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
940 * Makefile.in: add installcheck & dvi targets
942 Fri Mar 12 18:36:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
944 * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
945 number of people want to call SunOS 4.1.2 "solaris1.0"
950 * sysdep-sysv4.h: New file for SVR4.
951 * configure.in (*-*-sysv4*): Use sysdep-sysv4.h.
953 * configure.in (*-*-ultrix2): Add triplet from Michael Rendell
958 * configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
959 * config/mh-sco4: New file, like mh-sco but without defining
964 * configure.in: Reformat to one-case-per-line.
967 Wed Nov 4 15:32:31 1992 Stu Grossman (grossman at cygnus.com)
969 * sysdep-norm.h: Remove some crud, install dire warning.
971 Thu Oct 22 01:08:13 1992 Stu Grossman (grossman at cygnus.com)
973 * configure.in: Make SCO work again...
977 * readline.c (init_terminal_io): if tgetent returns 0, the
978 terminal type is unknown.
980 Thu Oct 1 23:44:14 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
982 * configure.in: use cpu-vendor-os triple instead of nested cases
984 Wed Sep 30 12:58:57 1992 Stu Grossman (grossman at cygnus.com)
986 * readline.c (rl_complete_internal): Cast alloca to (char *) to
989 Fri Sep 25 12:45:05 1992 Stu Grossman (grossman at cygnus.com)
991 * readline.c (clear_to_eol, rl_generic_bind): Make static.
992 (rl_digit_loop): Add arg to call to rl_message().
993 * vi_mode.c (rl_vi_first_print): Add arg to call to
998 * Makefile.in: always create installation directories, use full
999 file name for install target.
1003 * readline.c (last_readline_init_file): Fix typo made by Steve
1004 Chamberlain/DJ Delorie. Proper control file name is ~/.inputrc,
1007 Thu Jun 25 16:15:27 1992 Stu Grossman (grossman at cygnus.com)
1009 * configure.in: Make bsd based systems use sysdep-obsd.h.
1013 * config/mh-posix: New file, for Posix-compliant systems.
1014 * configure.in: Use mh-posix for Linux (free Unix clone).
1018 * sysdep-norm.h (alloca): Protect against previous definition as
1019 a macro with arguments.
1021 Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com)
1023 * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
1025 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
1027 * config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
1029 Mon Jun 15 13:50:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
1031 * configure.in: use mh-sysv4 on solaris2
1035 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
1036 it is broken on ncr 3000's.
1037 * config/mh-ncr3000 (RANLIB): Use RANLIB=true.
1039 Mon Jun 15 01:35:55 1992 John Gilmore (gnu at cygnus.com)
1041 * readline.c: Make new SIGNALS_* macros to parameterize the
1042 ugly changes in signal blocking. Use them throughout,
1043 reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
1044 significantly. Make all such places use POSIX if available,
1045 to avoid losing with poor `sigsetmask' emulation from libiberty.
1047 Sun Jun 14 15:19:51 1992 Stu Grossman (grossman at cygnus.com)
1049 * readline.c (insert_some_chars): Return void.
1051 Thu Jun 11 01:27:45 1992 John Gilmore (gnu at cygnus.com)
1053 * readline.c: #undef PC, which Solaris2 defines in sys/types.h,
1054 clobbering the termcap global variable PC.
1058 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
1063 * readline.h (rl_completer_quote_characters): Add declaration.
1064 * readline.c (rl_completer_quote_characters): Add global var.
1065 * readline.c (strpbrk): Add prototype and function.
1066 * readline.c (rl_complete_internal): Add code to handle
1067 expansion of quoted strings.
1069 Mon May 11 12:39:30 1992 John Gilmore (gnu at cygnus.com)
1071 * readline.c: Can't initialize FILE *'s with stdin and stdout,
1072 because they might not be constant. Patch from Tom Quinn,
1075 Tue Apr 28 21:52:34 1992 John Gilmore (gnu at cygnus.com)
1077 * readline.h: Declare rl_event_hook (which already existed).
1082 * configure.in: remove subdirs declaration. The obsolete semantic
1083 for subdirs has been usurped by per's new meaning.
1087 * Makefile.in: rework CFLAGS so that they can be set on the
1088 command line to make. Remove MINUS_G. Default CFLAGS to -g.
1092 * configure.in: Recognize new ncr3000 config.
1093 * config/mh-ncr3000: New NCR 3000 config file.
1095 Wed Mar 25 10:46:30 1992 John Gilmore (gnu at cygnus.com)
1097 * history.c (stifle_history): Negative arg treated as zero.
1101 * config/mh-sysv: INSTALL_PROG -> INSTALL.
1103 Mon Feb 10 01:41:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
1105 * history.c (history_do_write) Build a buffer of all of the lines
1106 to write and write them in one fell swoop (lower overhead than
1107 calling write () for each line). Suggested by Peter Ho.
1109 * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
1113 * Makefile.in: remove FIXME's on info and install-info targets.
1117 * Makefile.in: added check target.
1121 * Makefile.in, configure.in: removed traces of namesubdir,
1122 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
1123 copyrights to '92, changed some from Cygnus to FSF.
1125 Fri Feb 21 14:37:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
1127 * readline.c, examples/fileman.c: patches from DJ to support DOS
1129 Thu Feb 20 23:23:16 1992 Stu Grossman (grossman at cygnus.com)
1131 * readline.c (rl_read_init_file): Make sure that null filename is
1132 not passed to open() or else we end up opening the directory, and
1133 read a bunch of garbage into keymap[].
1135 Mon Feb 17 17:15:09 1992 Fred Fish (fnf at cygnus.com)
1137 * readline.c (readline_default_bindings): Only make use of VLNEXT
1138 when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
1139 <termio.h> includes <termios.h>, so VLNEXT is always defined.
1141 * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
1142 systems so that <termios.h> gets used, instead of <termio.h>.
1144 Fri Dec 20 12:04:31 1991 Fred Fish (fnf at cygnus.com)
1146 * configure.in: Change svr4 references to sysv4.
1148 Tue Dec 10 04:07:20 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1150 * Makefile.in: infodir belongs in datadir.
1152 Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1154 * Makefile.in: remove spaces following hyphens, bsd make can't
1155 cope. added clean-info. added standards.text support. Don't
1156 know how to make info anymore.
1158 * configure.in: commontargets is no longer a recognized hook, so
1159 remove it. new subdir called doc.
1161 Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com)
1163 * Makefile.in: idestdir and ddestdir go away. Added copyrights
1164 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
1165 and mandir now keyed off datadir by default.
1167 Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
1169 * sysdep-obsd.h: Rename from sysdep-newsos.h.
1170 * configure.in: Use sysdep-obsd for Mach as well as NEWs.
1172 * sysdep-norm.h, sysdep-aix.h: Add <sys/types.h>, which POSIX
1173 requires to make <dirent.h> work. Improve Sun alloca decl.
1175 Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com)
1177 * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
1178 Clean up makefile a bit in general.
1180 Thu Nov 21 14:40:29 1991 Stu Grossman (grossman at cygnus.com)
1182 * configure.in, config/mh-svr4: Make SVR4 work.
1184 * readline.c: Move config stuff to sysdep.h, use typedef dirent
1185 consistently, remove refs to d_namlen (& D_NAMLEN) to improve
1186 portability. Also, update copyright notice.
1187 readline.h: remove config stuff that I added erroneously in the
1190 * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
1191 vi_mode.c: move config stuff to sysdep.h, update copyright notices.
1193 Tue Nov 19 15:02:13 1991 Stu Grossman (grossman at cygnus.com)
1195 * history.c: #include "sysdep.h".
1197 Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com)
1199 * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to
1200 USG to match current usage.
1202 * readline.c: Add USGr4 to list of defined things to check for
1203 to use <dirent.h> style directory access.
1205 * config/hm-svr4: New file for System V Release 4 (USGr4).
1207 Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com)
1209 * readline.c (filename_completion_function): use struct dirent
1210 instead of struct direct.
1212 Fri Nov 1 07:02:13 1991 Brian Fox (bfox at gnuwest.fsf.org)
1214 * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
1217 Mon Oct 28 11:34:52 1991 Brian Fox (bfox at gnuwest.fsf.org)
1219 * readline.c; Use Posix directory routines and macros.
1221 * funmap.c; Add entry for call-last-kbd-macro.
1223 * readline.c (rl_prep_term); Use system EOF character on POSIX
1226 Thu Oct 3 16:19:53 1991 Brian Fox (bfox at gnuwest.fsf.org)
1228 * readline.c; Make a distinction between having a TERMIOS tty
1229 driver, and having POSIX signal handling. You might one without
1230 the other. New defines used HAVE_POSIX_SIGNALS, and
1233 Tue Jul 30 22:37:26 1991 Brian Fox (bfox at gnuwest.fsf.org)
1235 * readline.c: rl_getc () If a call to read () returns without an
1236 error, but with zero characters, the file is empty, so return EOF.
1238 Thu Jul 11 20:58:38 1991 Brian Fox (bfox at gnuwest.fsf.org)
1240 * readline.c: (rl_get_next_history, rl_get_previous_history)
1241 Reallocate the buffer space if the line being moved to is longer
1242 the the current space allocated. Amazing that no one has found
1245 Sun Jul 7 02:37:05 1991 Brian Fox (bfox at gnuwest.fsf.org)
1247 * readline.c:(rl_parse_and_bind) Allow leading whitespace.
1248 Make sure TERMIO and TERMIOS systems treat CR and NL
1251 Tue Jun 25 04:09:27 1991 Brian Fox (bfox at gnuwest.fsf.org)
1253 * readline.c: Rework parsing conditionals to pay attention to the
1254 prior states of the conditional stack. This makes $if statements
1257 Mon Jun 24 20:45:59 1991 Brian Fox (bfox at gnuwest.fsf.org)
1259 * readline.c: support for displaying key binding information
1260 includes the functions rl_list_funmap_names (),
1261 invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
1262 rl_dump_functions (), and rl_function_dumper ().
1264 funmap.c: support for same includes rl_funmap_names ().
1266 readline.c, funmap.c: no longer define STATIC_MALLOC. However,
1267 update both version of xrealloc () to handle a null pointer.
1269 Thu Apr 25 12:03:49 1991 Brian Fox (bfox at gnuwest.fsf.org)
1271 * vi_mode.c (rl_vi_fword, fWord, etc. All functions use
1272 the macro `isident()'. Fixed movement bug which prevents
1273 continious movement through the text.
1275 Fri Jul 27 16:47:01 1990 Brian Fox (bfox at gnuwest.fsf.org)
1277 * readline.c (parser_if) Allow "$if term=foo" construct.
1279 Wed May 23 16:10:33 1990 Brian Fox (bfox at gnuwest.fsf.org)
1281 * readline.c (rl_dispatch) Correctly remember the last command
1282 executed. Fixed typo in username_completion_function ().
1284 Mon Apr 9 19:55:48 1990 Brian Fox (bfox at gnuwest.fsf.org)
1286 * readline.c: username_completion_function (); For text passed in
1287 with a leading `~', remember that this could be a filename (after
1290 Thu Apr 5 13:44:24 1990 Brian Fox (bfox at gnuwest.fsf.org)
1292 * readline.c: rl_search_history (): Correctly handle case of an
1293 unfound search string, but a graceful exit (as with ESC).
1295 * readline.c: rl_restart_output (); The Apollo passes the address
1296 of the file descriptor to TIOCSTART, not the descriptor itself.
1298 Tue Mar 20 05:38:55 1990 Brian Fox (bfox at gnuwest.fsf.org)
1300 * readline.c: rl_complete (); second call in a row causes possible
1301 completions to be listed.
1303 * readline.c: rl_redisplay (), added prompt_this_line variable
1304 which is the first character character following \n in prompt.
1306 Sun Mar 11 04:32:03 1990 Brian Fox (bfox at gnuwest.fsf.org)
1308 * Signals are now supposedly handled inside of SYSV compilation.
1310 Wed Jan 17 19:24:09 1990 Brian Fox (bfox at sbphy.ucsb.edu)
1312 * history.c: history_expand (); fixed overwriting memory error,
1313 added needed argument to call to get_history_event ().
1315 Thu Jan 11 10:54:04 1990 Brian Fox (bfox at sbphy.ucsb.edu)
1317 * readline.c: added mark_modified_lines to control the
1318 display of an asterisk on modified history lines. Also
1319 added a user variable called mark-modified-lines to the
1322 Thu Jan 4 10:38:05 1990 Brian Fox (bfox at sbphy.ucsb.edu)
1324 * readline.c: start_insert (). Only use IC if we don't have an im
1327 Fri Sep 8 09:00:45 1989 Brian Fox (bfox at aurel)
1329 * readline.c: rl_prep_terminal (). Only turn on 8th bit
1330 as meta-bit iff the terminal is not using parity.
1332 Sun Sep 3 08:57:40 1989 Brian Fox (bfox at aurel)
1334 * readline.c: start_insert (). Uses multiple
1335 insertion call in cases where that makes sense.
1337 rl_insert (). Read type-ahead buffer for additional
1338 keys that are bound to rl_insert, and insert them
1339 all at once. Make insertion of single keys given
1340 with an argument much more efficient.
1342 Tue Aug 8 18:13:57 1989 Brian Fox (bfox at aurel)
1344 * readline.c: Changed handling of EOF. readline () returns
1345 (char *)EOF or consed string. The EOF character is read from the
1346 tty, or if the tty doesn't have one, defaults to C-d.
1348 * readline.c: Added support for event driven programs.
1349 rl_event_hook is the address of a function you want called
1350 while Readline is waiting for input.
1352 * readline.c: Cleanup time. Functions without type declarations
1353 do not use return with a value.
1355 * history.c: history_expand () has new variable which is the
1356 characters to ignore immediately following history_expansion_char.
1358 Sun Jul 16 08:14:00 1989 Brian Fox (bfox at aurel)
1360 * rl_prep_terminal ()
1361 BSD version turns off C-s, C-q, C-y, C-v.
1363 * readline.c -- rl_prep_terminal ()
1364 SYSV version hacks readline_echoing_p.
1365 BSD version turns on passing of the 8th bit for the duration
1366 of reading the line.
1368 Tue Jul 11 06:25:01 1989 Brian Fox (bfox at aurel)
1370 * readline.c: new variable rl_tilde_expander.
1371 If non-null, this contains the address of a function to call if
1372 the standard meaning for expanding a tilde fails. The function is
1373 called with the text sans tilde (as in "foo"), and returns a
1374 malloc()'ed string which is the expansion, or a NULL pointer if
1375 there is no expansion.
1377 * readline.h - new file chardefs.h
1378 Separates things that only readline.c needs from the standard
1379 header file publishing interesting things about readline.
1382 readline_default_bindings () now looks at terminal chararacters
1383 and binds those as well.
1385 Wed Jun 28 20:20:51 1989 Brian Fox (bfox at aurel)
1387 * Made readline and history into independent libraries.