Commit graph

86 commits

Author SHA1 Message Date
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
Jim Kingdon
a98b5a1d52 * chardefs.h: Only declare strrchr if it is not #define'd. 1994-01-28 01:05:39 +00:00
Jim Kingdon
1b30bebf85 * rldefs.h: Accept __hpux as well as hpux for HP compiler in ANSI mode. 1994-01-25 16:31:26 +00:00
Jim Kingdon
67289b625e * chardefs.h, tilde.c: Just declare strrchr rather than trying to
include a system header.
1994-01-22 02:06:58 +00:00
Fred Fish
1b3f3940aa * Makefile.in (distclean, realclean): Expand local-distclean
inline after doing recursion.  You can't recurse after removing
	Makefile.  Make them depend on local-clean.
	* Makefile.in (local-distclean):  Remove now superfluous target.
1994-01-21 22:53:18 +00:00
Ken Raeburn
52767e8731 * readline.c (doing_an_undo): Delete second declaration, since it confuses the
alpha-osf1 native compiler.
1994-01-17 17:45:27 +00:00
Jim Kingdon
24033f1e6b * complete.c, bind.c: Include <sys/stat.h>.
* complete.c: Define X_OK if not defined by a system header.
1994-01-16 23:43:22 +00:00
Jim Kingdon
5bac802232 * chardefs.h: Don't declare xmalloc.
* keymaps.h: Include "chardefs.h" not <readline/chardefs.h>.
1994-01-16 18:48:02 +00:00
Jim Kingdon
4955aa53ad * Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.  Add clean-dvi
	target.
1994-01-16 17:39:16 +00:00
Jim Kingdon
84c8bac270 * Makefile.in (clean mostlyclean distclean realclean): Recurse
into subdirectories as well as doing this directory.
1994-01-16 17:35:23 +00:00
Per Bothner
44af5659d7 * readline.c, display.c: Patches to allow use of all 80
columns on most terminals (those with am and xn).
1994-01-16 04:04:13 +00:00
Per Bothner
5e98bbab17 Merge in changes from bash-1.13. The most obvious one is
that the file readline.c has been split into multiple files.
	* bind.c, complete.c, dispay.c, isearch.c, parens.c, rldefs.h,
	rltty.c, search.c signals.c, tilde.c, tilde.h, xmalloc.c:  New files.
