From owner-freebsd-bugs Thu Jul 22 19:12:53 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id E05F714D2D for ; Thu, 22 Jul 1999 19:12:50 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA92538; Thu, 22 Jul 1999 19:10:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from alcanet.com.au (border.alcanet.com.au [203.62.196.10]) by hub.freebsd.org (Postfix) with ESMTP id 27D4B1572B for ; Thu, 22 Jul 1999 19:08:17 -0700 (PDT) (envelope-from jeremyp@gsmx07.alcatel.com.au) Received: by border.alcanet.com.au id <40354>; Fri, 23 Jul 1999 11:49:39 +1000 Message-Id: <99Jul23.114939est.40354@border.alcanet.com.au> Date: Fri, 23 Jul 1999 12:08:07 +1000 From: Peter Jeremy Reply-To: peter.jeremy@alcatel.com.au To: FreeBSD-gnats-submit@FreeBSD.ORG X-Send-Pr-Version: 3.2 Subject: bin/12767: Expand /etc/ttys manpage Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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