Improve MinGW support in Readline
[external/binutils.git] / readline / ChangeLog.gdb
1 2016-09-17  Eli Zaretskii  <eliz@gnu.org>
2
3         * util.c: Include rlshell.h.
4         (_rl_tropen) [_WIN32 && !__CYGWIN__]: Open the trace file in the
5         user's temporary directory.
6
7         * tcap.h [HAVE_NCURSES_TERMCAP_H]: Include ncurses/termcap.h.
8
9         * input.c (w32_isatty) [_WIN32 && !__CYGWIN__]: New function, to
10         replace isatty that is not reliable enough on MS-Windows.
11         (isatty) [_WIN32 && !__CYGWIN__]: Redirect to w32_isatty.
12         (rl_getc): Call _getch, not getch, which could be an ncurses
13         function when linked with ncurses, in which case getch will return
14         EOF for any keystroke, because there's no curses window.
15
16         * tilde.c (tilde_expand_word) [_WIN32]:
17         * histfile.c (history_filename) [_WIN32]: Windows-specific
18         environment variable to replace HOME if that is undefined.
19
20         * funmap.c (default_funmap): Compile rl_paste_from_clipboard on
21         all Windows platforms, not just Cygwin.
22
23         * readline.h (rl_paste_from_clipboard): Include declaration for
24         all Windows platforms.
25
26         * display.c (insert_some_chars, delete_chars): Don't use the
27         MinGW-specific code if linked with ncurses.
28
29         * configure.in:
30         * config.h.in: Support ncurses/termcap.h.  The configure script
31         was updated accordingly.
32
33         * complete.c [_WIN32 && !__CYGWIN__]: Initialize
34         _rl_completion_case_fold to 1.
35         (printable_part, rl_filename_completion_function)
36         [_WIN32 && !__CYGWIN__]: Handle the drive letter.
37
38 2014-12-30  Eli Zaretskii  <eliz@gnu.org>
39
40         * complete.c (stat_char) [_WIN32]: Don't use 'access' and X_OK on
41         Windows, they don't work.  Instead, look at the file-name
42         extension to determine whether the file is executable.
43
44 2014-09-22  Chen Gang  <gang.chen.5i5j@gmail.com>
45
46         Pushed by Joel Brobecker  <brobecker@adacore.com>
47         * search.c (_rl_nsearch_init): Remove useless parameter '0' for
48         rl_message().
49
50 2013-09-24  Pierre Muller  <muller@sourceware.org>
51
52         * readline.c (bind_arrow_keys_internal):
53         Handle VK_HOME, VK_END, VK_DELETE and VK_INSERT for mingw
54         hosts.
55
56 2013-09-23  Martin Benda  <martin.benda@omsquare.com>
57
58         Checked in by Joel Brobecker  <brobecker@adacore.com>
59         * util.c (_rl_strnicmp): Add missing semicolon.
60
61 2013-05-22  Yao Qi  <yao@codesourcery.com>
62
63         * configure.in: Invoke AC_CANONICAL_BUILD.
64         Change $host_os to $build_os.
65         * configure: Regenerated.
66
67 2012-10-18  Joel Brobecker  <brobecker@adacore.com>
68
69         * terminal.c: Remove duplicate includes of windows.h and
70         wincon.h.
71         (_rl_get_screen_size): Remove redundant code for MinGW getting
72         the console size from the Windows API.
73
74 2012-02-24  Pierre Muller  <muller@ics.u-strasbg.fr>
75
76         * signals.c (_rl_block_sigwinch, _rl_release_sigwinch): Add
77         conditional SIGWINCH around functions.
78
79 2011-05-11  Sterling Augustine  <saugustine@google.com>
80
81         * complete.c (rl_completion_matches): Undo inadvertant checkin.
82
83 2011-06-29  Jan Kratochvil  <jan.kratochvil@redhat.com>
84
85         Avoid free from a signal handler.
86         * Makefile.in (xfree.o): Add readline.h.
87         * xfree.c: Include stdio.h and readline.h.
88         (xfree): Return on RL_STATE_SIGHANDLER.
89         * xmalloc.h (xfree): New definition.
90
91 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
92
93         Workaround gdb.base/completion.exp regression on readline-6.2.
94         * complete.c (get_y_or_n): Disable the return on RL_STATE_CALLBACK.
95
96 2011-05-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
97
98         Imported readline 6.2, and upstream patch 001.
99         * configure: Regenerate.
100
101 2011-03-04  Michael Snyder  <msnyder@vmware.com>
102
103         * bind.c (rl_function_dumper): Free allocated memory.
104
105 2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
106
107         * configure: Regenerate.
108
109         * configure.in: m4_include toplevel config/override.m4.
110         * configure: Regenerate.
111
112 2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
113
114         * Makefile.in (datarootdir): New variable.
115         * doc/Makefile.in (datarootdir): New variable.
116         * shlib/Makefile.in (datarootdir): New variable.
117
118 2009-04-17  Carlos O'Donell  <carlos@codesourcery.com>
119
120         * Makefile.in: Add html target.  Add dummy install-html and
121         install-pdf targets.
122
123 2008-08-10  Pedro Alves  <pedro@codesourcery.com>
124
125         Build fixes for DJGPP.
126
127         * signals.c (rl_set_sighandler): Guard access to SIGWINCH.
128         * wcwidth.c [__GO32__]: Include wctype.h before wchar.h.
129
130 2008-03-24  Jan Kratochvil  <jan.kratochvil@redhat.com>
131
132         PR gdb/544
133         * rltty.c (block_sigint, release_sigint): Rename to...
134         (_rl_block_sigint, _rl_release_sigint): ...these and make them global.
135         * rltty.h (_rl_block_sigint, _rl_release_sigint): New prototypes.
136         * display.c (rl_redisplay): Wrap the function by the calls to
137         _RL_BLOCK_SIGINT and _RL_RELEASE_SIGINT.
138
139 2007-09-01  Daniel Jacobowitz  <dan@codesourcery.com>
140
141         PR gdb/2138
142         From readline 5.2:
143         * configure.in (CROSS_COMPILE): Initialize to empty.
144         * configure: Regenerated.
145
146 2007-03-27  Brooks Moses  <brooks.moses@codesourcery.com>
147
148         * Makefile.in: Add dummy "pdf" target.
149
150 2006-11-13  Denis Pilat  <denis.pilat@st.com>
151
152         * terminal.c (_rl_get_screen_size): use wr and wc variable to store
153         window size.
154
155 2006-10-21  Ulrich Weigand  <uweigand@de.ibm.com>
156
157         * callback.c: Include "xmalloc.h".
158         * Makefile.in: Add dependency.
159
160 2006-04-24  Daniel Jacobowitz  <dan@codesourcery.com>
161
162         Imported readline 5.1, and upstream patches 001-004.
163
164 2006-03-21  Denis Pilat  <denis.pilat@st.com>
165
166         * histfile.c (read_history_range): Remove '\r' character from
167         history lines.
168
169 2005-02-10  Denis Pilat  <denis.pilat@st.com>
170
171         * readline/terminal.c (_rl_get_screen_size): Get console size from
172         the Windows API when compiling with MinGW.
173
174 2005-07-25  Mark Mitchell <mark@codesourcery.com>
175
176         * input.c (rl_getc): Use getch to read console input on
177         Windows.
178         * readline.c (bind_arrow_keys_internal): Translate
179         Windows keysequences into ANSI key sequences.
180         * rldefs.h (NO_TTY_DRIVER): Define on MinGW.
181         * rltty.c: Conditionalize on NO_TTY_DRIVER throughout.
182         
183 2005-07-03  Mark Kettenis <kettenis@gnu.org>
184
185         From Martin Simmons:
186         * configure.in: Check for getpwnam instead of getpwname.
187         * configure: Regenerate.
188
189 2005-05-09  Mark Mitchell <mark@codesourcery.com>
190
191         * aclocal.m4: Use AC_TRY_LINK to check for mbstate_t.
192         * complete.c (pwd.h): Guard with HAVE_PWD_H.
193         (getpwent): Guard with HAVE_GETPWENT.
194         (rl_username_completion_function): Guard use of getpwent.
195         (endpwent): Likewise.
196         * config.h.in (HAVE_FCNTL): New macro.
197         (HAVE_GETPWENT): Likewise.
198         (HAVE_GETPWNAM): Likewise.
199         (HAVE_GETPWUID): Likewise.
200         (HAVE_KILL): Likewise.
201         (HAVE_PWD_H): Likewise.
202         * configure: Regenerated.
203         * configure.in: Handle MinGW when cross compiling.  Check for
204         getpwnam, getpwent, getpwuid, kill, and pwd.h.
205         * display.c (rl_clear_screen): Treat Windows like DOS.
206         (insert_some_chars): Likewise.
207         (delete_chars): Likewise.
208         * shell.c (pwd.h): Guard with HAVE_PWD_H.
209         (getpwuid): Guard with HAVE_GETPWUID.
210         (sh_unset_nodelay_mode): Guard use of fnctl with HAVE_FNCTL_H.
211         * signals.c (rl_signal_handler): Don't use SIGALRM or
212         SIGQUIT if not defined.  Use "raise" if "kill" is not available.
213         (rl_set_signals): Don't set handlers for SIGQUIT or SIGALRM if
214         they are not defined.
215         (rl_clear_signals): Likewise.
216         * tilde.c (pwd.h): Guard with HAVE_PWD_H.
217         (getpwuid): Guard declaration with HAVE_GETPWUID.
218         (getpwnam): Guard declaration with HAVE_GETPWNAM.
219         (tilde_expand_word): Guard use of getpwnam with HAVE_GETPWNAM.
220
221 2004-02-19  Andrew Cagney  <cagney@redhat.com>
222
223         * config.guess: Update from version 2003-06-12 to 2004-02-16.
224         * config.sub: Update from version 2003-06-13 to 2004-02-16.
225
226 2004-01-27  Elena Zannoni  <ezannoni@redhat.com>
227
228         Merge in official patches to readline-4.3 from
229         ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches:
230         NOTE: Patch-ID readline-43-004 was already applied (see below).
231
232         * bind.c (rl_generic_bind): Pressing certain key sequences
233         causes an infinite loop in _rl_dispatch_subseq with the `key' argument
234         set to 256.  This eventually causes bash to exceed the stack size
235         limit and crash with a segmentation violation.
236         Patch-ID: readline43-001.
237
238         * readline.c (_rl_dispatch_subseq): Repeating an edit in
239         vi-mode with `.' does not work.
240         Patch-ID: readline43-002.
241
242         * mbutil.c (_rl_get_char_len, _rl_compare_chars,
243         _rl_adjust_point): When in a locale with multibyte characters, the
244         readline display updater will occasionally cause a
245         segmentation fault when attempting to compute the length of the first
246         multibyte character on the line.  
247         Patch-ID: readline43-003.
248
249         * vi_mode.c (_rl_vi_change_mbchar_case): Using the vi editing
250         mode's case-changing commands in a locale with multibyte characters
251         will cause garbage characters to be inserted into the editing buffer.
252         Patch-ID: readline43-005.
253
254 2003-12-28  Eli Zaretskii  <eliz@elta.co.il>
255
256         * readline.c (rl_save_state, rl_restore_state): Support systems
257         that don't define SIGWINCH.
258
259 2003-12-25  Eli Zaretskii  <eliz@elta.co.il>
260
261         * terminal.c (_rl_get_screen_size) [__DJGPP__]: Compute the
262         screen width and height using console I/O.
263         (_rl_init_terminal_io) [__MSDOS__]: Zero out all the _rl_term_*
264         variables.  Convert to _rl_* naming scheme.
265         (_rl_set_cursor) [__MSDOS__]: Ifdef away this function.
266
267 2003-12-23  Eli Zaretskii  <eliz@elta.co.il>
268
269         * display.c (_rl_move_vert) [__MSDOS__]: Don't use undeclared
270         variable `l'.  Use `delta' instead recomputing its value anew.
271         Assign -delta to i instead of the other way around.
272
273 2003-12-11  Michael Chastain  <mec.gnu@mindspring.com>
274
275         * rlmbutil.h: Require HAVE_MBSTATE_T for HANDLE_MULTIBYTE.
276         Revert requirement of HAVE_MBRTOWC.  Delete macro definitions
277         that attempted to fake mbstate_t if HAVE_MBSRTOCWS is defined
278         and HAVE_MBSTATE_T is not defined.
279
280 2003-06-14  H.J. Lu <hongjiu.lu@intel.com>
281  
282         * support/config.guess: Update to 2003-06-12 version.
283         * support/config.sub: Update to 2003-06-13 version.
284
285 2003-05-25  Mark Kettenis  <kettenis@gnu.org>
286
287         * aclocal.m4: Don't add wcwidth.o if we don't have wchar.h.
288         * configure: Regenerate.
289
290 2003-05-13  Andreas Jaeger  <aj@suse.de>
291
292         * support/config.guess: Update to 2003-05-09 version.
293         * support/config.sub: Update to 2003-05-09 version.
294
295 2003-03-03  Joel Brobecker  <brobecker@gnat.com>
296
297         * aclocal.m4: Add check for mbrtowc.
298         * config.h.in: Regenerate.
299         * configure: Regenerate.
300         * rlmbutil.h: Disable multi-byte if mbrtowc is not defined.
301
302 2003-03-03  Kris Warkentin  <kewarken@qnx.com>
303
304         * aclocal.m4: Cause wcwidth check to substitute
305         HAVE_WCWIDTH for building.
306         * Makefile.in: Add wcwidth object to lib if required.
307         * shlib/Makefile.in: Likewise.
308         * configure: Regenerate.
309         
310 2003-01-09  Michael Chastain  <mec@shout.net>
311
312         From Chet Ramey, <chet@po.cwru.edu>, the readline maintainer:
313         ftp://ftp.cwru.edu/pub/bash/readline-4.3-patches/readline43-004
314
315         * display.c: Fix perverse screen refresh with UTF-8.
316         When running in a locale with multibyte characters, the
317         readline display updater will use carriage returns when
318         drawing the line, overwriting any partial output already on
319         the screen and not terminated by a newline.
320         Patch-ID: readline43-004
321
322 2003-01-08  Chris Demetriou  <cgd@broadcom.com>
323
324         * config.guess: Update to 2003-01-03 version.
325         * config.sub: Update to 2003-01-03 version.
326
327 2002-12-16  Christopher Faylor  <cgf@redhat.com>
328
329         * configure.in: Remove --enable-shared option.  It shouldn't be used
330         for gdb.
331         * configure: Regenerate.
332
333 2002-12-16  Christopher Faylor  <cgf@redhat.com>
334
335         * config/cygwin.cache: Prime mbstate_t.
336
337 2002-12-06  Elena Zannoni  <ezannoni@redhat.com>
338
339         Import of readline 4.3. NB: This import includes those gdb
340         local changes that aren't in the official readline sources.
341
342         * compat.c, mbutil.c, misc.c, rlmbutil.h, rltypedefs.h,
343         text.c, doc/history.0, doc/history.3, support/wcwidth.c,
344         examples/readlinebuf.h, examples/rlcat.c: New files.
345
346         * CHANGELOG, CHANGES, INSTALL,  MANIFEST, Makefile.in, README,
347         aclocal.m4, ansi_stdlib.h, bind.c, callback.c, chardefs.h,
348         complete.c, config.h.in, configure, configure.in, display.c,
349         emacs_keymap.c, funmap.c, histexpand.c, histfile.c, histlib.h,
350         history.c, history.h, histsearch.c, input.c, isearch.c,
351         keymaps.c, keymaps.h, kill.c, macro.c, nls.c, parens.c,
352         posixdir.h, readline.c, readline.h, rlconf.h, rldefs.h,
353         rlprivate.h, rlshell.h, rlstdc.h, rltty.c, savestring.c,
354         search.c, shell.c, signals.c, terminal.c, tilde.c, tilde.h,
355         undo.c, util.c, vi_keymap.c, vi_mode.c, xmalloc.c, xmalloc.h,
356         doc/Makefile.in, doc/hist.texinfo, doc/hstech.texinfo,
357         doc/hsuser.texinfo, doc/manvers.texinfo, doc/readline.3,
358         doc/rlman.texinfo, doc/rltech.texinfo, doc/rluser.texinfo
359         doc/rluserman.texinfo, doc/texi2dvi, doc/texi2html,
360         shlib/Makefile.in, support/install.sh, support/mkdirs,
361         support/mkdist, support/shlib-install, support/shobj-conf,
362         examples/Inputrc, examples/Makefile.in, examples/fileman.c,
363         examples/histexamp.c, examples/manexamp.c, examples/rl.c,
364         examples/rlfe.c, examples/rltest.c, examples/rlversion.c:
365         Modified files.
366
367 2002-08-23  Andrew Cagney  <ac131313@redhat.com>
368
369         * support/config.guess: Import version 2002-08-23.
370         * support/config.sub: Import version 2002-08-22.
371
372 2002-07-19  Chris Demetriou  <cgd@broadcom.com>
373
374         * support/config.guess: Update from ../config.guess.
375         * support/config.sub: Update from ../config.sub.
376
377 2002-02-24  Elena Zannoni  <ezannoni@redhat.com>
378
379         * ChangeLog.gdb: Renamed from ChangeLog.Cygnus.
380
381 2002-02-24  Daniel Jacobowitz  <drow@mvista.com>
382
383         * support/config.guess: Import from master sources, rev 1.232.
384         * support/config.sub: Import from master sources, rev 1.246.
385
386 2002-02-01  Ben Elliston  <bje@redhat.com>
387
388         * config.guess: Import from master sources, rev 1.229.
389         * config.sub: Import from master sources, rev 1.240.
390
391 2002-01-17  H.J. Lu  (hjl@gnu.org)
392
393         * support/config.guess: Import from master sources, rev 1.225.
394         * support/config.sub: Import from master sources, rev 1.238.
395
396 2001-07-20  Andrew Cagney  <ac131313@redhat.com>
397
398         * support/config.guess: Update using ../config.sub.
399
400 2001-07-16  Andrew Cagney  <ac131313@redhat.com>
401
402         * support/config.sub: Update using ../config.sub.
403
404 2001-06-15  Elena Zannoni  <ezannoni@redhat.com>
405
406         * configure.in: Add -fsigned-char to LOCAL_CFLAGS for Linux
407         running on the IBM S/390.
408         * configure: Ditto.
409
410 2001-01-07  Michael Sokolov  <msokolov@ivan.Harhan.ORG>
411
412         * rltty.c (save_tty_chars): Fix compilation-stopping typo.
413
414 2000-07-10  Eli Zaretskii  <eliz@is.elta.co.il>
415
416         * terminal.c (_rl_get_screen_size) [__DJGPP__]: Determine screen
417         size via DJGPP-specific calls.
418         (_rl_init_terminal_io) [__MSDOS__]: DJGPP-specific terminal
419         initialization.
420         (_rl_backspace) [__MSDOS__]: Don't call tputs.
421         (ding) [__MSDOS__]: Use DJGPP-specific calls to support visible
422         bell.
423
424         * display.c (_rl_move_vert) [__MSDOS__]: Support cursor movement
425         upwards with DJGPP-specific calls.
426         (_rl_clear_to_eol) [__MSDOS__]: Don't call tputs.
427         (_rl_clear_screen) [__MSDOS__]: Support clear-screen with
428         DJGPP-specific calls.
429         (insert_some_chars) [__MSDOS__]: Don't call tputs.
430         (delete_chars) [__MSDOS__]: Don't call tputs.
431
432 2000-07-08  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
433
434         * readline/readline.h: Ifdef out the export of savestring().
435         It should not have been in the distribution.
436
437 2000-07-07  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
438
439         * Import of readline 4.1.
440
441         Locally modified files: Makefile.in, configure.in, configure
442         (regenerated), config.h.in (regenerated), rltty.c,
443         shell.c signals.c.
444
445         Locally added files: acconfig.h, config/*, config.h.bot,
446         cross-build/*, doc/inc-hit.texinfo.
447
448         New files: USAGE, rlprivate.h, rlshell.h, xmalloc.h.
449
450 2000-03-16  Eli Zaretskii  <eliz@is.elta.co.il>
451
452         * support/shobj-conf: Shared libs are unsupported on MSDOS.
453
454         * bind.c (_rl_read_file): Open files in binary mode.  Strip CR
455         characters after reading the file.
456         (rl_re_read_init_file, rl_read_init_file): Allow for _inputrc on
457         DOS.
458
459         * complete.c (username_completion_function): Don't bypass getpw*
460         function calls for DJGPP.
461         (Filename_completion_function): Handle d:foo/bar file names.
462
463         * display.c (_rl_move_vert) [__GO32__]: fflush the stream, to make
464         sure cursor position is up to date.
465         (_rl_clear_screen) [__GO32__]: Clear screen and home the cursor.
466         (insert_some_characters, delete_characters) [__DJGPP__]: Don't use
467         memcpy.
468
469         * histfile.c (read_history_range, history_truncate_file)
470         (history_do_write) [__MSDOS__]: Allow for underscore instead of
471         the leading dot in file names.
472
473         * input.c: Don't use GO32-specific workarounds if HAVE_SELECT or
474         HAVE_TERMIOS_H are defined.
475
476         * readline.c: Don't disable signals if __DJGPP__ is defined.
477
478         * rltty.c: Don't disable signals and don't bypass termios code for
479         DJGPP (if HAVE_TERMIOS_H is defined).
480
481         * signals.c: Don't disable signals for DJGPP.
482
483         * terminal.c (_rl_get_screen_size) [__DJGPP__]: Initialize screen
484         dimensions.
485         (ding) [__DJGPP__]: Support visual bell.
486
487 1999-08-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
488
489         From Philippe De Muyter  <phdm@macqel.be>
490         * shell.c (stdio.h): File included, for definition of NULL.
491         * readline/rltty.c (get_tty_settings): Conditionalize
492         call to set_winsize on TIOGWINSZ.
493
494 1999-07-30  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
495
496         * Imported Readline 4.0. Integrated all the Cygnus
497         local changes since last import.
498
499         New files: rlstdc.h, savestring.c, shlib directory,
500         doc/manvers.texinfo, examples/rlversion.c, 
501         support/install-shlib, support/shobj-conf.
502
503         Removed files: MANIFEST.doc, doc/inc-hist.texi.
504
505 1999-07-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
506
507         * acconfig.h: Fix typo: it's GWINSZ_IN_SYS_IOCTL, not
508         TIOCGWINSZ_IN_SYS_IOCTL.
509
510         * config.h.in: Regenerate with autoheader.
511
512 1999-04-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
513
514         * ChangeLog.Cygnus: new file. It is the old Changelog.
515         * ChangeLog: removed. It was conflicting with CHANGELOG
516           on Windows.
517
518 1999-04-22  Jason Molenda  (jsm@bugshack.cygnus.com)
519
520         * Makefile.in (install): Make comment about this change more explicit.
521
522 1999-04-22  Jason Molenda  (jsm@bugshack.cygnus.com)
523
524         * Makefile.in (install): Don't install the final libreadline.a
525         or .h files.
526
527 Tue Mar 23 10:56:08 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
528
529         Patches from Robert Hoehne <robert.hoehne@gmx.net>:
530         
531         * display.c: Change some terminal calls to work on DJGPP.
532         * terminal.c: Likewise.
533         * Makefile.in: Remove . from the VPATH directive.
534         
535 Tue Mar  9 14:58:13 1999  Geoffrey Noer  <noer@cygnus.com>
536
537         * support/config.sub: Recognize cygwin*, not just cygwin32.
538
539 Tue Feb  9 10:38:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
540
541         * configure.in: Do not use the ./support directory.
542         * configure: Regenerate.
543
544 Wed Jan  6 12:24:19 1999  Christopher Faylor <cgf@cygnus.com>
545
546         * configure.in: Use LOCAL_CFLAGS rather than CFLAGS for
547         searching libtermcap directory.
548         * configure: Regenerate.
549
550 Thu Dec 31 12:07:01 1998  Christopher Faylor <cgf@cygnus.com>
551
552         * configure.in: Search devo libtermcap directory for termcap.h
553         when compiling for cygwin.
554         * configure: Regenerated.
555
556 1998-12-30  Michael Meissner  <meissner@cygnus.com>
557
558         * Makefile.in (install): Only try to copy libreadline.a and
559         libhistory.a if they exist.
560
561 Tue Dec 29 23:49:20 1998  Christopher Faylor <cgf@cygnus.com>
562
563         * cross-build/cygwin.cache: Add a couple more known settings.
564         * configure.in: Fix typo.
565         * configure: Regenerated.
566
567 Tue Dec 29 18:11:28 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
568
569         * cross-build: new directory.
570         
571         * cross-build/cygwin.cache: new file. Used for Cygwin cross builds.
572
573         * configure.in: added tests for cross-build for Cygwin.
574
575 1998-12-24  Jason Molenda  (jsm@bugshack.cygnus.com)
576
577         * Makefile.in: Add CYGNUS LOCAL comment.
578         * acconfig.h: Add missing defines.
579         * config.h.bot: Add missing content.
580         * configure, config.h.in: Regenerated.
581
582 Wed Dec 23 16:21:41 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
583
584         * Makefile.in: comment out the rule to rebuild configure by 
585         running autoconf. 
586
587 Tue Dec 22 10:00:30 1998  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
588
589         * shell.c (savestring): ifdef'd it out. 
590
591         * Imported new version of Readline 2.2.1. Removed all the Cygnus
592         local changes.
593
594         New files: acconfig.h, aclocal.m4, ansi_stdlib.h, callback.c,
595         config.h.in, configure, histexpand.c, histfile.c, histlib.h,
596         histsearch.c, input.c, kill.c, macro.c, nls.c, posixdir.h,
597         posixjmp.h, posixstat.h, rlconf.h, rltty.h, rlwinsize.h, shell.c,
598         tcap.h, terminal.c, undo.c, util.c, support directory.
599
600         Removed files: sysdep*, config directory.
601         
602
603 Fri Dec  4 15:25:41 1998  David Taylor  <taylor@texas.cygnus.com>
604
605         The following changes were made by Jim Blandy
606         <jimb@zwingli.cygnus.com> and David Taylor
607         <taylor@texas.cygnus.com> as part of a project to merge in changes
608         made by HP; HP did not create ChangeLog entries.
609
610         * config/mp-enable-tui: New file.
611         (TUI_CFLAGS): Search devo's include directory, as long as we're
612         totally ruining modularity.
613         (INCLUDE_SRCDIR): New var.
614         (GDB_TUI_SRCDIR): Fix syntax error.
615
616         * configure.in: Check the --enable-tui flag; if it's set, include
617         a makefile fragment that #defines TUI and adds the needed #include
618         directories.
619         (*-*-hpux*): New host; use sysdep-hpux.h.
620
621         * Makefile.in (.c.o): Check the variable set in the makefile
622         fragment above.
623
624         * display.c (term_goto): declare it.
625         (insert_some_chars): set it.
626         (delete_chars): set it.
627
628         * readline.c: add tui include files surrounded by TUI.
629         (rl_reset): new function, move some of rl_abort functionality to
630         here.
631         (rl_abort): call rl_reset.
632         (rl_getc): tui changes.
633         (init_terminal_io): tui changes.
634
635         * readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
636         tui_tputs): declare if TUI is defined.
637
638         * rltty.c (prepare_terminal_settings): additional comment.
639
640         * signals.c: add tui include files surrounded by TUI.  move #if
641         and #endif to column 1 so HP's compiler will accept them.  Remove
642         declaration of tuiDoAndReturnToTop since it's declared in tui.h.
643         (rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
644         (rl_handle_sigwinch_on_clear): define if TUI defined.
645         (rl_set_signals): if TUI, avoid infinite recursion.
646         (rl_clear_signals): install rl_handle_sigwinch_on_clear.
647
648         * sysdep-hpux.h: New file.
649
650 Mon Nov  2 15:26:33 1998  Geoffrey Noer  <noer@cygnus.com>
651
652         * configure.in: Check cygwin* instead of cygwin32*.
653
654 Tue Jul 28 09:43:27 1998  Jeffrey A Law  (law@cygnus.com)
655
656         * sysdep-hpux11.h: New file.
657         * configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.
658
659 Thu Jul 23 17:48:21 1998  Ian Lance Taylor  <ian@cygnus.com>
660
661         * configure.bat: Remove obsolete file.
662         * examples/configure.bat: Remove obsolete file.
663
664 Wed May 13 13:41:53 1998  Ian Lance Taylor  <ian@cygnus.com>
665
666         * sysdep-6irix.h: New file.
667         * configure.in (*-*-irix6*): New host; use sysdep-6irix.h.
668
669         * Makefile.in (isearch.o, search.o): Depend upon sysdep.h.
670         (Makefile): Depend upon $(srcdir)/configure.in.
671
672 Thu Apr  9 11:59:38 1998  Ian Dall (<Ian.Dall@dsto.defence.gov.au>
673
674         * configure.in (host==netbsd): Include config/mh-bsd44.
675         * config/mh-bsd44: New file.
676
677 Wed Dec  3 16:48:20 1997  Michael Snyder  (msnyder@cleaver.cygnus.com)
678
679         * rltty.c: fix typos.
680
681 Tue Oct  8 08:59:24 1996  Stu Grossman  (grossman@critters.cygnus.com)
682
683         * tilde.c (tilde_word_expand):  __MSDOS___ -> __MSDOS__
684
685 Sat Oct 05 11:24:34 1996  Mark Alexander  <marka@cygnus.com>
686
687         * rldefs.h: On Linux, include <termios.h> to fix compile error
688         in <termcap.h>.
689
690 Wed Sep  4 18:06:51 1996  Stu Grossman  (grossman@critters.cygnus.com)
691
692         * rldefs.h:  Enable HANDLE_SIGNALS for cygwin32.
693
694 Thu Aug 29 16:59:45 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
695
696         * configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
697
698 Fri Aug 16 17:49:57 1996  Stu Grossman  (grossman@critters.cygnus.com)
699
700         * complete.c:  Include <pwd.h> if not DOS, and if cygwin32 or not
701         win32.
702         * configure.in:  Add test for *-*-cygwin32* to use config/mh-posix.
703         * readline.c:  Move decl of tgetstr to rldefs.h.
704         * (_rl_set_screen_size):  Remove redundant ifdef MINIMALs.
705         * rldefs.h:  Don't do MINIMAL for cygwin32.  Cygwin32 now uses
706         full-blown readline, except for termcap.
707
708 Sun Aug 11 21:06:26 1996  Stu Grossman  (grossman@critters.cygnus.com)
709
710         * rldefs.c:  Get rid of define of SIGALRM if _WIN32 or __MSDOS__.
711         * Don't define ScreenCols/ScreenRows/... if cygwin32.
712         * sysdep-norm.h:  Don't include <malloc.h> if cygwin32.
713
714 Sun Aug 11 14:59:09 1996  Fred Fish  <fnf@cygnus.com>
715
716         * rldefs.h:  If __osf__is defined, include <termio.h> instead of
717         <sgtty.h>.
718
719 Fri Aug  9 08:54:26 1996  Stu Grossman  (grossman@critters.cygnus.com)
720
721         * bind.c complete.c history.c readline.c:  Don't include sys/file.h.
722         * complete.c display.c parens.c readline.c rldefs.h rltty.c
723         signals.c tilde.c:  Change refs to _MSC_VER and __WIN32__ to _WIN32.
724         * signals.c (rl_signal_handler):  Ifdef out kill if _WIN32.
725         * sysdep-norm.h:  Ifdef out include of dirent.h if _WIN32.
726         Include malloc.h if _WIN32.
727
728 Thu Jul 18 15:59:35 1996  Michael Meissner  <meissner@tiktok.cygnus.com>
729
730         * rldefs.h (sys/uio.h) Before sys/stream.h is included under AIX,
731         include sys/uio.h, which prevents an undefined structure used in a
732         prototype message from being generated.
733
734 Tue Jun 25 23:05:55 1996  Jason Molenda  (crash@godzilla.cygnus.co.jp)
735
736         * Makefile.in (datadir): Set to $(prefix)/share.
737         (docdir): Removed.
738
739 Sun May 26 15:14:42 1996  Fred Fish  <fnf@cygnus.com>
740
741         From: David Mosberger-Tang  <davidm@azstarnet.com>
742
743         * sysdep-linux.h: New file.
744         * display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
745         * configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
746         support non-x86 based Linux platforms.
747
748 Sun Apr  7 22:06:11 1996  Fred Fish  <fnf@cygnus.com>
749
750         From: Miles Bader  <miles@gnu.ai.mit.edu>
751         * config/mh-gnu: New file.
752         * configure.in (*-*-gnu*): New host.
753
754 Sun Apr  7 13:21:51 1996  Fred Fish  <fnf@cygnus.com>
755
756         From: Robert Lipe <robertl@dgii.com>
757         * configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like
758         SCO 3.2v4 than 3.2v2.
759
760 Wed Jan  3 18:22:10 1996  steve chamberlain  <sac@slash.cygnus.com>
761
762         * readline.c, display.c, complete.c: Add _MSC_VER to list of
763         things which can't do most things.
764
765 Thu Nov 16 15:39:05 1995  Geoffrey Noer <noer@cygnus.com>
766
767         * complete.c: Change WIN32 to __WIN32__, added #else return NULL
768         to end of that define.
769
770 Tue Oct 31 10:38:58 1995  steve chamberlain  <sac@slash.cygnus.com>
771
772         * display.c, parens.c, readline.c, rldefs.h: Change use of
773         WIN32 to __WIN32__.
774
775 Tue Oct 10 11:07:23 1995  Fred Fish  <fnf@cygnus.com>
776
777         * Makefile.in (BISON): Remove macro.
778
779 Tue Oct 10 08:49:00 1995  steve chamberlain  <sac@slash.cygnus.com>
780
781         * complete.c (filename_completion_function): Enable for
782         win32 when not MSC.
783
784 Sun Oct  8 04:17:19 1995  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
785
786         * configure.in:  Handle powerpc-ibm-aix* like rs6000-ibm-aix*.
787
788 Sat Oct  7 20:36:16 1995  Michael Meissner  <meissner@cygnus.com>
789
790         * rltty.c (outchar): Return an int, like tputs expects.
791         * signals.c (_rl_output_character_function): Ditto.
792
793 Fri Sep 29 15:19:23 1995  steve chamberlain  <sac@slash.cygnus.com>
794
795         Fixes for when the host WIN32, but not MSC.
796         * complete.c: Sometimes have pwd.h
797         * parens.c: WIN32 has similar restrictions to __GO32__.
798         * readline.c (__GO32__): Some of this moved into rldefs.h
799         * signals.c (__GO32__): Likewise.
800         * rldefs.h (MSDOS||WIN32) becomes MSDOS||MSC.
801         (WIN32&&!WIN32): New definitions.
802
803 Wed Sep 20 12:57:17 1995  Ian Lance Taylor  <ian@cygnus.com>
804
805         * Makefile.in (maintainer-clean): New synonym for realclean.
806
807 Wed Mar  1 13:33:43 1995  Michael Meissner  <meissner@tiktok.cygnus.com>
808
809         * rltty.c (outchar): Provide prototype for outchar, to silence
810         type warnings in passing outchar to tputs on systems like Linux
811         that have full prototypes.
812
813         * signals.c (_rl_output_character_function): Provide prototype to
814         silence type warnings.
815
816 Sun Jan 15 14:10:37 1995  Steve Chamberlain  <sac@splat>
817
818         * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
819         * complete.c, display.c, readline.c, rltty.c: Test MINIMAL
820         instead of __GO32__.
821
822 Wed Aug 24 13:04:47 1994  Ian Lance Taylor  (ian@sanguine.cygnus.com)
823
824         * configure.in: Change i[34]86 to i[345]86.
825
826 Sat Jul 16 13:26:31 1994  Stan Shebs  (shebs@andros.cygnus.com)
827
828         * configure.in (m88*-harris-cxux7*): Recognize.
829         * sysdep-cxux7.h: New file.
830
831 Fri Jul  8 13:18:33 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
832
833         * rttty.c (control_meta_key_on): Remove superfluous testing of
834         __GO32__.
835
836 Thu Jun 30 15:21:54 1994  Steve Chamberlain  (sac@jonny.cygnus.com)
837
838         * rltty.c (control_meta_key_on): Don't compile if __GO32__ is
839         defined.
840         (rltty_set_default_bindings): Likewise.
841         * display.c (insert_some_chars, delete_chars): row_start should be
842         a short.
843         * parens.c (rl_insert_close): No FD_SET if using __GO32__.
844         * readline.c (rl_gather_tyi): Strip off spurious high bits.
845
846 Sun Jun 12 03:51:52 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
847
848         * history.c:  Swap inclusion of rldefs.h and chardefs.h to avoid
849         CTRL macro redefinition.
850
851 Mon May  9 18:29:42 1994  Ian Lance Taylor  (ian@tweedledumb.cygnus.com)
852
853         * readline.c (readline_default_bindings): Don't compile if
854         __GO32__ is defined.
855         (_rl_set_screen_size): Likewise.
856         * rltty.c (rltty_set_default_bindings): Likewise.
857         (control_meta_key): Likewise.
858         * display.c: If __GO32__ is defined, include <sys/pc.h>.
859         * parens.c: If __GO32__ is defined, undefine FD_SET.
860         * signals.c: Include SIGWINCH handling in the set of things which
861         is not done if HANDLE_SIGNALS is not set.
862
863 Fri May  6 13:38:39 1994  Steve Chamberlain  (sac@cygnus.com)
864
865         * config/mh-go32: New fragment.
866         * configure.in (host==go32): Use go32 fragment.
867
868 Wed May  4 14:36:53 1994  Stu Grossman  (grossman@cygnus.com)
869
870         * chardefs.h, rldefs.h:  Move decls of string funcs from chardefs.h
871         to rldefs.h so that they don't pollute apps that include
872         readline.h.
873         * history.c:  include rldefs.h to get decls of string funcs.
874
875 Wed May  4 12:15:11 1994  Stan Shebs  (shebs@andros.cygnus.com)
876
877         * configure.in (rs6000-bull-bosx*): New configuration, RS/6000
878         variant.
879
880 Wed Apr 20 10:43:52 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
881
882         * configure.in: Use mh-posix for sunos4.1*.
883
884 Wed Apr 13 21:28:44 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
885
886         * rltty.c (set_tty_settings): Don't set readline_echoing_p.
887         (rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
888
889 Sun Mar 13 09:13:12 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
890
891         * Makefile.in: Add TAGS target.
892
893 Wed Mar  9 18:01:31 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
894
895         * isearch.c, search.c: Include sysdep.h.
896
897 Thu Mar  3 17:40:03 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
898
899         * configure.in: For ISC, use mh-sysv, not mh-isc.
900
901 Thu Feb 24 04:13:53 1994  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
902
903         * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
904         into tilde.c and use it. Add system function declarations where
905         necessary. Check for __GO32__, not _GO32_ consistently.
906         * Makefile.in:  Update dependencies.
907         * rltty.c:  Include <sys/file.h> to match include file setup
908         in readline.c for rldefs.h. Otherwise we get inconsistent
909         TTY_DRIVER definitions in readline.c and rltty.c.
910         * bind.c, complete.c:  Do not include <sys/types.h>, it is already
911         included via sysdep.h, which causes problems if <sys/types.h> has
912         no multiple inclusion protection.
913         * readline.c (_rl_set_screen_size):  Reestablish test for
914         TIOCGWINSZ_BROKEN.
915         * rldefs.h:  Define S_ISREG if necessary.
916
917 Fri Feb 18 08:56:35 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
918
919         * Makefile.in: Add search.o rule for Sun make.
920
921 Wed Feb 16 16:35:49 1994  Per Bothner  (bothner@kalessin.cygnus.com)
922
923         * rltty.c:  #if out some code if __GO32__.
924
925 Tue Feb 15 14:07:08 1994  Per Bothner  (bothner@kalessin.cygnus.com)
926
927         * readline.c (_rl_output_character_function), display.c:
928         Return int, not void, to conform with the expected arg of tputs.
929         * readline.c (init_terminal_io):  tgetflag only takes 1 arg.
930         * readline.c (_rl_savestring):  New function.
931         * chardefs.h:  To avoid conflicts and/or warnings, define
932         savestring as a macro wrapper for _rl_savestring.
933         * display.c (extern term_xn):  It's an int flag, not a string.
934         * charsdefs.h, rldefs.h:  Remove HAVE_STRING_H-related junk.
935
936 Sat Feb  5 08:32:30 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
937
938         * Makefile.in: Remove obsolete rules for history.info and
939         readline.info.
940
941 Thu Jan 27 17:04:01 1994  Jim Kingdon  (kingdon@deneb.cygnus.com)
942
943         * chardefs.h: Only declare strrchr if it is not #define'd.
944
945 Tue Jan 25 11:30:06 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
946
947         * rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode.
948
949 Fri Jan 21 17:31:26 1994  Jim Kingdon  (kingdon@lisa.cygnus.com)
950
951         * chardefs.h, tilde.c: Just declare strrchr rather than trying to
952         include a system header.
953
954 Fri Jan 21 14:40:43 1994  Fred Fish  (fnf@cygnus.com)
955
956         * Makefile.in (distclean, realclean):  Expand local-distclean
957         inline after doing recursion.  You can't recurse after removing
958         Makefile.  Make them depend on local-clean.
959         * Makefile.in (local-distclean):  Remove now superfluous target.
960
961 Mon Jan 17 12:42:07 1994  Ken Raeburn  (raeburn@cujo.cygnus.com)
962
963         * readline.c (doing_an_undo): Delete second declaration, since it
964         confuses the alpha-osf1 native compiler.
965
966 Sun Jan 16 12:33:11 1994  Jim Kingdon  (kingdon@lioth.cygnus.com)
967
968         * complete.c, bind.c: Include <sys/stat.h>.
969         * complete.c: Define X_OK if not defined by a system header.
970
971         * chardefs.h: Don't declare xmalloc.
972
973         * keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
974
975         * Makefile.in (clean mostlyclean distclean realclean): Recurse
976         into subdirectories as well as doing this directory.  Add clean-dvi
977         target.
978
979 Sat Jan 15 19:36:12 1994  Per Bothner  (bothner@kalessin.cygnus.com)
980
981         * readline.c, display.c:  Patches to allow use of all 80
982         columns on most terminals (those with am and xn).
983
984         Merge in changes from bash-1.13.  The most obvious one is
985         that the file readline.c has been split into multiple files.
986         * bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
987         rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c:  New files.
988
989 Sat Dec 11 16:29:17 1993  Steve Chamberlain  (sac@thepub.cygnus.com)
990
991         * readline.c (rl_getc): If GO32, trim high bit from getkey,
992         otherwise fancy PC keys cause grief.
993
994 Fri Nov  5 11:49:47 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
995
996         * configure.in: Add doc to configdirs.
997         * Makefile.in (info dvi install-info clean-info): Recurse into doc.
998
999 Fri Oct 22 07:55:08 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1000
1001         * configure.in: Add * to end of all OS names.
1002
1003 Tue Oct  5 12:33:51 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1004
1005         * readline.c: Add stuff for HIUX to place where we detect termio
1006         vs. sgtty (ugh, but I don't see a simple better way).
1007
1008 Wed Sep 29 11:02:58 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1009
1010         * readline.c (parser_if): Free tname when done with it (change
1011         imported from from bash 1.12 readline).
1012
1013 Tue Sep  7 17:15:37 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1014
1015         * configure.in (m88k-*-sysvr4*): Comment out previous change.
1016
1017 Fri Jul  2 11:05:34 1993  Ian Lance Taylor  (ian@cygnus.com)
1018
1019         * configure.in (*-*-riscos*): New entry; use mh-sysv.
1020
1021 Wed Jun 23 13:00:12 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1022
1023         * configure.in: Add comment.
1024
1025 Mon Jun 14 14:28:55 1993  Jim Kingdon  (kingdon@eric)
1026
1027         * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h.
1028
1029 Sun Jun 13 13:04:09 1993  Jim Kingdon  (kingdon@cygnus.com)
1030
1031         * Makefile.in ({real,dist}clean): Remove sysdep.h.
1032
1033 Thu Jun 10 11:22:41 1993  Jim Kingdon  (kingdon@cygnus.com)
1034
1035         * Makefile.in: Add mostlyclean, distclean, and realclean targets.
1036
1037 Fri May 21 17:09:28 1993  Jim Kingdon  (kingdon@lioth.cygnus.com)
1038
1039         * config/mh-isc: New file.
1040         * configure.in: Use it.
1041
1042 Sat Apr 17 00:40:12 1993  Jim Kingdon  (kingdon at calvin)
1043
1044         * readline.c, history.c: Don't include sys/types.h; sysdep.h does.
1045
1046         * config/mh-sysv: Define TIOCGWINSZ_BROKEN.
1047         readline.c: Check it.
1048
1049 Wed Mar 24 02:06:15 1993  david d `zoo' zuhn  (zoo at poseidon.cygnus.com)
1050
1051         * Makefile.in: add installcheck & dvi targets
1052
1053 Fri Mar 12 18:36:53 1993  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
1054
1055         * configure.in: recognize *-*-solaris2* instead of *-*-solaris* (a
1056         number of people want to call SunOS 4.1.2 "solaris1.0"
1057         and get it right)
1058
1059 Tue Mar  2 21:25:36 1993  Fred Fish  (fnf@cygnus.com)
1060
1061         * sysdep-sysv4.h:  New file for SVR4.
1062         * configure.in (*-*-sysv4*):  Use sysdep-sysv4.h.
1063
1064         * configure.in (*-*-ultrix2):  Add triplet from Michael Rendell
1065         (michael@mercury.cs.mun.ca)
1066
1067 Tue Dec 15 12:38:16 1992  Ian Lance Taylor  (ian@cygnus.com)
1068
1069         * configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
1070         * config/mh-sco4: New file, like mh-sco but without defining
1071         _POSIX_SOURCE.
1072
1073 Wed Nov 11 21:20:14 1992  John Gilmore  (gnu@cygnus.com)
1074
1075         * configure.in:  Reformat to one-case-per-line.
1076         Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.
1077
1078 Wed Nov  4 15:32:31 1992  Stu Grossman  (grossman at cygnus.com)
1079
1080         * sysdep-norm.h:  Remove some crud, install dire warning.
1081
1082 Thu Oct 22 01:08:13 1992  Stu Grossman  (grossman at cygnus.com)
1083
1084         * configure.in:  Make SCO work again...
1085
1086 Mon Oct 12 15:04:07 1992  Ian Lance Taylor  (ian@cygnus.com)
1087
1088         * readline.c (init_terminal_io): if tgetent returns 0, the
1089         terminal type is unknown.
1090
1091 Thu Oct  1 23:44:14 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
1092
1093         * configure.in: use cpu-vendor-os triple instead of nested cases
1094
1095 Wed Sep 30 12:58:57 1992  Stu Grossman  (grossman at cygnus.com)
1096
1097         * readline.c (rl_complete_internal):  Cast alloca to (char *) to
1098         avoid warning.
1099
1100 Fri Sep 25 12:45:05 1992  Stu Grossman  (grossman at cygnus.com)
1101
1102         * readline.c (clear_to_eol, rl_generic_bind):  Make static.
1103         (rl_digit_loop):  Add arg to call to rl_message().
1104         * vi_mode.c (rl_vi_first_print):  Add arg to call to
1105         rl_back_to_indent().
1106
1107 Wed Aug 19 14:59:07 1992  Ian Lance Taylor  (ian@cygnus.com)
1108
1109         * Makefile.in: always create installation directories, use full
1110         file name for install target.
1111
1112 Wed Aug 12 15:50:57 1992  John Gilmore  (gnu@cygnus.com)
1113
1114         * readline.c (last_readline_init_file):  Fix typo made by Steve
1115         Chamberlain/DJ Delorie.  Proper control file name is ~/.inputrc,
1116         not ~/inputrc.
1117
1118 Thu Jun 25 16:15:27 1992  Stu Grossman  (grossman at cygnus.com)
1119
1120         * configure.in:  Make bsd based systems use sysdep-obsd.h.
1121
1122 Tue Jun 23 23:22:53 1992  Per Bothner  (bothner@cygnus.com)
1123
1124         * config/mh-posix:  New file, for Posix-compliant systems.
1125         * configure.in:  Use mh-posix for Linux (free Unix clone).
1126
1127 Tue Jun 23 21:59:20 1992  Fred Fish  (fnf@cygnus.com)
1128
1129         * sysdep-norm.h (alloca):  Protect against previous definition as
1130         a macro with arguments.
1131
1132 Fri Jun 19 15:48:54 1992  Stu Grossman  (grossman at cygnus.com)
1133
1134         * sysdep-obsd.h:  #include <sys/types.h> to make this more Kosher.
1135
1136 Fri Jun 19 12:53:28 1992  John Gilmore  (gnu at cygnus.com)
1137
1138         * config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.
1139
1140 Mon Jun 15 13:50:34 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)
1141
1142         * configure.in: use mh-sysv4 on solaris2
1143
1144 Mon Jun 15 12:28:24 1992  Fred Fish  (fnf@cygnus.com)
1145
1146         * config/mh-ncr3000 (INSTALL):  Don't use /usr/ucb/install,
1147         it is broken on ncr 3000's.
1148         * config/mh-ncr3000 (RANLIB):  Use RANLIB=true.
1149
1150 Mon Jun 15 01:35:55 1992  John Gilmore  (gnu at cygnus.com)
1151
1152         * readline.c: Make new SIGNALS_* macros to parameterize the 
1153         ugly changes in signal blocking.  Use them throughout,
1154         reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
1155         significantly.  Make all such places use POSIX if available,
1156         to avoid losing with poor `sigsetmask' emulation from libiberty.
1157
1158 Sun Jun 14 15:19:51 1992  Stu Grossman  (grossman at cygnus.com)
1159
1160         * readline.c (insert_some_chars):  Return void.
1161
1162 Thu Jun 11 01:27:45 1992  John Gilmore  (gnu at cygnus.com)
1163
1164         * readline.c:  #undef PC, which Solaris2 defines in sys/types.h,
1165         clobbering the termcap global variable PC.
1166
1167 Tue Jun  9 17:30:23 1992  Fred Fish  (fnf@cygnus.com)
1168
1169         * config/{mh-ncr3000, mh-sysv4}:  Change INSTALL to use
1170         /usr/ucb/install.
1171
1172 Mon Jun  8 23:10:07 1992  Fred Fish  (fnf@cygnus.com)
1173
1174         * readline.h (rl_completer_quote_characters):  Add declaration.
1175         * readline.c (rl_completer_quote_characters):  Add global var.
1176         * readline.c (strpbrk):  Add prototype and function.
1177         * readline.c (rl_complete_internal):  Add code to handle
1178         expansion of quoted strings.
1179
1180 Mon May 11 12:39:30 1992  John Gilmore  (gnu at cygnus.com)
1181
1182         * readline.c:  Can't initialize FILE *'s with stdin and stdout,
1183         because they might not be constant.  Patch from Tom Quinn,
1184         trq@dinoysos.thphys.ox.ac.uk.
1185
1186 Tue Apr 28 21:52:34 1992  John Gilmore  (gnu at cygnus.com)
1187
1188         * readline.h:  Declare rl_event_hook (which already existed).
1189         Suggested by Christoph Tietz <tietz@zi.gmd.dbp.de>.
1190
1191 Wed Apr 22 18:08:01 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
1192
1193         * configure.in: remove subdirs declaration.  The obsolete semantic
1194           for subdirs has been usurped by per's new meaning.
1195
1196 Tue Apr 21 11:54:23 1992  K. Richard Pixley  (rich@cygnus.com)
1197
1198         * Makefile.in: rework CFLAGS so that they can be set on the
1199           command line to make.  Remove MINUS_G.  Default CFLAGS to -g.
1200
1201 Fri Apr 10 23:02:27 1992  Fred Fish  (fnf@cygnus.com)
1202
1203         * configure.in:  Recognize new ncr3000 config.
1204         * config/mh-ncr3000:  New NCR 3000 config file.
1205
1206 Wed Mar 25 10:46:30 1992  John Gilmore  (gnu at cygnus.com)
1207
1208         * history.c (stifle_history):  Negative arg treated as zero.
1209
1210 Tue Mar 24 23:46:20 1992  K. Richard Pixley  (rich@cygnus.com)
1211
1212         * config/mh-sysv: INSTALL_PROG -> INSTALL.
1213
1214 Mon Feb 10 01:41:35 1992  Brian Fox  (bfox at gnuwest.fsf.org)
1215
1216         * history.c (history_do_write) Build a buffer of all of the lines
1217         to write and write them in one fell swoop (lower overhead than
1218         calling write () for each line).  Suggested by Peter Ho.
1219
1220         * vi_mode.c (rl_vi_subst) Don't forget to end the undo group.
1221
1222 Sat Mar  7 00:15:36 1992  K. Richard Pixley  (rich@rtl.cygnus.com)
1223
1224         * Makefile.in: remove FIXME's on info and install-info targets.
1225
1226 Fri Mar  6 22:02:04 1992  K. Richard Pixley  (rich@cygnus.com)
1227
1228         * Makefile.in: added check target.
1229
1230 Wed Feb 26 18:04:40 1992  K. Richard Pixley  (rich@cygnus.com)
1231
1232         * Makefile.in, configure.in: removed traces of namesubdir,
1233           -subdirs, $(subdir), $(unsubdir), some rcs triggers.  Forced
1234           copyrights to '92, changed some from Cygnus to FSF.
1235
1236 Fri Feb 21 14:37:32 1992  Steve Chamberlain  (sac at rtl.cygnus.com)
1237
1238         * readline.c, examples/fileman.c: patches from DJ to support DOS
1239
1240 Thu Feb 20 23:23:16 1992  Stu Grossman  (grossman at cygnus.com)
1241
1242         * readline.c (rl_read_init_file):  Make sure that null filename is
1243         not passed to open() or else we end up opening the directory, and
1244         read a bunch of garbage into keymap[].
1245
1246 Mon Feb 17 17:15:09 1992  Fred Fish  (fnf at cygnus.com)
1247
1248         * readline.c (readline_default_bindings):  Only make use of VLNEXT
1249         when both VLNEXT and TERMIOS_TTY_DRIVER is defined.  On SVR4
1250         <termio.h> includes <termios.h>, so VLNEXT is always defined.
1251
1252         * sysdep-norm.h (_POSIX_VERSION):  Define this for all SVR4
1253         systems so that <termios.h> gets used, instead of <termio.h>.
1254
1255 Fri Dec 20 12:04:31 1991  Fred Fish  (fnf at cygnus.com)
1256
1257         * configure.in:  Change svr4 references to sysv4.
1258
1259 Tue Dec 10 04:07:20 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
1260
1261         * Makefile.in: infodir belongs in datadir.
1262
1263 Fri Dec  6 23:23:14 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
1264
1265         * Makefile.in: remove spaces following hyphens, bsd make can't
1266           cope. added clean-info.  added standards.text support.  Don't
1267           know how to make info anymore.
1268
1269         * configure.in: commontargets is no longer a recognized hook, so
1270           remove it.  new subdir called doc.
1271
1272 Thu Dec  5 22:46:10 1991  K. Richard Pixley  (rich at rtl.cygnus.com)
1273
1274         * Makefile.in: idestdir and ddestdir go away.  Added copyrights
1275           and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
1276           and mandir now keyed off datadir by default.
1277
1278 Fri Nov 22 09:02:32 1991  John Gilmore  (gnu at cygnus.com)
1279
1280         * sysdep-obsd.h:  Rename from sysdep-newsos.h.
1281         * configure.in:  Use sysdep-obsd for Mach as well as NEWs.
1282
1283         * sysdep-norm.h, sysdep-aix.h:  Add <sys/types.h>, which POSIX
1284         requires to make <dirent.h> work.  Improve Sun alloca decl.
1285
1286 Thu Nov 21 18:48:08 1991  John Gilmore  (gnu at cygnus.com)
1287
1288         * Makefile.in:  Clean up ../glob/tilde.c -> tilde.o path.
1289         Clean up makefile a bit in general.
1290
1291 Thu Nov 21 14:40:29 1991  Stu Grossman  (grossman at cygnus.com)
1292
1293         * configure.in, config/mh-svr4:  Make SVR4 work.
1294
1295         * readline.c:  Move config stuff to sysdep.h, use typedef dirent
1296         consistently, remove refs to d_namlen (& D_NAMLEN) to improve
1297         portability.  Also, update copyright notice.
1298         readline.h:  remove config stuff that I added erroneously in the
1299         first place.
1300
1301         * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
1302         vi_mode.c:  move config stuff to sysdep.h, update copyright notices.
1303
1304 Tue Nov 19 15:02:13 1991  Stu Grossman  (grossman at cygnus.com)
1305
1306         * history.c:  #include "sysdep.h".
1307
1308 Tue Nov 19 10:49:17 1991  Fred Fish  (fnf at cygnus.com)
1309
1310         * Makefile.in, config/hm-sysv, config/hm-sco:  Change SYSV to
1311         USG to match current usage.
1312
1313         * readline.c:  Add USGr4 to list of defined things to check for
1314         to use <dirent.h> style directory access.
1315
1316         * config/hm-svr4:  New file for System V Release 4 (USGr4).
1317
1318 Mon Nov 18 23:59:52 1991  Stu Grossman  (grossman at cygnus.com)
1319
1320         * readline.c (filename_completion_function):  use struct dirent
1321         instead of struct direct.
1322
1323 Fri Nov  1 07:02:13 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1324
1325         * readline.c (rl_translate_keyseq) Make C-? translate to RUBOUT
1326         unconditionally.
1327
1328 Mon Oct 28 11:34:52 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1329
1330         * readline.c; Use Posix directory routines and macros.
1331
1332         * funmap.c; Add entry for call-last-kbd-macro.
1333
1334         * readline.c (rl_prep_term); Use system EOF character on POSIX
1335         systems also.
1336
1337 Thu Oct  3 16:19:53 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1338
1339         * readline.c; Make a distinction between having a TERMIOS tty
1340         driver, and having POSIX signal handling.  You might one without
1341         the other.  New defines used HAVE_POSIX_SIGNALS, and
1342         TERMIOS_TTY_DRIVER.
1343
1344 Tue Jul 30 22:37:26 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1345
1346         * readline.c: rl_getc () If a call to read () returns without an
1347         error, but with zero characters, the file is empty, so return EOF.
1348
1349 Thu Jul 11 20:58:38 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1350
1351         * readline.c: (rl_get_next_history, rl_get_previous_history)
1352         Reallocate the buffer space if the line being moved to is longer
1353         the the current space allocated.  Amazing that no one has found
1354         this bug until now.
1355
1356 Sun Jul  7 02:37:05 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1357
1358         * readline.c:(rl_parse_and_bind) Allow leading whitespace.
1359           Make sure TERMIO and TERMIOS systems treat CR and NL
1360           disctinctly.
1361         
1362 Tue Jun 25 04:09:27 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1363
1364         * readline.c: Rework parsing conditionals to pay attention to the
1365         prior states of the conditional stack.  This makes $if statements
1366         work correctly.
1367
1368 Mon Jun 24 20:45:59 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1369
1370         * readline.c: support for displaying key binding information
1371         includes the functions rl_list_funmap_names (),
1372         invoking_keyseqs_in_map (), rl_invoking_keyseqs (),
1373         rl_dump_functions (), and rl_function_dumper ().
1374
1375         funmap.c: support for same includes rl_funmap_names ().
1376
1377         readline.c, funmap.c: no longer define STATIC_MALLOC.  However,
1378         update both version of xrealloc () to handle a null pointer.
1379
1380 Thu Apr 25 12:03:49 1991  Brian Fox  (bfox at gnuwest.fsf.org)
1381
1382         * vi_mode.c (rl_vi_fword, fWord, etc.  All functions use
1383         the macro `isident()'.  Fixed movement bug which prevents
1384         continious movement through the text.
1385
1386 Fri Jul 27 16:47:01 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1387
1388         * readline.c (parser_if) Allow "$if term=foo" construct.
1389
1390 Wed May 23 16:10:33 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1391
1392         * readline.c (rl_dispatch) Correctly remember the last command
1393         executed.  Fixed typo in username_completion_function ().
1394
1395 Mon Apr  9 19:55:48 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1396
1397         * readline.c: username_completion_function (); For text passed in
1398         with a leading `~', remember that this could be a filename (after
1399         it is completed).
1400
1401 Thu Apr  5 13:44:24 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1402
1403         * readline.c: rl_search_history (): Correctly handle case of an
1404         unfound search string, but a graceful exit (as with ESC).
1405
1406         * readline.c: rl_restart_output ();  The Apollo passes the address
1407         of the file descriptor to TIOCSTART, not the descriptor itself.
1408
1409 Tue Mar 20 05:38:55 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1410
1411         * readline.c: rl_complete (); second call in a row causes possible
1412         completions to be listed.
1413
1414         * readline.c: rl_redisplay (), added prompt_this_line variable
1415         which is the first character character following \n in prompt.
1416
1417 Sun Mar 11 04:32:03 1990  Brian Fox  (bfox at gnuwest.fsf.org)
1418
1419         * Signals are now supposedly handled inside of SYSV compilation.
1420
1421 Wed Jan 17 19:24:09 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
1422
1423         * history.c: history_expand (); fixed overwriting memory error,
1424         added needed argument to call to get_history_event ().
1425
1426 Thu Jan 11 10:54:04 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
1427
1428         * readline.c: added mark_modified_lines to control the
1429         display of an asterisk on modified history lines.  Also
1430         added a user variable called mark-modified-lines to the
1431         `set' command.
1432
1433 Thu Jan  4 10:38:05 1990  Brian Fox  (bfox at sbphy.ucsb.edu)
1434
1435         * readline.c: start_insert ().  Only use IC if we don't have an im
1436         capability.
1437
1438 Fri Sep  8 09:00:45 1989  Brian Fox  (bfox at aurel)
1439
1440         * readline.c: rl_prep_terminal ().  Only turn on 8th bit
1441           as meta-bit iff the terminal is not using parity.
1442
1443 Sun Sep  3 08:57:40 1989  Brian Fox  (bfox at aurel)
1444
1445         * readline.c: start_insert ().  Uses multiple
1446           insertion call in cases where that makes sense.
1447
1448           rl_insert ().  Read type-ahead buffer for additional
1449           keys that are bound to rl_insert, and insert them
1450           all at once.  Make insertion of single keys given
1451           with an argument much more efficient.
1452
1453 Tue Aug  8 18:13:57 1989  Brian Fox  (bfox at aurel)
1454
1455         * readline.c: Changed handling of EOF.  readline () returns
1456          (char *)EOF or consed string.  The EOF character is read from the
1457          tty, or if the tty doesn't have one, defaults to C-d.
1458
1459         * readline.c: Added support for event driven programs.
1460           rl_event_hook is the address of a function you want called
1461           while Readline is waiting for input.
1462
1463         * readline.c: Cleanup time.  Functions without type declarations
1464           do not use return with a value.
1465
1466         * history.c: history_expand () has new variable which is the
1467           characters to ignore immediately following history_expansion_char.
1468
1469 Sun Jul 16 08:14:00 1989  Brian Fox  (bfox at aurel)
1470
1471         * rl_prep_terminal ()
1472           BSD version turns off C-s, C-q, C-y, C-v.
1473
1474         * readline.c -- rl_prep_terminal ()
1475           SYSV version hacks readline_echoing_p.
1476           BSD version turns on passing of the 8th bit for the duration
1477           of reading the line.
1478
1479 Tue Jul 11 06:25:01 1989  Brian Fox  (bfox at aurel)
1480
1481         * readline.c: new variable rl_tilde_expander.
1482           If non-null, this contains the address of a function to call if
1483           the standard meaning for expanding a tilde fails.  The function is
1484           called with the text sans tilde (as in "foo"), and returns a
1485           malloc()'ed string which is the expansion, or a NULL pointer if
1486           there is no expansion. 
1487
1488         * readline.h - new file chardefs.h
1489           Separates things that only readline.c needs from the standard
1490           header file publishing interesting things about readline.
1491
1492         * readline.c:
1493           readline_default_bindings () now looks at terminal chararacters
1494           and binds those as well.
1495
1496 Wed Jun 28 20:20:51 1989  Brian Fox  (bfox at aurel)
1497
1498         * Made readline and history into independent libraries.
1499