Files
oldlinux-files/Minix/2.0.0/wwwman/man5/ttytab.5.html
2024-02-19 00:21:39 -05:00

128 lines
2.7 KiB
HTML

<HTML>
<HEAD>
<TITLE>ttytab(5)</TITLE>
</HEAD>
<BODY>
<H1>ttytab(5)</H1>
<HR>
<PRE>
</PRE>
<H2>NAME</H2><PRE>
ttytab - table of login terminals
</PRE>
<H2>SYNOPSIS</H2><PRE>
<STRONG>/etc/ttytab</STRONG>
</PRE>
<H2>DESCRIPTION</H2><PRE>
The <STRONG>ttytab</STRONG> file lists all the terminal devices that one can login on. It
is a simple text file that contains lines of the form:
<EM>name</EM> <EM>type</EM> "<EM>getty</EM>" "<EM>init</EM>"
The <EM>name</EM> and <EM>type</EM> fields are simple words, <EM>name</EM> is the name of the
terminal device with <STRONG>/dev</STRONG> stripped off, and <EM>type</EM> tells the type of
terminal to initialize the <STRONG>TERM</STRONG> environment variable.
The <EM>getty</EM> and <EM>init</EM> fields may name commands that are run to allow one to
login on the line, or to initialize the line. Both these fields may be
more than one word if the whole field is enclosed in double quotes.
<EM>Getty</EM> is usually simply the word <STRONG>getty</STRONG>, the command that prints a system
identification banner and allows on to type a name to log in. <EM>Init</EM> is
usually an <STRONG>stty</STRONG> command to set the baud rate and parity of a serial line.
The <EM>init</EM> field may be omitted to indicate that no initialization is
necessary, and the <EM>getty</EM> field may be left out to not start a login
process. Terminals should not be left out, because their place in the
<STRONG>ttytab</STRONG> file determines their slot number as returned by <STRONG><A HREF="../man3/ttyslot.3.html">ttyslot(3)</A></STRONG>.
Comments (introduced by #) and empty lines are ignored.
</PRE>
<H2>EXAMPLE</H2><PRE>
A <STRONG>ttytab</STRONG> for the console, two serial lines, and a pseudo tty entry:
console minix getty
tty00 vt100 getty "stty 9600"
tty01 dialup getty "stty 38400"
ttyp0 network
</PRE>
<H2>ENVIRONMENT</H2><PRE>
<STRONG>TERM</STRONG> Terminal type
</PRE>
<H2>NOTES</H2><PRE>
It is customary to set the type to <STRONG>dialup</STRONG> for a dialin line. One can
check for that name in one's <STRONG>.profile</STRONG>.
</PRE>
<H2>SEE ALSO</H2><PRE>
<STRONG><A HREF="../man3/gettyent.3.html">gettyent(3)</A></STRONG>, <STRONG><A HREF="../man3/ttyslot.3.html">ttyslot(3)</A></STRONG>, <STRONG><A HREF="../man8/init.8.html">init(8)</A></STRONG>.
</PRE>
<H2>AUTHOR</H2><PRE>
Kees J. Bot (kjb@cs.vu.nl)
</PRE>
</BODY>
</HTML>