Users screen + su - + screen with terminfo error

Yann Rouillard yann at pleiades.fr.eu.org
Sun Jun 15 21:11:33 CEST 2014


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 <yann at pleiades.fr.eu.org>:

> 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 <laurent at opencsw.org>:
>
> 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
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opencsw.org/pipermail/users/attachments/20140615/b0b0ab33/attachment.html>


More information about the users mailing list