[ Avaa Bypassed ]




Upload:

Command:

hmhc3928@18.191.174.4: ~ $
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
<HTML>
<HEAD>
 <META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
 <TITLE>The Linux keyboard and console HOWTO: The TERM variable</TITLE>
 <LINK HREF="kbd.FAQ-12.html" REL=next>
 <LINK HREF="kbd.FAQ-10.html" REL=previous>
 <LINK HREF="kbd.FAQ.html#toc11" REL=contents>
</HEAD>
<BODY>
<A HREF="kbd.FAQ-12.html">Next</A>
<A HREF="kbd.FAQ-10.html">Previous</A>
<A HREF="kbd.FAQ.html#toc11">Contents</A>
<HR>
<H2><A NAME="s11">11. The TERM variable</A></H2>

<P>
<!--
TERM environment variable
-->

<!--
environment variables!TERM
-->
<P>Many programs use the <CODE>TERM</CODE> variable and the database
<CODE>/etc/termcap</CODE> or <CODE>/usr/lib/terminfo/*</CODE> to decide
which strings to send for clear screen, move cursor, etc.,
and sometimes also to decide which string is sent
by the users backspace key, function keys etc.
This value is first set by the kernel (for the console).
Usually, this variable is re-set by <CODE>getty</CODE>, using <CODE>/etc/ttytype</CODE> or
the argument specified in <CODE>/etc/inittab</CODE>.
Sometimes, it is also set in <CODE>/etc/profile</CODE>.
<P>Older systems use <CODE>TERM=console</CODE> or <CODE>TERM=con80x25</CODE>. Newer systems (with
ncurses 1.8.6) use the more specific <CODE>TERM=linux</CODE> or <CODE>TERM=linux-80x25</CODE>.
However, old versions of <CODE>setterm</CODE> test for <CODE>TERM=con*</CODE> and hence fail
to work with <CODE>TERM=linux</CODE>.
<P>Since kernel version 1.3.2, the kernel default for the console is
<CODE>TERM=linux</CODE>.
<P>If you have a termcap without entry for linux, add the word linux
to the entry for the console:
<BLOCKQUOTE><CODE>
<PRE>
        console|con80x25|linux:\
</PRE>
</CODE></BLOCKQUOTE>

and make <CODE>/usr/lib/terminfo/l/linux</CODE> a copy of or symbolic link to
<CODE>/usr/lib/terminfo/c/console</CODE>.
<P>
<H2><A NAME="ss11.1">11.1 Terminfo</A>
</H2>

<P>
<!--
terminfo
-->
<P>The terminfo entry for the linux console from ncurses 1.8.6 misses the
entry <CODE>kich1=\E[2~</CODE>, needed by some programs.
Edit the file and <CODE>tic</CODE> it.
<P>
<HR>
<A HREF="kbd.FAQ-12.html">Next</A>
<A HREF="kbd.FAQ-10.html">Previous</A>
<A HREF="kbd.FAQ.html#toc11">Contents</A>
</BODY>
</HTML>

Filemanager

Name Type Size Permission Actions
ANSI-dvorak.gif File 3.72 KB 0644
AUTHORS File 741 B 0644
COPYING File 1.95 KB 0644
ChangeLog File 15.69 KB 0644
README File 637 B 0644
dvorak-l.xmodmap File 2.28 KB 0644
dvorak-r.xmodmap File 2.28 KB 0644
dvorak.diffs File 1.37 KB 0644
dvorak.txt File 1.14 KB 0644
dvorak.xmodmap File 2.11 KB 0644
font-formats-1.html File 5.35 KB 0644
font-formats-2.html File 1.44 KB 0644
font-formats-3.html File 6.84 KB 0644
font-formats-4.html File 2.15 KB 0644
font-formats-5.html File 517 B 0644
font-formats.html File 1.29 KB 0644
kbd.FAQ-1.html File 4.09 KB 0644
kbd.FAQ-10.html File 2.58 KB 0644
kbd.FAQ-11.html File 2.2 KB 0644
kbd.FAQ-12.html File 8.02 KB 0644
kbd.FAQ-13.html File 4.39 KB 0644
kbd.FAQ-14.html File 3.39 KB 0644
kbd.FAQ-15.html File 6.76 KB 0644
kbd.FAQ-16.html File 2.95 KB 0644
kbd.FAQ-17.html File 1.67 KB 0644
kbd.FAQ-18.html File 2.46 KB 0644
kbd.FAQ-19.html File 1.32 KB 0644
kbd.FAQ-2.html File 2.92 KB 0644
kbd.FAQ-20.html File 1.68 KB 0644
kbd.FAQ-21.html File 1.67 KB 0644
kbd.FAQ-22.html File 2.38 KB 0644
kbd.FAQ-23.html File 965 B 0644
kbd.FAQ-3.html File 2.06 KB 0644
kbd.FAQ-4.html File 7.68 KB 0644
kbd.FAQ-5.html File 16.87 KB 0644
kbd.FAQ-6.html File 2.68 KB 0644
kbd.FAQ-7.html File 5.58 KB 0644
kbd.FAQ-8.html File 9.19 KB 0644
kbd.FAQ-9.html File 2.54 KB 0644
kbd.FAQ.html File 5.11 KB 0644
utfdemo File 4.15 KB 0644
utflist File 25.1 KB 0644