Guest User

Untitled

a guest
Jan 15th, 2019
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.09 KB | None | 0 0
  1. # use C-o as command key
  2. escape ^Oo
  3.  
  4. # turn off welcome screen
  5. startup_message off
  6.  
  7. # status bar
  8. hardstatus off
  9. hardstatus alwayslastline
  10. #hardstatus string '%{= kw}[ %{m}%H %{w}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{w}][%{B} %m-%d %{C}%c %{w}]'
  11.  
  12. # rolex hardstatus
  13. hardstatus string '%{= kg}[ %{G}%H:%{Y}%` %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %{C}%c %{g}]'
  14. backtick 0 30 30 sh -c 'screen -ls | grep --color=no -o "$PPID[^[:space:]]*" | cut -d . -f 2- '
  15.  
  16. bind f eval "hardstatus ignore"
  17. bind F eval "hardstatus alwayslastline"
  18.  
  19. # use 256 color terminal
  20. #terminfo rxvt-unicode 'Co#256:AB=\E[48;5;%dm:AF=\E[38;5;%dm
  21. term screen-256color
  22.  
  23. # avoid window 0, it's weird to switch to
  24. bind c screen 1
  25. bind 0 select 10
  26. screen 1
  27. select 1
  28.  
  29. # Pass the bell message on to the terminal
  30. #bell_msg "bell: %n (%t) [%w:%s]^G"
  31. vbell off
  32.  
  33. # save 30k lines (that's a shitload but we have memory!)
  34. # memory requirement is (roughly) 80*n*numwindows B (so for 10000 lines it's 6.4M for each window)
  35. defscrollback 30000
  36. scrollback 30000
Add Comment
Please, Sign In to add comment