NetBSD/bin
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
..
cat Delint. 1998-07-28 05:31:22 +00:00
chio Delint. 1998-07-28 05:31:22 +00:00
chmod Delint. 1998-07-28 05:31:22 +00:00
cp Fix bug where "cp -f" didn't work. 1998-10-08 17:43:24 +00:00
csh Fixed ancient bug in csh(1) "filec" implementation. 1998-12-26 02:11:39 +00:00
date Fixed off-by-one error where HOSTNAME+1 characters was copied into 1998-12-19 22:44:19 +00:00
dd Add some braces to make egcs happy. 1998-08-19 01:31:46 +00:00
df Cast args to strpct() u_long, as in the prototype, not ulong. 1998-10-08 02:10:36 +00:00
domainname Delint. 1998-07-28 05:31:22 +00:00
echo lint 1997-11-05 21:17:14 +00:00
ed - add termios.h for winsize 1998-11-04 13:45:57 +00:00
expr cast is*() to unsigned char 1998-11-04 14:11:12 +00:00
hostname Delint. 1998-07-28 05:31:22 +00:00
kill unsigned char casts for is*() 1998-11-04 18:14:15 +00:00
ksh char->unsigned char casts for is*() 1998-11-04 18:27:20 +00:00
ln Patch per PR#6166 and clean up some nroff bogons. 1998-12-13 19:34:44 +00:00
ls %q -> %ll 1998-11-04 18:53:17 +00:00
mkdir Insert a missing 'else' which caused mknod(2) to still be called 1998-10-13 20:11:42 +00:00
mt rev man page for eew 1998-07-30 00:58:27 +00:00
mv use utimes, if we don't have futimes. 1998-11-04 18:56:53 +00:00
pax Fix problem compiling when NET2_STAT is defined. 1998-11-04 19:40:13 +00:00
ps Add CWARNFLAGS+=-Wno-format-y2k. 1998-08-25 15:13:16 +00:00
pwd Add -L flag. 1998-11-03 21:38:19 +00:00
rcmd Grammar police, plus a bit of general cleanup of the BUGS section. 1998-01-14 00:40:51 +00:00
rcp s/MODEMASK/RCPMODEMASK/ 1998-11-05 14:00:58 +00:00
rm Be more retentive about use of NOTREACHED and noreturn. 1998-07-28 11:41:40 +00:00
rmdir Delint. 1998-07-28 05:31:22 +00:00
sh fix some bugs 1998-11-17 14:16:32 +00:00
sleep char -> unsigned char 1998-11-04 20:12:12 +00:00
stty Oops; the old BSD aliases were not actually used. 1998-07-28 11:51:47 +00:00
sync fix mdoc references 1998-04-28 18:05:53 +00:00
test char -> unsigned char 1998-11-04 20:12:12 +00:00
Makefile Add rcmd to the SUBDIR list. 1997-05-29 21:06:11 +00:00
Makefile.inc pull bsd.own.mk in before LDSTATIC?=-static, so that LDSTATIC can be 1998-03-02 22:03:11 +00:00