You are not logged in.

#1 2009-02-26 09:03:20

Cene
Member
From: Laukaa, Finland
Registered: 2008-11-06
Posts: 16
Website

screen, irssi and urxvt (solved)

Hi all,

For as long as I can remember, I've been using xterm under Linux. Now I decided to give urxvt (the 256color version from aur) a try, but I'm facing a very strange problem...

If I start irssi normally under urxvt, it works fine. If I start irssi in screen or reattach to an older screen session, some colors are missing or replaced by the background color. With xterm it works without any problems either way.

Here's an example:
Screen, irssi, urxvt: http://hajotus.net/d/urxvt_irssi_screen.png
Screen, irssi, xterm: http://hajotus.net/d/xterm_irssi_screen.png
See the missing grey <>[] etc?

Both xterm and urxvt use the same colors in ~/.Xdefaults.

Here's my .screenrc:

vbell off
attrcolor b ".I"
termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
termcapinfo xterm "ti@:te@"
terminfo rxvt* 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
defbce "on"
defwrap "on"
term screen-256color-bce
startup_message off
hardstatus alwayslastline "%{= dR} %-Lw%50>%{= dG}%n* %{= dW}%t%{= dR}%+Lw%<"

Thanks in advance.
Oh, I forgot to mention.. Vi, mutt etc. work just fine with screen+urxvt, so I don't really know where the problem is...


Seems like every problem can be solved by yourself only _after_ asking for help.. heh...

attrcolor b ".I"

was the offeding line in .screenrc. Commenting it out fixed everything.

Last edited by Cene (2009-02-26 09:54:40)

Offline

Board footer

Powered by FluxBB