BSD 4_3 release
[unix-history] / usr / man / man5 / gettytab.5
index fef8f99..fa18c94 100644 (file)
@@ -1,5 +1,11 @@
-.TH GETTYTAB 5 "18 July 1983"
-.UC 4
+.\" Copyright (c) 1983 Regents of the University of California.
+.\" All rights reserved.  The Berkeley software License Agreement
+.\" specifies the terms and conditions for redistribution.
+.\"
+.\"    @(#)gettytab.5  6.3 (Berkeley) 5/19/86
+.\"
+.TH GETTYTAB 5 "May 19, 1986"
+.UC 5
 .SH NAME
 gettytab \- terminal configuration data base
 .SH SYNOPSIS
@@ -50,6 +56,7 @@ ck    bool    false   use crt kill algorithm
 cl     str     NULL    screen clear sequence
 co     bool    false   console - add \\n after login prompt
 ds     str     ^Y      delayed suspend character
+dx     bool    false   set DECCTLQ
 ec     bool    false   leave echo \s-2OFF\s0
 ep     bool    false   terminal uses even parity
 er     str     ^?      erase character
@@ -145,8 +152,9 @@ The initial message, and login message,
 .B im
 and
 .B lm
-may include the character sequence \fB%h\fP to obtain
-the hostname. (\fB%%\fP obtains a single '%' character.)
+may include the character sequence \fB%h\fP or \fB%t\fP to obtain
+the hostname or tty name respectively.
+(\fB%%\fP obtains a single '%' character.)
 The hostname is normally obtained from the system,
 but may be set by the
 .B hn
@@ -210,14 +218,13 @@ does not check parity of input characters in
 .I RAW
 mode.
 .SH "SEE ALSO"
+login(1),
 termcap(5),
 getty(8).
 .SH BUGS
-Some ignorant peasants insist on changing the default special
-characters, so it is wise to always specify (at least) the
-erase, kill, and interrupt characters in the
-.B default
-table.
+The special characters (erase, kill, etc.) are reset to system defaults
+by
+.IR login (1).
 In
 .B all
 cases, '#' or '^H' typed in a login name will be treated as
@@ -228,12 +235,6 @@ Apart form its general lack of flexibility, some
 of the delay algorithms are not implemented.
 The terminal driver should support sane delay settings.
 .PP
-Currently
-.IR login (1)
-stomps on the environment, so there is no point
-setting it in
-.IR gettytab .
-.PP
 The
 .B he
 capability is stupid.