summaryrefslogtreecommitdiff
path: root/libexec/getty
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>2000-09-08 18:03:29 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>2000-09-08 18:03:29 +0000
commitc6b04efe5b71f9cb932962168c5ab70b135ab1b2 (patch)
treedc3c5d67850ed4c4c0d1f4df50a22e1eb2411260 /libexec/getty
parent87a99320368312c83ab40b14a0b45f00edf824db (diff)
Some miscellaneous man page repairs.
Diffstat (limited to 'libexec/getty')
-rw-r--r--libexec/getty/getty.814
-rw-r--r--libexec/getty/ttys.537
2 files changed, 26 insertions, 25 deletions
diff --git a/libexec/getty/getty.8 b/libexec/getty/getty.8
index 1b2827994b9..88f960d927b 100644
--- a/libexec/getty/getty.8
+++ b/libexec/getty/getty.8
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)getty.8 8.1 (Berkeley) 6/4/93
-.\" $Id: getty.8,v 1.6 2000/08/20 18:42:38 millert Exp $
+.\" $Id: getty.8,v 1.7 2000/09/08 18:03:27 aaron Exp $
.\"
.Dd June 4, 1993
.Dt GETTY 8
@@ -46,7 +46,7 @@
.Oc
.Sh DESCRIPTION
The
-.Nm getty
+.Nm
program
is called by
.Xr init 8
@@ -65,7 +65,7 @@ the tty line is assumed to be open as file descriptor 0.
The
.Ar type
argument can be used to make
-.Nm getty
+.Nm
treat the terminal line specially.
This argument is used as an index into the
.Xr gettytab 5
@@ -77,7 +77,7 @@ If there is no
.Pa /etc/gettytab
a set of system defaults is used.
If indicated by the table located,
-.Nm getty
+.Nm
will clear the terminal screen,
print a banner heading,
and prompt for a login name.
@@ -85,13 +85,13 @@ Usually either the banner or the login prompt will include
the system hostname.
.Pp
Most of the default actions of
-.Nm getty
+.Nm
can be circumvented, or modified, by a suitable
.Xr gettytab 5
table.
.Pp
The
-.Nm getty
+.Nm
program
can be set to timeout after some interval,
which will cause dial up lines to hang up
@@ -132,6 +132,6 @@ does not exist.
.Xr init 8
.Sh HISTORY
A
-.Nm getty
+.Nm
program appeared in
.At v6 .
diff --git a/libexec/getty/ttys.5 b/libexec/getty/ttys.5
index 77c73dc771f..49a810a71ad 100644
--- a/libexec/getty/ttys.5
+++ b/libexec/getty/ttys.5
@@ -30,7 +30,7 @@
.\" SUCH DAMAGE.
.\"
.\" from: @(#)ttys.5 8.1 (Berkeley) 6/4/93
-.\" $Id: ttys.5,v 1.4 1999/07/09 13:35:50 aaron Exp $
+.\" $Id: ttys.5,v 1.5 2000/09/08 18:03:28 aaron Exp $
.\"
.Dd June 4, 1993
.Dt TTYS 5
@@ -39,21 +39,23 @@
.Nm ttys
.Nd terminal initialization information
.Sh DESCRIPTION
-The file
-.Nm ttys
-contains information that is used by various routines to initialize
+The
+.Nm
+file contains information that is used by various routines to initialize
and control the use of terminal special files.
This information is read with the
.Xr getttyent 3
library routines.
There is one line in the
-.Nm ttys
+.Nm
file per special device file.
Fields are separated by tabs and/or spaces.
-Fields comprised of more than one word should be enclosed in double
-quotes (``"'').
+Fields comprised of more than one word should be enclosed in double quotes
+.Pq Ql \&" .
Blank lines and comments may appear anywhere in the file; comments
-are delimited by hash marks (``#'') and new lines.
+are delimited by hash marks
+.Pq Ql #
+and newlines.
Any unspecified fields will default to null.
.Pp
The first field is the
@@ -72,13 +74,12 @@ the start up for a window system terminal emulator or some other
daemon process, and can contain multiple words if quoted.
.Pp
The third field is the type of terminal usually connected to that
-tty line, normally the one found in the
+TTY line, normally the one found in the
.Xr termcap 5
-data base file.
+database file.
The environment variable
.Dv TERM
-is initialized with the value by
-either
+is initialized with the value by either
.Xr getty 8
or
.Xr login 1 .
@@ -90,7 +91,7 @@ entry (see
or specify a window system process that
.Xr init 8
will maintain for the terminal line.
-The following is a list of permitted flags for each tty:
+The following is a list of permitted flags for each TTY:
.Bl -tag -width xxxxxxx
.It Ar on
Specify that
@@ -99,15 +100,15 @@ should execute the command given in the second field.
.It Ar off
The opposite of on.
.It Ar secure
-if
+If
.Ar on
-is also specified, allows users with a uid of 0 to login on
-this line.
+is also specified, allows users with a UID of 0 to login on this line.
.El
.Pp
Additionally, the following flags modify the default behavior of
-the terminal line. Some of these flags may not be supported by a
-terminal line driver. The flag fields should not be quoted.
+the terminal line.
+Some of these flags may not be supported by a terminal line driver.
+The flag fields should not be quoted.
.Bl -tag -width xxxxxxx
.It Ar local
Treat the line as if it is locally connected.