hootiegibbon

.screenrc

Oct 10th, 2011
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1.  
  2. #example to autostart apps
  3.  
  4. #screen -t weechat 0 weechat
  5. #screen -t alpine 1 alpine
  6. #screen -t filemanager 2 mc
  7. #screen -t search 3 lynx https://ssl.scroogle.org
  8. #screen -t news 4 newsbeuter
  9. #screen -t w3m 5 w3m http://www.pclinuxos.com
  10.  
  11. # VARIABLES - Boolean values
  12. autodetach on # default: on
  13. crlf off # default: off
  14. deflogin off # default: on
  15. hardcopy_append on # default: off
  16. startup_message off # default: on
  17. termcap xterm 'AF=\E[3%dm:AB=\E[4%dm'
  18. terminfo xterm 'AF=\E[3%p1%dm:AB=\E[4%p1%dm'
  19. vbell off # default: ???
  20. #options
  21. defscrollback 3000 # default: 100
  22. silencewait 15 # default: 30
  23. #
  24. # ===============================================================
  25. # VARIABLES - Paths and Files (esp. programs)
  26. # ===============================================================
  27. # bufferfile: The file to use for commands
  28. # "readbuf" ('<') and "writebuf" ('>'):
  29. # bufferfile $HOME/.screen_exchange
  30. #
  31. # hardcopydir: The directory which contains all hardcopies.
  32. # hardcopydir ~/.hardcopy
  33. # hardcopydir ~/.screen
  34. #
  35. # shell: Default process started in screen's windows.
  36. # Makes it possible to use a different shell inside screen
  37. # than is set as the default login shell. Halleluja! :-)
  38. # shell zsh
  39. shell bash
  40. # shell ksh
  41. #
  42. # ===============================================================
  43. # VARIABLES - Strings
  44. # ===============================================================
  45.  
  46. # some notes on COLOR before explaining its use in
  47. # the commands caption, hardstatus, and sorendition.
  48. #
  49. # COLOR: colors codes are combinations of
  50. # [attribute modifier] [color description]
  51. # the manual talks of "attribute/color modifiers".
  52. # see the manual, section "STRING ESCAPES".
  53. #
  54. # Color table:
  55. # 0 Black . leave color unchanged
  56. # 1 Red b blue
  57. # 2 Green c cyan
  58. # 3 Brown / yellow d default color
  59. # 4 Blue g green b bold
  60. # 5 Purple k blacK B blinking
  61. # 6 Cyan m magenta d dim
  62. # 7 White r red r reverse
  63. # 8 unused/illegal w white s standout
  64. # 9 transparent y yellow u underline
  65. #
  66. # note: "dim" is not mentioned in the manual.
  67.  
  68.  
  69.  
  70.  
  71.  
  72. #caption always "%?%{+b kw}%-Lw%?%{yK}%n*%f %t%?(%u)%?%?%{wk}%+Lw%? %{gk}%=%c %{yk}%d/%M/%Y"
  73. caption always "%{+b k0} [ %H ] [ %D %d %M %Y] [ %c ]"
  74. hardstatus alwayslastline "Current Screen:%{ kw}%n (%t)%{= kr}%? %{= kr} %?%-Lw%? %{= kr}<[%{= kw}%n*%f %t%? %{= kr}]> %{= kr}%?%+Lw%?%?%= %l"
  75.  
  76.  
  77. #
  78. # activity: This message *includes* a "beep" with '~'.
  79. activity "activity in %n (%t) [%w:%s]~"
  80. #
  81. # bell: This message *includes* a "beep" with '~'.
  82. bell "bell in %n (%t) [%w:%s]~"
  83. #
  84. # pow_detach_msg: Message shown when session
  85. # gets power detached.
  86. pow_detach_msg "BYE"
  87. #
  88. # vbell_msg: Message shown when the
  89. # "virtual bell" rings.
  90. vbell_msg " *beep* "
  91. #
  92. # ==============================================================
  93. # BIND bind - defaults
  94. # ==============================================================
  95. # The "bind" command assign keys to (internal) commands
  96. # SCREEN checks all the keys you type; you type the key
  97. # which is known as the "command character" then SCREEN
  98. # eats this key, too, and checks whether this key is
  99. # "bound" to a command. If so then SCREEN will execute it.
  100. #
  101. # The command "bind" allows you to chose which keys
  102. # will be assigned to the commands.
  103. #
  104. # Some commands are bound to several keys -
  105. # usually to both some letter and its corresponding
  106. # control key combination, eg the command
  107. # "(create) screen" is bound to both 'c' and '^C'.
  108. #
  109. # The following list shows the default bindings:
  110. #
  111. # break ^B b
  112. # clear C
  113. # colon :
  114. # copy ^[ [
  115. # detach ^D d
  116. # digraph ^V
  117. # displays *
  118. # dumptermcap .
  119. # fit F
  120. # flow ^F f
  121. # focus ^I
  122. # hardcopy h
  123. # help ?
  124. # history { }
  125. # info i
  126. # kill K k
  127. # lastmsg ^M m
  128. # license ,
  129. # log H
  130. # login L
  131. # meta x
  132. # monitor M
  133. # next ^@ ^N sp n
  134. # number N
  135. # only Q
  136. # other ^X
  137. # pow_break B
  138. # pow_detach D
  139. # prev ^H ^P p ^?
  140. # quit \
  141. # readbuf <
  142. # redisplay ^L l
  143. # remove X
  144. # removebuf =
  145. # reset Z
  146. # screen ^C c
  147. # select " '
  148. # silence _
  149. # split S
  150. # suspend ^Z z
  151. # time ^T t
  152. # title A
  153. # vbell ^G
  154. # version v
  155. # width W
  156. # windows ^W w
  157. # wrap ^R r
  158. # writebuf >
  159. # xoff ^S s
  160. # xon ^Q q
  161. # ^] paste .
  162. # - select -
  163. # 0 select 0
  164. # 1 select 1
  165. # 2 select 2
  166. # 3 select 3
  167. # 4 select 4
  168. # 5 select 5
  169. # 6 select 6
  170. # 7 select 7
  171. # 8 select 8
  172. # 9 select 9
  173. # I login on
  174. # O login off
  175. # ] paste .
  176. #
  177. # FAQ: So many keys are bound to some command already -
  178. # which keys are unbound yet? Which are free for binding?
  179. # A: SCREEN does not have a command to show you
  180. # a table of currently unbound keys - sorry!
  181. # You simply have to read this setup file. ;-)
  182. #
  183. # Summary: Here is a table of the keys
  184. # which are not bound by default:
  185. # unbound: -B--E-G--J-L---P-R-TUV--Y-
  186. # bound: A-CD-F-HI-K-MNO-Q-S---WX-Z
  187. #
  188. # And here are the default bind commands if you need them:
  189. #
  190. # bind A title
  191. # bind C clear
  192. # bind D pow_detach
  193. # bind F fit
  194. # bind H log
  195. # bind I login on
  196. # bind K kill
  197. # bind L login
  198. # bind M monitor
  199. # bind N number
  200. # bind O login off
  201. # bind Q only
  202. # bind S split
  203. # bind W width
  204. # bind X remove
  205. # bind Z reset
  206.  
  207.  
Advertisement
Add Comment
Please, Sign In to add comment