3 * readline.c (readline_default_bindings): Don't compile if
5 (_rl_set_screen_size): Likewise.
6 * rltty.c (rltty_set_default_bindings): Likewise.
7 (control_meta_key): Likewise.
8 * display.c: If __GO32__ is defined, include <sys/pc.h>.
9 * parens.c: If __GO32__ is defined, undefine FD_SET.
10 * signals.c: Include SIGWINCH handling in the set of things which
11 is not done if HANDLE_SIGNALS is not set.
15 * config/mh-go32: New fragment.
16 * configure.in (host==go32): Use go32 fragment.
20 * chardefs.h, rldefs.h: Move decls of string funcs from chardefs.h
21 to rldefs.h so that they don't pollute apps that include
23 * history.c: include rldefs.h to get decls of string funcs.
27 * configure.in (rs6000-bull-bosx*): New configuration, RS/6000
32 * configure.in: Use mh-posix for sunos4.1*.
36 * rltty.c (set_tty_settings): Don't set readline_echoing_p.
37 (rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
41 * Makefile.in: Add TAGS target.
45 * isearch.c, search.c: Include sysdep.h.
49 * configure.in: For ISC, use mh-sysv, not mh-isc.
53 * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
54 into tilde.c and use it. Add system function declarations where
55 necessary. Check for __GO32__, not _GO32_ consistently.
56 * Makefile.in: Update dependencies.
57 * rltty.c: Include <sys/file.h> to match include file setup
58 in readline.c for rldefs.h. Otherwise we get inconsistent
59 TTY_DRIVER definitions in readline.c and rltty.c.
60 * bind.c, complete.c: Do not include <sys/types.h>, it is already
61 included via sysdep.h, which causes problems if <sys/types.h> has
62 no multiple inclusion protection.
63 * readline.c (_rl_set_screen_size): Reestablish test for
65 * rldefs.h: Define S_ISREG if necessary.
69 * Makefile.in: Add search.o rule for Sun make.
73 * rltty.c: #if out some code if __GO32__.
77 * readline.c (_rl_output_character_function), display.c:
78 Return int, not void, to conform with the expected arg of tputs.
79 * readline.c (init_terminal_io): tgetflag only takes 1 arg.
80 * readline.c (_rl_savestring): New function.
81 * chardefs.h: To avoid conflicts and/or warnings, define
82 savestring as a macro wrapper for _rl_savestring.
83 * display.c (extern term_xn): It's an int flag, not a string.
84 * charsdefs.h, rldefs.h: Remove HAVE_STRING_H-related junk.
88 * Makefile.in: Remove obsolete rules for history.info and
93 * chardefs.h: Only declare strrchr if it is not #define'd.
97 * rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.
101 * chardefs.h, tilde.c: Just declare strrchr rather than trying to
102 include a system header.
106 * Makefile.in (distclean, realclean): Expand local-distclean
107 inline after doing recursion. You can't recurse after removing
108 Makefile. Make them depend on local-clean.
109 * Makefile.in (local-distclean): Remove now superfluous target.
113 * readline.c (doing_an_undo): Delete second declaration, since it
114 confuses the alpha-osf1 native compiler.
118 * complete.c, bind.c: Include <sys/stat.h>.
119 * complete.c: Define X_OK if not defined by a system header.
121 * chardefs.h: Don't declare xmalloc.
123 * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
125 * Makefile.in (clean mostlyclean distclean realclean): Recurse
126 into subdirectories as well as doing this directory. Add clean-dvi
131 * readline.c, display.c: Patches to allow use of all 80
132 columns on most terminals (those with am and xn).
134 Merge in changes from bash-1.13. The most obvious one is
135 that the file readline.c has been split into multiple files.
136 * bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
137 rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
141 * readline.c (rl_getc): If GO32, trim high bit from getkey,
142 otherwise fancy PC keys cause grief.
146 * configure.in: Add doc to configdirs.
147 * Makefile.in (info dvi install-info clean-info): Recurse into doc.
151 * configure.in: Add * to end of all OS names.
155 * readline.c: Add stuff for HIUX to place where we detect termio
156 vs. sgtty (ugh, but I don't see a simple better way).
160 * readline.c (parser_if): Free tname when done with it (change
161 imported from from bash 1.12 readline).
165 * configure.in (m88k-*-sysvr4*): Comment out previous change.
169 * configure.in (*-*-riscos*): New entry; use mh-sysv.
173 * configure.in: Add comment.
175 Mon Jun 14 14:28:55 1993 Jim Kingdon (kingdon@eric)
177 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
181 * Makefile.in ({real,dist}clean): Remove sysdep.h.
185 * Makefile.in: Add mostlyclean, distclean, and realclean targets.
189 * config/mh-isc: New file.
190 * configure.in: Use it.
192 Sat Apr 17 00:40:12 1993 Jim Kingdon (kingdon at calvin)
194 * readline.c, history.c: Don't include sys/types.h; sysdep.h does.
196 * config/mh-sysv: Define TIOCGWINSZ_BROKEN.
197 readline.c: Check it.
199 Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
201 * Makefile.in: add installcheck & dvi targets
203 Fri Mar 12 18:36:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
205 * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
206 number of people want to call SunOS 4.1.2 "solaris1.0"
211 * sysdep-sysv4.h: New file for SVR4.
212 * configure.in (*-*-sysv4*): Use sysdep-sysv4.h.
214 * configure.in (*-*-ultrix2): Add triplet from Michael Rendell
219 * configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
220 * config/mh-sco4: New file, like mh-sco but without defining
225 * configure.in: Reformat to one-case-per-line.
228 Wed Nov 4 15:32:31 1992 Stu Grossman (grossman at cygnus.com)
230 * sysdep-norm.h: Remove some crud, install dire warning.
232 Thu Oct 22 01:08:13 1992 Stu Grossman (grossman at cygnus.com)
234 * configure.in: Make SCO work again...
238 * readline.c (init_terminal_io): if tgetent returns 0, the
239 terminal type is unknown.
241 Thu Oct 1 23:44:14 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
243 * configure.in: use cpu-vendor-os triple instead of nested cases
245 Wed Sep 30 12:58:57 1992 Stu Grossman (grossman at cygnus.com)
247 * readline.c (rl_complete_internal): Cast alloca to (char *) to
250 Fri Sep 25 12:45:05 1992 Stu Grossman (grossman at cygnus.com)
252 * readline.c (clear_to_eol, rl_generic_bind): Make static.
253 (rl_digit_loop): Add arg to call to rl_message().
254 * vi_mode.c (rl_vi_first_print): Add arg to call to
259 * Makefile.in: always create installation directories, use full
260 file name for install target.
264 * readline.c (last_readline_init_file): Fix typo made by Steve
265 Chamberlain/DJ Delorie. Proper control file name is ~/.inputrc,
268 Thu Jun 25 16:15:27 1992 Stu Grossman (grossman at cygnus.com)
270 * configure.in: Make bsd based systems use sysdep-obsd.h.
274 * config/mh-posix: New file, for Posix-compliant systems.
275 * configure.in: Use mh-posix for Linux (free Unix clone).
279 * sysdep-norm.h (alloca): Protect against previous definition as
280 a macro with arguments.
282 Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com)
284 * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
286 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
288 * config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
290 Mon Jun 15 13:50:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
292 * configure.in: use mh-sysv4 on solaris2
296 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
297 it is broken on ncr 3000's.
298 * config/mh-ncr3000 (RANLIB): Use RANLIB=true.
300 Mon Jun 15 01:35:55 1992 John Gilmore (gnu at cygnus.com)
302 * readline.c: Make new SIGNALS_* macros to parameterize the
303 ugly changes in signal blocking. Use them throughout,
304 reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
305 significantly. Make all such places use POSIX if available,
306 to avoid losing with poor `sigsetmask' emulation from libiberty.
308 Sun Jun 14 15:19:51 1992 Stu Grossman (grossman at cygnus.com)
310 * readline.c (insert_some_chars): Return void.
312 Thu Jun 11 01:27:45 1992 John Gilmore (gnu at cygnus.com)
314 * readline.c: #undef PC, which Solaris2 defines in sys/types.h,
315 clobbering the termcap global variable PC.
319 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
324 * readline.h (rl_completer_quote_characters): Add declaration.
325 * readline.c (rl_completer_quote_characters): Add global var.
326 * readline.c (strpbrk): Add prototype and function.
327 * readline.c (rl_complete_internal): Add code to handle
328 expansion of quoted strings.
330 Mon May 11 12:39:30 1992 John Gilmore (gnu at cygnus.com)
332 * readline.c: Can't initialize FILE *'s with stdin and stdout,
333 because they might not be constant. Patch from Tom Quinn,
336 Tue Apr 28 21:52:34 1992 John Gilmore (gnu at cygnus.com)
338 * readline.h: Declare rl_event_hook (which already existed).
343 * configure.in: remove subdirs declaration. The obsolete semantic
344 for subdirs has been usurped by per's new meaning.
348 * Makefile.in: rework CFLAGS so that they can be set on the
349 command line to make. Remove MINUS_G. Default CFLAGS to -g.
353 * configure.in: Recognize new ncr3000 config.
354 * config/mh-ncr3000: New NCR 3000 config file.
356 Wed Mar 25 10:46:30 1992 John Gilmore (gnu at cygnus.com)
358 * history.c (stifle_history): Negative arg treated as zero.
362 * config/mh-sysv: INSTALL_PROG -> INSTALL.
364 Mon Feb 10 01:41:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
366 * history.c (history_do_write) Build a buffer of all of the lines
367 to write and write them in one fell swoop (lower overhead than
368 calling write () for each line). Suggested by Peter Ho.
370 * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
374 * Makefile.in: remove FIXME's on info and install-info targets.
378 * Makefile.in: added check target.
382 * Makefile.in, configure.in: removed traces of namesubdir,
383 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
384 copyrights to '92, changed some from Cygnus to FSF.
386 Fri Feb 21 14:37:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
388 * readline.c, examples/fileman.c: patches from DJ to support DOS
390 Thu Feb 20 23:23:16 1992 Stu Grossman (grossman at cygnus.com)
392 * readline.c (rl_read_init_file): Make sure that null filename is
393 not passed to open() or else we end up opening the directory, and
394 read a bunch of garbage into keymap[].
396 Mon Feb 17 17:15:09 1992 Fred Fish (fnf at cygnus.com)
398 * readline.c (readline_default_bindings): Only make use of VLNEXT
399 when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
400 <termio.h> includes <termios.h>, so VLNEXT is always defined.
402 * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
403 systems so that <termios.h> gets used, instead of <termio.h>.
405 Fri Dec 20 12:04:31 1991 Fred Fish (fnf at cygnus.com)
407 * configure.in: Change svr4 references to sysv4.
409 Tue Dec 10 04:07:20 1991 K. Richard Pixley (rich at rtl.cygnus.com)
411 * Makefile.in: infodir belongs in datadir.
413 Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
415 * Makefile.in: remove spaces following hyphens, bsd make can't
416 cope. added clean-info. added standards.text support. Don't
417 know how to make info anymore.
419 * configure.in: commontargets is no longer a recognized hook, so
420 remove it. new subdir called doc.
422 Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com)
424 * Makefile.in: idestdir and ddestdir go away. Added copyrights
425 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
426 and mandir now keyed off datadir by default.
428 Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
430 * sysdep-obsd.h: Rename from sysdep-newsos.h.
431 * configure.in: Use sysdep-obsd for Mach as well as NEWs.
433 * sysdep-norm.h, sysdep-aix.h: Add <sys/types.h>, which POSIX
434 requires to make <dirent.h> work. Improve Sun alloca decl.
436 Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com)
438 * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
439 Clean up makefile a bit in general.
441 Thu Nov 21 14:40:29 1991 Stu Grossman (grossman at cygnus.com)
443 * configure.in, config/mh-svr4: Make SVR4 work.
445 * readline.c: Move config stuff to sysdep.h, use typedef dirent
446 consistently, remove refs to d_namlen (& D_NAMLEN) to improve
447 portability. Also, update copyright notice.
448 readline.h: remove config stuff that I added erroneously in the
451 * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
452 vi_mode.c: move config stuff to sysdep.h, update copyright notices.
454 Tue Nov 19 15:02:13 1991 Stu Grossman (grossman at cygnus.com)
456 * history.c: #include "sysdep.h".
458 Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com)
460 * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to
461 USG to match current usage.
463 * readline.c: Add USGr4 to list of defined things to check for
464 to use <dirent.h> style directory access.
466 * config/hm-svr4: New file for System V Release 4 (USGr4).
468 Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com)
470 * readline.c (filename_completion_function): use struct dirent
471 instead of struct direct.
473 Fri Nov 1 07:02:13 1991 Brian Fox (bfox at gnuwest.fsf.org)
475 * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
478 Mon Oct 28 11:34:52 1991 Brian Fox (bfox at gnuwest.fsf.org)
480 * readline.c; Use Posix directory routines and macros.
482 * funmap.c; Add entry for call-last-kbd-macro.
484 * readline.c (rl_prep_term); Use system EOF character on POSIX
487 Thu Oct 3 16:19:53 1991 Brian Fox (bfox at gnuwest.fsf.org)
489 * readline.c; Make a distinction between having a TERMIOS tty
490 driver, and having POSIX signal handling. You might one without
491 the other. New defines used HAVE_POSIX_SIGNALS, and
494 Tue Jul 30 22:37:26 1991 Brian Fox (bfox at gnuwest.fsf.org)
496 * readline.c: rl_getc () If a call to read () returns without an
497 error, but with zero characters, the file is empty, so return EOF.
499 Thu Jul 11 20:58:38 1991 Brian Fox (bfox at gnuwest.fsf.org)
501 * readline.c: (rl_get_next_history, rl_get_previous_history)
502 Reallocate the buffer space if the line being moved to is longer
503 the the current space allocated. Amazing that no one has found
506 Sun Jul 7 02:37:05 1991 Brian Fox (bfox at gnuwest.fsf.org)
508 * readline.c:(rl_parse_and_bind) Allow leading whitespace.
509 Make sure TERMIO and TERMIOS systems treat CR and NL
512 Tue Jun 25 04:09:27 1991 Brian Fox (bfox at gnuwest.fsf.org)
514 * readline.c: Rework parsing conditionals to pay attention to the
515 prior states of the conditional stack. This makes $if statements
518 Mon Jun 24 20:45:59 1991 Brian Fox (bfox at gnuwest.fsf.org)
520 * readline.c: support for displaying key binding information
521 includes the functions rl_list_funmap_names (),
522 invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
523 rl_dump_functions (), and rl_function_dumper ().
525 funmap.c: support for same includes rl_funmap_names ().
527 readline.c, funmap.c: no longer define STATIC_MALLOC. However,
528 update both version of xrealloc () to handle a null pointer.
530 Thu Apr 25 12:03:49 1991 Brian Fox (bfox at gnuwest.fsf.org)
532 * vi_mode.c (rl_vi_fword, fWord, etc. All functions use
533 the macro `isident()'. Fixed movement bug which prevents
534 continious movement through the text.
536 Fri Jul 27 16:47:01 1990 Brian Fox (bfox at gnuwest.fsf.org)
538 * readline.c (parser_if) Allow "$if term=foo" construct.
540 Wed May 23 16:10:33 1990 Brian Fox (bfox at gnuwest.fsf.org)
542 * readline.c (rl_dispatch) Correctly remember the last command
543 executed. Fixed typo in username_completion_function ().
545 Mon Apr 9 19:55:48 1990 Brian Fox (bfox at gnuwest.fsf.org)
547 * readline.c: username_completion_function (); For text passed in
548 with a leading `~', remember that this could be a filename (after
551 Thu Apr 5 13:44:24 1990 Brian Fox (bfox at gnuwest.fsf.org)
553 * readline.c: rl_search_history (): Correctly handle case of an
554 unfound search string, but a graceful exit (as with ESC).
556 * readline.c: rl_restart_output (); The Apollo passes the address
557 of the file descriptor to TIOCSTART, not the descriptor itself.
559 Tue Mar 20 05:38:55 1990 Brian Fox (bfox at gnuwest.fsf.org)
561 * readline.c: rl_complete (); second call in a row causes possible
562 completions to be listed.
564 * readline.c: rl_redisplay (), added prompt_this_line variable
565 which is the first character character following \n in prompt.
567 Sun Mar 11 04:32:03 1990 Brian Fox (bfox at gnuwest.fsf.org)
569 * Signals are now supposedly handled inside of SYSV compilation.
571 Wed Jan 17 19:24:09 1990 Brian Fox (bfox at sbphy.ucsb.edu)
573 * history.c: history_expand (); fixed overwriting memory error,
574 added needed argument to call to get_history_event ().
576 Thu Jan 11 10:54:04 1990 Brian Fox (bfox at sbphy.ucsb.edu)
578 * readline.c: added mark_modified_lines to control the
579 display of an asterisk on modified history lines. Also
580 added a user variable called mark-modified-lines to the
583 Thu Jan 4 10:38:05 1990 Brian Fox (bfox at sbphy.ucsb.edu)
585 * readline.c: start_insert (). Only use IC if we don't have an im
588 Fri Sep 8 09:00:45 1989 Brian Fox (bfox at aurel)
590 * readline.c: rl_prep_terminal (). Only turn on 8th bit
591 as meta-bit iff the terminal is not using parity.
593 Sun Sep 3 08:57:40 1989 Brian Fox (bfox at aurel)
595 * readline.c: start_insert (). Uses multiple
596 insertion call in cases where that makes sense.
598 rl_insert (). Read type-ahead buffer for additional
599 keys that are bound to rl_insert, and insert them
600 all at once. Make insertion of single keys given
601 with an argument much more efficient.
603 Tue Aug 8 18:13:57 1989 Brian Fox (bfox at aurel)
605 * readline.c: Changed handling of EOF. readline () returns
606 (char *)EOF or consed string. The EOF character is read from the
607 tty, or if the tty doesn't have one, defaults to C-d.
609 * readline.c: Added support for event driven programs.
610 rl_event_hook is the address of a function you want called
611 while Readline is waiting for input.
613 * readline.c: Cleanup time. Functions without type declarations
614 do not use return with a value.
616 * history.c: history_expand () has new variable which is the
617 characters to ignore immediately following history_expansion_char.
619 Sun Jul 16 08:14:00 1989 Brian Fox (bfox at aurel)
621 * rl_prep_terminal ()
622 BSD version turns off C-s, C-q, C-y, C-v.
624 * readline.c -- rl_prep_terminal ()
625 SYSV version hacks readline_echoing_p.
626 BSD version turns on passing of the 8th bit for the duration
629 Tue Jul 11 06:25:01 1989 Brian Fox (bfox at aurel)
631 * readline.c: new variable rl_tilde_expander.
632 If non-null, this contains the address of a function to call if
633 the standard meaning for expanding a tilde fails. The function is
634 called with the text sans tilde (as in "foo"), and returns a
635 malloc()'ed string which is the expansion, or a NULL pointer if
636 there is no expansion.
638 * readline.h - new file chardefs.h
639 Separates things that only readline.c needs from the standard
640 header file publishing interesting things about readline.
643 readline_default_bindings () now looks at terminal chararacters
644 and binds those as well.
646 Wed Jun 28 20:20:51 1989 Brian Fox (bfox at aurel)
648 * Made readline and history into independent libraries.