-.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
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
.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
.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
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.