IceWalkers.com - Linux Software downloads and news
Name : Password :
Linux SoftwareLinux RPMLinux HowtosLink UsAboutAdvertise

The Linux keyboard and console HOWTO

Search Howtos :Match :
Next Previous Contents

11. The TERM variable

Many programs use the TERM variable and the database /etc/termcap or /usr/lib/terminfo/* 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 getty, using /etc/ttytype or the argument specified in /etc/inittab. Sometimes, it is also set in /etc/profile.

Older systems use TERM=console or TERM=con80x25. Newer systems (with ncurses 1.8.6) use the more specific TERM=linux or TERM=linux-80x25. However, old versions of setterm test for TERM=con* and hence fail to work with TERM=linux.

Since kernel version 1.3.2, the kernel default for the console is TERM=linux.

If you have a termcap without entry for linux, add the word linux to the entry for the console:

        console|con80x25|linux:\
and make /usr/lib/terminfo/l/linux a copy of or symbolic link to /usr/lib/terminfo/c/console.

11.1 Terminfo

The terminfo entry for the linux console from ncurses 1.8.6 misses the entry kich1=\E[2~, needed by some programs. Edit the file and tic it.


Next Previous Contents
Search Howtos :Match :
Transmission 1.41 beta 2
Lightweight, yet powerful BitTorrent client
X-Moto 0.5.0
2D motocross platform game
Gdm 2.25.1
Reimplementation of the well known xdm program.
Linux Kernel 2.6 2.6.28-rc7
Linux Kernel
Linux Kernel 2.4 2.4.37
Linux Kernel
RIP 7.3
Small linux system for the purpose of system booting or repairing
GEdit 2.25.1
Small but powerful text editor
VLC media player 0.9.7
Cross-platform media player and streaming server
GNOME 2.25.2
GNOME desktop environment
WebGUI 7.6.5
A fully featured content management system.
Free IT Magazines, White Papers, eBooks, and more !
Dr. Dobb's Journal

Dr. Dobb's Journal enables programmers to write the most efficient and sophisticated programs and help in daily programming quandaries.

The 7 Things that IT Security Professionals MUST KNOW!

Gain key insight into security problem and find the safest means to protect your technological assets.

Database Trends and Applications

Provides timely coverage of the technology, intelligence and insight needed to plan, implement and manage information-rich projects.

Linux Software Map
Find Linux RPM
Best Rated Linux Software
Most Rated Linux Software
Linux Distributions
Linux Howtos
Quick Survey

Please take our survey and help us improve our website to serve you better.

Thank you.
Linux Software
Linux / IT Resources
Site Resources
Google
Privacy Policy
Contact Us
Submit Software
Advertising info