1994-01-16 03:39:57 +00:00
Steve Chamberlain
aa53cd6714 * readline.c (rl_getc): If GO32, trim high bit from getkey,
otherwise fancy PC keys cause grief.
1993-12-12 00:31:44 +00:00
Jim Kingdon
d5481f5dcb * configure.in: Add doc to configdirs.
* Makefile.in (info dvi install-info clean-info): Recurse into doc.
1993-11-05 18:09:19 +00:00
Jim Kingdon
c71350fc3b * configure.in: Add * to end of all OS names. 1993-10-22 13:32:12 +00:00
Jim Kingdon
80b10ae2f2 * readline.c: Add stuff for HIUX to place where we detect termio
vs. sgtty (ugh, but I don't see a simple better way).
1993-10-05 20:32:37 +00:00
Jim Kingdon
182ecac5b9 * readline.c (parser_if): Free tname when done with it (change
imported from from bash	1.12 readline).
1993-09-29 16:09:01 +00:00
Jim Kingdon
511fb5d673 * configure.in (m88k-*-sysvr4*): Comment out previous change. 1993-09-07 22:17:47 +00:00
Ian Lance Taylor
da2eac8b46 * configure.in (*-*-riscos*): New entry; use mh-sysv. 1993-07-02 18:06:10 +00:00
Jim Kingdon
6a3a22e423 * configure.in: Add comment. 1993-06-23 18:01:36 +00:00
Jim Kingdon
83660d21a7 * configure.in (m88k-*-sysvr4*): Use sysdep-norm.h. 1993-06-18 18:14:26 +00:00
Jim Kingdon
b65a4fe520 * Makefile.in ({real,dist}clean): Remove sysdep.h. 1993-06-13 20:05:45 +00:00
Jim Kingdon
eab176968f * Makefile.in: Add mostlyclean, distclean, and realclean targets. 1993-06-10 18:26:53 +00:00
Jim Kingdon
e23a689677 ISC changes 1993-05-21 22:17:31 +00:00
Jim Kingdon
3f06498af4 changes for SVR3.2 1993-04-19 18:34:55 +00:00
David D. Zuhn
8e95e016fb add installcheck & dvi 1993-03-24 10:37:27 +00:00
David D. Zuhn
5f8d4bcbb9 consistent use of -solaris2* 1993-03-13 03:09:19 +00:00
Fred Fish
d6400b148d * sysdep-sysv4.h: New file for SVR4.
* configure.in (*-*-sysv4*):  Use sysdep-sysv4.h.

	* configure.in (*-*-ultrix2):  Add triplet from Michael Rendell
	(michael@mercury.cs.mun.ca)
1993-03-03 05:52:32 +00:00
Ian Lance Taylor
16f8723c77 Tue Dec 15 12:38:16 1992 Ian Lance Taylor (ian@cygnus.com)
* configure.in (i[34]86-*-sco3.2v4*): use mh-sco4.
	* config/mh-sco4: New file, like mh-sco but without defining
	_POSIX_SOURCE.
1992-12-15 20:40:05 +00:00
John Gilmore
24e37cd343 * configure.in: Reformat to one-case-per-line.
Handle SunOS 3.5, as per Karl Berry, <karl@claude.cs.umb.edu>.
1992-11-12 05:21:32 +00:00
Stu Grossman
f6c60bb4fb Undo last change. Read diffs backwards! 1992-11-05 00:55:55 +00:00
Stu Grossman
da60a50dc3 * readline.c: Cast many uses of alloca to (char *) to make brain-
damaged compilers happy.
* sysdep-norm.h:  Remove some crud, install dire warning.
1992-11-04 23:34:54 +00:00
Stu Grossman
8ad65a5d33 * configure.in: Make SCO work again... 1992-10-22 08:09:00 +00:00
Ian Lance Taylor
0bced705de Mon Oct 12 15:04:07 1992 Ian Lance Taylor (ian@cygnus.com)
* readline.c (init_terminal_io): if tgetent returns 0, the
	terminal type is unknown.
1992-10-12 22:05:57 +00:00
David D. Zuhn
d5dcef6346 use canonical triple 1992-10-02 07:13:29 +00:00
Stu Grossman
5a41df75f6 * readline.c (rl_complete_internal): Cast alloca to (char *) to
avoid warning.
1992-09-30 20:00:22 +00:00
Stu Grossman
d3c4fc9861 * readline.c (clear_to_eol, rl_generic_bind): Make static.
(rl_digit_loop):  Add arg to call to rl_message().
* vi_mode.c (rl_vi_first_print):  Add arg to call to
rl_back_to_indent().
1992-09-25 19:48:50 +00:00
Ian Lance Taylor
ce14814904 Brought forward from p3:
Wed Aug 19 14:59:07 1992  Ian Lance Taylor  (ian@cygnus.com)

	* Makefile.in: always create installation directories, use full
1992-08-19 22:01:25 +00:00
John Gilmore
afbdf3f704 * readline.c (last_readline_init_file): Fix typo made by Steve
Chamberlain/DJ Delorie.  Proper control file name is ~/.inputrc,
not ~/inputrc.
1992-08-12 22:52:26 +00:00
Stu Grossman
867022c3a9 * configure.in: Make bsd based systems use sysdep-obsd.h. 1992-06-25 23:16:16 +00:00
Per Bothner
f274a4b8da * configure.in: Use mh-posix for Linux (free Unix clone). 1992-06-24 06:26:05 +00:00
Fred Fish
56e5eadc57 * sysdep-norm.h (alloca): Protect against previous definition as
a macro with arguments.
1992-06-24 05:00:25 +00:00
Stu Grossman
bde34fd96d * sysdep-obsd.h: #include <sys/types.h> to make this more Kosher. 1992-06-19 22:50:08 +00:00
John Gilmore
0b909fe129 Fri Jun 19 12:53:28 1992 John Gilmore (gnu at cygnus.com)
* config/mh-apollo68v, mh-sco, mh-sysv, mh-sysv4}: RANLIB=true.

Mon Jun 15 13:50:34 1992  david d `zoo' zuhn  (zoo at cirdan.cygnus.com)

	* configure.in: use mh-sysv4 on solaris2
1992-06-19 19:54:41 +00:00
Fred Fish
d962d591ea * config/mh-ncr3000 (INSTALL): Don't use /usr/ucb/install,
it is broken on ncr 3000's.
	* config/mh-ncr3000 (RANLIB):  Use RANLIB=true.
1992-06-15 19:29:02 +00:00
John Gilmore
87afde58f6 * readline.c: Make new SIGNALS_* macros to parameterize the
ugly changes in signal blocking macro.  Use them throughout,
reducing #ifdef HAVE_POSIX_SIGNALS and HAVE_BSD_SIGNALS clutter
significantly.  Make all such places use POSIX if available,
to avoid losing with poor `sigsetmask' emulation from libiberty.
1992-06-15 08:37:50 +00:00
Stu Grossman
7c88553a91 * readline.c (insert_some_chars): Return void. 1992-06-14 22:21:18 +00:00
John Gilmore
bab58134b5 #undef PC, which Solaris2 defines in sys/types.h, clobbering the
termcap global variable PC.
1992-06-11 08:29:01 +00:00