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