Commit Graph

19 Commits

Author SHA1 Message Date
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
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
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
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
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
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
Fred Fish
dd823a49ca * readline.h (rl_completer_quote_characters): Add declaration.
* readline.c (rl_completer_quote_characters):  Add global var.
	* readline.c (strpbrk):  Add prototype and function.
	* readline.c (rl_complete_internal):  Add code to handle
	expansion of quoted strings.
1992-06-09 06:10:54 +00:00
Steve Chamberlain
1267a5c050 * readline.c, examples/fileman.c: patches from DJ to support
DOS
1992-02-21 22:39:54 +00:00
Stu Grossman
77219de22d * readline.c (rl_read_init_file): Make sure that null filename is
not passed to open() or else we end up opening the directory, and
read a bunch of garbage into keymap[].
1992-02-21 07:28:31 +00:00
Fred Fish
5bb14552fd * readline.c (readline_default_bindings): Only make use of VLNEXT
when both VLNEXT and TERMIOS_TTY_DRIVER is defined.  On SVR4
	<termio.h> includes <termios.h>, so VLNEXT is always defined.

	* sysdep-norm.h (_POSIX_VERSION):  Define this for all SVR4
	systems so that <termios.h> gets used, instead of <termio.h>.
1992-02-18 01:20:46 +00:00
Fred Fish
f30114ea7b Change SYSV to USG to match current usage in source. Add USGr4 to list
of defines to check for to use <dirent.h> style directory access.
1991-11-19 18:54:38 +00:00
Stu Grossman
61af01bc70 * readline.c (filename_completion_function): use struct dirent
instead	of struct direct.
1991-11-19 08:02:35 +00:00
Stu Grossman
870ca25340 Integrate new readline from Brian Fox. 1991-11-19 05:59:18 +00:00
Steve Chamberlain
c21b1b2660 Mon Nov 11 20:50:29 1991 Steve Chamberlain (sac at cygnus.com)
* Makefile.in: Use the MINUS_G no-debug convention
	* readline.c: (many_places) move all the declarations of rindex to
	only one place, to reduce the number of warnings it makes.
1991-11-12 04:52:27 +00:00
John Gilmore
5f4a039a21 * configure.in: Make a link for sysdep.h. Specify commontargets.
* sysdep-norm.h:  The usual alloca declarations.
* sysdep-aix.h:  What AIX 3.1 on RS/6000 needs for alloca.
* history.c, readline.c:  Use sysdep.h.
1991-11-09 11:24:36 +00:00
K. Richard Pixley
bd5635a1e2 Initial revision 1991-03-28 16:26:26 +00:00