2019-11-26 20:14:36 +01:00
|
|
|
# ~/.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
|
|
|
|
|
2023-05-24 18:51:42 +02:00
|
|
|
defscrollback 10000
|
|
|
|
|
2019-11-26 20:14:36 +01:00
|
|
|
# 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
|
2020-05-04 20:47:47 +02:00
|
|
|
#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"
|
2019-11-26 20:14:36 +01:00
|
|
|
screen -t webpack fish -li
|
2023-05-24 18:51:42 +02:00
|
|
|
stuff "npx gulp webpack-dev-server\n"
|
2023-09-17 11:42:14 +02:00
|
|
|
screen -t nginx fish -li
|
|
|
|
stuff "tools/run-dev-nginx.sh\n"
|
|
|
|
#stuff "python -Wa -m http.server 8001\n"
|
2019-11-26 20:14:36 +01:00
|
|
|
screen -t shell-plus fish -li
|
2020-05-04 20:47:47 +02:00
|
|
|
stuff "python -Wa backend/manage.py shell_plus --print-sql\n"
|
2019-11-26 20:14:36 +01:00
|
|
|
screen -t fish fish -li
|
|
|
|
#stuff "code\n"
|
2023-08-15 16:14:58 +02:00
|
|
|
#stuff "subl\n"
|
2019-11-26 20:14:36 +01:00
|
|
|
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
|