tput and rxvt-unicode

Kasyx

Expert Member
Joined
Jun 6, 2006
Messages
2,565
Reaction score
1
Location
127.0.0.1
I recently installed Arch Linux on my laptop and I am using RatPoison as the Window Manager. I've set my default terminal to rxvt-unicode, however now when I attempt to ssh into my firewall (running IPCop), tput does not recognize my terminal:

Code:
tput: unknown terminal "rxvt-unicode"

This sucks, because it means that for one thing my pretty bashrc login message doesn't render properly, but more importantly I can't use anything that requires ncurses, such as nano. Does anyone know of any way I can add rxvt-unicode to the tput terminal database?

This really sucks because I love rxvt-unicode, but I do most of my firewall administration from my laptop...
 
Solution 1:
The terminfo file /usr/share/terminfo/r/rxvt-unicode is missing from the remote box. scp it from your laptop.
Solution 2:
Export your TERM env var to "xterm" or whatever else is close enough to rxvt and works.
 
Top
Sign up to the MyBroadband newsletter
X