83 lines
2.4 KiB
Text
83 lines
2.4 KiB
Text
# ~/.screenrc
|
|
|
|
deflogin on
|
|
|
|
# UTF-8 everywhere
|
|
defutf8 on
|
|
|
|
# disable Ctrl-S/Ctrl-Q "flow control"
|
|
defflow off
|
|
|
|
# skip intro
|
|
startup_message off
|
|
|
|
# detach on disconnect
|
|
autodetach on
|
|
|
|
defscrollback 10000
|
|
|
|
# use regular audible bell
|
|
vbell on
|
|
vbellwait 1
|
|
|
|
# use backtick for prefix key instead of Ctrl-A
|
|
#escape ``
|
|
|
|
# make the shell in every window a login shell
|
|
shell -$SHELL
|
|
|
|
# connect windows to the display so programs like mplayer can find it when
|
|
# we're inside a screen in a terminal application in a graphical environment
|
|
# setenv DISPLAY ':1'
|
|
|
|
term xterm-256color
|
|
|
|
# print wackier status messages
|
|
nethack on
|
|
|
|
# restore window contents after using (e.g.) vi
|
|
altscreen on
|
|
|
|
# termcapinfo xterm ti@:te@
|
|
# termcapinfo xterm-color ti@:te@
|
|
hardstatus alwayslastline
|
|
hardstatus string '%{gk}[%{G}%H%{g}][%= %{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= kw}%?%+Lw%?%?%= %{g}]%{=b C}[%m/%d/%y %c:%s]%{W}'
|
|
logtstamp on
|
|
logtstamp after 1
|
|
|
|
|
|
# show MPD info in status bar
|
|
#backtick 1 5 5 /home/mark/bin/nowplaying
|
|
|
|
# Set the caption on the bottom line:
|
|
# window-list <nowplaying> <mm/dd/yy> <HH:MM>am/pm
|
|
|
|
# Ticking the seconds is not necessarily a good idea (encryption-wise)
|
|
#hardstatus string "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %Y-%m-%d %c:%s"
|
|
#hardstatus string "%{= kw}%-w%{= BW}%n %t%{-}%+w %-= %1` %Y-%m-%d %c"
|
|
|
|
# Disable window resizing on reattach for screen
|
|
# https://superuser.com/a/459421/513889
|
|
termcap xterm-256color 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
|
|
terminfo xterm-256color 'is=\E[r\E[m\E[2J\E[H\E[?7h\E[?1;4;6l'
|
|
|
|
# default windows
|
|
screen -t django fish -li
|
|
#stuff "env PYTHONASYNCIODEBUG=1 python -Wa backend/manage.py runserver 0.0.0.0:8000 --http_timeout 30000\n"
|
|
stuff "env PYTHONASYNCIODEBUG=1 python -Wa backend/manage.py runserver\n"
|
|
screen -t webpack fish -li
|
|
stuff "npx gulp webpack-dev-server\n"
|
|
screen -t nginx fish -li
|
|
stuff "tools/run-dev-nginx.sh\n"
|
|
#stuff "python -Wa -m http.server 8001\n"
|
|
screen -t shell-plus fish -li
|
|
stuff "python -Wa backend/manage.py shell_plus --print-sql\n"
|
|
screen -t fish fish -li
|
|
#stuff "code\n"
|
|
#stuff "subl\n"
|
|
screen -t uwsgi fish -li
|
|
# stuff "uwsgi --ini tools/uwsgi-dev.ini\n"
|
|
#screen -t a fish -li
|
|
#stuff "cd ~/.config/sublime-text-3/Packages/Anaconda/\n"
|
|
#stuff "rm -rvf ~/.cache/jedi/; pkill -f jsonserver; python -B /home/karolyi/.config/sublime-text-3/Packages/Anaconda/anaconda_server/jsonserver.py -p ticketshop DEBUG -e /home/karolyi/Work/stoertebeker/ticketshop\n"
|
|
# select webpack
|