diff options
author | sheldonh <sheldonh@FreeBSD.org> | 1999-12-06 09:07:14 +0000 |
---|---|---|
committer | sheldonh <sheldonh@FreeBSD.org> | 1999-12-06 09:07:14 +0000 |
commit | e8d92f3cffd5f85216f9c85965ed983d96f27ae5 (patch) | |
tree | d230ca110acc88bfe989bd97a561957dcec31ab8 /libexec/getty | |
parent | 3f475828f27a59a5be6db1dcfe1691fe632cfab3 (diff) | |
download | FreeBSD-src-e8d92f3cffd5f85216f9c85965ed983d96f27ae5.zip FreeBSD-src-e8d92f3cffd5f85216f9c85965ed983d96f27ae5.tar.gz |
Correct the ttys.5 and init.8 manpages with respect to the incorrect
assumption that only getty processes can be managed. Describe the
SysV-like ability to keep arbitrary long-running processes alive
using a non-device first field in /etc/ttys.
PR: 12767
Submitted by: Peter Jeremy <peter.jeremy@alcatel.com.au>
Diffstat (limited to 'libexec/getty')
-rw-r--r-- | libexec/getty/ttys.5 | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5 index 502decb..43404e6 100644 --- a/libexec/getty/ttys.5 +++ b/libexec/getty/ttys.5 @@ -56,9 +56,11 @@ Blank lines and comments may appear anywhere in the file; comments are delimited by hash marks (``#'') and new lines. Any unspecified fields will default to null. .Pp -The first field is the +The first field is normally the name of the terminal special file as it is found in .Pa /dev . +However, it can be any arbitrary string +when the associated command is not related to a tty. .Pp The second field of the file is the command to execute for the line, usually @@ -125,6 +127,14 @@ If no group is specified, then the tty becomes a member of the group "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 any combinations of tabs and spaces. +Arguments containing whitespace should be enclosed in single quotes +.Pq ' . +Note that no shell-style globbing or other variable substitution occurs. .Sh EXAMPLES .Bd -literal # root login on console at 1200 baud |