From owner-freebsd-doc Sun May 3 18:02:36 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id SAA08470 for freebsd-doc-outgoing; Sun, 3 May 1998 18:02:36 -0700 (PDT) (envelope-from owner-freebsd-doc@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id SAA08428 for ; Sun, 3 May 1998 18:02:25 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id SAA24019; Sun, 3 May 1998 18:00:02 -0700 (PDT) Received: from dt050n33.san.rr.com (@dt050n33.san.rr.com [204.210.31.51]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id RAA07128 for ; Sun, 3 May 1998 17:54:35 -0700 (PDT) (envelope-from dougdougdougdoug@dt050n33.san.rr.com) Received: (from root@localhost) by dt050n33.san.rr.com (8.8.8/8.8.8) id RAA05906; Sun, 3 May 1998 17:54:26 -0700 (PDT) (envelope-from dougdougdougdoug) Message-Id: <199805040054.RAA05906@dt050n33.san.rr.com> Date: Sun, 3 May 1998 17:54:26 -0700 (PDT) From: Studded@san.rr.com Reply-To: Studded@san.rr.com To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: docs/6499: man page updates for telnetd(8) and gettytab(5) Sender: owner-freebsd-doc@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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