# $Id: screenrc,v 1.5 2003/03/03 01:21:47 eric Exp $ # =============================================================== autodetach on # default: on crlf off # default: off deflogin off # default: on # defsilence off # default: off hardcopy_append on # default: off # nethack on # default: off startup_message off # default: on termcapinfo linux "ve=\E[?25h\E[?17;0;64c" # red vbell on # default: ??? # VARIABLES - Number values defscrollback 999 # default: 100 msgminwait 1 # default: 1 silencewait 15 # default: 30 msgwait 5 defc1 off # do not use 0x8* for control # I'm using big5 terminals # defencoding big5 # defutf8 on # encoding big5 big5 # VARIABLES - Strings # hardstatus: Always show the window list in the last line: #hardstatus alwayslastline "\033[m\033[1;34;44m %m/%d %c\033[m\033[1;33;44m | %w \033[m" #hardstatus alwayslastline "\033[1;34;44m %m/%d %c\033[43m | %w \033[m" #hardstatus alwayslastline "%{=b bb} %m/%d %c %{-}| %-Lw%{=b y}%50L>%n%f [%t]%{-}%+Lw%<" hardstatus alwayslastline "%m/%d %c | %w " # %-Lw '-' up to the current window, 'L' shaws the window flags # '+' starting with the window after the current one, %t=current # Colorize the "messages" and "text marking": # Blue bg, cyan fg # sorendition = bc # =============================================================== # Messages # %t - title # %n - number (a single % still works) # %d - day, %D - weekday name # %m - month, %M - month name # %y/Y - year (2/4 digit) # %w/W - hour:minutes (24/12h format) # %s - seconds # %a/AM - am/pm / AM/PM # "~" stands for the "bell" character # =============================================================== activity "activity in %n (%t) [%w:%s]" # bell "%{=b y}ping! %n (%t) [%w:%s]^G" pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended." vbell_msg " Wuff, Wuff!! " # Set auto-title (my bash prompt ends with `] ') shelltitle '] |bash' # BIND bind - defaults # ============================================================== # The following list shows the default bindings: # break ^B b # clear C # colon : # copy ^[ [ # detach ^D d # digraph ^V # displays * # dumptermcap . # fit F # flow ^F f # focus ^I # hardcopy h # help ? # history { } # info i # kill K k # lastmsg ^M m # license , # log H # login L # meta x # monitor M # next ^@ ^N sp n # number N # only Q # other ^X # pow_break B # pow_detach D # prev ^H ^P p ^? # quit \ # readbuf < # redisplay ^L l # remove X # removebuf = # reset Z # screen ^C c # select " ' # silence _ # split S # suspend ^Z z # time ^T t # title A # vbell ^G # version v # width W # windows ^W w # wrap ^R r # writebuf > # xoff ^S s # xon ^Q q # ^] paste . # - select - # 0 select 0 # 1 select 1 # 2 select 2 # 3 select 3 # 4 select 4 # 5 select 5 # 6 select 6 # 7 select 7 # 8 select 8 # 9 select 9 # I login on # O login off # ] paste . # # # Uppercase bindings # bind A title # bind C clear # bind D pow_detach # bind F fit # bind H log # bind I login on # bind K kill # bind L login # bind M monitor # bind N number # bind O login off # bind Q only # bind S split # bind W width # bind X remove # bind Z reset # # ============================================================== # BIND and the Services: # ============================================================== #remove some stupid / dangerous key bindings # bind . dumptermcap # default # bind ^\ quit # default # bind \\ quit # default # bind h hardcopy # default # bind ^h ??? # default # bind } history # default bind k # kick bind ^k # kick bind . # dumptermcap bind ^\ # quit bind \\ # quit bind ^h # hardcopy bind h # hardcopy #bind D pow_detach ! ## Unicode world bind b encoding big5 bind u encoding utf-8 ## MUTT - Email User Agent bind E screen -t 'mail' 0 mutt bind e screen -t 'mail' 0 mutt ## GOOGLE - Web Search Engine bind G screen -t 'Google' links www.google.com ## VIM - editor bind V screen -t 'vim' 0 vim bind X lockscreen # auto start up commands: [-f -fn -fa] [-t] [-l -ln] [-T term] # [-a][-h num][-M][-L] #screen -h 0 -t irc 0 irssi