aboutsummaryrefslogtreecommitdiff
path: root/libexec
diff options
context:
space:
mode:
authorSheldon Hearn <sheldonh@FreeBSD.org>1999-12-06 09:07:14 +0000
committerSheldon Hearn <sheldonh@FreeBSD.org>1999-12-06 09:07:14 +0000
commitf0f4f7562034efc0d75a49beb1e6d82ebadd76ed (patch)
treeae2f21efeaf2730ed8b8326a70f1adcec00d9cac /libexec
parent8d133d9561230d94880c2c67e35157cf14c80581 (diff)
Notes
Diffstat (limited to 'libexec')
-rw-r--r--libexec/getty/ttys.512
1 files changed, 11 insertions, 1 deletions
diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5
index 502decb37f3c..43404e6ea6ed 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