Linux wiki

Unknown Terminal Type linux and Similar

In early kernels the default console terminal type has changed from console to linux. You must edit /etc/termcap to change the line reading:

 console|con80x25: 

to

 linux|console|con80x25: 

(there may be an additional dumb in there - if so it should be removed.)

To get the editor to work you may need type:

 $ TERM=console 

(for bash and ksh), or

 $ setenv TERM console 

for csh or tcsh.

Some programs use /usr/lib/terminfo instead of /etc/termcap. For these programs you should upgrade your terminfo package, which is part of ncurses.

The same is true for X terminal displays. If your distribution sets the TERM to something strange like xterm-24-color, you can simply reset it to a generic value from the command line:

 $ TERM="xterm"; export TERM 

Why Are the Timestamps on Files on MS-DOS Partitions Set Incorrectly?
Why Do FTP Transfers Seem to Hang?

See our index for more reviews

Write a review and win an Apple Ipod

Page

New
Edit
Rename
Attachments
Versions

Site

Changes
Index
Search

User

Log In

 
 

Last Modified 2004-07-03