使用256色的debian终端
putty ssh连debian,都只有8色,看到putty有xterm 256色选项,告诉我debian因该有可以支持256的方法。
#tput colors
8
1、安装ncurse-term
apt-get install ncurses-term
2、更改环境TERM
export TERM=xterm-256color
# tput colors
256
修改putty window->colours->Allow terminal to use 256-color mode.
成功!
分类: 系统管理
近期评论