Chinaunix首页 | 论坛 | 博客
  • 博客访问: 74934
  • 博文数量: 25
  • 博客积分: 405
  • 博客等级: 一等列兵
  • 技术积分: 175
  • 用 户 组: 普通用户
  • 注册时间: 2010-07-23 15:43
个人简介

做过运维、服务器测试、系统集成;现在从事软件测试

文章分类

全部博文(25)

分类: LINUX

2013-01-04 19:55:59

#启动时不显示欢迎屏幕
startup_message off

term linux
#use ^l as the Global Key
#escape ^b^b
##屏幕缓冲区设置为4096行
defscrollback 4096

##在vi或less之类退出时完全恢复到原屏幕内容
altscreen off

#自动detach
autodetach on

#编码
defutf8 on
defencoding utf8
encoding UTF-8 UTF-8

#设置屏幕下方状态栏
hardstatus on
hardstatus alwayslastline
shelltitle "$|bash"
##状态栏的显示信息定制 
hardstatus string '%{= kG}[ %{G}%c:%s %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C} %{g}][%{kB} %d/%m %{w}%c %{g}]'

##shutdown the noise(关闭报警响铃)
vbell off

## 绑定 Ctrl+a-w 为查看所有窗口列表w to show the window list
bind w windowlist -b
bind ^w windowlist -b
##initial apps to run
screen
screen
screen
screen
select 0

#进行快捷键的绑定
#bindkey -k k1 screen
#bindkey -k k2 title
#bindkey -k k3 monitor
#bindkey -k k4 silence
#bindkey -k k5 colon
#bindkey -k k6 split
#bindkey -k k; focus
#bindkey -k k7 focus
#bindkey -k k8 only
#bindkey -k k9 detach
bindkey -k F1 prev
bindkey -k F2 next
attrcolor u "-u B"
sessionname cm

阅读(2922) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~