Commit Graph

13 Commits

Author SHA1 Message Date
tls
76f2334c55 Use closefrom, don't iterate over file descriptors from 3 to 20. 2006-04-03 16:13:34 +00:00
tls
a973ebec53 Replace abuse of SIGIOT, SIGEMT, SIGSYS for communication between the
TIPIN and TIPOUT processes with a third "attention" pipe.  While we're
here, fix a few other minor nits like the hardcoded use of fd 3 in
consh().

Now ~+/~C appear to work.  This must have been broken for years.
2006-04-03 16:03:50 +00:00
christos
c4341bc3e1 Pass a little lint. 2006-04-03 04:53:58 +00:00
perry
58c2151f1e ANSIfy decls, de-__P, clean trailing whitespace 2006-04-03 00:51:13 +00:00
gavan
f1f29c8b8d Treat EOF the same as EIO. Prevents spinning if an EOF condition is
encountered, such as a USB serial device being unplugged.

Instead of spinning, the process reading from the serial line will exit,
leaving the process reading from the local terminal to exit when it notices
that its child has gone away.
2005-12-09 03:15:42 +00:00
agc
89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
mrg
923d7551ba - KNF
- use snprintf
- be safe with buffers (change prompt() to take a size_t len arg for this)
1998-07-12 09:59:29 +00:00
lukem
e37283e126 WARNSify, KNFify, using ANSI string functions, cleanup .Nm usage 1997-11-22 07:28:39 +00:00
cgd
88caf985e6 replace old zzhack structure (YUCK!) and number(), boolean(), character(),
and address() macros with new macros of the same names (to get values),
and macros with those names but with "set" prepended and which take a
second argument (to set values).  The new macros use type casts to do
type conversion, which is much cleaner than using a union and making
endianness-related hacks to get the right 'short's and 'char's from
the right array indices.  (YUCK! again, for good measure.)
1996-12-29 10:34:03 +00:00
pk
258108ce0f Convert to termios (from Scott Reynolds; PR#1621).
8-bit patches (from Matthieu Herrb; PR#1384).
1995-10-29 00:49:38 +00:00
jtc
39801cccde Merged with 4.4lite.
Changed to conform to NetBSD's new RCS Id convention.
1994-12-08 09:30:36 +00:00
mycroft
e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
cgd
61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00