#
702c5e7e |
| 28-Mar-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
ttyinput() fixes:
1) Preserve old buffer contents when input buffer overflows.
Old code clear buffer and rewrite it again, if !MAXBEL (for MAXBEL it does right thing :-). F.e. if you type too long
ttyinput() fixes:
1) Preserve old buffer contents when input buffer overflows.
Old code clear buffer and rewrite it again, if !MAXBEL (for MAXBEL it does right thing :-). F.e. if you type too long string, last chars passed, not first ones as expected. Moreover, it flush output queue too in this case without any needs.
2) Don't do IXOFF, if IGNCR and c==\r, ignore completely.
3) If PARMRK is active and !ISTRIP and char == 0377 put yet one 0377 to distinguish it from parity mark sequence. POSIX standard (thanx Bruce).
Reviewed by: Submitted by: Obtained from: CVS:
show more ...
|
#
63cadaef |
| 28-Mar-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Bug fixed: parity/framing/break not completely ignored when IGN* is set but cause output restarted. CVS:
|
#
b5e8ce9f |
| 16-Mar-1995 |
Bruce Evans <bde@FreeBSD.org> |
Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There
Add and move declarations to fix all of the warnings from `gcc -Wimplicit' (except in netccitt, netiso and netns) and most of the warnings from `gcc -Wnested-externs'. Fix all the bugs found. There were no serious ones.
show more ...
|
#
5d8619d1 |
| 01-Mar-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Workaround IXOFF bug when output queue is full && RTS control is on
|
#
8c5c37cd |
| 28-Feb-1995 |
Paul Traina <pst@FreeBSD.org> |
Incorporate bde's code-review comments.
(a) bring back ttselect, now that we have xxxdevtotty() it isn't dangerous. (b) remove all of the wrappers that have been replaced by ttselect (c) fix formatt
Incorporate bde's code-review comments.
(a) bring back ttselect, now that we have xxxdevtotty() it isn't dangerous. (b) remove all of the wrappers that have been replaced by ttselect (c) fix formatting in syscons.c and definition in syscons.h (d) add cxdevtotty
NOT DONE: (e) make pcvt work... it was already broken...when someone fixes pcvt to link properly, just rename get_pccons to xxxdevtotty and we're done
show more ...
|
#
0739a0dc |
| 27-Feb-1995 |
Ugen J.S. Antsilevich <ugen@FreeBSD.org> |
same
|
#
77f77631 |
| 25-Feb-1995 |
Paul Traina <pst@FreeBSD.org> |
(a) remove the pointer to each driver's tty structure array from cdevsw (b) add a function callback vector to tty drivers that will return a pointer to a valid tty structure based upon a dev_t (c
(a) remove the pointer to each driver's tty structure array from cdevsw (b) add a function callback vector to tty drivers that will return a pointer to a valid tty structure based upon a dev_t (c) make syscons structures the same size whether or not APM is enabled so utilities don't crash if NAPM changes (and make the damn kernel compile!) (d) rewrite /dev/snp ioctl interface so that it is device driver and i386 independant
show more ...
|
#
81c427da |
| 24-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add releasing of input flow control into ttyflush(FREAD)
|
#
227b711d |
| 23-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Add two IXOFF checks to not confuse with CRTS_IFLOW. Now TS_TBLOCK used as general input flow flag for both IXOFF and CRTS_IFLOW cases.
|
#
d8947494 |
| 23-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Revive hadrware input flow control Submitted by: iverson@lionheart.com
|
#
93a56d1f |
| 15-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Restore deleted in second time my & bde fixes. UGEN STOP IT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
|
#
964587ca |
| 15-Feb-1995 |
Ugen J.S. Antsilevich <ugen@FreeBSD.org> |
More changes to support user calls. It's 22:00 here,utility still to come(hopefully tomorrow morning..)
|
#
23564ff8 |
| 15-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Remove duplicated code from ttymalloc(). Disable ttyfree().
Restore fixes to flushing that were lost in the previous commit.
Clean up snoop changes.
Add my TODO list from 1.1.5. The improvements
Remove duplicated code from ttymalloc(). Disable ttyfree().
Restore fixes to flushing that were lost in the previous commit.
Clean up snoop changes.
Add my TODO list from 1.1.5. The improvements in 1.1.5 should be "obtained" first.
show more ...
|
#
dde8a05b |
| 14-Feb-1995 |
Ugen J.S. Antsilevich <ugen@FreeBSD.org> |
Here it came-the all-brand-new snoop device.. Users-beware.. It is tested and working for me but probably have some bugs i didn't noticed so test it and reply... It can: look at what's sent to the u
Here it came-the all-brand-new snoop device.. Users-beware.. It is tested and working for me but probably have some bugs i didn't noticed so test it and reply... It can: look at what's sent to the user from tty device snoop on pty's,vty's and serial tty's It (still) can't: write to tty see what user types in local echo mode It is probably bad styled and very dependant on tty_pty.c,sio.c and syscons.c I would be really happy if another ppl would make their changes because i am not sure this is the best snoop we can have..but it is good..:)))))
show more ...
|
#
6d50a4a8 |
| 13-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Purge queues in ttylclose(), if ttywflush() failed
|
#
dee8849b |
| 13-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Replace previous fix with less agressive, just return EIO if ttywait can't drain queue.
|
#
911b598f |
| 13-Feb-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
1. If some output still present at the end of ttywait, kill it. 2. Even if ttywait() fails, call ttyflush(FREAD) in ttywflush. This two fixes guarantee that queues are empty after calling ttywflush()
1. If some output still present at the end of ttywait, kill it. 2. Even if ttywait() fails, call ttyflush(FREAD) in ttywflush. This two fixes guarantee that queues are empty after calling ttywflush() in any case
show more ...
|
#
3663f75c |
| 09-Feb-1995 |
Jordan K. Hubbard <jkh@FreeBSD.org> |
>32 PTY support Submitted by: Heikki Suonsivu <hsu@cs.hut.fi>
|
#
a2d5fd19 |
| 08-Feb-1995 |
Bruce Evans <bde@FreeBSD.org> |
Disable bogus attempt to switch from the TS_ISOPEN state to the TS_WOPEN state when CLOCAL is toggled from on to off while there is no carrier. There is no way back, and with sio there is no way for
Disable bogus attempt to switch from the TS_ISOPEN state to the TS_WOPEN state when CLOCAL is toggled from on to off while there is no carrier. There is no way back, and with sio there is no way forward either (TS_ISOPEN will never be set again for the current open). This bug was observed in 1.1 and was fixed in 1.1.5.
show more ...
|
#
c9c9e30a |
| 30-Jan-1995 |
Bruce Evans <bde@FreeBSD.org> |
Increase the reserved clist space for the raw queue from 512 to TTYHOG. This might help avoid tty buffer overflows on loaded systems.
|
#
4c5e4b09 |
| 06-Jan-1995 |
Bruce Evans <bde@FreeBSD.org> |
Fix error handling for new TIOCSDRAINWAIT ioctl.
|
#
33c38bd5 |
| 05-Jan-1995 |
Andrey A. Chernov <ache@FreeBSD.org> |
Fight against hanging modems: add timeout to ttywait. Reviewed by: Bruce
|
#
73a36124 |
| 04-Dec-1994 |
Andrey A. Chernov <ache@FreeBSD.org> |
Call d_stop in ttyflush not only for WRITE but for READ too Obtained from: 1.1.5.1
|
#
d1a795a2 |
| 26-Nov-1994 |
Bruce Evans <bde@FreeBSD.org> |
Fix cblock starvation bugs by reserving enough cblocks for minimal operation of each clist. Limit the growth of each clist. Clists can only grow larger than the reserved minimum if there are free c
Fix cblock starvation bugs by reserving enough cblocks for minimal operation of each clist. Limit the growth of each clist. Clists can only grow larger than the reserved minimum if there are free cblocks in a shared pool. The size of this pool is now fixed (this could be improved). The reserved and maximum sizes are more carefully allocated for slip and ppp, depending on the mtu. A maximum MTU of 16384 is now enforced for ppp.
show more ...
|
#
ba77d4e4 |
| 26-Nov-1994 |
Bruce Evans <bde@FreeBSD.org> |
Don't block for output in non-blocking mode if clists run out.
Remove an unnecessary test (if the output queue is above high water then it is nonempty).
|