cgd
2fc4279f35
a few minor KNF nits
1996-05-30 23:43:31 +00:00
mrg
13eaf2e29b
check tty_count first (from cgd).
1996-05-30 23:32:33 +00:00
mrg
5583238255
impliment ttylist stats based on disk stats.
1996-05-29 02:02:42 +00:00
christos
174916004d
Fix another printf format warning.
1996-03-29 01:55:12 +00:00
christos
c9e746a335
Fix printf() formats.
1996-03-16 23:17:04 +00:00
christos
09afd77655
More proto fixes
1996-02-09 18:59:18 +00:00
christos
8a5b1b92e2
First pass at prototyping
1996-02-04 02:15:01 +00:00
pk
ba8a7101f0
Correct test for ECHONL (from der Mouse; PR#1922).
1996-01-10 20:52:27 +00:00
mycroft
2dd293d3c3
Add hooks for COMPAT_FREEBSD, from Noriyuki Soda.
1995-10-10 01:26:36 +00:00
cgd
08cae70f24
fix annoying but non-critical rounding but in ttyinfo(). (If
...
microseconds goes over 10^6 when rounding, increment seconds.)
1995-09-22 00:11:35 +00:00
mycroft
9a4505cb89
Close routines take file flags, not I/O flags. Fix two incorrect usages.
1995-07-02 18:13:02 +00:00
mycroft
3e6f699a75
Only do software flow control if IXOFF is set. Also fix hardware flow control
...
case in ttyblock().
1995-06-04 14:01:37 +00:00
mycroft
3cd36c72ef
Use ISSET() and CLR() in two cases.
1995-06-04 12:57:52 +00:00
mycroft
20b6b4f24d
Change ttselect() to use a callback to get the tty structure.
1995-04-19 18:46:10 +00:00
christos
3e935d8a0d
Added ifdef COMPAT_SVR4 to the kernel compat code needed.
1994-11-17 20:27:10 +00:00
mycroft
7c29d675ec
Change argument list of ttioctl() to match other ioctl functions.
1994-10-30 22:11:05 +00:00
cgd
6ac2bbfc35
be more careful with types, also pull in headers where necessary.
1994-10-30 21:43:03 +00:00
mycroft
4bad1511b7
Fix a bug I introduced in the last commit, regarding a VTIME timeout causing
...
EWOULDBLOCK to be returned rather than looping again to see if any characters
are pending. Also, fix another bug in the original code; if someone changed
VMIN behind our back, last_cc might be uninitialized when we reference it.
1994-10-24 09:09:06 +00:00
mycroft
8f5b447fb2
Remove the need for some untimeouts.
1994-10-12 13:38:16 +00:00
deraadt
1ec7a8fcbe
fix PR#484 relating to backspacing over a tab.
1994-09-18 18:32:51 +00:00
mycroft
2f710a54ee
Convert process, file, and namei lists and hash tables to use queue.h.
1994-08-30 03:04:28 +00:00
mycroft
743c8ea38e
Clear t_flags on first open.
1994-08-02 08:45:46 +00:00
cgd
cf92afd66e
New RCS ID's, take two. they're more aesthecially pleasant, and use 'NetBSD'
1994-06-29 06:29:24 +00:00
deraadt
2070652356
use u_char's instead of char's; else the TTY_QUOTE bit can get accidentally
...
be set.
1994-05-25 09:58:53 +00:00
cgd
ff49fed069
upgrade to 4.4-Lite's tty code. our bug fixes included, some might need GC.
1994-05-12 03:48:33 +00:00
cgd
a0a7429482
lots of changes: prototype migration, move lots of variables, definitions,
...
and structure elements around. kill some unnecessary type and macro
definitions. standardize clock handling. More changes than you'd want.
1994-05-05 05:35:42 +00:00
cgd
4bbabd8e7a
Rename a lot of process flags.
1994-05-04 03:41:12 +00:00
deraadt
55dacae6ea
FIONREAD plays with an int, not an off_t.
1994-04-09 22:35:00 +00:00
cgd
02dd2aa8ab
fix somebody's typo
1994-03-18 04:01:15 +00:00
cgd
fa2051edb1
add hw input flow control support
1994-03-18 03:48:30 +00:00
mycroft
676007bcd2
Don't do TIOCHPCL if !COMPAT_43. In the new world, you use termios.
1994-03-05 22:42:54 +00:00
mycroft
f663fac02d
Return a legitimate value from ttylclose().
1994-02-20 17:24:19 +00:00
mycroft
6adb7d5015
Don't send SIGINFO if ISIG off.
1994-02-20 16:56:56 +00:00
mycroft
678e80720a
Some formatting changes.
1994-02-20 16:55:10 +00:00
ws
fbf99acae8
(Hopefully) do the right thing with VTIME > 0 and select
1994-02-14 18:22:39 +00:00
mycroft
bbb3e7618c
All ioctl routines take a struct proc * now.
1994-02-09 21:06:46 +00:00
deraadt
425f5d3170
more untimouts needed, from someone at freebsd
1994-02-01 15:09:52 +00:00
deraadt
6aac4eb9f1
undo totally misguided changes from Andrew Chernov in rev. 1.7:
...
RTS has nothing to do with ttyblock()
also, close a race.
1994-01-28 11:32:43 +00:00
deraadt
abf6a6bfdd
more COMPAT_SUNOS changes.
1994-01-23 06:06:21 +00:00
cgd
163a1d473e
do the *right* thing with resident set size
1994-01-07 19:13:17 +00:00
deraadt
d4e74a7cda
really fix the tab code
1994-01-07 17:51:24 +00:00
cgd
582eb13c4a
from Mike Karels <karels@bsdi.com>: clear the PENDIN flag if ICANON
...
is cleared, and retain the PENDIN flag if set when ICANON is set
1994-01-05 16:25:37 +00:00
cgd
1424954c16
print out what we think is the resident set size. very nasty; the field
...
in the proc's vmspace struct should be updated, but isn't...
Also, if the process is a zombie or infantile, don't print, because
that could cause a null pointer deref.
1993-12-30 12:05:16 +00:00
deraadt
6e81a663bd
OXTABS expansion was putting fewer than the required spaces if the clists
...
became full. we now retry the tab expansion later.
1993-12-24 01:07:40 +00:00
cgd
a6eecc8e2a
load average changes from magnum
1993-12-20 12:42:34 +00:00
mycroft
7f50bd1829
Canonicalize all #includes.
1993-12-18 04:21:37 +00:00
deraadt
493603cecd
fix from Daniel Harris <daniel@werple.apana.org.au>
...
VTIME code must untimeout
1993-12-16 18:09:08 +00:00
deraadt
252dd4bb0e
VMIN/VTIME support from Marc Teitelbaum <marc@vangogh.cs.berkeley.edu>
1993-12-13 14:40:31 +00:00
deraadt
3cf1d8505e
echo ^V^? correctly as ^?. From Edward Wang <edward@homer.CS.Berkeley.EDU>
1993-12-09 22:58:17 +00:00
mycroft
22ab556e04
If ospeed is set to 0, SIGHUP the session leader (if any).
1993-08-23 16:36:42 +00:00