annotate .screenrc @ 41:d9a205bd28fa

Improve SCREEN startup configuration
author daniel
date Thu, 12 Mar 2015 13:13:19 +0000
parents 11abda02707a
children baf2f03b62fc
rev   line source
samer@2 1 termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
samer@2 2 termcapinfo xterm-color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
samer@2 3 termcapinfo xterm-256color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
samer@2 4 termcapinfo xterm*|xterms|xs|rxvt ti@:te@
samer@2 5 msgwait 1
samer@2 6 chdir
samer@2 7 shell -bash
samer@2 8
samer@2 9 hardstatus off
samer@2 10 defscrollback 16000
samer@2 11
samer@2 12 # Yet another hack:
samer@2 13 # Prepend/append register [/] to the paste if ^a^] is pressed.
samer@2 14 # This lets me have autoindent mode in vi.
samer@2 15 register [ "\033:se noai\015a"
samer@2 16 register ] "\033:se ai\015a"
samer@2 17 bind ^] paste [.]
samer@2 18
samer@2 19 bind = resize =
samer@2 20 bind + resize +2
samer@2 21 bind - resize -2
samer@2 22 bind _ resize max
samer@2 23
daniel@39 24 screen -t dml-edit 1 runin $HOME/src/hg/dml-cliopatria/cpack/dml bash
samer@24 25 screen -t dml-run 0 runin $HOME/var/dml forever ./run.pl --prefix=/cp --after_load='dml:start_matlab'
daniel@41 26 screen -t cp-edit 2 runin $HOME/src/github/ClioPatria bash
daniel@39 27 screen -t scratch 3 runin $HOME bash
daniel@41 28 screen -t ml-in 4 runin $HOME/var/dml tail -f matlab_in.log
daniel@41 29 screen -t ml-out 5 runin $HOME/var/dml tail -f matlab_out.log
samer@2 30