summaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-05-04 02:41:38 +0000
committerSteve Price <steve@FreeBSD.org>1998-05-04 02:41:38 +0000
commitd6ee2c7ee0d00ca20404c8506ae86b00b4901daa (patch)
tree422c7c6b19288de3ae6a46a03e5b4fc576aa9522 /libexec
parent721471916a78b4b296a82a876d1c8450e3580ba1 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/gettytab.511
-rw-r--r--libexec/telnetd/telnetd.827
2 files changed, 32 insertions, 6 deletions
diff --git a/libexec/getty/gettytab.5 b/libexec/getty/gettytab.5
index 33c77fc5a1c9..53ea15e6f558 100644
--- a/libexec/getty/gettytab.5
+++ b/libexec/getty/gettytab.5
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)gettytab.5 8.4 (Berkeley) 4/19/94
-.\" $Id: gettytab.5,v 1.7.2.5 1997/12/15 07:10:52 charnier Exp $
+.\" $Id: gettytab.5,v 1.7.2.6 1998/02/20 17:32:24 jkh 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
diff --git a/libexec/telnetd/telnetd.8 b/libexec/telnetd/telnetd.8
index 578f6ed77e00..f0472f23d0bd 100644
--- a/libexec/telnetd/telnetd.8
+++ b/libexec/telnetd/telnetd.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" @(#)telnetd.8 8.3 (Berkeley) 3/1/94
-.\" $Id: telnetd.8,v 1.5.2.2 1997/12/19 07:33:31 charnier Exp $
+.\" $Id: telnetd.8,v 1.5.2.3 1998/03/06 01:47:53 jkh 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)