首页 > 系统管理 > 使用256色的debian终端

使用256色的debian终端

2009年4月8日 发表评论 阅读评论

  putty ssh连debian,都只有8色,看到putty有xterm 256色选项,告诉我debian因该有可以支持256的方法。

#tput colors

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.
 成功!

分类: 系统管理 标签:
  1. 本文目前尚无任何评论.
  1. 本文目前尚无任何 trackbacks 和 pingbacks.