/etc/screenrc


SUBMITTED BY: Guest

DATE: Jan. 14, 2015, 9:31 a.m.

FORMAT: Bash

SIZE: 1.5 kB

HITS: 1282

  1. # $Id: screenrc,v 1.15 2003/10/08 11:39:03 zal Exp $
  2. startup_message off
  3. deflogin on
  4. # ------------------------------------------------------------------------------
  5. # SCREEN KEYBINDINGS
  6. # ------------------------------------------------------------------------------
  7. # Remove some stupid / dangerous key bindings
  8. bind ^k
  9. #bind L
  10. bind ^\
  11. # Make them better
  12. bind \\ quit
  13. bind K kill
  14. bind I login on
  15. bind O login off
  16. bind } history
  17. # turn visual bell on
  18. vbell on
  19. vbell_msg " Wuff ---- Wuff!! "
  20. # define a bigger scrollback, default is 100 lines
  21. defscrollback 1024
  22. # Allow bold colors - necessary for some reason
  23. attrcolor b ".I"
  24. # Tell screen how to set colors. AB = background, AF=foreground
  25. termcapinfo xterm 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm'
  26. # Enables use of shift-PgUp and shift-PgDn
  27. termcapinfo xterm|xterms|xs|rxvt ti@:te@
  28. # Erase background with current bg color
  29. defbce "on"
  30. # Enable 256 color term
  31. term xterm-256color
  32. hardstatus alwayslastline
  33. # Very nice tabbed colored hardstatus line
  34. hardstatus string "%{= KW} %H [%`] %{= Kw}|%{-} %-Lw%{= bW}%n%f %t%{-}%+Lw %=%C%a %Y-%M-%d"
  35. # change command character from ctrl-a to ctrl-b (emacs users may want this)
  36. #escape ^Bb
  37. # Hide hardstatus: ctrl-a f
  38. bind f eval "hardstatus ignore"
  39. # Show hardstatus: ctrl-a F
  40. bind F eval "hardstatus alwayslastline"

comments powered by Disqus