Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Jul 1999 12:08:07 +1000
From:      Peter Jeremy <jeremyp@gsmx07.alcatel.com.au>
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/12767: Expand /etc/ttys manpage
Message-ID:  <99Jul23.114939est.40354@border.alcanet.com.au>

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

>Number:         12767
>Category:       bin
>Synopsis:       Expand /etc/ttys manpage
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 22 19:10:01 PDT 1999
>Closed-Date:
>Last-Modified:
>Originator:     Peter Jeremy
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
Alcatel Australia Limited
>Environment:

	cvs-cur 5500

>Description:

	There are shortcomings in ttys(5) when compared to the way
	/etc/ttys is parsed by /sbin/init.  The following patch
	describes the way /sbin/init behaves.  I believe this
	description is more appropriate here since init(8) refers
	to ttys(5), and any other program wanting to parse /etc/ttys
	should do so in the same manner as init.

>How-To-Repeat:

	Code inspection.

>Fix:
	
Index: libexec/getty/ttys.5
===================================================================
RCS file: /home/CVSROOT/./src/libexec/getty/ttys.5,v
retrieving revision 1.9
diff -u -r1.9 ttys.5
--- ttys.5	1997/11/21 07:43:53	1.9
+++ ttys.5	1999/07/23 01:56:37
@@ -125,6 +125,14 @@
 "none".
 For backwards compatibility, the ``group='' should appear last on the
 line, immediately before the optional comment.
+.Pp
+Both the second field and any command specified with ``window=''
+will be split into words and executed using
+.Xr execve 2 .
+Words are separated by tabs and/or spaces.
+Arguments comprised of more than one word should be enclosed in single
+quotes ("'").
+Note that no shell-style globbing or other variable substitution occurs.
 .Sh EXAMPLES
 .Bd -literal
 # root login on console at 1200 baud


>Release-Note:
>Audit-Trail:
>Unformatted:


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?99Jul23.114939est.40354>