Commit Graph

217 Commits

Author SHA1 Message Date
Stu Grossman 8200045106 * tilde.c (tilde_word_expand): __MSDOS___ -> __MSDOS__ 1996-10-08 16:00:54 +00:00
Mark Alexander de54e493db * rldefs.h: On Linux, include <termios.h> to fix compile error
in <termcap.h>.
1996-10-05 18:27:39 +00:00
Stu Grossman 4a1df52b1b * rldefs.h: Enable HANDLE_SIGNALS for cygwin32. 1996-09-05 01:07:37 +00:00
Michael Meissner 3d5aa9924a Recognize i686-*-* for pentium pro 1996-08-29 21:28:01 +00:00
Stu Grossman ddde37207c * complete.c: Include <pwd.h> if not DOS, and if cygwin32 or not
win32.
	* configure.in:  Add test for *-*-cygwin32* to use config/mh-posix.
	* readline.c:  Move decl of tgetstr to rldefs.h.
	* (_rl_set_screen_size):  Remove redundant ifdef MINIMALs.
	* rldefs.h:  Don't do MINIMAL for cygwin32.  Cygwin32 now uses
	full-blown readline, except for termcap.
1996-08-17 01:32:25 +00:00
Stu Grossman 8633ce7a02 * rldefs.c: Get rid of define of SIGALRM if _WIN32 or __MSDOS__.
* Don't define ScreenCols/ScreenRows/... if cygwin32.
	* sysdep-norm.h:  Don't include <malloc.h> if cygwin32.
1996-08-12 04:11:17 +00:00
Fred Fish 51da2b4a48 * rldefs.h: If __osf__is defined, include <termio.h> instead of
<sgtty.h>.
1996-08-11 22:05:41 +00:00
Stu Grossman 46b6fdbd11 * bind.c complete.c history.c readline.c: Don't include sys/file.h.
* complete.c display.c parens.c readline.c rldefs.h rltty.c
	signals.c tilde.c:  Change refs to _MSC_VER and __WIN32__ to _WIN32.
	* signals.c (rl_signal_handler):  Ifdef out kill if _WIN32.
	* sysdep-norm.h:  Ifdef out include of dirent.h if _WIN32.
	Include malloc.h if _WIN32.
1996-08-09 16:02:46 +00:00
Michael Meissner 9e9cf21fec Fix warning generated under AIX 4.1.4 1996-07-18 20:01:29 +00:00
Jason Molenda 2774dbb845 * Makefile.in (datadir): Set to $(prefix)/share.
(docdir): Removed.
1996-06-25 14:07:27 +00:00
Fred Fish 88dd1b976c * sysdep-linux.h: New file.
* display.c: Add include of "sysdep.h" to get HAVE_VARARGS_H.
	* configure.in: Change pattern i[345]86-*-linux* into *-*-linux* to
	support non-x86 based Linux platforms.
1996-05-26 22:15:47 +00:00
Fred Fish 7b032c5fed * configure.in (*-*-gnu*): New host. 1996-04-08 05:20:25 +00:00
Fred Fish e5821a93ce From: Miles Bader <miles@gnu.ai.mit.edu>
* config/mh-gnu: New file.
1996-04-08 05:09:57 +00:00
Fred Fish 230e9ef4a6 From: Robert Lipe <robertl@dgii.com>
* configure.in: SCO OpenServer 5 (a.k.a 3.2v5*) is more like
	SCO 3.2v4 than 3.2v2.
1996-04-07 21:00:40 +00:00
Steve Chamberlain a06a83b637 * readline.c, display.c, complete.c: Add _MSC_VER to list of
things which can't do most things.
1996-01-04 02:48:20 +00:00
Geoffrey Noer aee7f7a306 complete.c: Change WIN32 to __WIN32__, added #else return NULL
to end of that define.
1995-11-16 23:43:47 +00:00
Victoria Mixon aa917e719d modified from 95q4 1995-11-10 19:59:40 +00:00
Steve Chamberlain b4fdbe09dc Tue Oct 31 10:38:58 1995 steve chamberlain <sac@slash.cygnus.com>
* display.c, parens.c, readline.c, rldefs.h: Change use of
	WIN32 to __WIN32__.
