LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices

Reply
 
Search this Thread
Old 12-23-2012, 05:07 PM   #1
keirvt
Member
 
Registered: Sep 2006
Location: Sydney Australia
Distribution: fedora/Ubuntu
Posts: 80

Rep: Reputation: 15
TERM variable TERM=linux


Thought I'd post my experience with the TERM variable for those i see posting bug reports regarding problems using TERM=linux

I have applications that use the screen indexing and draw upon termcap or terminfo to produce the rioght cursor command codes for different screens.

Sometimes when a new distribution comes out the cursor driven program loses control of the screen. Orginally the cursor control worked with TERM=xterm under RedHat and after experimenting with many possible TERM assignments I found that TERM=linux worked.

Upgrading to Ubuntu 12.04 using export TERM=linux went haywire. The terminfo directories did not have an entry for linux but did have linux-basic and so far export TERM=linux-basic seems to work for me.
 
Old 12-23-2012, 06:07 PM   #2
dickey
Member
 
Registered: Jun 2009
Posts: 43

Rep: Reputation: 18
Quote:
Originally Posted by keirvt View Post
Thought I'd post my experience with the TERM variable for those i see posting bug reports regarding problems using TERM=linux

I have applications that use the screen indexing and draw upon termcap or terminfo to produce the rioght cursor command codes for different screens.

Sometimes when a new distribution comes out the cursor driven program loses control of the screen. Orginally the cursor control worked with TERM=xterm under RedHat and after experimenting with many possible TERM assignments I found that TERM=linux worked.

Upgrading to Ubuntu 12.04 using export TERM=linux went haywire. The terminfo directories did not have an entry for linux but did have linux-basic and so far export TERM=linux-basic seems to work for me.
Sounds like something's broken in your upgrade, since "linux" is the standard entry, part of the ncurses-base package. The "linux-basic" entry is part of ncurses-term (an add-on). The "linux" and "xterm" descriptions have never been interchangeable, for that matter.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
No value for $TERM variable Moiseshb Slackware 6 05-17-2010 09:11 PM
Use of TERM environment variable saandeep_jan Linux - Newbie 1 08-30-2007 03:55 PM
Shell Term variable help neilcpp Linux - Software 1 03-15-2006 07:14 AM
$TERM variable change, or other solution? mikshaw Linux - Software 4 01-22-2004 09:08 PM
$TERM Variable Problems LinuxTechie Red Hat 2 11-02-2003 10:29 AM


All times are GMT -5. The time now is 05:48 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration