, , ,

urxvt remote host

--------------------------------------------------------
FULL URXVT TERMINAL SUPPORT FOR REMOTE (SSH) CONNECTIONS
                  Written on 1.8.2012
--------------------------------------------------------
Problem description

You open a SSH connection to an external host and when you try to do
something that requires extended terminal support you get an error along the
lines: "'rxvt-unicode-256color': unknown terminal type."

Solution

1. Run the following command on the external host to make a terminfo directory
   under the logged in user's home folder.

       mkdir -p ~/.terminfo/r/

2. Copy the appropriate terminal profile from your local machine to the newly
   created folder on the remote host.

       scp /usr/share/terminfo/r/rxvt-unicode-256color user@helloworld.com:.terminfo/r/

3. Restart the SSH connection. It should work now.