Commit Graph

23 Commits

Author SHA1 Message Date
agc b5b2954259 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22249, verified by myself.
2003-08-07 09:05:01 +00:00
christos a7c23d8731 remove maxitems limit (from Todd Miller) 2003-02-08 19:05:19 +00:00
kleink b3df6303a9 Rename `sigset' locals to avoid symbol shadowing warning. 2003-01-16 09:38:37 +00:00
itojun c3ca2a9ab6 calloc() arg mistake. it's (nelem, size). from openbsd 2002-08-12 02:37:26 +00:00
wiz 1815854042 __STDC__ is always defined on NetBSD. 2002-05-25 23:29:16 +00:00
wiz b771e65ba1 ANSIfication and KNF improvements by Petri Koistinen in bin/13689,
with some fixes by me.
2001-09-14 14:03:59 +00:00
christos 0bf6fd0c59 decouple us from stdio's BUFSIZ and boost BUFSIZE to 4K 2000-05-31 22:48:44 +00:00
itohy f1a39637c9 cleanup 1999-03-23 09:29:51 +00:00
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
mycroft 5924694d3a Delint (partially). 1998-07-28 02:47:19 +00:00
christos 8ea378c6ac Rename err.h to errnum.h to avoid collision with err.h
Fix compiler warnings.
1997-07-04 21:23:50 +00:00
tls 76adbe2bd3 kill register 1997-01-13 17:53:15 +00:00
christos 0805134891 Fix bug reported by Chris Torek: use TCSADRAIN instead of TCSANOW, to avoid
dropping characters.
1996-11-08 19:34:37 +00:00
mycroft 7b38403c89 Use POSIX signals. 1995-03-21 18:35:32 +00:00
cgd 49f0ad8601 convert to new RCS id conventions. 1995-03-21 09:01:59 +00:00
mycroft cee2bad89f Merge 4.4-Lite version. 1994-09-21 00:10:23 +00:00
pk af75045f58 Use TCSADRAIN to avoid loosing chars on slow lines. 1994-04-28 15:57:41 +00:00
cgd bec9fc50b1 tchars needn't be static any more 1994-03-09 04:23:37 +00:00
cgd 6076cfe05b i'm surprised this ever worked right before... 1994-03-07 23:28:09 +00:00
mycroft a579b792ce Add RCS identifiers. 1993-08-01 18:59:54 +00:00
cgd 06be60083d changed "Id" to "Header" for rcsids 1993-03-23 00:22:59 +00:00
cgd 346aa5dd48 added rcs ids to all files 1993-03-22 08:04:00 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00