1.\" Copyright (c) 1980, 1991, 1993
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
--- 13 unchanged lines hidden (view full) ---
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getty.8 8.1 (Berkeley) 6/4/93
33.\"
34.Dd June 4, 1993
35.Dt GETTY 8
36.Os BSD 4
37.Sh NAME
38.Nm getty
39.Nd set terminal mode
40.Sh SYNOPSIS
41.Nm getty
42.Oo
--- 13 unchanged lines hidden (view full) ---
56.Ar tty
57is the special device file in
58.Pa /dev
59to open for the terminal (for example, ``ttyh0'').
60If there is no argument or the argument is
61.Ql Fl ,
62the tty line is assumed to be open as file descriptor 0.
63.Pp
64If the argument
65.Ar tty
66matches the first entry in one of the lines in
67.Pa /etc/fbtab
68the userid and groupid of the device list on that line is reset to root and
69wheel respectively.
70.Pp
71The
72.Ar type
73argument can be used to make
74.Nm getty
75treat the terminal line specially.
76This argument is used as an index into the
77.Nm gettytab 5
78database, to determine the characteristics of the line.
--- 34 unchanged lines hidden (view full) ---
113lines are either not configured into the system, the associated device
114was not attached during boot-time system configuration,
115or the special file in
116.Pa /dev
117does not exist.
118.El
119.Sh FILES
120.Bl -tag -width /etc/gettytab -compact
121.It Pa /etc/fbtab
122.It Pa /etc/gettytab
123.El
124.Sh SEE ALSO
125.Xr fbtab 5 ,
126.Xr gettytab 5 ,
127.Xr init 8 ,
128.Xr login 1 ,
129.Xr ioctl 2 ,
130.Xr tty 4 ,
131.Xr ttys 5
132.Sh HISTORY
133A
134.Nm getty
135program appeared in
136.At v6 .
2.\" The Regents of the University of California. All rights reserved.
3.\"
4.\" Redistribution and use in source and binary forms, with or without
5.\" modification, are permitted provided that the following conditions
6.\" are met:
7.\" 1. Redistributions of source code must retain the above copyright
8.\" notice, this list of conditions and the following disclaimer.
9.\" 2. Redistributions in binary form must reproduce the above copyright
10.\" notice, this list of conditions and the following disclaimer in the
--- 13 unchanged lines hidden (view full) ---
24.\" FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
25.\" DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
26.\" OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
27.\" HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
28.\" LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30.\" SUCH DAMAGE.
31.\"
32.\" @(#)getty.8 8.1 (Berkeley) 6/4/93
33.\"
34.Dd June 4, 1993
35.Dt GETTY 8
36.Os BSD 4
37.Sh NAME
38.Nm getty
39.Nd set terminal mode
40.Sh SYNOPSIS
41.Nm getty
42.Oo
--- 13 unchanged lines hidden (view full) ---
56.Ar tty
57is the special device file in
58.Pa /dev
59to open for the terminal (for example, ``ttyh0'').
60If there is no argument or the argument is
61.Ql Fl ,
62the tty line is assumed to be open as file descriptor 0.
63.Pp
64If the argument
65.Ar tty
66matches the first entry in one of the lines in
67.Pa /etc/fbtab
68the userid and groupid of the device list on that line is reset to root and
69wheel respectively.
70.Pp
71The
72.Ar type
73argument can be used to make
74.Nm getty
75treat the terminal line specially.
76This argument is used as an index into the
77.Nm gettytab 5
78database, to determine the characteristics of the line.
--- 34 unchanged lines hidden (view full) ---
113lines are either not configured into the system, the associated device
114was not attached during boot-time system configuration,
115or the special file in
116.Pa /dev
117does not exist.
118.El
119.Sh FILES
120.Bl -tag -width /etc/gettytab -compact
121.It Pa /etc/fbtab
122.It Pa /etc/gettytab
123.El
124.Sh SEE ALSO
125.Xr fbtab 5 ,
126.Xr gettytab 5 ,
127.Xr init 8 ,
128.Xr login 1 ,
129.Xr ioctl 2 ,
130.Xr tty 4 ,
131.Xr ttys 5
132.Sh HISTORY
133A
134.Nm getty
135program appeared in
136.At v6 .