Girish Venkatachalam escribis:
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


I tried to set the TERM variable to rxvt value "export TERM=rxvt"
on the /etc/profile and I have problems with the virtual terminals now.
(the ones invoked by Ctrl+Alt+F1 to F4). I get weird color
when doing colorls -G in screen session, so your solution it's
not valid to me, but thanks for the info.

Thanks for your time.
-Jesus

Reply via email to