Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 May 1998 17:54:26 -0700 (PDT)
From:      Studded@san.rr.com
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   docs/6499: man page updates for telnetd(8) and gettytab(5)
Message-ID:  <199805040054.RAA05906@dt050n33.san.rr.com>

next in thread | raw e-mail | index | archive | help

>Number:         6499
>Category:       docs
>Synopsis:       man page updates for telnetd(8) and gettytab(5)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun May  3 18:00:02 PDT 1998
>Last-Modified:
>Originator:     Doug
>Organization:
AAAG
>Release:        FreeBSD 2.2.6-STABLE-0502 i386
>Environment:

	-Current and -Stable

>Description:

	Now that the '/etc/issue-like' file support is added in telnetd, update the
man page to reflect that. Also, update the gettytab page to indicate that if= files
can also take advantage of the im= formatting codes.

>How-To-Repeat:

	DNA

>Fix:
	
	Apply the following patches. Note that there is a small difference in
gettytab.5 between -Current and -Stable (two lines). Whoever commits this might want
to merge that small change first. There's no difference between -Current and -Stable
for telnetd.8.

--- telnetd.8.Dist	Sun May  3 15:43:28 1998
+++ telnetd.8	Sun May  3 17:20:57 1998
@@ -524,10 +524,31 @@
 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 /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 /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
@@ -538,6 +559,7 @@
 .Sh "SEE ALSO"
 .Xr bftp 1 ,
 .Xr login 1 ,
+.Xr gettytab 5 ,
 .Xr telnet 1
 (if supported)
 .Sh STANDARDS


--- gettytab.5.Dist	Sun May  3 15:39:12 1998
+++ gettytab.5	Sun May  3 15:37:56 1998
@@ -126,7 +126,7 @@
 .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 on SysV systems"
 .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 @@
 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

>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-doc" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199805040054.RAA05906>