109 lines
2.5 KiB
HTML
109 lines
2.5 KiB
HTML
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
|
|
<HTML><HEAD><TITLE>Man page of TTYTYPE</TITLE>
|
|
</HEAD><BODY>
|
|
<H1>TTYTYPE</H1>
|
|
Section: Linux Programmer's Manual (5)<BR>Updated: 2012-12-31<BR><A HREF="#index">Index</A>
|
|
<A HREF="/cgi-bin/man/man2html">Return to Main Contents</A><HR>
|
|
|
|
<A NAME="lbAB"> </A>
|
|
<H2>NAME</H2>
|
|
|
|
ttytype - terminal device to default terminal type mapping
|
|
<A NAME="lbAC"> </A>
|
|
<H2>DESCRIPTION</H2>
|
|
|
|
The
|
|
<I>/etc/ttytype</I>
|
|
|
|
file associates
|
|
<B><A HREF="/cgi-bin/man/man2html?5+termcap">termcap</A></B>(5)/<B><A HREF="/cgi-bin/man/man2html?5+terminfo">terminfo</A></B>(5)
|
|
|
|
terminal type names
|
|
with tty lines.
|
|
Each line consists of a terminal type, followed by
|
|
whitespace, followed by a tty name (a device name without the
|
|
<I>/dev/</I>) prefix.
|
|
|
|
<P>
|
|
|
|
This association is used by the program
|
|
<B><A HREF="/cgi-bin/man/man2html?1+tset">tset</A></B>(1)
|
|
|
|
to set the environment variable
|
|
<B>TERM</B>
|
|
|
|
to the default terminal name for
|
|
the user's current tty.
|
|
<P>
|
|
|
|
This facility was designed for a traditional time-sharing environment
|
|
featuring character-cell terminals hardwired to a UNIX minicomputer.
|
|
It is little used on modern workstation and personal UNIX systems.
|
|
<A NAME="lbAD"> </A>
|
|
<H2>FILES</H2>
|
|
|
|
<DL COMPACT>
|
|
<DT id="1"><I>/etc/ttytype</I>
|
|
|
|
<DD>
|
|
the tty definitions file.
|
|
</DL>
|
|
<A NAME="lbAE"> </A>
|
|
<H2>EXAMPLE</H2>
|
|
|
|
A typical
|
|
<I>/etc/ttytype</I>
|
|
|
|
is:
|
|
<P>
|
|
|
|
|
|
|
|
con80x25 tty1
|
|
vt320 ttys0
|
|
|
|
|
|
<A NAME="lbAF"> </A>
|
|
<H2>SEE ALSO</H2>
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+termcap">termcap</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?5+terminfo">terminfo</A></B>(5),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+agetty">agetty</A></B>(8),
|
|
|
|
<B><A HREF="/cgi-bin/man/man2html?8+mingetty">mingetty</A></B>(8)
|
|
|
|
<A NAME="lbAG"> </A>
|
|
<H2>COLOPHON</H2>
|
|
|
|
This page is part of release 5.05 of the Linux
|
|
<I>man-pages</I>
|
|
|
|
project.
|
|
A description of the project,
|
|
information about reporting bugs,
|
|
and the latest version of this page,
|
|
can be found at
|
|
<A HREF="https://www.kernel.org/doc/man-pages/.">https://www.kernel.org/doc/man-pages/.</A>
|
|
<P>
|
|
|
|
<HR>
|
|
<A NAME="index"> </A><H2>Index</H2>
|
|
<DL>
|
|
<DT id="2"><A HREF="#lbAB">NAME</A><DD>
|
|
<DT id="3"><A HREF="#lbAC">DESCRIPTION</A><DD>
|
|
<DT id="4"><A HREF="#lbAD">FILES</A><DD>
|
|
<DT id="5"><A HREF="#lbAE">EXAMPLE</A><DD>
|
|
<DT id="6"><A HREF="#lbAF">SEE ALSO</A><DD>
|
|
<DT id="7"><A HREF="#lbAG">COLOPHON</A><DD>
|
|
</DL>
|
|
<HR>
|
|
This document was created by
|
|
<A HREF="/cgi-bin/man/man2html">man2html</A>,
|
|
using the manual pages.<BR>
|
|
Time: 00:06:06 GMT, March 31, 2021
|
|
</BODY>
|
|
</HTML>
|