summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/gettytab.5175
1 files changed, 77 insertions, 98 deletions
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5
index e3d0f61e20c..26ed862bf1e 100644
--- a/libexec/getty/gettytab.5
+++ b/libexec/getty/gettytab.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: gettytab.5,v 1.19 2010/02/18 13:00:18 schwarze Exp $
+.\" $OpenBSD: gettytab.5,v 1.20 2011/09/03 22:59:08 jmc Exp $
.\" Copyright (c) 1983, 1991, 1993
.\" The Regents of the University of California. All rights reserved.
.\"
@@ -28,7 +28,7 @@
.\"
.\" from: @(#)gettytab.5 8.4 (Berkeley) 4/19/94
.\"
-.Dd $Mdocdate: February 18 2010 $
+.Dd $Mdocdate: September 3 2011 $
.Dt GETTYTAB 5
.Os
.Sh NAME
@@ -70,121 +70,100 @@ column below lists defaults obtained if there is
no entry in the table obtained, nor one in the special
.Em default
table.
-.Bl -column indent indent indent
-.It Sy Name Type Default Description
-.It "ap bool false Terminal uses any parity."
-.It "bk str 0377 Alternative end-of-line character (input break)."
-.It "c0 num unused TTY control flags to write messages."
-.It "c1 num unused TTY control flags to read login name."
-.It "c2 num unused TTY control flags to leave terminal as."
-.It "ce bool false Use CRT erase algorithm."
-.It "ck bool false Use CRT kill algorithm."
-.It "cl str" Ta Dv NULL Ta
-.No "Screen clear sequence."
-.It "co bool false Console; add"
+.Bl -column "Name" "Type" "Default" "Description"
+.It Sy Name Ta Sy Type Ta Sy Default Ta Sy Description
+.It ap Ta bool Ta false Ta "Terminal uses any parity."
+.It bk Ta str Ta 0377 Ta "Alternative end-of-line character (input break)."
+.It c0 Ta num Ta unused Ta "TTY control flags to write messages."
+.It c1 Ta num Ta unused Ta "TTY control flags to read login name."
+.It c2 Ta num Ta unused Ta "TTY control flags to leave terminal as."
+.It ce Ta bool Ta false Ta "Use CRT erase algorithm."
+.It ck Ta bool Ta false Ta "Use CRT kill algorithm."
+.It cl Ta str" Ta Dv NULL Ta "Screen clear sequence."
+.It co Ta bool Ta false Ta "Console; add"
.Ql \en
after login prompt.
-.It "ds str" Ta So Li ^Y Sc Ta
-.No "Delayed suspend character."
-.It "dx bool false Set"
+.It ds Ta str Ta So Li ^Y Sc Ta "Delayed suspend character."
+.It dx Ta bool Ta false Ta "Set"
.Dv DECCTLQ .
-.It "ec bool false Leave echo"
-.Tn OFF .
-.It "ep bool false Terminal uses even parity."
-.It "er str" Ta So Li ^? Sc Ta
-.No "Erase character."
-.It "et str" Ta So Li ^D Sc Ta
-.No "End of text"
+.It ec Ta bool Ta false Ta "Leave echo OFF."
+.It ep Ta bool Ta false Ta "Terminal uses even parity."
+.It er Ta str Ta So Li ^? Sc Ta "Erase character."
+.It et Ta str Ta So Li ^D Sc Ta "End of text"
.Pq Dv EOF
character.
-.It "ev str" Ta Dv NULL Ta
-.No "Initial environment."
-.It "f0 num unused TTY mode flags to write messages."
-.It "f1 num unused TTY mode flags to read login name."
-.It "f2 num unused TTY mode flags to leave terminal as."
-.It "fl str" Ta So Li ^O Sc Ta
-.No "Output flush character."
-.It "hc bool false Do"
+.It ev Ta str Ta Dv NULL Ta "Initial environment."
+.It f0 Ta num Ta unused Ta "TTY mode flags to write messages."
+.It f1 Ta num Ta unused Ta "TTY mode flags to read login name."
+.It f2 Ta num Ta unused Ta "TTY mode flags to leave terminal as."
+.It fl Ta str Ta So Li ^O Sc Ta "Output flush character."
+.It hc Ta bool Ta false Ta "\&Do"
.Em not
hangup line on last close.
-.It "he str" Ta Dv NULL Ta
-.No "Hostname editing string."
-.It "hn str hostname Hostname."
-.It "ht bool false Terminal has real tabs."
-.It "i0 num unused TTY input flags to write messages."
-.It "i1 num unused TTY input flags to read login name."
-.It "i2 num unused TTY input flags to leave terminal as."
-.It "ig bool false Ignore garbage characters in login name."
-.It "im str" Ta Dv NULL Ta
-.No "Initial (banner) message."
-.It "in str" Ta So Li ^C Sc Ta
-.No "Interrupt character."
-.It "is num unused Input speed."
-.It "kl str" Ta So Li ^U Sc Ta
-.No "Kill character."
-.It "l0 num unused TTY local flags to write messages."
-.It "l1 num unused TTY local flags to read login name."
-.It "l2 num unused TTY local flags to leave terminal as."
-.It "lc bool false Terminal has lower case."
-.It "lm str login: Login prompt."
-.It "ln str" Ta So Li ^V Sc Ta
-.No "``Literal next'' character."
-.It "lo str" Ta Pa /usr/bin/login Ta
-.No "Program to execute when name obtained."
-.It "mb bool false \&Do flow control based on carrier."
-.It "nl bool false Terminal has (or might have) a newline character."
-.It "np bool false Terminal uses no parity (i.e., 8-bit characters)."
-.It "nx str default Next table (for auto speed selection)."
-.It "o0 num unused TTY output flags to write messages."
-.It "o1 num unused TTY output flags to read login name."
-.It "o2 num unused TTY output flags to leave terminal as."
-.It "op bool false Terminal uses odd parity."
-.It "os num unused Output speed."
-.It "pc str" Ta So Li \e0 Sc Ta
-.No "Pad character."
-.It "pe bool false Use printer (hard copy) erase algorithm."
-.It "pf num 0 Delay"
+.It he Ta str Ta Dv NULL Ta "Hostname editing string."
+.It hn Ta str Ta hostname Ta "Hostname."
+.It ht Ta bool Ta false Ta "Terminal has real tabs."
+.It i0 Ta num Ta unused Ta "TTY input flags to write messages."
+.It i1 Ta num Ta unused Ta "TTY input flags to read login name."
+.It i2 Ta num Ta unused Ta "TTY input flags to leave terminal as."
+.It ig Ta bool Ta false Ta "Ignore garbage characters in login name."
+.It im Ta str Ta Dv NULL Ta "Initial (banner) message."
+.It in Ta str Ta So Li ^C Sc Ta "Interrupt character."
+.It is Ta num Ta unused Ta "Input speed."
+.It kl Ta str Ta So Li ^U Sc Ta "Kill character."
+.It l0 Ta num Ta unused Ta "TTY local flags to write messages."
+.It l1 Ta num Ta unused Ta "TTY local flags to read login name."
+.It l2 Ta num Ta unused Ta "TTY local flags to leave terminal as."
+.It lc Ta bool Ta false Ta "Terminal has lower case."
+.It lm Ta str Ta login: Ta "Login prompt."
+.It ln Ta str Ta So Li ^V Sc Ta "``Literal next'' character."
+.It lo Ta str Ta Pa /usr/bin/login Ta "Program to execute when name obtained."
+.It mb Ta bool Ta false Ta "\&Do flow control based on carrier."
+.It nl Ta bool Ta false Ta "Terminal has (or might have) a newline character."
+.It np Ta bool Ta false Ta "Terminal uses no parity (i.e., 8-bit characters)."
+.It nx Ta str Ta default Ta "Next table (for auto speed selection)."
+.It o0 Ta num Ta unused Ta "TTY output flags to write messages."
+.It o1 Ta num Ta unused Ta "TTY output flags to read login name."
+.It o2 Ta num Ta unused Ta "TTY output flags to leave terminal as."
+.It op Ta bool Ta false Ta "Terminal uses odd parity."
+.It os Ta num Ta unused Ta "Output speed."
+.It pc Ta str Ta So Li \e0 Sc Ta "Pad character."
+.It pe Ta bool Ta false Ta "Use printer (hard copy) erase algorithm."
+.It pf Ta num Ta 0 Ta "Delay"
between first prompt and following flush (seconds).
-.It "pp str unused PPP authentication program."
-.It "ps bool false Line connected to a"
-.Tn MICOM
-port selector.
-.It "qu str" Ta So Li \&^\e Sc Ta
-.No "Quit character."
-.It "rp str" Ta So Li ^R Sc Ta
-.No "Line retype character."
-.It "rw bool false Do"
+.It pp Ta str Ta unused Ta "PPP authentication program."
+.It ps Ta bool Ta false Ta "Line connected to a MICOM port selector."
+.It qu Ta str Ta So Li \&^\e Sc Ta "Quit character."
+.It rp Ta str Ta So Li ^R Sc Ta "Line retype character."
+.It rw Ta bool Ta false Ta "\&Do"
.Em not
use raw for input, use cbreak.
-.It "sp num unused Line speed (input and output)."
-.It "su str" Ta So Li ^Z Sc Ta
-.No "Suspend character."
-.It "tc str none Table continuation."
-.It "to num 0 Timeout (seconds)."
-.It "tt str" Ta Dv NULL Ta
-.No "Terminal type (for environment)."
-.It "ub bool false \&Do unbuffered output (of prompts etc)."
-.It "we str" Ta So Li ^W Sc Ta
-.No "Word erase character."
-.It "xc bool false Do"
+.It sp Ta num Ta unused Ta "Line speed (input and output)."
+.It su Ta str Ta So Li ^Z Sc Ta "Suspend character."
+.It tc Ta str Ta none Ta "Table continuation."
+.It to Ta num Ta 0 Ta "Timeout (seconds)."
+.It tt Ta str Ta Dv NULL Ta "Terminal type (for environment)."
+.It ub Ta bool Ta false Ta "\&Do unbuffered output (of prompts etc)."
+.It we Ta str Ta So Li ^W Sc Ta "Word erase character."
+.It xc Ta bool Ta false Ta "\&Do"
.Em not
echo control characters as
.Ql ^X .
-.It "xf str" Ta So Li ^S Sc Ta Dv XOFF
+.It xf Ta str Ta So Li ^S Sc Ta Dv XOFF
(stop output) character.
-.It "xn str" Ta So Li ^Q Sc Ta Dv XON
+.It xn Ta str Ta So Li ^Q Sc Ta Dv XON
(start output) character.
.El
.Pp
The following capabilities are no longer supported by
.Xr getty 8 :
-.Bl -column indent indent indent
-.It "bd num 0 Backspace delay."
-.It "cb bool false Use CRT backspace mode."
-.It "cd num 0 Carriage-return delay."
-.It "fd num 0 Form-feed (vertical motion) delay."
-.It "nd num 0 Newline (line-feed) delay."
-.It "uc bool false Terminal is known upper case only."
+.Bl -column "bd" "bool" "flase" "description"
+.It bd Ta num Ta 0 Ta "Backspace delay."
+.It cb Ta bool Ta false Ta "Use CRT backspace mode."
+.It cd Ta num Ta 0 Ta "Carriage-return delay."
+.It fd Ta num Ta 0 Ta "Form-feed (vertical motion) delay."
+.It nd Ta num Ta 0 Ta "Newline (line-feed) delay."
+.It uc Ta bool Ta false Ta "Terminal is known upper case only."
.El
.Pp
If no line speed is specified, speed will not be altered