You are not logged in.

#1 2011-09-20 15:01:40

vendion
Member
From: Tennessee, USA
Registered: 2010-03-10
Posts: 204
Website

[solved] Colors on remote servers using URXVT

When using URXVT on my local system if I ssh into a remote machine and a command that has color output (such as colordiff, ls, vim with syntax highlighting) it does not work but it does locally so I know that it isn't a issue client side (my machine) directly.  If I use another terminal like xterm everything works as expected though, is there something I need to do ether to the remote machine or my local machine to get color output working on remote connections?

Last edited by vendion (2011-09-21 18:28:44)

Offline

#2 2011-09-21 11:50:15

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [solved] Colors on remote servers using URXVT

Make sure TERM is set right, and that the remote have the terminfo file. If it doesn't then copy it yo ~/.terminfo/r/ on the remote, if it complains about it being too long then upgrade the remote or just rename it and set TERM to that name.


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

#3 2011-09-21 14:37:30

vendion
Member
From: Tennessee, USA
Registered: 2010-03-10
Posts: 204
Website

Re: [solved] Colors on remote servers using URXVT

TERM on the local machine or the remote machine?  I already have the term info file copied over to the remote machine.

Offline

#4 2011-09-21 14:48:13

vendion
Member
From: Tennessee, USA
Registered: 2010-03-10
Posts: 204
Website

Re: [solved] Colors on remote servers using URXVT

vendion wrote:

TERM on the local machine or the remote machine?  I already have the term info file copied over to the remote machine.

Ahhh I think I know what is going on TERM says "rxvt-unicode-256color" and the terminfo file that was copied over is "rxvt-unicode" does the -256color part make a difference?

Offline

#5 2011-09-21 15:13:01

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [solved] Colors on remote servers using URXVT

Yes, they have to match.

Offline

#6 2011-09-21 15:16:26

vendion
Member
From: Tennessee, USA
Registered: 2010-03-10
Posts: 204
Website

Re: [solved] Colors on remote servers using URXVT

Thank you that fixes the problem

Offline

#7 2011-09-21 17:23:14

Mr.Elendig
#archlinux@freenode channel op
From: The intertubes
Registered: 2004-11-07
Posts: 4,094

Re: [solved] Colors on remote servers using URXVT

please mark the thread as [solved]


Evil #archlinux@libera.chat channel op and general support dude.
. files on github, Screenshots, Random pics and the rest

Offline

Board footer

Powered by FluxBB