Clarify use of 'if' capability.
PR: 6499 Submitted by: Doug Barton <Studded@san.rr.com>
This commit is contained in:
parent
ec7fa2a51e
commit
b1dd8a7b57
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" from: @(#)gettytab.5 8.4 (Berkeley) 4/19/94
|
||||
.\" $Id: gettytab.5,v 1.15 1997/08/23 16:22:30 steve Exp $
|
||||
.\" $Id: gettytab.5,v 1.16 1997/11/21 07:43:44 charnier Exp $
|
||||
.\" "
|
||||
.Dd April 19, 1994
|
||||
.Dt GETTYTAB 5
|
||||
@ -126,7 +126,7 @@ hangup line on last close
|
||||
.It "i1 num unused tty input flags to read login name"
|
||||
.It "i2 num unused tty input flags to leave terminal as"
|
||||
.It "ic str unused expect-send chat script for modem initialization"
|
||||
.It "if str unused display named file before prompt"
|
||||
.It "if str unused display named file before prompt, like /etc/issue"
|
||||
.It "ig bool false ignore garbage characters in login name"
|
||||
.It "im str" Ta Dv NULL Ta
|
||||
.No "initial (banner) message"
|
||||
@ -270,10 +270,11 @@ of milliseconds of delay required (a la termcap).
|
||||
This delay is simulated by repeated use of the pad character
|
||||
.Em \&pc .
|
||||
.Pp
|
||||
The initial message, and login message,
|
||||
.Em \&im
|
||||
and
|
||||
The initial message, login message, and initial file;
|
||||
.Em \&im ,
|
||||
.Em \&lm
|
||||
and
|
||||
.Em \&if
|
||||
may include any of the following character sequences, which expand to
|
||||
information about the environment in which
|
||||
.Xr getty 8
|
||||
|
@ -30,7 +30,7 @@
|
||||
.\" SUCH DAMAGE.
|
||||
.\"
|
||||
.\" @(#)telnetd.8 8.3 (Berkeley) 3/1/94
|
||||
.\" $Id: telnetd.8,v 1.10 1997/12/03 07:16:04 charnier Exp $
|
||||
.\" $Id: telnetd.8,v 1.11 1998/01/07 07:56:15 charnier Exp $
|
||||
.\"
|
||||
.Dd March 1, 1994
|
||||
.Dt TELNETD 8
|
||||
@ -524,10 +524,34 @@ Only sent if
|
||||
is compiled with support for data encryption, and
|
||||
indicates a willingness to decrypt
|
||||
the data stream.
|
||||
.Sh NOTES
|
||||
By default
|
||||
.Nm
|
||||
will read the
|
||||
.Em \&he ,
|
||||
.Em \&hn ,
|
||||
and
|
||||
.Em \&im
|
||||
capabilities from
|
||||
.Pa /etc/gettytab
|
||||
and use that information (if present) to determine
|
||||
what to display before the login: prompt. You can
|
||||
also use a System V style
|
||||
.Pa /etc/issue
|
||||
file by using the
|
||||
.Em \&if
|
||||
capability, which will override
|
||||
.Em \&im .
|
||||
The information specified in either
|
||||
.Em \&im
|
||||
or
|
||||
.Em \&if
|
||||
will be displayed to both console and remote logins.
|
||||
.Sh ENVIRONMENT
|
||||
.Sh FILES
|
||||
.Bl -tag -width /usr/ucb/bftp -compact
|
||||
.It Pa /etc/services
|
||||
.It Pa /etc/gettytab
|
||||
.It Pa /etc/inittab
|
||||
(UNICOS systems only)
|
||||
.It Pa /etc/iptos
|
||||
@ -537,6 +561,7 @@ the data stream.
|
||||
.El
|
||||
.Sh "SEE ALSO"
|
||||
.Xr bftp 1 ,
|
||||
.Xr gettytab 5 ,
|
||||
.Xr login 1 ,
|
||||
.Xr telnet 1
|
||||
(if supported)
|
||||
|
Loading…
x
Reference in New Issue
Block a user