Skip to content

Instantly share code, notes, and snippets.

@yuchsiao
Last active March 9, 2016 18:48
Show Gist options
  • Save yuchsiao/e2f9c1481976b4d5c524 to your computer and use it in GitHub Desktop.
Save yuchsiao/e2f9c1481976b4d5c524 to your computer and use it in GitHub Desktop.
## gyaresu's .screenrc 2008-03-25
# http://delicious.com/search?p=screenrc
# Don't display the copyright page
startup_message off
# tab-completion flash in heading bar
vbell off
# keep scrollback n lines
defscrollback 30000
# Doesn't fix scrollback problem on xterm because if you scroll back
# all you see is the other terminals history.
# termcapinfo xterm|xterms|xs|rxvt ti@:te@
# These will let you use
bind -c selectHighs 0 select 10 #these three commands are
bind -c selectHighs 1 select 11 #added to the command-class
bind -c selectHighs 2 select 12 #selectHighs
bind -c selectHighs 3 select 13
bind -c selectHighs 4 select 14
bind -c selectHighs 5 select 15
bind - command -c selectHighs #bind the hyphen to
#command-class selectHighs
#screen -t rtorrent 0 rtorrent
#screen -t tunes 1 ncmpc --host=192.168.1.4 --port=6600 #was for connecting to MPD music server.
screen -t stuff 1
#screen -t irssi 2 irssi
#screen -t dancing 4
#screen -t python 5 python
#screen -t giantfriend 6 these_are_ssh_to_server_scripts.sh
#screen -t computerrescue 7 these_are_ssh_to_server_scripts.sh
#screen -t BMon 8 bmon -p eth0
#screen -t htop 9 htop
#screen -t hellanzb 10 hellanzb
screen -t watching 3
#screen -t interactive.fiction 8
#screen -t hellahella 8 paster serve --daemon /home/gyaresu/downloads/hellahella/hella.ini
shelltitle "$ |bash"
# THIS IS THE PRETTY BIT
#change the hardstatus settings to give an window list at the bottom of the
##screen, with the time and date and with the current window highlighted
hardstatus alwayslastline
#hardstatus string '%{= mK}%-Lw%{= KW}%50>%n%f* %t%{= mK}%+Lw%< %{= kG}%-=%D %d %M %Y %c:%s%{-}'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
# Bind F11 and F12 (NOT F1 and F2) to previous and next screen window
#
# use cat > /dev/null to find out key comb
#bindkey ^[[1;5D prev
#bindkey ^[[1;5C next
bindkey ^[[5;5~ prev
bindkey ^[[6;5~ next
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment