3 * chardefs.h, tilde.c: Just declare strrchr rather than trying to
4 include a system header.
8 * Makefile.in (distclean, realclean): Expand local-distclean
9 inline after doing recursion. You can't recurse after removing
10 Makefile. Make them depend on local-clean.
11 * Makefile.in (local-distclean): Remove now superfluous target.
15 * readline.c (doing_an_undo): Delete second declaration, since it
16 confuses the alpha-osf1 native compiler.
20 * complete.c, bind.c: Include <sys/stat.h>.
21 * complete.c: Define X_OK if not defined by a system header.
23 * chardefs.h: Don't declare xmalloc.
25 * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
27 * Makefile.in (clean mostlyclean distclean realclean): Recurse
28 into subdirectories as well as doing this directory. Add clean-dvi
33 * readline.c, display.c: Patches to allow use of all 80
34 columns on most terminals (those with am and xn).
36 Merge in changes from bash-1.13. The most obvious one is
37 that the file readline.c has been split into multiple files.
38 * bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
39 rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c: New files.
43 * readline.c (rl_getc): If GO32, trim high bit from getkey,
44 otherwise fancy PC keys cause grief.
48 * configure.in: Add doc to configdirs.
49 * Makefile.in (info dvi install-info clean-info): Recurse into doc.
53 * configure.in: Add * to end of all OS names.
57 * readline.c: Add stuff for HIUX to place where we detect termio
58 vs. sgtty (ugh, but I don't see a simple better way).
62 * readline.c (parser_if): Free tname when done with it (change
63 imported from from bash 1.12 readline).
67 * configure.in (m88k-*-sysvr4*): Comment out previous change.
71 * configure.in (*-*-riscos*): New entry; use mh-sysv.
75 * configure.in: Add comment.
77 Mon Jun 14 14:28:55 1993 Jim Kingdon (kingdon@eric)
79 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
83 * Makefile.in ({real,dist}clean): Remove sysdep.h.
87 * Makefile.in: Add mostlyclean, distclean, and realclean targets.
91 * config/mh-isc: New file.
92 * configure.in: Use it.
94 Sat Apr 17 00:40:12 1993 Jim Kingdon (kingdon at calvin)
96 * readline.c, history.c: Don't include sys/types.h; sysdep.h does.
98 * config/mh-sysv: Define TIOCGWINSZ_BROKEN.
101 Wed Mar 24 02:06:15 1993 david d `zoo' zuhn (zoo at poseidon.cygnus.com)
103 * Makefile.in: add installcheck & dvi targets
105 Fri Mar 12 18:36:53 1993 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
107 * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
108 number of people want to call SunOS 4.1.2 "solaris1.0"
113 * sysdep-sysv4.h: New file for SVR4.
114 * configure.in (*-*-sysv4*): Use sysdep-sysv4.h.
116 * configure.in (*-*-ultrix2): Add triplet from Michael Rendell
121 * configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
122 * config/mh-sco4: New file, like mh-sco but without defining
127 * configure.in: Reformat to one-case-per-line.
130 Wed Nov 4 15:32:31 1992 Stu Grossman (grossman at cygnus.com)
132 * sysdep-norm.h: Remove some crud, install dire warning.
134 Thu Oct 22 01:08:13 1992 Stu Grossman (grossman at cygnus.com)
136 * configure.in: Make SCO work again...
140 * readline.c (init_terminal_io): if tgetent returns 0, the
141 terminal type is unknown.
143 Thu Oct 1 23:44:14 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
145 * configure.in: use cpu-vendor-os triple instead of nested cases
147 Wed Sep 30 12:58:57 1992 Stu Grossman (grossman at cygnus.com)
149 * readline.c (rl_complete_internal): Cast alloca to (char *) to
152 Fri Sep 25 12:45:05 1992 Stu Grossman (grossman at cygnus.com)
154 * readline.c (clear_to_eol, rl_generic_bind): Make static.
155 (rl_digit_loop): Add arg to call to rl_message().
156 * vi_mode.c (rl_vi_first_print): Add arg to call to
161 * Makefile.in: always create installation directories, use full
162 file name for install target.
166 * readline.c (last_readline_init_file): Fix typo made by Steve
167 Chamberlain/DJ Delorie. Proper control file name is ~/.inputrc,
170 Thu Jun 25 16:15:27 1992 Stu Grossman (grossman at cygnus.com)
172 * configure.in: Make bsd based systems use sysdep-obsd.h.
176 * config/mh-posix: New file, for Posix-compliant systems.
177 * configure.in: Use mh-posix for Linux (free Unix clone).
181 * sysdep-norm.h (alloca): Protect against previous definition as
182 a macro with arguments.
184 Fri Jun 19 15:48:54 1992 Stu Grossman (grossman at cygnus.com)
186 * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher.
188 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
190 * config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
192 Mon Jun 15 13:50:34 1992 david d `zoo' zuhn (zoo at cirdan.cygnus.com)
194 * configure.in: use mh-sysv4 on solaris2
198 * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
199 it is broken on ncr 3000's.
200 * config/mh-ncr3000 (RANLIB): Use RANLIB=true.
202 Mon Jun 15 01:35:55 1992 John Gilmore (gnu at cygnus.com)
204 * readline.c: Make new SIGNALS_* macros to parameterize the
205 ugly changes in signal blocking. Use them throughout,
206 reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
207 significantly. Make all such places use POSIX if available,
208 to avoid losing with poor `sigsetmask' emulation from libiberty.
210 Sun Jun 14 15:19:51 1992 Stu Grossman (grossman at cygnus.com)
212 * readline.c (insert_some_chars): Return void.
214 Thu Jun 11 01:27:45 1992 John Gilmore (gnu at cygnus.com)
216 * readline.c: #undef PC, which Solaris2 defines in sys/types.h,
217 clobbering the termcap global variable PC.
221 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
226 * readline.h (rl_completer_quote_characters): Add declaration.
227 * readline.c (rl_completer_quote_characters): Add global var.
228 * readline.c (strpbrk): Add prototype and function.
229 * readline.c (rl_complete_internal): Add code to handle
230 expansion of quoted strings.
232 Mon May 11 12:39:30 1992 John Gilmore (gnu at cygnus.com)
234 * readline.c: Can't initialize FILE *'s with stdin and stdout,
235 because they might not be constant. Patch from Tom Quinn,
238 Tue Apr 28 21:52:34 1992 John Gilmore (gnu at cygnus.com)
240 * readline.h: Declare rl_event_hook (which already existed).
245 * configure.in: remove subdirs declaration. The obsolete semantic
246 for subdirs has been usurped by per's new meaning.
250 * Makefile.in: rework CFLAGS so that they can be set on the
251 command line to make. Remove MINUS_G. Default CFLAGS to -g.
255 * configure.in: Recognize new ncr3000 config.
256 * config/mh-ncr3000: New NCR 3000 config file.
258 Wed Mar 25 10:46:30 1992 John Gilmore (gnu at cygnus.com)
260 * history.c (stifle_history): Negative arg treated as zero.
264 * config/mh-sysv: INSTALL_PROG -> INSTALL.
266 Mon Feb 10 01:41:35 1992 Brian Fox (bfox at gnuwest.fsf.org)
268 * history.c (history_do_write) Build a buffer of all of the lines
269 to write and write them in one fell swoop (lower overhead than
270 calling write () for each line). Suggested by Peter Ho.
272 * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
276 * Makefile.in: remove FIXME's on info and install-info targets.
280 * Makefile.in: added check target.
284 * Makefile.in, configure.in: removed traces of namesubdir,
285 -subdirs, $(subdir), $(unsubdir), some rcs triggers. Forced
286 copyrights to '92, changed some from Cygnus to FSF.
288 Fri Feb 21 14:37:32 1992 Steve Chamberlain (sac at rtl.cygnus.com)
290 * readline.c, examples/fileman.c: patches from DJ to support DOS
292 Thu Feb 20 23:23:16 1992 Stu Grossman (grossman at cygnus.com)
294 * readline.c (rl_read_init_file): Make sure that null filename is
295 not passed to open() or else we end up opening the directory, and
296 read a bunch of garbage into keymap[].
298 Mon Feb 17 17:15:09 1992 Fred Fish (fnf at cygnus.com)
300 * readline.c (readline_default_bindings): Only make use of VLNEXT
301 when both VLNEXT and TERMIOS_TTY_DRIVER is defined. On SVR4
302 <termio.h> includes <termios.h>, so VLNEXT is always defined.
304 * sysdep-norm.h (_POSIX_VERSION): Define this for all SVR4
305 systems so that <termios.h> gets used, instead of <termio.h>.
307 Fri Dec 20 12:04:31 1991 Fred Fish (fnf at cygnus.com)
309 * configure.in: Change svr4 references to sysv4.
311 Tue Dec 10 04:07:20 1991 K. Richard Pixley (rich at rtl.cygnus.com)
313 * Makefile.in: infodir belongs in datadir.
315 Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
317 * Makefile.in: remove spaces following hyphens, bsd make can't
318 cope. added clean-info. added standards.text support. Don't
319 know how to make info anymore.
321 * configure.in: commontargets is no longer a recognized hook, so
322 remove it. new subdir called doc.
324 Thu Dec 5 22:46:10 1991 K. Richard Pixley (rich at rtl.cygnus.com)
326 * Makefile.in: idestdir and ddestdir go away. Added copyrights
327 and shift gpl to v2. Added ChangeLog if it didn't exist. docdir
328 and mandir now keyed off datadir by default.
330 Fri Nov 22 09:02:32 1991 John Gilmore (gnu at cygnus.com)
332 * sysdep-obsd.h: Rename from sysdep-newsos.h.
333 * configure.in: Use sysdep-obsd for Mach as well as NEWs.
335 * sysdep-norm.h, sysdep-aix.h: Add <sys/types.h>, which POSIX
336 requires to make <dirent.h> work. Improve Sun alloca decl.
338 Thu Nov 21 18:48:08 1991 John Gilmore (gnu at cygnus.com)
340 * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
341 Clean up makefile a bit in general.
343 Thu Nov 21 14:40:29 1991 Stu Grossman (grossman at cygnus.com)
345 * configure.in, config/mh-svr4: Make SVR4 work.
347 * readline.c: Move config stuff to sysdep.h, use typedef dirent
348 consistently, remove refs to d_namlen (& D_NAMLEN) to improve
349 portability. Also, update copyright notice.
350 readline.h: remove config stuff that I added erroneously in the
353 * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
354 vi_mode.c: move config stuff to sysdep.h, update copyright notices.
356 Tue Nov 19 15:02:13 1991 Stu Grossman (grossman at cygnus.com)
358 * history.c: #include "sysdep.h".
360 Tue Nov 19 10:49:17 1991 Fred Fish (fnf at cygnus.com)
362 * Makefile.in, config/hm-sysv, config/hm-sco: Change SYSV to
363 USG to match current usage.
365 * readline.c: Add USGr4 to list of defined things to check for
366 to use <dirent.h> style directory access.
368 * config/hm-svr4: New file for System V Release 4 (USGr4).
370 Mon Nov 18 23:59:52 1991 Stu Grossman (grossman at cygnus.com)
372 * readline.c (filename_completion_function): use struct dirent
373 instead of struct direct.
375 Fri Nov 1 07:02:13 1991 Brian Fox (bfox at gnuwest.fsf.org)
377 * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
380 Mon Oct 28 11:34:52 1991 Brian Fox (bfox at gnuwest.fsf.org)
382 * readline.c; Use Posix directory routines and macros.
384 * funmap.c; Add entry for call-last-kbd-macro.
386 * readline.c (rl_prep_term); Use system EOF character on POSIX
389 Thu Oct 3 16:19:53 1991 Brian Fox (bfox at gnuwest.fsf.org)
391 * readline.c; Make a distinction between having a TERMIOS tty
392 driver, and having POSIX signal handling. You might one without
393 the other. New defines used HAVE_POSIX_SIGNALS, and
396 Tue Jul 30 22:37:26 1991 Brian Fox (bfox at gnuwest.fsf.org)
398 * readline.c: rl_getc () If a call to read () returns without an
399 error, but with zero characters, the file is empty, so return EOF.
401 Thu Jul 11 20:58:38 1991 Brian Fox (bfox at gnuwest.fsf.org)
403 * readline.c: (rl_get_next_history, rl_get_previous_history)
404 Reallocate the buffer space if the line being moved to is longer
405 the the current space allocated. Amazing that no one has found
408 Sun Jul 7 02:37:05 1991 Brian Fox (bfox at gnuwest.fsf.org)
410 * readline.c:(rl_parse_and_bind) Allow leading whitespace.
411 Make sure TERMIO and TERMIOS systems treat CR and NL
414 Tue Jun 25 04:09:27 1991 Brian Fox (bfox at gnuwest.fsf.org)
416 * readline.c: Rework parsing conditionals to pay attention to the
417 prior states of the conditional stack. This makes $if statements
420 Mon Jun 24 20:45:59 1991 Brian Fox (bfox at gnuwest.fsf.org)
422 * readline.c: support for displaying key binding information
423 includes the functions rl_list_funmap_names (),
424 invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
425 rl_dump_functions (), and rl_function_dumper ().
427 funmap.c: support for same includes rl_funmap_names ().
429 readline.c, funmap.c: no longer define STATIC_MALLOC. However,
430 update both version of xrealloc () to handle a null pointer.
432 Thu Apr 25 12:03:49 1991 Brian Fox (bfox at gnuwest.fsf.org)
434 * vi_mode.c (rl_vi_fword, fWord, etc. All functions use
435 the macro `isident()'. Fixed movement bug which prevents
436 continious movement through the text.
438 Fri Jul 27 16:47:01 1990 Brian Fox (bfox at gnuwest.fsf.org)
440 * readline.c (parser_if) Allow "$if term=foo" construct.
442 Wed May 23 16:10:33 1990 Brian Fox (bfox at gnuwest.fsf.org)
444 * readline.c (rl_dispatch) Correctly remember the last command
445 executed. Fixed typo in username_completion_function ().
447 Mon Apr 9 19:55:48 1990 Brian Fox (bfox at gnuwest.fsf.org)
449 * readline.c: username_completion_function (); For text passed in
450 with a leading `~', remember that this could be a filename (after
453 Thu Apr 5 13:44:24 1990 Brian Fox (bfox at gnuwest.fsf.org)
455 * readline.c: rl_search_history (): Correctly handle case of an
456 unfound search string, but a graceful exit (as with ESC).
458 * readline.c: rl_restart_output (); The Apollo passes the address
459 of the file descriptor to TIOCSTART, not the descriptor itself.
461 Tue Mar 20 05:38:55 1990 Brian Fox (bfox at gnuwest.fsf.org)
463 * readline.c: rl_complete (); second call in a row causes possible
464 completions to be listed.
466 * readline.c: rl_redisplay (), added prompt_this_line variable
467 which is the first character character following \n in prompt.
469 Sun Mar 11 04:32:03 1990 Brian Fox (bfox at gnuwest.fsf.org)
471 * Signals are now supposedly handled inside of SYSV compilation.
473 Wed Jan 17 19:24:09 1990 Brian Fox (bfox at sbphy.ucsb.edu)
475 * history.c: history_expand (); fixed overwriting memory error,
476 added needed argument to call to get_history_event ().
478 Thu Jan 11 10:54:04 1990 Brian Fox (bfox at sbphy.ucsb.edu)
480 * readline.c: added mark_modified_lines to control the
481 display of an asterisk on modified history lines. Also
482 added a user variable called mark-modified-lines to the
485 Thu Jan 4 10:38:05 1990 Brian Fox (bfox at sbphy.ucsb.edu)
487 * readline.c: start_insert (). Only use IC if we don't have an im
490 Fri Sep 8 09:00:45 1989 Brian Fox (bfox at aurel)
492 * readline.c: rl_prep_terminal (). Only turn on 8th bit
493 as meta-bit iff the terminal is not using parity.
495 Sun Sep 3 08:57:40 1989 Brian Fox (bfox at aurel)
497 * readline.c: start_insert (). Uses multiple
498 insertion call in cases where that makes sense.
500 rl_insert (). Read type-ahead buffer for additional
501 keys that are bound to rl_insert, and insert them
502 all at once. Make insertion of single keys given
503 with an argument much more efficient.
505 Tue Aug 8 18:13:57 1989 Brian Fox (bfox at aurel)
507 * readline.c: Changed handling of EOF. readline () returns
508 (char *)EOF or consed string. The EOF character is read from the
509 tty, or if the tty doesn't have one, defaults to C-d.
511 * readline.c: Added support for event driven programs.
512 rl_event_hook is the address of a function you want called
513 while Readline is waiting for input.
515 * readline.c: Cleanup time. Functions without type declarations
516 do not use return with a value.
518 * history.c: history_expand () has new variable which is the
519 characters to ignore immediately following history_expansion_char.
521 Sun Jul 16 08:14:00 1989 Brian Fox (bfox at aurel)
523 * rl_prep_terminal ()
524 BSD version turns off C-s, C-q, C-y, C-v.
526 * readline.c -- rl_prep_terminal ()
527 SYSV version hacks readline_echoing_p.
528 BSD version turns on passing of the 8th bit for the duration
531 Tue Jul 11 06:25:01 1989 Brian Fox (bfox at aurel)
533 * readline.c: new variable rl_tilde_expander.
534 If non-null, this contains the address of a function to call if
535 the standard meaning for expanding a tilde fails. The function is
536 called with the text sans tilde (as in "foo"), and returns a
537 malloc()'ed string which is the expansion, or a NULL pointer if
538 there is no expansion.
540 * readline.h - new file chardefs.h
541 Separates things that only readline.c needs from the standard
542 header file publishing interesting things about readline.
545 readline_default_bindings () now looks at terminal chararacters
546 and binds those as well.
548 Wed Jun 28 20:20:51 1989 Brian Fox (bfox at aurel)
550 * Made readline and history into independent libraries.