Commit Graph

107 Commits

Author SHA1 Message Date
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
mycroft 4862b84c92 Add RCS identifiers (this time on the correct side of the branch), and
incorporate recent changes in netbsd-0-9 branch.
1993-08-01 19:22:24 +00:00
mycroft 7aecc812a5 Move flushq() macro into tty.h. 1993-07-19 05:52:27 +00:00
mycroft ec99160f49 Use flushq() macro instead. 1993-07-19 05:48:01 +00:00
mycroft b8756ae04c Use ndflush(), not while(getc()). 1993-07-19 05:10:30 +00:00
mycroft bfc1b68bb5 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:16:07 +00:00
cgd daacc668f9 re-add two changes which had been deleted by commit of r1.7 1993-07-11 07:22:52 +00:00
mycroft c5fdaf369a Blasted ftpd! 1993-07-02 03:11:11 +00:00
mycroft 50974047ed Fix bugs in rb_write and rb_cwrite, and make tab handling use rb_cwrite. 1993-07-02 03:04:51 +00:00
mycroft c414ffef06 Fix a situation where we might forget to splx(). 1993-07-01 00:22:10 +00:00
andrew 4d08b29158 * ansifications
* question about whether the "tp->t_state |= TS_ISOPEN" in ttyopen() should
  be shifted to the end of the block in which it appears.
1993-06-27 06:06:14 +00:00
andrew 4c0169f317 Fixed ECHONL. 1993-06-20 04:52:53 +00:00
cgd f1b8c74730 make getc() and ungetc() be rb{un,}getc(), so getc() and ungetc()
don't conflict w/ansi prototypes...
1993-06-06 23:04:42 +00:00
deraadt 2f0c0eb674 tty dynamic allocation 1993-05-26 10:06:41 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
deraadt 5760558f80 various 8-bit patches from Andrew Chernov <ache@astral.msk.su>
tty_compat.c is cleaned up, as is STOP+TIOCSTI in tty.c
1993-05-13 20:58:26 +00:00
cgd 37b890c63c from Luke Mewburn <zak@rmit.edu.au>:
add TIOCSTAT ioctl to give load average stats if requested (for tcsh)
1993-05-13 06:42:56 +00:00
deraadt 64f341ec2a ring buffer now uses rbchar's (shorts) instead of chars. 1993-05-10 23:15:37 +00:00
sef 0be333bc99 Oops. Inserted at the wrong place. 1993-03-24 20:22:51 +00:00
sef e4eea462cf Handle one-word cases in word-erase. 1993-03-24 19:41:48 +00:00
cgd e541169ce2 after 0.2.2 "stable" patches applied 1993-03-21 18:04:42 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00