57 lines
2.9 KiB
HTML
57 lines
2.9 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<META NAME="GENERATOR" CONTENT="LinuxDoc-Tools 0.9.21">
|
|
<TITLE> Text-Terminal-HOWTO: Quick Text-Terminal Install </TITLE>
|
|
<LINK HREF="Text-Terminal-HOWTO-5.html" REL=next>
|
|
<LINK HREF="Text-Terminal-HOWTO-3.html" REL=previous>
|
|
<LINK HREF="Text-Terminal-HOWTO.html#toc4" REL=contents>
|
|
</HEAD>
|
|
<BODY>
|
|
<A HREF="Text-Terminal-HOWTO-5.html">Next</A>
|
|
<A HREF="Text-Terminal-HOWTO-3.html">Previous</A>
|
|
<A HREF="Text-Terminal-HOWTO.html#toc4">Contents</A>
|
|
<HR>
|
|
<H2><A NAME="quick_install"></A> <A NAME="s4">4.</A> <A HREF="Text-Terminal-HOWTO.html#toc4">Quick Text-Terminal Install </A></H2>
|
|
|
|
<P> This is a quick procedure to install a terminal without going
|
|
through a
|
|
<A HREF="Text-Terminal-HOWTO-13.html#setup_">Setup</A> procedure for both the
|
|
terminal and the host computer. It probably will not work right if
|
|
the terminal happens to have been set up incompatible with the
|
|
computer. If you don't understand some of it you'll need to consult
|
|
other parts of this document for more info.</P>
|
|
<P>To install a terminal, first look in <CODE>/etc/termcap</CODE> or
|
|
<CODE>terminfo.src</CODE> to find an entry for it (see
|
|
<A HREF="Text-Terminal-HOWTO-16.html#termcap2">Terminfo and Termcap (detailed)</A>). Figure out what serial port
|
|
you'll connect it to and what the tty designation is for that port
|
|
e.g. ttyS1, see
|
|
<A HREF="Text-Terminal-HOWTO-6.html#dev_names">Device Names</A>). As the
|
|
root user, edit <CODE>/etc/inittab</CODE> and add a getty command next to
|
|
the other getty commands. The format of the getty command depends on
|
|
which getty program you use. <CODE>agetty</CODE> (called just <CODE>getty</CODE> in
|
|
the Debian distribution) is the easiest (no configuration file). See
|
|
the "<CODE>info</CODE>" or "<CODE>man</CODE> re <CODE>getty</CODE>. For getty parameters use
|
|
the terminfo (or termcap) name (such as vt100) for your terminal.
|
|
Type in a baud-rate that the terminal supports. But if you set the
|
|
baud too high you may need to use (See
|
|
<A HREF="Text-Terminal-HOWTO-11.html#flow_control">Flow Control</A>).</P>
|
|
<P>Then physically connect the main serial port of the terminal to the
|
|
chosen serial port of the computer with a file-transfer (null modem)
|
|
cable and turn on the terminal. Don't expect most ready-made cables
|
|
to be wired correctly for hardware flow control. Make sure the
|
|
baud-rate of the terminal is set the same as you gave to getty and
|
|
that its "data bits" is 8. Then at the computer console type "init q"
|
|
to apply the changes you made to the inittab file. You should now see
|
|
a login prompt at the terminal. If you don't, tap the terminal's
|
|
return key. If this doesn't work read more of this document and/or
|
|
see
|
|
<A HREF="Text-Terminal-HOWTO-19.html#trouble_shoot">Trouble-Shooting</A>.</P>
|
|
|
|
<HR>
|
|
<A HREF="Text-Terminal-HOWTO-5.html">Next</A>
|
|
<A HREF="Text-Terminal-HOWTO-3.html">Previous</A>
|
|
<A HREF="Text-Terminal-HOWTO.html#toc4">Contents</A>
|
|
</BODY>
|
|
</HTML>
|