总算整了个比较像样的screenrc

桌面秀,不同桌面、不同风格。
回复
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

总算整了个比较像样的screenrc

#1

帖子 roylez » 2006-09-08 19:07

如图。真是不试不知道,screen可以如此好用。
附件
screenzsh.png
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#2

帖子 eexpress » 2006-09-08 20:05

字体有点怪。显得字体边不整齐?
● 鸣学
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北

#3

帖子 rhfcaesar » 2006-09-09 19:11

楼主能不能共享一下啊?谢谢!
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

#4

帖子 roylez » 2006-09-11 11:19

ee: 我都觉得字体有时候不是太舒服,不过自己都说不上来问题在哪里。

这个配置可以用F11和F12切换screen窗口,F10改名。始终在屏幕最下方显示hardstatus,为了整这个小状态栏,花了我快一个小时。
我比较喜欢用zsh,不喜欢的人可以把shell zsh注释掉。需要注意的是screen的快捷键如果和vim的冲突的话,vim的快捷键会不起作用,所以我只是把F10,F11,F12绑给了screen。这个screenrc其实还比较粗糙,还有很多东西需要挖掘——比如我现在用screen的时候urxvt的滚动条就不起作用了。

代码: 全选

# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
### Created by Brad Sims  25/06/2004 
### Modified by Roy Zuo 08/08/2006
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
##    Explanation of hardstatus line    ##

# Ignore the ' marks if you use these examples for yourself

# Note that if you want to use the color brown under konsole
# You actually use bright yellow (%{Y}). 

# Note the embeded space after the colon, I feel 
#  it just looks nicer with a blank between the
#  text and console edge:
#   '%{=b}%{G} Screen(s): '

# This prints the window listing in blue:
#   '%{b}%w'

# This right-aligns what follows:
#   '%='

# This displays the time (hours and minutes) in 12hr format 
# and adds an AM/PM flag, in bold green:
#   '%{G}%C%A'

# This displays the day of the week:
#   '%D'

#This displays the date in Mon/day/year format:
# and again I embeded a space to give me one space
# between the text and console edge:
#  '%M/%d/%Y '

# Green text, time, and date; windows in blue:
hardstatus alwayslastline "%{=b}%{b}%-w%{.BW}%10>%n*%t%{-}%+w%< %=%{kG}%C%A %D, %Y-%m-%d"
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
##    Some general options    ##

# Turn off start message:
startup_message off	# default: on

# Automatically detach on hangup, or the screen will keep eating your memory after the terminal emulator has been terminated.
autodetach on		# default: on

# Set messages timeout to one second: 
msgwait 1

#use zshell as default shell. 
shell zsh
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
##    Keybindings    ##

# bind F1  to select 1
# bind F7  to detach screen session from this terminal
# bind F8  to kill current screen window.
# bind F9  to create a new screen
# bind F10 to rename current screen window
# bind F11 to move to previous window
# bind F12 to move to next window
#bindkey -k k1 select 1
#bindkey -k k7 detach
#bindkey -k k8 kill
#bindkey -k k9 screen
bindkey -k k; title
bindkey -k F1 prev
bindkey -k F2 next
# =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= #
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
头像
rhfcaesar
帖子: 2996
注册时间: 2005-11-17 15:45
来自: 湖北

#5

帖子 rhfcaesar » 2006-09-11 16:50

谢谢楼主哦
tianlijian
帖子: 31
注册时间: 2008-06-09 13:48

Re: 总算整了个比较像样的screenrc

#6

帖子 tianlijian » 2009-05-07 12:16

太好了,谢谢楼主。 :em09 :em09 :em09
poet
帖子: 2841
注册时间: 2006-09-11 22:47

Re: 总算整了个比较像样的screenrc

#7

帖子 poet » 2009-05-07 12:29

代码: 全选

termcapinfo xterm|xterms|xs|rxvt ti@:te@
关于不能使用滚动条的问题请使用我上面的配置。
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

Re: 总算整了个比较像样的screenrc

#8

帖子 roylez » 2009-05-07 12:54

2006年的都被挖了
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
buptlpf
帖子: 50
注册时间: 2007-02-14 9:43

Re: 总算整了个比较像样的screenrc

#9

帖子 buptlpf » 2009-05-09 18:06

恩,被挖上来我才可以google到。。。。。
onelynx
帖子: 817
注册时间: 2008-11-13 16:03

Re: 总算整了个比较像样的screenrc

#10

帖子 onelynx » 2009-05-09 23:17

很厉害啊,挖的很辛苦吧
头像
roylez
帖子: 1928
注册时间: 2005-10-04 10:59
来自: 上海

Re: 总算整了个比较像样的screenrc

#11

帖子 roylez » 2009-05-10 6:32

buptlpf 写了:恩,被挖上来我才可以google到。。。。。
笨笨,看我的签名档。
弄个dropbox空间来备份文件或者做私人代码服务器
配置:[url]git://github.com/roylez/dotfiles.git[/url]
主页:http://roylez.heroku.com
各种稀奇玩意儿:http://dooloo.info
回复