History log of /freebsd/sys/kern/tty.c (Results 426 – 450 of 860)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
# 8be1cbf1 29-Nov-1996 Bruce Evans <bde@FreeBSD.org>

Fixed bugs handling (background) orphaned process groups. tty
writes and tty ioctls by processes in such groups must return
-1/EIO, but they were allowed. tty reads were handled correctly.

Found b

Fixed bugs handling (background) orphaned process groups. tty
writes and tty ioctls by processes in such groups must return
-1/EIO, but they were allowed. tty reads were handled correctly.

Found by: NIST PCTS

show more ...


# 7542ee31 29-Nov-1996 Bruce Evans <bde@FreeBSD.org>

Fixed some bugs in BREAK handling. If BRKINT is set, then always flush
the queues and generate a SIGINT. Previously, this wasn't done if ISIG
was clear or the VINTR character was disabled, and it w

Fixed some bugs in BREAK handling. If BRKINT is set, then always flush
the queues and generate a SIGINT. Previously, this wasn't done if ISIG
was clear or the VINTR character was disabled, and it was done by
converting the BREAK to a VINTR character and sometimes bogusly echoing
this character.

Found by: NIST-PCTS

show more ...


# c02039bc 29-Nov-1996 Bruce Evans <bde@FreeBSD.org>

Fixed handling of non-POSIX control characters. They must not do
anything special unless IEXTEN is set.

Found by: NIST-PCTS


Revision tags: release/2.1.5_cvs
# e0c95ed9 31-Aug-1996 Bruce Evans <bde@FreeBSD.org>

Fixed the easy cases of const poisoning in the kernel. Cosmetic.


# 14c0cc3d 28-Aug-1996 Bruce Evans <bde@FreeBSD.org>

Fixed a wrong comment. Did tsleep() ever return the networking errno
ETIMEDOUT?


# c23670e2 12-Jun-1996 Gary Palmer <gpalmer@FreeBSD.org>

Clean up -Wunused warnings.

Reviewed by: bde


# e911eafc 02-May-1996 Poul-Henning Kamp <phk@FreeBSD.org>

removed:
CLBYTES PD_SHIFT PGSHIFT NBPG PGOFSET CLSIZELOG2 CLSIZE pdei()
ptei() kvtopte() ptetov() ispt() ptetoav() &c &c
new:
NPDEPG

Major macro cleanup.


# edbfedac 11-Mar-1996 Peter Wemm <peter@FreeBSD.org>

Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all
files are off the vendor branch, so this should not change anything.

A "U" marker generally means that the file was not chang

Import 4.4BSD-Lite2 onto the vendor branch, note that in the kernel, all
files are off the vendor branch, so this should not change anything.

A "U" marker generally means that the file was not changed in between
the 4.4Lite and Lite-2 releases, and does not need a merge. "C" generally
means that there was a change.
[note new unused (in this form) syscalls.conf, to be 'cvs rm'ed]

show more ...


# b75356e1 11-Mar-1996 Jeffrey Hsu <hsu@FreeBSD.org>

From Lite2: proc LIST changes.
Reviewed by: david & bde


# 4bd49128 02-Mar-1996 Peter Wemm <peter@FreeBSD.org>

Add more options into the conf/options and i386/conf/options.i386 files
and the #include hooks so that 'make depend' is more useful. This
covers most of the options I regularly use (but not all) and

Add more options into the conf/options and i386/conf/options.i386 files
and the #include hooks so that 'make depend' is more useful. This
covers most of the options I regularly use (but not all) and some other
easy ones.

show more ...


Revision tags: release/2.1.0_cvs
# 6a1441a3 16-Dec-1995 Bruce Evans <bde@FreeBSD.org>

Oops, the last commit missed one change from 200 to OBUFSIZ + 100.


# 247b5337 15-Dec-1995 Bruce Evans <bde@FreeBSD.org>

Changed the maximum output queue count from (TTMAXHIWAT + 200) to
(TTMAXHIWAT + OBUFSIZ + 100) in case someone changes OBUFSIZ. 200
was to allow 100 above high water for ordinary writes and another

Changed the maximum output queue count from (TTMAXHIWAT + 200) to
(TTMAXHIWAT + OBUFSIZ + 100) in case someone changes OBUFSIZ. 200
was to allow 100 above high water for ordinary writes and another
100 for kernel printfs.

Increased the reserved output queue count from 512 to the maximum
output queue count. This prevents exhaustion of clists and increases
the output throughput for 8 cy lines by almost a factor of 2 (on
a system where there aren't many other open ttys so clists become
exhausted after about 4 active lines (or earlier if TTMAXHIWAT is
increased :-]).

