You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
create a start.sh script to initialize your screen
cd /path/to/app
# if you need to activate a python virtualenvsource /path/to/.virtualenvs/project/bin/activate
# create the screen "srv" with an empty tab
screen -AdmS srv -t home
# add a first script in a "health" tab
screen -S srv -X screen -t health node /path/to/health.js
# run another one in another tab
screen -S srv -X screen -t server python server.py
customize your ~/.screenrc to display the tabs
altscreen on
term screen-256color
##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 '%{= kG}%-Lw%{= kW}%50> %n%f* %t%{= kG}%+Lw%< %{= kG}%-=%c:%s%{-}'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %m-%d %{W}%c %{g}]'