1 Tue Feb 15 14:07:08 1994 Per Bothner (bothner@kalessin.cygnus.com)
3 * readline.c (_rl_output_character_function), display.c:
4 Return int, not void, to conform with the expected arg of tputs.
5 * readline.c (init_terminal_io): tgetflag only takes 1 arg.
6 * readline.c (_rl_savestring): New function.
7 * chardefs.h: To avoid conflicts and/or warnings, define
8 savestring as a macro wrapper for _rl_savestring.
9 * display.c (extern term_xn): It's an int flag, not a string.
10 * charsdefs.h, rldefs.h: Remove HAVE_STRING_H-related junk.
12 Sat Feb 5 08:32:30 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
14 * Makefile.in: Remove obsolete rules for history.info and
17 Thu Jan 27 17:04:01 1994 Jim Kingdon (kingdon@deneb.cygnus.com)
19 * chardefs.h: Only declare strrchr if it is not #define'd.
21 Tue Jan 25 11:30:06 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
23 * rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.
25 Fri Jan 21 17:31:26 1994 Jim Kingdon (kingdon@lisa.cygnus.com)
27 * chardefs.h, tilde.c: Just declare strrchr rather than trying to
28 include a system header.
30 Fri Jan 21 14:40:43 1994 Fred Fish (fnf@cygnus.com)
32 * Makefile.in (distclean, realclean): Expand local-distclean
33 inline after doing recursion. You can't recurse after removing
34 Makefile. Make them depend on local-clean.
35 * Makefile.in (local-distclean): Remove now superfluous target.
37 Mon Jan 17 12:42:07 1994 Ken Raeburn (raeburn@cujo.cygnus.com)
39 * readline.c (doing_an_undo): Delete second declaration, since it
40 confuses the alpha-osf1 native compiler.
42 Sun Jan 16 12:33:11 1994 Jim Kingdon (kingdon@lioth.cygnus.com)
44 * complete.c, bind.c: Include <sys/stat.h>.
45 * complete.c: Define X_OK if not defined by a system header.
47 * chardefs.h: Don't declare xmalloc.
49 * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
51 * Makefile.in (clean mostlyclean distclean realclean): Recurse
52 into subdirectories as well as doing this directory. Add clean-dvi
55 Sat Jan 15 19:36:12 1994 Per Bothner (bothner@kalessin.cygnus.com)
57 * readline.c, display.c: Patches to allow use of all 80
58 columns on most terminals (those with am and xn).
60 Merge in changes from bash-1.13. The most obvious one is
61 that the file readline.c has been split into multiple files.
62 * bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
63 rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
65 Sat Dec 11 16:29:17 1993 Steve Chamberlain (sac@thepub.cygnus.com)
67 * readline.c (rl_getc): If GO32, trim high bit from getkey,
68 otherwise fancy PC keys cause grief.
70 Fri Nov 5 11:49:47 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
72 * configure.in: Add doc to configdirs.
73 * Makefile.in (info dvi install-info clean-info): Recurse into doc.
75 Fri Oct 22 07:55:08 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
77 * configure.in: Add * to end of all OS names.
79 Tue Oct 5 12:33:51 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
81 * readline.c: Add stuff for HIUX to place where we detect termio
82 vs. sgtty (ugh, but I don't see a simple better way).
84 Wed Sep 29 11:02:58 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
86 * readline.c (parser_if): Free tname when done with it (change
87 imported from from bash 1.12 readline).
89 Tue Sep 7 17:15:37 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
91 * configure.in (m88k-*-sysvr4*): Comment out previous change.
93 Fri Jul 2 11:05:34 1993 Ian Lance Taylor (ian@cygnus.com)
95 * configure.in (*-*-riscos*): New entry; use mh-sysv.
97 Wed Jun 23 13:00:12 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
99 * configure.in: Add comment.
101 Mon Jun 14 14:28:55 1993 Jim Kingdon (kingdon@eric)
103 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
105 Sun Jun 13 13:04:09 1993 Jim Kingdon (kingdon@cygnus.com)
107 * Makefile.in ({real,dist}clean): Remove sysdep.h.
109 Thu Jun 10 11:22:41 1993 Jim Kingdon (kingdon@cygnus.com)
111 * Makefile.in: Add mostlyclean, distclean, and realclean targets.
113 Fri May 21 17:09:28 1993 Jim Kingdon (kingdon@lioth.cygnus.com)
115 * config/mh-isc: New file.
116 * configure.in: Use it.
118 Sat Apr 17 00:40:12 1993 Jim Kingdon (kingdon at calvin)
120 * readline.c, history.c: Don't include sys/types.h; sysdep.h does.
122 * config/mh-sysv: Define TIOCGWINSZ_BROKEN.
123 readline.c: Check it.
125 Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
127 * Makefile.in: add installcheck & dvi targets
129 Fri Mar 12 18:36:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
131 * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
132 number of people want to call SunOS 4.1.2 "solaris1.0"
135 Tue Mar 2 21:25:36 1993 Fred Fish (fnf@cygnus.com)
137 * sysdep-sysv4.h: New file for SVR4.
138 * configure.in (*-*-sysv4*): Use sysdep-sysv4.h.
140 * configure.in (*-*-ultrix2): Add triplet from Michael Rendell
141 (michael@mercury.cs.mun.ca)
143 Tue Dec 15 12:38:16 1992 Ian Lance Taylor (ian@cygnus.com)
145 * configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
146 * config/mh-sco4: New file, like mh-sco but without defining
149 Wed Nov 11 21:20:14 1992 John Gilmore (gnu@cygnus.com)
151 * configure.in: Reformat to one-case-per-line.
152 Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.
154 Wed Nov 4 15:32:31 1992 Stu Grossman (grossman at cygnus.com)
156 * sysdep-norm.h: Remove some crud, install dire warning.
158 Thu Oct 22 01:08:13 1992 Stu Grossman (grossman at cygnus.com)
160 * configure.in: Make SCO work again...
162 Mon Oct 12 15:04:07 1992 Ian Lance Taylor (ian@cygnus.com)
164 * readline.c (init_terminal_io): if tgetent returns 0, the
165 terminal type is unknown.
167 Thu Oct 1 23:44:14 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
169 * configure.in: use cpu-vendor-os triple instead of nested cases
171 Wed Sep 30 12:58:57 1992 Stu Grossman (grossman at cygnus.com)
173 * readline.c (rl_complete_internal): Cast alloca to (char *) to
176 Fri Sep 25 12:45:05 1992 Stu Grossman (grossman at cygnus.com)
178 * readline.c (clear_to_eol, rl_generic_bind): Make static.
179 (rl_digit_loop): Add arg to call to rl_message().
180 * vi_mode.c (rl_vi_first_print): Add arg to call to
183 Wed Aug 19 14:59:07 1992 Ian Lance Taylor (ian@cygnus.com)
185 * Makefile.in: always create installation directories, use full
186 file name for install target.
188 Wed Aug 12 15:50:57 1992 John Gilmore (gnu@cygnus.com)
190 * readline.c (last_readline_init_file): Fix typo made by Steve
191 Chamberlain/DJ Delorie. Proper control file name is ~/.inputrc,
194 Thu Jun 25 16:15:27 1992 Stu Grossman (grossman at cygnus.com)
196 * configure.in: Make bsd based systems use sysdep-obsd.h.
198 Tue Jun 23 23:22:53 1992 Per Bothner (bothner@cygnus.com)
200 * config/mh-posix: New file, for Posix-compliant systems.
201 * configure.in: Use mh-posix for Linux (free Unix clone).
203 Tue Jun 23 21:59:20 1992 Fred Fish (fnf@cygnus.com)
205 * sysdep-norm.h (alloca): Protect against previous definition as
206 a macro with arguments.
208 Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com)
210 * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
212 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
214 * config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
216 Mon Jun 15 13:50:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
218 * configure.in: use mh-sysv4 on solaris2
220 Mon Jun 15 12:28:24 1992 Fred Fish (fnf@cygnus.com)
222 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
223 it is broken on ncr 3000's.
224 * config/mh-ncr3000 (RANLIB): Use RANLIB=true.
226 Mon Jun 15 01:35:55 1992 John Gilmore (gnu at cygnus.com)
228 * readline.c: Make new SIGNALS_* macros to parameterize the
229 ugly changes in signal blocking. Use them throughout,
230 reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
231 significantly. Make all such places use POSIX if available,
232 to avoid losing with poor `sigsetmask' emulation from libiberty.
234 Sun Jun 14 15:19:51 1992 Stu Grossman (grossman at cygnus.com)
236 * readline.c (insert_some_chars): Return void.
238 Thu Jun 11 01:27:45 1992 John Gilmore (gnu at cygnus.com)
240 * readline.c: #undef PC, which Solaris2 defines in sys/types.h,
241 clobbering the termcap global variable PC.
243 Tue Jun 9 17:30:23 1992 Fred Fish (fnf@cygnus.com)
245 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
248 Mon Jun 8 23:10:07 1992 Fred Fish (fnf@cygnus.com)
250 * readline.h (rl_completer_quote_characters): Add declaration.
251 * readline.c (rl_completer_quote_characters): Add global var.
252 * readline.c (strpbrk): Add prototype and function.
253 * readline.c (rl_complete_internal): Add code to handle
254 expansion of quoted strings.
256 Mon May 11 12:39:30 1992 John Gilmore (gnu at cygnus.com)
258 * readline.c: Can't initialize FILE *'s with stdin and stdout,
259 because they might not be constant. Patch from Tom Quinn,
260 trq@dinoysos.thphys.ox.ac.uk.
262 Tue Apr 28 21:52:34 1992 John Gilmore (gnu at cygnus.com)
264 * readline.h: Declare rl_event_hook (which already existed).
265 Suggested by Christoph Tietz <tietz@zi.gmd.dbp.de>.
267 Wed Apr 22 18:08:01 1992 K. Richard Pixley (rich@rtl.cygnus.com)
269 * configure.in: remove subdirs declaration. The obsolete semantic
270 for subdirs has been usurped by per's new meaning.
272 Tue Apr 21 11:54:23 1992 K. Richard Pixley (rich@cygnus.com)
274 * Makefile.in: rework CFLAGS so that they can be set on the
275 command line to make. Remove MINUS_G. Default CFLAGS to -g.
277 Fri Apr 10 23:02:27 1992 Fred Fish (fnf@cygnus.com)
279 * configure.in: Recognize new ncr3000 config.
280 * config/mh-ncr3000: New NCR 3000 config file.
282 Wed Mar 25 10:46:30 1992 John Gilmore (gnu at cygnus.com)
284 * history.c (stifle_history): Negative arg treated as zero.
286 Tue Mar 24 23:46:20 1992 K. Richard Pixley (rich@cygnus.com)
288 * config/mh-sysv: INSTALL_PROG -> INSTALL.
290 Mon Feb 10 01:41:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
292 * history.c (history_do_write) Build a buffer of all of the lines
293 to write and write them in one fell swoop (lower overhead than
294 calling write () for each line). Suggested by Peter Ho.
296 * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
298 Sat Mar 7 00:15:36 1992 K. Richard Pixley (rich@rtl.cygnus.com)
300 * Makefile.in: remove FIXME's on info and install-info targets.
302 Fri Mar 6 22:02:04 1992 K. Richard Pixley (rich@cygnus.com)
304 * Makefile.in: added check target.
306 Wed Feb 26 18:04:40 1992 K. Richard Pixley (rich@cygnus.com)
308 * Makefile.in, configure.in: removed traces of namesubdir,
309 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
310 copyrights to '92, changed some from Cygnus to FSF.
312 Fri Feb 21 14:37:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
314 * readline.c, examples/fileman.c: patches from DJ to support DOS
316 Thu Feb 20 23:23:16 1992 Stu Grossman (grossman at cygnus.com)
318 * readline.c (rl_read_init_file): Make sure that null filename is
319 not passed to open() or else we end up opening the directory, and
320 read a bunch of garbage into keymap[].
322 Mon Feb 17 17:15:09 1992 Fred Fish (fnf at cygnus.com)
324 * readline.c (readline_default_bindings): Only make use of VLNEXT
325 when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
326 <termio.h> includes <termios.h>, so VLNEXT is always defined.
328 * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
329 systems so that <termios.h> gets used, instead of <termio.h>.
331 Fri Dec 20 12:04:31 1991 Fred Fish (fnf at cygnus.com)
333 * configure.in: Change svr4 references to sysv4.
335 Tue Dec 10 04:07:20 1991 K. Richard Pixley (rich at rtl.cygnus.com)
337 * Makefile.in: infodir belongs in datadir.
339 Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
341 * Makefile.in: remove spaces following hyphens, bsd make can't
342 cope. added clean-info. added standards.text support. Don't
343 know how to make info anymore.
345 * configure.in: commontargets is no longer a recognized hook, so
346 remove it. new subdir called doc.
348 Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com)
350 * Makefile.in: idestdir and ddestdir go away. Added copyrights
351 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
352 and mandir now keyed off datadir by default.
354 Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
356 * sysdep-obsd.h: Rename from sysdep-newsos.h.
357 * configure.in: Use sysdep-obsd for Mach as well as NEWs.
359 * sysdep-norm.h, sysdep-aix.h: Add <sys/types.h>, which POSIX
360 requires to make <dirent.h> work. Improve Sun alloca decl.
362 Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com)
364 * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
365 Clean up makefile a bit in general.
367 Thu Nov 21 14:40:29 1991 Stu Grossman (grossman at cygnus.com)
369 * configure.in, config/mh-svr4: Make SVR4 work.
371 * readline.c: Move config stuff to sysdep.h, use typedef dirent
372 consistently, remove refs to d_namlen (& D_NAMLEN) to improve
373 portability. Also, update copyright notice.
374 readline.h: remove config stuff that I added erroneously in the
377 * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
378 vi_mode.c: move config stuff to sysdep.h, update copyright notices.
380 Tue Nov 19 15:02:13 1991 Stu Grossman (grossman at cygnus.com)
382 * history.c: #include "sysdep.h".
384 Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com)
386 * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to
387 USG to match current usage.
389 * readline.c: Add USGr4 to list of defined things to check for
390 to use <dirent.h> style directory access.
392 * config/hm-svr4: New file for System V Release 4 (USGr4).
394 Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com)
396 * readline.c (filename_completion_function): use struct dirent
397 instead of struct direct.
399 Fri Nov 1 07:02:13 1991 Brian Fox (bfox at gnuwest.fsf.org)
401 * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
404 Mon Oct 28 11:34:52 1991 Brian Fox (bfox at gnuwest.fsf.org)
406 * readline.c; Use Posix directory routines and macros.
408 * funmap.c; Add entry for call-last-kbd-macro.
410 * readline.c (rl_prep_term); Use system EOF character on POSIX
413 Thu Oct 3 16:19:53 1991 Brian Fox (bfox at gnuwest.fsf.org)
415 * readline.c; Make a distinction between having a TERMIOS tty
416 driver, and having POSIX signal handling. You might one without
417 the other. New defines used HAVE_POSIX_SIGNALS, and
420 Tue Jul 30 22:37:26 1991 Brian Fox (bfox at gnuwest.fsf.org)
422 * readline.c: rl_getc () If a call to read () returns without an
423 error, but with zero characters, the file is empty, so return EOF.
425 Thu Jul 11 20:58:38 1991 Brian Fox (bfox at gnuwest.fsf.org)
427 * readline.c: (rl_get_next_history, rl_get_previous_history)
428 Reallocate the buffer space if the line being moved to is longer
429 the the current space allocated. Amazing that no one has found
432 Sun Jul 7 02:37:05 1991 Brian Fox (bfox at gnuwest.fsf.org)
434 * readline.c:(rl_parse_and_bind) Allow leading whitespace.
435 Make sure TERMIO and TERMIOS systems treat CR and NL
438 Tue Jun 25 04:09:27 1991 Brian Fox (bfox at gnuwest.fsf.org)
440 * readline.c: Rework parsing conditionals to pay attention to the
441 prior states of the conditional stack. This makes $if statements
444 Mon Jun 24 20:45:59 1991 Brian Fox (bfox at gnuwest.fsf.org)
446 * readline.c: support for displaying key binding information
447 includes the functions rl_list_funmap_names (),
448 invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
449 rl_dump_functions (), and rl_function_dumper ().
451 funmap.c: support for same includes rl_funmap_names ().
453 readline.c, funmap.c: no longer define STATIC_MALLOC. However,
454 update both version of xrealloc () to handle a null pointer.
456 Thu Apr 25 12:03:49 1991 Brian Fox (bfox at gnuwest.fsf.org)
458 * vi_mode.c (rl_vi_fword, fWord, etc. All functions use
459 the macro `isident()'. Fixed movement bug which prevents
460 continious movement through the text.
462 Fri Jul 27 16:47:01 1990 Brian Fox (bfox at gnuwest.fsf.org)
464 * readline.c (parser_if) Allow "$if term=foo" construct.
466 Wed May 23 16:10:33 1990 Brian Fox (bfox at gnuwest.fsf.org)
468 * readline.c (rl_dispatch) Correctly remember the last command
469 executed. Fixed typo in username_completion_function ().
471 Mon Apr 9 19:55:48 1990 Brian Fox (bfox at gnuwest.fsf.org)
473 * readline.c: username_completion_function (); For text passed in
474 with a leading `~', remember that this could be a filename (after
477 Thu Apr 5 13:44:24 1990 Brian Fox (bfox at gnuwest.fsf.org)
479 * readline.c: rl_search_history (): Correctly handle case of an
480 unfound search string, but a graceful exit (as with ESC).
482 * readline.c: rl_restart_output (); The Apollo passes the address
483 of the file descriptor to TIOCSTART, not the descriptor itself.
485 Tue Mar 20 05:38:55 1990 Brian Fox (bfox at gnuwest.fsf.org)
487 * readline.c: rl_complete (); second call in a row causes possible
488 completions to be listed.
490 * readline.c: rl_redisplay (), added prompt_this_line variable
491 which is the first character character following \n in prompt.
493 Sun Mar 11 04:32:03 1990 Brian Fox (bfox at gnuwest.fsf.org)
495 * Signals are now supposedly handled inside of SYSV compilation.
497 Wed Jan 17 19:24:09 1990 Brian Fox (bfox at sbphy.ucsb.edu)
499 * history.c: history_expand (); fixed overwriting memory error,
500 added needed argument to call to get_history_event ().
502 Thu Jan 11 10:54:04 1990 Brian Fox (bfox at sbphy.ucsb.edu)
504 * readline.c: added mark_modified_lines to control the
505 display of an asterisk on modified history lines. Also
506 added a user variable called mark-modified-lines to the
509 Thu Jan 4 10:38:05 1990 Brian Fox (bfox at sbphy.ucsb.edu)
511 * readline.c: start_insert (). Only use IC if we don't have an im
514 Fri Sep 8 09:00:45 1989 Brian Fox (bfox at aurel)
516 * readline.c: rl_prep_terminal (). Only turn on 8th bit
517 as meta-bit iff the terminal is not using parity.
519 Sun Sep 3 08:57:40 1989 Brian Fox (bfox at aurel)
521 * readline.c: start_insert (). Uses multiple
522 insertion call in cases where that makes sense.
524 rl_insert (). Read type-ahead buffer for additional
525 keys that are bound to rl_insert, and insert them
526 all at once. Make insertion of single keys given
527 with an argument much more efficient.
529 Tue Aug 8 18:13:57 1989 Brian Fox (bfox at aurel)
531 * readline.c: Changed handling of EOF. readline () returns
532 (char *)EOF or consed string. The EOF character is read from the
533 tty, or if the tty doesn't have one, defaults to C-d.
535 * readline.c: Added support for event driven programs.
536 rl_event_hook is the address of a function you want called
537 while Readline is waiting for input.
539 * readline.c: Cleanup time. Functions without type declarations
540 do not use return with a value.
542 * history.c: history_expand () has new variable which is the
543 characters to ignore immediately following history_expansion_char.
545 Sun Jul 16 08:14:00 1989 Brian Fox (bfox at aurel)
547 * rl_prep_terminal ()
548 BSD version turns off C-s, C-q, C-y, C-v.
550 * readline.c -- rl_prep_terminal ()
551 SYSV version hacks readline_echoing_p.
552 BSD version turns on passing of the 8th bit for the duration
555 Tue Jul 11 06:25:01 1989 Brian Fox (bfox at aurel)
557 * readline.c: new variable rl_tilde_expander.
558 If non-null, this contains the address of a function to call if
559 the standard meaning for expanding a tilde fails. The function is
560 called with the text sans tilde (as in "foo"), and returns a
561 malloc()'ed string which is the expansion, or a NULL pointer if
562 there is no expansion.
564 * readline.h - new file chardefs.h
565 Separates things that only readline.c needs from the standard
566 header file publishing interesting things about readline.
569 readline_default_bindings () now looks at terminal chararacters
570 and binds those as well.
572 Wed Jun 28 20:20:51 1989 Brian Fox (bfox at aurel)
574 * Made readline and history into independent libraries.