LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Ubuntu (https://www.linuxquestions.org/questions/ubuntu-63/)
-   -   TERM variable TERM=linux (https://www.linuxquestions.org/questions/ubuntu-63/term-variable-term%3Dlinux-4175442726/)

keirvt 12-23-2012 05:07 PM

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.

dickey 12-23-2012 06:07 PM

Quote:

Originally Posted by keirvt (Post 4855733)
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.


All times are GMT -5. The time now is 03:33 PM.