Module Name: src Committed By: christos Date: Sat Sep 24 00:05:39 UTC 2011
Modified Files: src/sys/kern: tty.c tty_subr.c src/sys/sys: tty.h ttycom.h Log Message: - Introduce a sysctl to control the default tty queue size kern.tty.qsize, which defaults to 1024 as before. - Add two ioctls TIOC{G,S}QSIZE to read and adjust the queue size on individual ptys. NB: ttys (and ptys) still silently (or beepingly (IMAXBEL)) drop characters if the queue size is exceeded. I.e. you can appear to succeed writing to the {p,t}ty, but not all characters will have made it if the queue overflows. CVS: To generate a diff of this commit: cvs rdiff -u -r1.247 -r1.248 src/sys/kern/tty.c cvs rdiff -u -r1.39 -r1.40 src/sys/kern/tty_subr.c cvs rdiff -u -r1.89 -r1.90 src/sys/sys/tty.h cvs rdiff -u -r1.18 -r1.19 src/sys/sys/ttycom.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.