On 22:20:18 May 10, Jesus Sanchez wrote:
> Hi, I'm using OpenBSD 4.2, a clean install.
>
> I have experienced some problems using screen and X with colorsls. The
> issue is that when I launch 'screen' on virtual terminals (C0,C1...) I
> don't have any problem but when launch X, on the xterm/rxvt I have
> open I can't launch a screen because the colors goes mad and shows
> white on black combinations I have not set on my rxvt (I use some grey
> tones combinations).
>
> I have set an alias for ls='colorls -GF' (color output) and this causes
> the problems on a screen session. I have set the TERM="xterm-color" on
> my /etc/profile.

As Stuart pointed out you should not do this.

I used to experience hell since I used to make the same mistake. ;)

Later life got simple after doing a code walk through of screen's source
and figured that the problem is fixed by setting

$ export TERM=rxvt 

;)

Funny we arrive at simple solutions through circuitous routes. ;)

-Girish

Reply via email to