Last Updated: February 25, 2016
·
1.402K
· momoto

'rxvt-unicode-256color': unknown terminal type.

[user@remotehost ~]$ clear 
'rxvt-unicode-256color': unknown terminal type.

  1. 接続先ユーザのホームディレクトリに.terminfoディレクトリをつくる

    [user@remotehost ~]$ mkdir -p ~/.terminfo/r/
    [user@remotehost ~]$ exit
  2. 接続元から接続先へrxvt-unicode-256colorを転送する

    [localuser@localhost ~]$ scp /usr/share/terminfo/r/rxvt-unicode-256color user@remotehost:.terminfo/r/
  • 接続先のシステム全体に適用する場合は/usr/share/terminfo/r/へコピーする

    [user@remotehost ~]$ sudo cp ~/.terminfo/r/rxvt-unicode-256color /usr/share/terminfo/r/

参考