Advertisement
Guest User

Untitled

a guest
Sep 18th, 2017
137
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
DOT 1.78 KB | None | 0 0
  1. # no annoying audible bell, please
  2. vbell on
  3.  
  4. # detach on hangup
  5. autodetach on
  6.  
  7. # don't display the copyright page
  8. startup_message off
  9.  
  10. # emulate .logout message
  11. pow_detach_msg "Screen session of \$LOGNAME \$:cr:\$:nl:ended."
  12.  
  13. # advertise hardstatus support to $TERMCAP
  14. # termcapinfo  * '' 'hs:ts=\E_:fs=\E\\:ds=\E_\E\\'
  15.  
  16. # make the shell in every window a login shell
  17. #shell -$SHELL
  18.  
  19. # autoaka testing
  20. # shellaka '> |tcsh'
  21. # shellaka '$ |sh'
  22.  
  23. # set every new windows hardstatus line to somenthing descriptive
  24. # defhstatus "screen: ^En (^Et)"
  25.  
  26. defscrollback 1000
  27.  
  28. # don't kill window after the process died
  29. # zombie "^["
  30.  
  31. #
  32. # keybindings
  33. #
  34.  
  35. #remove some stupid / dangerous key bindings
  36. bind k
  37. bind ^k
  38. bind .
  39. bind ^\
  40. bind \\
  41. bind ^h
  42. bind h
  43. #make them better
  44. bind 'K' kill
  45. bind 'I' login on
  46. bind 'O' login off
  47. bind '}' history
  48.  
  49. # Yet another hack:
  50. # Prepend/append register [/] to the paste if ^a^] is pressed.
  51. # This lets me have autoindent mode in vi.
  52. register [ "\033:se noai\015a"
  53. register ] "\033:se ai\015a"
  54. bind ^] paste [.]
  55.  
  56. ################
  57. #
  58. # default windows
  59. #
  60.  
  61. # screen -t local 0
  62. # screen -t mail 1 elm
  63. # screen -t 40 2 rlogin faui40
  64.  
  65. # caption always "%3n %t%? @%u%?%? [%h]%?"
  66. # hardstatus alwaysignore
  67. # hardstatus alwayslastline "%w"
  68.  
  69. # Create a hardstatus line similar to what C-A w displays.
  70. #hardstatus alwayslastline "%{.bW}%-Lw%{.rW}%n %t%{-}%+Lw %=%{..G} %H %{..Y} %m/%d %c "
  71. hardstatus alwayslastline '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f %t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B}%Y-%m-%d %{W}%c %{g}]'
  72.  
  73. #set term to xterm so colors work
  74. # bind = resize =
  75. # bind + resize +1
  76. # bind - resize -1
  77. # bind _ resize max
  78. #
  79. # attrcolor u "-u b"
  80. # attrcolor b "R"
  81. screen -t 'IRC' 0 irssi
  82. screen -t 'Email' 1 mutt
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement