… | |
… | |
857 | |
857 | |
858 | The terminal description used by rxvt-unicode is not as widely available |
858 | The terminal description used by rxvt-unicode is not as widely available |
859 | as that for xterm, or even rxvt (for which the same problem often arises). |
859 | as that for xterm, or even rxvt (for which the same problem often arises). |
860 | |
860 | |
861 | The correct solution for this problem is to install the terminfo, this can |
861 | The correct solution for this problem is to install the terminfo, this can |
862 | be done like this (with ncurses' infocmp and works as user and admin): |
862 | be done by simply installing rxvt-unicode on the remote system as well |
|
|
863 | (in case you have a nice package manager ready), or you can install the |
|
|
864 | terminfo database manually like this (with ncurses infocmp. works as |
|
|
865 | user and root): |
863 | |
866 | |
864 | REMOTE=remotesystem.domain |
867 | REMOTE=remotesystem.domain |
865 | infocmp rxvt-unicode | ssh $REMOTE "mkdir -p .terminfo && cat >/tmp/ti && tic /tmp/ti" |
868 | infocmp rxvt-unicode | ssh $REMOTE "mkdir -p .terminfo && cat >/tmp/ti && tic /tmp/ti" |
866 | |
|
|
867 | ... or by installing rxvt-unicode normally on the remote system, |
|
|
868 | |
869 | |
869 | One some systems you might need to set C<$TERMINFO> to the full path of |
870 | One some systems you might need to set C<$TERMINFO> to the full path of |
870 | F<$HOME/.terminfo> for this to work. |
871 | F<$HOME/.terminfo> for this to work. |
871 | |
872 | |
872 | If you cannot or do not want to do this, then you can simply set |
873 | If you cannot or do not want to do this, then you can simply set |
… | |
… | |
881 | |
882 | |
882 | URxvt.termName: rxvt |
883 | URxvt.termName: rxvt |
883 | |
884 | |
884 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
885 | If you don't plan to use B<rxvt> (quite common...) you could also replace |
885 | the rxvt terminfo file with the rxvt-unicode one and use C<TERM=rxvt>. |
886 | the rxvt terminfo file with the rxvt-unicode one and use C<TERM=rxvt>. |
|
|
887 | |
|
|
888 | =head3 nano fails with "Error opening terminal: rxvt-unicode" |
|
|
889 | |
|
|
890 | This exceptionally confusing and useless error message is printed by nano |
|
|
891 | when it can't find the terminfo database. Nothing is wrong with your |
|
|
892 | terminal, read the previous answer for a solution. |
886 | |
893 | |
887 | =head3 C<tic> outputs some error when compiling the terminfo entry. |
894 | =head3 C<tic> outputs some error when compiling the terminfo entry. |
888 | |
895 | |
889 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
896 | Most likely it's the empty definition for C<enacs=>. Just replace it by |
890 | C<enacs=\E[0@> and try again. |
897 | C<enacs=\E[0@> and try again. |