Commit graph

131 commits

Author SHA1 Message Date
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
Fred Fish
2d54a9e513 * config/{mh-ncr3000, mh-sysv4}: Change INSTALL to use
/usr/ucb/install.
1992-06-10 02:06:30 +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
John Gilmore
21a6705a60 * readline.c: Can't initialize FILE *'s with stdin and stdout,
because they might not be constant.  Patch from Tom Quinn,
trq@dinoysos.thphys.ox.ac.uk.
1992-05-20 05:53:33 +00:00
John Gilmore
836e9ea06f * readline.h: Declare rl_event_hook (which already existed).
Suggested by Christoph Tietz <tietz@zi.gmd.dbp.de>.
1992-04-29 17:21:46 +00:00
K. Richard Pixley
386b54d606 remove subdirs line 1992-04-23 01:08:49 +00:00
K. Richard Pixley
2674a1efca rework CFLAGS so that they can be set from the command line to make 1992-04-21 18:55:45 +00:00
Fred Fish
a7bec03d8e Recognize new ncr3000 config. 1992-04-11 06:03:45 +00:00
John Gilmore
c6b5156357 * history.c (stifle_history): Negative arg treated as zero. 1992-03-25 18:47:09 +00:00
K. Richard Pixley
713db40a91 INSTALL_PROG -> INSTALL 1992-03-25 07:46:51 +00:00
John Gilmore
daf45683dc Install some bug fixes from Brian Fox. 1992-03-25 01:07:32 +00:00
K. Richard Pixley
787c6bfe70 This is the second batch of makefile changes. Libg++ makefiles were
checked in earlier.  These are Makefiles relevant to the progressive
release currently in progress.

* added exec_prefix
* default bindir now exec_prefix/bin
* default libdir now exec_prefix/lib
* default mandir now prefix/man
* default infodir now prefix/info
* added oldincludedir, default NULL
* remove all traces of the old -subdirs and -namesubdir support,
  including code, for loops, and all subdir/unsubdir stuff.
* remove old style staging targets {de-}stage[1234], comparison,
  bootstrapN, from all but the bootstrappable tools.
* added check targets.
* removed any "Last Mod" lines.
* forced copyrights to '92 and shifted some from Cygnus to FSF.
* added tooldir and program_prefix where needed.
* updated texinfo and man pages, removed all references to multiple
  hosts or targets.
1992-03-08 07:47:55 +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
609bbadec7 Change svr4 references to sysv4. 1991-12-20 20:05:19 +00:00
K. Richard Pixley
c466cfab84 infodir belongs in datadir 1991-12-11 04:15:50 +00:00
K. Richard Pixley
92bb90afdc Fri Dec 6 23:23:14 1991 K. Richard Pixley (rich at rtl.cygnus.com)
* Makefile.in: remove spaces following hyphens, bsd make can't
	  cope. added clean-info.  added standards.text support.  Don't
	  know how to make info anymore.

	* configure.in: commontargets is no longer a recognized hook, so
	  remove it.  new subdir called doc.

Thu Dec  5 22:46:10 1991  K. Richard Pixley  (rich at rtl.cygnus.com)

	* Makefile.in: idestdir and ddestdir go away.  Added copyrights
	  and shift gpl to v2.  Added ChangeLog if it didn't exist. docdir
	  and mandir now keyed off datadir by default.
1991-12-07 07:25:57 +00:00
John Gilmore
28e353598c 14 char filenames 1991-11-23 01:49:58 +00:00
John Gilmore
73766d9154 Support Mach too. 1991-11-22 21:59:01 +00:00
John Gilmore
3f73352f90 <sys/types.h> is required for <dirent.h>. Improve Sun alloca. 1991-11-22 17:07:42 +00:00
Stu Grossman
dbdcdd5478 *** empty log message *** 1991-11-22 02:53:00 +00:00
John Gilmore
02e20edf83 * Makefile.in: Clean up ../glob/tilde.c -> tilde.o path.
Clean up makefile a bit in general.
1991-11-22 02:48:49 +00:00
Stu Grossman
e19c9d4932 * readline.c: Move config stuff to sysdep.h, use typedef dirent
consistently, remove refs to d_namlen (& D_NAMLEN) to improve
portability.  Also, update copyright notice.
readline.h:  remove config stuff that I added erroneously in the
first place.
1991-11-21 22:48:11 +00:00
Stu Grossman
9b309d06af * emacs_keymap.c, funmap.c, history.c, keymaps.c, vi_keymap.c,
vi_mode.c:  move config stuff to sysdep.h, update copyright notices.
1991-11-21 22:43:59 +00:00
Stu Grossman
6df61f7957 * history.c: #include "sysdep.h". 1991-11-19 23:05:55 +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
John Gilmore
d1ac7440ae Switch to new config/hm-* scheme. 1991-10-25 05:02:04 +00:00
John Gilmore
a051de4b21 aix is a Sys V as far as we're concerned. 1991-10-25 04:59:30 +00:00
Fred Fish
0fda1b621b Document change to config/hmake-sysv to send RANLIB (echo) output to /dev/null. 1991-10-24 09:10:41 +00:00
Stu Grossman
7b3a018e32 sgi/irix support. 1991-09-18 00:45:04 +00:00
John Gilmore
49e40d8a8e Update for readline split. 1991-05-19 14:52:42 +00:00
K. Richard Pixley
dd3b648e8b Johns release 1991-03-28 16:28:29 +00:00