ttwrite() behaves very badly when clists are exhausted:
(1) it sleeps on lbolt instead of on TSA_OLOWAT(tp).
This could be fixed adequately by sleeping on TSA_OLOWAT(tp).
The nonzero reserved count guaratees that space will become
available independent of other ttys, and a reserved count
of 512 is barely enough for efficiency.
(2) it drops output if space runs out in the middle of special
output processing. This is too hard to fix without hardening
the reserved count. The watermark processing guarantees that
space doesn't run out only if the advertised space is guaranteed.

Increasing the reserved output queue count defeats the point of
dynamic allocation of clists. Previously, about 2K of memory per
tty was reserved (the raw queue was already reserved). Now, about
3.5K is reserved. Reserving everything would take a whole 0.5K
more.

show more ...


# a59db23b 15-Dec-1995 Bruce Evans <bde@FreeBSD.org>

Disabled the sleep in ttyflush(). It can't work in general because
ttyflush() might be called from an interrupt handler. This fixes
panics in IXOFF mode at the cost of more failures to send the STA

Disabled the sleep in ttyflush(). It can't work in general because
ttyflush() might be called from an interrupt handler. This fixes
panics in IXOFF mode at the cost of more failures to send the START
character to exit from IXOFF mode.

show more ...


# 947803d7 14-Dec-1995 Bruce Evans <bde@FreeBSD.org>

Restored unused function ttrstrt(). It would be used if the low level
drivers supported inter-character delays.


# 87b6de2b 14-Dec-1995 Poul-Henning Kamp <phk@FreeBSD.org>

A Major staticize sweep. Generates a couple of warnings that I'll deal
with later.
A number of unused vars removed.
A number of unused procs removed or #ifdefed.


# 6ba9ebce 13-Dec-1995 Julian Elischer <julian@FreeBSD.org>

devsw tables are now arrays of POINTERS to struct [cb]devsw
seems to work hre just fine though I can't check every file
that changed due to limmited h/w, however I've checked enught to be petty
happ

devsw tables are now arrays of POINTERS to struct [cb]devsw
seems to work hre just fine though I can't check every file
that changed due to limmited h/w, however I've checked enught to be petty
happy withe hte code..

WARNING... struct lkm[mumble] has changed
so it might be an idea to recompile any lkm related programs

show more ...


# efeaf95a 07-Dec-1995 David Greenman <dg@FreeBSD.org>

Untangled the vm.h include file spaghetti.


# bb1140a9 31-Oct-1995 Bruce Evans <bde@FreeBSD.org>

Fixed initialization of TS_CONNECTED bit in t_state. It wasn't
set in open() when CLOCAL is set unless carrier is present.

Fixed initialization of line discipline. It lived across opens.
Lines tha

Fixed initialization of TS_CONNECTED bit in t_state. It wasn't
set in open() when CLOCAL is set unless carrier is present.

Fixed initialization of line discipline. It lived across opens.
Lines that started with the wrong discipline probably didn't work
at all, because TS_ISOPEN is only set by TTYDISC.

show more ...


# e7c89b42 10-Sep-1995 Bruce Evans <bde@FreeBSD.org>

Fix wakeups for TIOCDRAINWAIT. The conditional wakeups introduced in rev
1.59 defeated the point of doing the wakeups (having reduced timeouts
take effect immediately).


# af2a00bb 02-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Check for valid speed values in pty drive
Check for negative speed values in tty drive
Back out valid speed values checking from tty drive
Suggested by: bde


# 271381b3 02-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Optimize a bit valid speed search using fact that speed table sorted
Submitted by:
Obtained from:


# 7a82fc78 02-Aug-1995 Andrey A. Chernov <ache@FreeBSD.org>

Check for valid speeds in TIOCSET* and return EINVAL for incorrect
values instead of setting garbadge.


# 19829865 01-Aug-1995 Bruce Evans <bde@FreeBSD.org>

Obtained from: partly from ancient patches of mine via 1.1.5

Change all short variables in `struct tty' to int. Shorts were only
right on ancient systems with ints optimized for vaxness over
effici

Obtained from: partly from ancient patches of mine via 1.1.5

Change all short variables in `struct tty' to int. Shorts were only
right on ancient systems with ints optimized for vaxness over
efficiency.

show more ...


# 35b46c17 01-Aug-1995 Bruce Evans <bde@FreeBSD.org>

Obtained from: partly from ancient patches of mine via 1.1.5

Handle MDMBUF a little better. Prepare to handle 4 different kinds of
output flow control.


# f91307e2 31-Jul-1995 Bruce Evans <bde@FreeBSD.org>

Obtained from: an ancient patch of mine via 1.1.5

Clear PENDIN when input is flushed so that the handling of future input
doesn't get pessimized.


1...<<11121314151617181920>>...35