Commit graph

138 commits

Author SHA1 Message Date
David Taylor
59bfc16ae3 The following changes were made by Jim Blandy
<jimb@zwingli.cygnus.com> and David Taylor
 	<taylor@texas.cygnus.com> as part of a project to merge in changes
 	made by HP; HP did not create ChangeLog entries.

	* config/mp-enable-tui: New file.
	(TUI_CFLAGS): Search devo's include directory, as long as we're
 	totally ruining modularity.
	(INCLUDE_SRCDIR): New var.
	(GDB_TUI_SRCDIR): Fix syntax error.

	* configure.in: Check the --enable-tui flag; if it's set, include
 	a makefile fragment that #defines TUI and adds the needed #include
 	directories.
	(*-*-hpux*): New host; use sysdep-hpux.h.

	* Makefile.in (.c.o): Check the variable set in the makefile
	fragment above.

	* display.c (term_goto): declare it.
	(insert_some_chars): set it.
	(delete_chars): set it.

	* readline.c: add tui include files surrounded by TUI.
	(rl_reset): new function, move some of rl_abort functionality to
 	here.
	(rl_abort): call rl_reset.
	(rl_getc): tui changes.
	(init_terminal_io): tui changes.

	* readline.h (tui_version, fputc_unfiltered, fputs_unfiltered,
	tui_tputs): declare if TUI is defined.

	* rltty.c (prepare_terminal_settings): additional comment.

	* signals.c: add tui include files surrounded by TUI.  move #if
 	and #endif to column 1 so HP's compiler will accept them.  Remove
 	declaration of tuiDoAndReturnToTop since it's declared in tui.h.
	(rl_handle_sigwinch): call tuiDoAndReturnToTop if TUI defined.
  	(rl_handle_sigwinch_on_clear): define if TUI defined.
	(rl_set_signals): if TUI, avoid infinite recursion.
	(rl_clear_signals): install rl_handle_sigwinch_on_clear.

	* sysdep-hpux.h: New file.
1998-12-08 16:33:13 +00:00
Geoffrey Noer
97aacc71ed Mon Nov 2 15:26:33 1998 Geoffrey Noer <noer@cygnus.com>
* configure.in: Check cygwin* instead of cygwin32*.
1998-11-02 23:27:41 +00:00
Jeff Law
ce23878776 * sysdep-hpux11.h: New file.
* configure.in (*-*-*-hpux11*): Use sysdep-hpux11.h.
1998-07-28 15:44:30 +00:00
Ian Lance Taylor
d470a746c4 * configure.bat: Remove obsolete file.
* examples/configure.bat: Remove obsolete file.
1998-07-23 21:49:12 +00:00
Ian Lance Taylor
cb342983ca * sysdep-6irix.h: New file.
* configure.in (*-*-irix6*): New host; use sysdep-6irix.h.
1998-05-13 17:43:33 +00:00
Jason Molenda
40c99833c7 Thu Apr 9 11:59:38 1998 Ian Dall (<Ian.Dall@dsto.defence.gov.au>
* configure.in (host==netbsd): Include config/mh-bsd44.
        * config/mh-bsd44: New file.
1998-04-09 19:01:30 +00:00
Michael Snyder
769e0a8a28 Wed Dec 3 16:48:20 1997 Michael Snyder (msnyder@cleaver.cygnus.com)
* rltty.c: fix typos.
1997-12-04 00:48:56 +00:00
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
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
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