Guest User

Untitled

a guest
Aug 6th, 2012
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.61 KB | None | 0 0
  1. # Set the default window name to empty string instead of the arbitrary "bash"
  2. #shelltitle '% |bash'
  3. shell -bash
  4. #termcapinfo xterm* ti@:te@
  5. term xterm
  6. #term screen-256color
  7.  
  8. #escape ^Bb # Instead of Control-a, make the escape/command character be Control-b
  9.  
  10. # Set the window caption.
  11. # I use caption instead of hardstatus, so it is available per split window too
  12. # (hardstatus is only per complete screen).
  13. caption always "%{= KW}%-Lw%{= wb}%n %t %{= KW}%+Lw %-=| ${USER}@%H | %M%d %c%{-}"
  14.  
  15. # Some decryption hints:
  16. # %{= KW} background light black (aka dark gray) with foreground light white
  17. # %{= wb} background dark white (ake light gray) with foreground dark blue
  18. # %-Lw all windows before the current window.
  19. # %n%f %t current window number, flags and title.
  20. # %+Lw all windows after the current window.
  21. # %-= pad remaining spaces.
  22. # %H hostname.
  23. # %M%d %s month and day (MmmDD) and current time (HH:MM).
  24. startup_message off
  25.  
  26. defscrollback 4096
  27. defencoding UTF-8
  28. #bindkey -k k5 prev # F5 for previous window
  29. #bindkey -k k6 next # F6 for next window
  30. bindkey ^[[1;3D eval "prev"
  31. bindkey ^[[1;3C eval "next"
  32.  
  33. bindkey ^[[5;3~ eval "copy" "stuff ^b" # alt-page-up goes to copy mode and pg-up
  34. bindkey ^[[6;3~ eval "copy" "stuff ^f" # alt-page-down goes to copy mode and pg-dn
  35. bindkey -m ^[[5;3~ stuff "^b" # in copy mode alt-page-up sends pg-up
  36. bindkey -m ^[[6;3~ stuff "^f" # in copy mode alt-page-down sends pg-dn
  37.  
  38. # Fix screen@ubuntu bug https://bugs.launchpad.net/ubuntu/+source/screen/+bug/29787
  39. bindkey -d ^@ stuff ^?
  40. multiuser on
  41. aclchg guest -wx "#,?"
  42. aclchg guest +x "colon,wall,detach"
Advertisement
Add Comment
Please, Sign In to add comment