[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: screen TERM environment problem after upgradation
From: |
Sadrul Habib Chowdhury |
Subject: |
Re: screen TERM environment problem after upgradation |
Date: |
Fri, 12 Feb 2010 16:03:49 -0500 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
* J. Bakshi had this to say on [03 Feb 2010, 09:26:05 +0530]:
> Dear list,
>
> I have the following setting in .screenrc from the beginning
>
> ``````````````
> shell -$SHELL
>
> # for locale charset
> setenv LC_CTYPE en_US.UTF-8
> setenv TERM xterm
>
> hardstatus alwayslastline
> hardstatus string '%{= kW}%-Lw%{= Gk}%50>%n%f* %t%{= kW}%+Lw%< %{=
> Gk}%-=%D %d %M %Y %c:%s%{-}'
>
> # detach on hangup
> autodetach on
>
> ``````````````````````````
>
> I have upgraded my suse box from 11 to 11.1 and the screen version is
> now screen-4.0.2-162.35
>
> I have found that vim is not working properly under screen and "echo
> $TERM" reports
>
> `````````
> screen
> ``````````
>
> Where it should be xterm according to .screenrc. If I set the variable
> manually with "TERM=xterm" then the problem is solved but screen is not
> taking the value from .screenrc. Any clue why it is not working with the
> upgraded screen ?
Instead of setting the TERM variable, try using the 'term' command for
screen.
4.0.2 is very very old. If possible, I would highly recommend upgrading
to 4.0.3.
Sadrul