summaryrefslogtreecommitdiffstats
path: root/etc/gettytab
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2009-10-18 19:48:53 +0000
committered <ed@FreeBSD.org>2009-10-18 19:48:53 +0000
commit9be1c96abbbfb921650d5a59c5bf81d0c6e55afb (patch)
tree8688757ded2073d7415ee146442e3e4f0ccad695 /etc/gettytab
parent48d5bb8030211449f7101bf25732efdfd98c5929 (diff)
downloadFreeBSD-src-9be1c96abbbfb921650d5a59c5bf81d0c6e55afb.zip
FreeBSD-src-9be1c96abbbfb921650d5a59c5bf81d0c6e55afb.tar.gz
Allow the buffer size to be configured for pseudo-like TTY devices.
Devices that don't implement param() (which means they don't support hardware parameters such as flow control, baud rate) hardcode the baud rate to TTYDEF_SPEED. This means the buffer size cannot be configured, which is a little inconvenient when using canonical mode with big lines of input, etc. Make it adjustable, but do clamp it between B50 and B115200 to prevent awkward buffer sizes. Remove the baud rate assignment from /etc/gettytab. Trust the kernel to fill in a proper value. Reported by: Mikolaj Golub <to my trociny gmail com> MFC after: 1 month
Diffstat (limited to 'etc/gettytab')
-rw-r--r--etc/gettytab2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/gettytab b/etc/gettytab
index b75da3d..2d3a80a 100644
--- a/etc/gettytab
+++ b/etc/gettytab
@@ -162,7 +162,7 @@ X|Xwindow|X window system:\
:fd@:nd@:cd@:rw:sp#9600:
P|Pc|Pc console:\
- :ht:np:sp#115200:
+ :ht:np:
#
# Wierdo special case for fast crt's with hardcopy devices
OpenPOWER on IntegriCloud