I just checked but everything is fine.
Indeed if you type screen then "su -", you will lose your environment and
hence the TERMINFO variable defined initially by screen.

As advised by Maciej, you should configure this environment variable in
your default environment so that it works in a fresh login session.

Yann


2014-06-15 20:59 GMT+02:00 Yann Rouillard <[email protected]>:

> Hi,
>
> The global screenrc file located in /etc/opt/csw/screenrc should already
> contain the following line that configures screen to use the opencsw
> terminfo database:
>   setenv TERMINFO /opt/csw/share/terminfo
>
> There must be something wrong with the last package update that breaks
> this. I will look into it.
>
> Yann
>
>
>
> 2014-06-14 15:25 GMT+02:00 Laurent Blume <[email protected]>:
>
> Le 2014/06/14 15:18 +0200, Matchek a écrit:
>>
>>  I usually set TERMINFO=/opt/csw/share/terminfo in my bashrc.
>>>
>>> http://usable-solaris.googlecode.com/svn/trunk/docs/
>>> solaris-10-preliminary-setup.html#_terminfo
>>>
>>> I need to update this doc, /etc/profile isn't the best place for this
>>> setting.
>>>
>>
>> In addition, my answer there for details how to set up xterm-256color
>> might help:
>>
>> http://www.opencsw.org/community/questions/5/xterm-
>> color-unknown-terminal-type
>>
>> And ou can add that in ~/.screenrc
>>
>> term xterm-256color
>>
>> It's a slightly different approach.
>>
>> Laurent
>>
>
>

Reply via email to