Guest User

Untitled

a guest
Dec 11th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.05 KB | None | 0 0
  1. startup_message off
  2. #termcapinfo xterm*|Eterm|mlterm|rxvt 'hs:ts=\E]0;:fs=\007:ds=\E]0;screen\007'
  3. termcapinfo rxvt-unicode ti@:te@ #enable SHIFT-PGUP / SHIFT-PGDOWN scroll
  4. #termcapinfo wy* CS=\E[?1h:CE=\E[?1l:vi=\E[?25l:ve=\E[?25h:VR=\E[?5h:VN=\E[?5l:cb=\E[1K:CD=\E[1J
  5. terminfo rxvt-unicode ti@:te@:
  6.  
  7. defutf8 on
  8. setenv DISPLAY ':0'
  9. nonblock on
  10. vbell off
  11. msgwait 10
  12. shelltitle ''
  13. #defmonitor on
  14. escape ^aA
  15. termcapinfo xterm|xterms|xs|rxvt ti@:te@
  16. bell_msg "^G"
  17. screen -t 'ROOT' 1 su -
  18. screen -t 'IRSSI' 2 ssh 0701891@shell.tp.samk.fi
  19. screen -t 'SHELL' 3
  20. screen -t 'MUSAT' 4 ncmpcpp
  21. screen -t 'VIM' 4 vim
  22. screen -t 'MIXER' 6 alsamixer
  23. select 1
  24.  
  25. bind e eval "writebuf" '!!! ~/bin/kopioi.sh'
  26.  
  27. bind q writebuf
  28. bind = resize =
  29. bind + resize +1
  30. bind - resize -1
  31. bind _ resize max
  32. bind c screen 1 # Window numbering starts at 1, not 0.
  33. bind 0 select 10
  34. # make life easier, f1-f10 selects screens 0-9
  35. bindkey -k k1 select 1
  36. bindkey -k k2 select 2
  37. bindkey -k k3 select 3
  38. bindkey -k k4 select 4
  39. bindkey -k k5 select 5
  40. bindkey -k k6 select 6
  41. bindkey -k k7 select 7
  42. bindkey -k k8 select 1
  43. bindkey -k k9 prev
  44. bindkey -k k0 select 1
  45. # windows select with Shift-Fn. May not work in all terminals.
  46. # (screen only seems to understand up to FA)
  47. bindkey -k F3 select 1
  48. bindkey -k F4 select 2
  49. bindkey -k F5 select 3
  50. bindkey -k F6 select 4
  51. bindkey -k F7 select 5
  52. bindkey -k F8 select 6
  53. bindkey -k F9 select 1
  54. bindkey -k FA select 1
  55. #bindkey -k k7 detach # bind F7 to detach screen session from this terminal
  56. #bindkey -k k8 kill # bind F8 to kill current screen window.
  57. #bindkey -k k9 prev # bind F9 to move to previous window
  58. bindkey -k F1 prev # bind F11 to move to next window
  59. bindkey -k F2 next
  60. #bindkey -k F2 hardstatus alwaysignore # F12 to turn the status bar on
  61. #bindkey -k k9 screen # bind F9 to create a new screen
  62. #bindkey -k k; title # bind F10 to rename current screen window
  63. #bindkey -k F11 prev # bind F11 to move to previous window
  64. #bindkey -k F12 next # bind F12 to move to next window
  65. bindkey "^[Od" prev # change window with ctrl-left
  66. bindkey "^[Oc" next # change window with ctrl-right
  67.  
  68. #let pgup/pgdn scroll under urxvt (see .Xdefaults)
  69. bindkey "^[[5;2~" eval "copy" "stuff ^u"
  70. bindkey -m "^[[5;2~" stuff ^u
  71. bindkey -m "^[[6;2~" stuff ^d
  72.  
  73. # add CPU idle/sustem/user/interrupt stats
  74. #backtick 100 5 5 tail -1 /var/tmp/vermaden-stats-top
  75. #caption always '%{= wk} %= %100` %='
  76. #backtick 1 60 60 $HOME/bin/get_uptime
  77. #backtick 2 60 60 $HOME/bin/get_cputemp temp1
  78. #backtick 3 60 60 $HOME/bin/get_freemem
  79. #backtick 4 60 60 $HOME/bin/get_freeswap
  80. #backtick 5 60 60 $HOME/bin/get_volume PCM
  81. #backtick 6 60 60 $HOME/bin/get_gmail
  82. #backtick 8 60 60 $HOME/bin/get_citytemp | grep Temperature | awk '{print $3}'
  83.  
  84. # An alternative hardstatus to display a bar at the bottom listing the
  85. # windownames and highlighting the current windowname in blue. (This is only
  86. # enabled if there is no hardstatus setting for your terminal)
  87. hardstatus on
  88. hardstatus alwayslastline
  89. #hardstatus string "%w"
  90. #hardstatus string "%{.kW}%-w%{.W}%n %t%{-}%+w"
  91. #hardstatus string "%{.kW}%-w%{.W}%n %t%{-}%+w %=%c %d/%m/%Y" #black+white+bold
  92. #hardstatus string "%{.kw}%-w%{.w}%n %t%{-}%+w %=%c %d/%m/%Y" #black+white+normal
  93. #hardstatus string "%{.kw}%-w%{.Kw}%n %t%{-}%+w %=%c %d/%m/%Y" #black+grey+normal
  94. #hardstatus string "%{.kc}%-w%{.kc}%n*%t%{-}%+w %=%c %d/%m/%Y" #black+cyan+normal
  95. hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %= %2` %3`/%4` %6`/%7` %5`/%9` %c %d/%m/%Y" #black+cyan+normal+white selected
  96. #hardstatus string "%{.kc}%-w%{.kw}%n*%t%{-}%+w %= | %1` | %2`C | %3`/%4` | %6`/%7` | %5` | %c %d/%m/%Y" #with dwm status bar
  97. #hardstatus string '%{= kB}%-Lw%{+r}%50> %n%f* %t%{= kB}%+Lw%< %{= kB}%-= %{-}'
  98. #hardstatus alwayslastline '%{bk}[ %{W}%H %{b}][ %{w}%l%{b} ] %{b}[%{w} %D %d.%m %c:%s%{b} ]'
  99. sorendition kw
  100.  
  101. # hardcopydir: The directory which contains all hardcopies.
  102. hardcopydir ~/.hardcopy
  103.  
  104. #caption always '%{= dg} %H %{G}| %{B}%l %{G}|%=%?%{d}%-w%?%{r}(%{d}%n %t%? {%u} %?%{r})%{d}%?%+w%?%=%{G}| %{B}%M %d %c:%s '
Add Comment
Please, Sign In to add comment