256色対応screenのコンパイル./configure --enable-colors256 256色対応のterminfoの準備Linux/usr/share/terminfo/以下を見て、256色のterminfoが無さそうなら、ncurses-termをインストールする。 FreeBSD$HOME/.termcapを以下の内容で作成する。詳しくはman terminfo。 xter-256color:\ :Co#256:pa#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm:tc=xterm-xfree86:
screenの起動環境変数TERMに256色ターミナルを指定して、screenを起動する。 TERM=xter-256color screen もしくは、$HOME/.screenrcに以下の設定を追記して、screenを起動する。(ターミナルがxtermの場合) termcapinfo xterm 'Co#256:pa#32767:AB=\E[48;5;%dm:AF=\E[38;5;%dm' |
|