1995-10-31 18:40:29 +00:00
Fred Fish 17b90c4a61 * Makefile.in (BISON): Remove macro. 1995-10-10 20:44:07 +00:00
Steve Chamberlain 5718164625 * complete.c (filename_completion_function): Enable for
win32 when not MSC.
1995-10-10 15:49:23 +00:00
Peter Schauer a27fbc3abf * configure.in: Handle powerpc-ibm-aix* like rs6000-ibm-aix*. 1995-10-08 11:20:01 +00:00
Michael Meissner f30c1d4a4b Fix warnings under Linux 1995-10-08 00:45:37 +00:00
Michael Meissner 6b5151c236 Fix warnings under Linux 1995-10-08 00:44:03 +00:00
Steve Chamberlain 2e8f534a6c Fri Sep 29 15:19:23 1995 steve chamberlain <sac@slash.cygnus.com>
Fixes for when the host WIN32, but not MSC.
	* complete.c: Sometimes have pwd.h
	* parens.c: WIN32 has similar restrictions to __GO32__.
	* readline.c (__GO32__): Some of this moved into rldefs.h
	* signals.c (__GO32__): Likewise.
	* rldefs.h (MSDOS||WIN32) becomes MSDOS||MSC.
	(WIN32&&!WIN32): New definitions.
1995-09-29 22:28:44 +00:00
Ian Lance Taylor 1cd3bab3a0 * Makefile.in (maintainer-clean): New synonym for realclean. 1995-09-20 16:58:57 +00:00
Victoria Mixon f9e903ee03 inc-hist.texi: gdb manual up to date for 95q3
rluser.texinfo:
1995-06-22 21:30:02 +00:00
Michael Meissner 8bfd30b27f Build without warnings under Linux. 1995-03-01 18:58:34 +00:00
Steve Chamberlain a465efbb38 * rldefs.h: Define MINIMAL for __GO32__ and WIN32.
* complete.c, display.c, readline.c, rltty.c: Test MINIMAL
	instead of __GO32__.
1995-01-15 22:33:04 +00:00
Ian Lance Taylor 0f72c69c1c * configure.in: Change i[34]86 to i[345]86. 1994-08-24 17:05:33 +00:00
Stan Shebs ebe541dfcb * configure.in (m88*-harris-cxux7*): Recognize.
* sysdep-cxux7.h: New file.
1994-07-16 20:33:21 +00:00
Steve Chamberlain 0a9a6ed9d3 * rttty.c (control_meta_key_on): Remove superfluous testing of
__GO32__.
1994-07-08 20:23:56 +00:00
Steve Chamberlain d14d610da2 * rltty.c (control_meta_key_on): Don't compile if __GO32__ is
defined.
	(rltty_set_default_bindings): Likewise.
	* display.c (insert_some_chars, delete_chars): row_start should be
	a short.
	* parens.c (rl_insert_close): No FD_SET if using __GO32__.
	* readline.c (rl_gather_tyi): Strip off spurious high bits.
1994-06-30 22:31:29 +00:00
Peter Schauer 53444896f8 * history.c: Swap inclusion of rldefs.h and chardefs.h to avoid
CTRL macro redefinition.
1994-06-12 10:54:41 +00:00
Ian Lance Taylor 580937986f * readline.c (_rl_set_screen_size): Don't compile if __GO32__ is
defined.
	* rltty.c (control_meta_key): Likewise.
	* parens.c: If __GO32__ is defined, undefine FD_SET.
	* signals.c: Include SIGWINCH handling in the set of things which
	is not done if HANDLE_SIGNALS is not set.
