You are not logged in.

#1 2011-01-29 17:57:59

MickeyKnox
Member
Registered: 2010-02-27
Posts: 169

screen: urxvt: $TERM too long - sorry

On my server i have a irssi (irc) session running in a screen.
Recently, when i connect to my server via ssh and try to bring up
my screen, i get this:

$ screen -dr
$TERM too long - sorry.

Trying to launch a new 'screen irssi' yields the same result.
The variable TERM is set to:

TERM=rxvt-unicode-256color

So far my workaround is to export TERM="vt100". I do this
everytime i connect to the server. I'm not sure if it is a good idea to
just put this in .bashrc, i'm afraid it might break something. I would
rather like to know what the problem really is in order to attend to
it properly.

Any ideas?

Offline

#2 2011-01-29 18:01:59

Ramses de Norre
Member
From: Leuven - Belgium
Registered: 2007-03-27
Posts: 1,289

Re: screen: urxvt: $TERM too long - sorry

Got the same problem, I'm currently just using aterm instead to connect to remote servers. I didn't really investigate the issue further, though.

Offline

#3 2011-01-29 18:15:24

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: screen: urxvt: $TERM too long - sorry

Check that the server has the terminfo for rxvt-256, if not, copy it across...


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#4 2011-01-29 19:26:44

falconindy
Developer
From: New York, USA
Registered: 2009-10-22
Posts: 4,111
Website

Re: screen: urxvt: $TERM too long - sorry

This is patched in Arch. Update screen.

http://projects.archlinux.org/svntogit/ … term.patch

Alternatively, just set screen's TERM to 'screen-256color' in .screenrc

Last edited by falconindy (2011-01-29 19:27:43)

Offline

#5 2011-01-29 19:45:29

twiggz
Member
From: Sweden
Registered: 2011-01-21
Posts: 11
Website

Re: screen: urxvt: $TERM too long - sorry

urxvt*termName: rxvt-256color in .Xdefaults
term rxvt-256color in .screenrc

Makes everything work flawless. Full color support, no garbage left behind after you detach screen etc.

Last edited by twiggz (2011-01-29 19:47:18)

Offline

Board footer

Powered by FluxBB