linux – 什么是有用的.screenrc设置?
发布时间:2020-05-23 16:20:31 所属栏目:Linux 来源:互联网
导读:基本上就像我在下面发布的一些.我正在寻找程序“屏幕”的附加功能.至少要看一下屏幕会话底部一个梦幻般的“菜单栏”的最后一行. ## gyaresus .screenrc 2008-03-25# http://delicious.com/search?p=screenrc# Dont display the copyright pagestartup_message
|
基本上就像我在下面发布的一些.我正在寻找程序“屏幕”的附加功能.至少要看一下屏幕会话底部一个梦幻般的“菜单栏”的最后一行. ## gyaresu's .screenrc 2008-03-25
# http://delicious.com/search?p=screenrc
# Don't display the copyright page
startup_message off
# tab-completion flash in heading bar
vbell off
# keep scrollback n lines
defscrollback 1000
# Doesn't fix scrollback problem on xterm because if you scroll back
# all you see is the other terminals history.
# termcapinfo xterm|xterms|xs|rxvt ti@:te@
# These will let you use
bind -c selectHighs 0 select 10 #these three commands are
bind -c selectHighs 1 select 11 #added to the command-class
bind -c selectHighs 2 select 12 #selectHighs
bind -c selectHighs 3 select 13
bind -c selectHighs 4 select 14
bind -c selectHighs 5 select 15
bind - command -c selectHighs #bind the hyphen to
#command-class selectHighs
screen -t rtorrent 0 rtorrent
#screen -t tunes 1 ncmpc --host=192.168.1.4 --port=6600 #was for connecting to MPD music server.
screen -t stuff 1
screen -t irssi 2 irssi
screen -t dancing 4
screen -t python 5 python
screen -t giantfriend 6 these_are_ssh_to_server_scripts.sh
screen -t computerrescue 7 these_are_ssh_to_server_scripts.sh
screen -t BMon 8 bmon -p eth0
screen -t htop 9 htop
screen -t hellanzb 10 hellanzb
screen -t watching 3
#screen -t interactive.fiction 8
#screen -t hellahella 8 paster serve --daemon /home/gyaresu/downloads/hellahella/hella.ini
shelltitle "$|bash"
# THIS IS THE PRETTY BIT
#change the hardstatus settings to give an window list at the bottom of the
##screen,with the time and date and with the current window highlighted
hardstatus alwayslastline
#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
解决方法对于那些想要一个不太神秘的方式来获得一个漂亮的屏幕设置的人,我可以衷心推荐 byobu(以前称为屏幕配置文件).它为您提供了一个很好的默认设置,在屏幕的底部 – 底线包含各种方便的状态信息,第二行从底部包含一个屏幕窗口列表.所有这些都可以通过按F9在一个简单的ncurses菜单中配置.功能键映射到常用操作: > F2 – 创建一个新窗口 见this article for a tutorial and screenshots. Byobu在karmic(9.10)之后的ubuntu存储库中.在jaunty中,它被称为屏幕配置文件.在此之前,它可以从download page的this ppa开始安装.它也被广泛打包用于其他最新的发行版. 它确实依赖于python,但是一旦你按照自己喜欢的方式设置了byobu,就可以生成一个tar球,其中包含使用byobu-export在另一台计算机上重新创建屏幕所需的全部内容. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- 设置root密码后,为什么MYSQL仍允许我在没有密码的情况下登录
- 使用mono项目在linux上运行c#代码的优点和局限是什么?
- javascript – 为node.js v.0.8配置缺少的文件
- linux – 显示rsync的总进度:是否可能?
- node.js – 在创建屏幕截图之前,是否可以使用puppeteer修改
- linux下获取公网ip
- 是否可以使用Linux命令从HTTP服务器读取前N个字节?
- linux – 使用或命令在两个目录中找到unix文件的顺序
- 在Redhat Enterprise Server上安装python-ldap时解决GCC错误
- Linux getopt()函数 getopt_long()函数---转
