diff options
author | joerg <joerg@FreeBSD.org> | 1997-09-19 12:25:09 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1997-09-19 12:25:09 +0000 |
commit | 95f845dddf814c591be7f8a205652d475ae89d64 (patch) | |
tree | 40f05443b176b9b469fee9ca769c0ebfd73aa782 /etc/gettytab | |
parent | f6da000c05feb73d9ea67e2f4d2b2f12ca9d7581 (diff) | |
download | FreeBSD-src-95f845dddf814c591be7f8a205652d475ae89d64.zip FreeBSD-src-95f845dddf814c591be7f8a205652d475ae89d64.tar.gz |
Add a sample entry specifying numeric tty settings. People sometimes ask
how to force a local tty line into CLOCAL mode and Xon/Xoff flow control.
This is the preferrable way (over rc.serial).
Diffstat (limited to 'etc/gettytab')
-rw-r--r-- | etc/gettytab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/etc/gettytab b/etc/gettytab index 44d3a73..a094476 100644 --- a/etc/gettytab +++ b/etc/gettytab @@ -77,6 +77,26 @@ std.115200|115200-baud:\ :np:sp#115200: # +# Entry specifying explicit device settings. See termios(4) and +# /usr/include/termios.h, too. The entry forces the tty into +# CLOCAL mode (so no DCD is required), and uses Xon/Xoff flow control. +# +# cflags: CLOCAL | HUPCL | CREAD | CS8 +# oflags: OPOST | ONLCR | OXTABS +# iflags: IXOFF | IXON | ICRNL | IGNPAR +# lflags: IEXTEN | ICANON | ISIG | ECHOCTL | ECHO | ECHOK | ECHOE | ECHOKE +# +# The `0' flags don't have input enabled. The `1' flags don't echo. +# (Echoing is done inside getty itself.) +# +local.9600|CLOCAL tty @ 9600 Bd:\ + :c0#0x0000c300:c1#0x0000cb00:c2#0x0000cb00:\ + :o0#0x00000007:o1#0x00000002:o2#0x00000007:\ + :i0#0x00000704:i1#0x00000000:i2#0x00000704:\ + :l0#0x000005cf:l1#0x00000000:l2#0x000005cf:\ + :sp#9600: + +# # Dial in rotary tables, speed selection via 'break' # 0|d300|Dial-300:\ |