我的screen配置文件

2015/05/23 系统应用

我的screen配置文件

	# bind F1 to new a screen session in this terminal
	bindkey -k k4 screen
	# bind F2 to rename a screen
	bindkey -k k3 title
	# bind F3 to go to screen window.
	bindkey -k k1 next
	#bindkey -k k; title
	# bind F4 to move to previous window
	bindkey -k k2 prev
	# bind F5 to detach
	bindkey -k k5 detach


	#close the startup message
	startup_message off
	term linux
	setenv LC_CTYPE zh_CN.GBK
	setenv TERM linux
	#use ` as the Global Key
	# escape ``
	#set a biger buffer
	#defscrollback 1024
	defscrollback 2048
	#A pretty bottom status bar
	#hardstatus on
	#hardstatus alwayslastline
	#hardstatus string "%{.bW}%-w%{.rY}%n %t%{-}%+w %=%{..G} %H(%l) %{..Y} %Y/%m/%d %c:%s "
	hardstatus alwayslastline                                                                                                                          
	shelltitle "$ |bash"
	#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
	#hardstatus string '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%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}]'

	hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{=kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}] [ <F1>:Next <F2>:Prev <F3>:Rename <F4>:New <F5>:Detach ]'
	#shutdown the noise
	vbell off

	# w to show the window list
	bind w windowlist -b
	bind ^w windowlist -b

	#initial apps to run
	screen bash
	screen bash
	screen bash
	screen bash
	screen bash
	screen bash

Search

    Table of Contents