You are not logged in.

#1 2005-09-07 21:34:13

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

How to not let urxvt screw up your console

in ~/.bashrc

if [ -n "$DISPLAY" ];
    then export TERM="rxvt-unicode"
    else export TERM="linux"
fi 

big_smile


arch + gentoo + initng + python = enlisy

Offline

#2 2005-09-08 15:30:48

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: How to not let urxvt screw up your console

If you make sure you have no "export TERM" anywhere and do not set the termName, urxvt works properly (at least for me)

Offline

#3 2005-09-08 17:19:48

xerxes2
Member
From: Malmoe, Sweden
Registered: 2004-04-23
Posts: 1,249
Website

Re: How to not let urxvt screw up your console

hmm, ihaven't tried that, it didn't work before without Term set, *tries it*

wtf, why the heck does it work now like that?
is it the terminfo file?


arch + gentoo + initng + python = enlisy

Offline

#4 2005-09-08 17:44:44

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: How to not let urxvt screw up your console

xerxes2 wrote:

hmm, ihaven't tried that, it didn't work before without Term set, *tries it*

wtf, why the heck does it work now like that?
is it the terminfo file?

well, unlike xterm, urxvt uses the proper terminfo when it has no information (via termName or $TERM)

Offline

#5 2005-09-08 18:25:50

stonecrest
Member
From: Boulder
Registered: 2005-01-22
Posts: 1,190

Re: How to not let urxvt screw up your console

I have to try this when I get back home, it was driving me nuts. I would ssh into another box and I would get errors about urxvt and not be able to use commands like nano (because i don't have urxvt on the ssh'ed box).


I am a gated community.

Offline

Board footer

Powered by FluxBB