Commit graph

223 commits

Author SHA1 Message Date
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
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
Roland Pesch
b1955f0b2a Formatting improvements from 93q4 release. 1993-11-29 05:58:11 +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
Fred Fish
b5ed6e32c2 Remove '.Sanitize' from explicit list of Things-to-lose. It is now implicitly
added to the list by Sanitize, unless Sanitize knows it needs to keep it.
1993-08-02 23:29:32 +00:00
Fred Fish
775d4a4096 Add .Sanitize to Things-to-lose list. 1993-07-30 16:46:19 +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
Roland Pesch
5736b2863f Clarifications based on Ian Taylor review of manual for FSF. 1993-06-16 19:08:14 +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
K. Richard Pixley
87756e15db added things-to-lose sections 1993-05-27 06:44:29 +00:00
Jim Kingdon
e23a689677 ISC changes 1993-05-21 22:17:31 +00:00
Roland Pesch
ad16d0947e Remove header info no longer useful now that this file is never
formatted except as an @include from other files.
1993-05-15 04:42:09 +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
Ian Lance Taylor
16788ca9fd Removed obsolete Makefile.dos. 1993-03-09 18:16:38 +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
Roland Pesch
f8039a885d Index entries for vi-style editing. 1993-02-10 01:39:59 +00:00
John Gilmore
dd23fc3965 Add new ChangeLog. 1993-02-03 09:09:02 +00:00
Roland Pesch
3ca6193ca5 * ChangeLog: new file 1993-02-02 19:41:17 +00:00
John Gilmore
1fa643be8e This dir is now configure'd (Makefile => Makefile.in, etc). 1993-02-02 00:44:15 +00:00
Roland Pesch
413c3a483a Clean up readline doc subdir to conform to normal
configure/distribution practices.

Makefile: remove, replacing with a configurable Makefile.in

texindex.c texinfo.tex: remove, replacing with references to tools elsewhere
                        in Cygnus distribution tree.

Makefile.in: configurable (and useable) Makefile.

configure.in: pro forma configure stub.
1993-01-18 23:59:57 +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
K. Richard Pixley
43bbd567f2 recording file death 1992-12-08 04:59:31 +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
ebb16da17d Change copyright to FSF. 1992-10-23 10:16:34 +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
Roland Pesch
0eb759402a 1) Better fix for section "Readline Killing Commands": delete entire
first paragraph.  It looks like it's left over from previous
nomenclature; term "cutting" introduced there is not used in rest of
document.  ("killing" is used instead, as in the section title and in
the following paragraph.)

2) More consistent use of @key for things to type in; in a few cases
not having it actually produced wrong doc on paper---notably "M--"
comes out as "M" followed by emdash, if in the plain Roman body
text...
1992-06-18 20:03:38 +00:00
Roland Pesch
fbcd1cb49d Delete dangling "There is a" at end of first paragraph under "Readline
Killing Commands".  None of our saved versions has the rest of this sentence,
whatever it may have been...
1992-06-18 19:04:16 +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
Fred Fish
ef40037a0d Finish MINUS_G eradication per current configuration strategy. 1992-04-22 21:51:57 +00:00
Fred Fish
61984ba242 Replace MINUS_G by CFLAGS. 1992-04-22 21:51:25 +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
Roland Pesch
b621d05050 Hard-code "@appendix" instead of "@chapter" at the beginning of each of these.
This will eventually be supported with a trivial macro, but those aren't
standard texinfo yet; in the meantime, I think GDB is the only manual we
print that uses these---and it wants appendices.
1992-02-28 01:01:24 +00:00
Steve Chamberlain
01dc8d2d2e Increase the dososity 1992-02-22 00:18:39 +00:00
Steve Chamberlain
da8bae6dfe Remeber this one too! 1992-02-22 00:17:21 +00:00
Steve Chamberlain
044751b872 New files for DOSness 1992-02-22 00:14:17 +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
Roland Pesch
e62b9411b5 Two typos fixed, spotted by Jim Irwin of WRS 1992-02-16 01:46:59 +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
ec230564a6 Initial revision 1991-11-23 01:49:55 +00:00
John Gilmore
ed07738e1a sysdep renames 1991-11-22 23:41:16 +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