linux'' and Similar." /> linux'' and Similar." />
LinuxDevCenter.com
oreilly.comSafari Books Online.Conferences.
BooksAll ArticlesSafari BookshelfO'Reilly GearFree Newsletters

FAQS
 FAQs
Apache FAQ
Linux FAQ
XML FAQ

Log in to particpate





TECH JOBS


   Linux FAQ > 10. Frequently Encountered Error Messages
Question:  10.2. Unknown Terminal Type ``linux'' and Similar.
Answer:

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



This FAQ is from Linux Frequently Asked Questions with Answers, maintained by Robert Kiesling

Sponsored by:

Contact UsMedia KitPrivacy PolicyPress NewsJobs @ O'Reilly
Copyright © 2000-2006 O’Reilly Media, Inc. All Rights Reserved.
All trademarks and registered trademarks appearing on the O'Reilly Network are the property of their respective owners.
For problems or assistance with this site, email