1994-05-09 23:01:56 +00:00
Ian Lance Taylor fc0ee6ed80 * display.c: If __GO32__ is defined, include <sys/pc.h>. 1994-05-09 22:36:24 +00:00
Ian Lance Taylor 3dc889b469 * readline.c (readline_default_bindings): Don't compile if
__GO32__ is defined.
	* rltty.c (rltty_set_default_bindings): Likewise.
1994-05-09 22:31:26 +00:00
Steve Chamberlain 82da62d141 * config/mh-go32: New fragment.
* configure.in (host==go32): Use go32 fragment.
1994-05-06 20:40:19 +00:00
Stu Grossman d32a92614d * chardefs.h, rldefs.h: Move decls of string funcs from chardefs.h
to rldefs.h so that they don't pollute apps that include
	readline.h.
	* history.c:  include rldefs.h to get decls of string funcs.
1994-05-04 21:42:06 +00:00
Stan Shebs b7ba9a57bd Wed May 4 12:15:11 1994 Stan Shebs (shebs@andros.cygnus.com)
* configure.in (rs6000-bull-bosx*): New configuration, RS/6000
	variant.

Fixes PR 4903.
1994-05-04 19:19:44 +00:00
Jim Kingdon b2689e8e79 * configure.in: Use mh-posix for sunos4.1*. 1994-04-20 17:46:13 +00:00
Jim Kingdon 858ba12156 * rltty.c (set_tty_settings): Don't set readline_echoing_p.
(rl_deprep_terminal) [NEW_TTY_DRIVER]: Set readline_echoing_p.
1994-04-14 04:35:06 +00:00
Jim Kingdon c6933c8189 * Makefile.in: Add TAGS target. 1994-03-13 17:31:41 +00:00
Jim Kingdon 6305159078 * isearch.c, search.c: Include sysdep.h. 1994-03-10 02:26:43 +00:00
Jim Kingdon 56379d18f8 * configure.in: For ISC, use mh-sysv, not mh-isc. 1994-03-04 01:40:39 +00:00
Peter Schauer d40b1d877e * rldefs.h: Define S_ISREG if necessary. 1994-02-24 14:19:43 +00:00
Peter Schauer aa364a25e5 * Merge in changes from bash-1.13.5. Merge changes from glob/tilde.c
into tilde.c and use it. Add system function declarations where
	necessary. Check for __GO32__, not _GO32_ consistently.
	* Makefile.in:  Update dependencies.
	* rltty.c:  Include <sys/file.h> to match include file setup
	in readline.c for rldefs.h. Otherwise we get inconsistent
	TTY_DRIVER definitions in readline.c and rltty.c.
	* bind.c, complete.c:  Do not include <sys/types.h>, it is already
	included via sysdep.h, which causes problems if <sys/types.h> has
	no multiple inclusion protection.
	* readline.c (_rl_set_screen_size):  Reestablish test for
	TIOCGWINSZ_BROKEN.
1994-02-24 12:18:54 +00:00
Jim Kingdon f42f505b51 * Makefile.in: Add search.o rule for Sun make. 1994-02-18 16:57:47 +00:00
Per Bothner 166557e7b1 * rltty.c: #if out some code if __GO32__. 1994-02-17 00:42:25 +00:00
Per Bothner f550cec5b1 * readline.c (_rl_output_character_function), display.c:
Return int, not void, to conform with the expected arg of tputs.
	* readline.c (init_terminal_io):  tgetflag only takes 1 arg.
	* readline.c (_rl_savestring):  New function.
	* chardefs.h:  To avoid conflicts and/or warnings, define
	savestring as a macro wrapper for _rl_savestring.
	* display.c (extern term_xn):  It's an int flag, not a string.
	* charsdefs.h, rldefs.h:  Remove HAVE_STRING_H-related junk.
1994-02-15 22:31:19 +00:00
Jim Kingdon a2fcbaf22e * Makefile.in: Remove obsolete rules for history.info and
readline.info.
1994-02-05 16:37:44 +00:00