NetBSD/bin/csh
itohy e50ba7ea8f Fixed ancient bug in csh(1) "filec" implementation.
We need not wait for a while any longer after pressing ESC or ^D.

Problem description:
If a user types characters during performing completion (ESC)
or listings (^D), the chars are inserted at weird position of
the command line.
This makes the command line unusable and irritates the user.
I noticed this on 386BSD(98), probably six years ago.

This change fixes the bug by implementing salvage of the characters.
The salvaged chars are added at the end of the command line.
An extra ioctl(FIONREAD) is required to work-around a glitch on
kernel tty driver.
1998-12-26 02:11:39 +00:00
..
USD.doc fix nroff error per PR#5347 1998-04-27 20:50:37 +00:00
Makefile refer to COPTS not CFLAGS 1998-04-13 14:08:27 +00:00
alloc.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
char.c Rename err.h to errnum.h to avoid collision with err.h 1997-07-04 21:23:50 +00:00
char.h convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
const.c Rename err.h to errnum.h to avoid collision with err.h 1997-07-04 21:23:50 +00:00
csh.1 fix some bugs. 1998-06-11 00:58:31 +00:00
csh.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
csh.h Delint (partially). 1998-07-28 02:47:19 +00:00
dir.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
dir.h convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
dol.c Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
err.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
exec.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
exp.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
extern.h Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
file.c Fixed ancient bug in csh(1) "filec" implementation. 1998-12-26 02:11:39 +00:00
func.c Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
glob.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
hist.c Delint (partially). 1998-07-28 02:47:19 +00:00
init.c Rename err.h to errnum.h to avoid collision with err.h 1997-07-04 21:23:50 +00:00
lex.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
misc.c Delint (partially). 1998-07-28 02:47:19 +00:00
parse.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
pathnames.h convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
proc.c Built-in kill: also accept symbolic signal names prefixed with "SIG". 1998-12-11 14:28:58 +00:00
proc.h Use POSIX signal semantics. Change p_pid and p_jobid to pid_t's. 1995-04-29 23:21:28 +00:00
sem.c Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
set.c Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
str.c Delint (partially). 1998-07-28 02:23:37 +00:00
strpct.c KNF + copyright assignment to TNF 1998-05-08 18:43:54 +00:00
time.c Fix PR#3585 - csh printed a negative percentage of CPU used when the total 1998-04-08 22:38:18 +00:00