view .screenrc @ 41:d9a205bd28fa

Improve SCREEN startup configuration
author daniel
date Thu, 12 Mar 2015 13:13:19 +0000
parents 11abda02707a
children baf2f03b62fc
line wrap: on
line source
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm-color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm-256color 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
termcapinfo xterm*|xterms|xs|rxvt ti@:te@
msgwait 1
chdir
shell -bash

hardstatus off
defscrollback 16000

# Yet another hack:
# Prepend/append register [/] to the paste if ^a^] is pressed.
# This lets me have autoindent mode in vi.
register [ "\033:se noai\015a"
register ] "\033:se ai\015a"
bind ^] paste [.]

bind = resize =
bind + resize +2
bind - resize -2
bind _ resize max

screen -t dml-edit 1 runin $HOME/src/hg/dml-cliopatria/cpack/dml  bash
screen -t dml-run 0 runin $HOME/var/dml forever ./run.pl --prefix=/cp --after_load='dml:start_matlab'
screen -t cp-edit 2 runin $HOME/src/github/ClioPatria  bash
screen -t scratch 3 runin $HOME bash
screen -t ml-in   4 runin $HOME/var/dml tail -f matlab_in.log
screen -t ml-out  5 runin $HOME/var/dml tail -f matlab_out.log