# Set a reattach password. # To generate the crypted password for below: # Hit Ctl+a ':', then type "password" and hit enter. # Follow the on screen prompts. NOTE: The password is immediately active. # Press Ctl+a ']'. The crypted password is shown on screen. # Replace the 'CRYPTED_PASSWORD' text below with the crypted password shown. # password CRYPTED_PASSWORD # Use a custom shell rather than the one in $SHELL. # The '-' prefix makes the shell a login/interactive shell. shell -/bin/bash # Change how screen operates. deflogin on defscrollback 10000 defutf8 on # Change the output from screen. startup_message off vbell off bell_msg "^GBell in window %n - %t" vbell_msg "Bell in window %n - %t" # Linux console doesn't support underlining, so use a colour attribute instead. attrcolor u "-u c" # Use a custom hardstatus line. # No hostname, no clock: hardstatus alwayslastline "%{=b kB} %-w%{=b kR}%40L>%n %t%{=b kB}%+w%<" # No hostname, with clock: hardstatus alwayslastline "%{=b kB}%01=%-w%40L>%{=b kR}%n %t%{=b kB}%+w%-09= %{= kw}| %{= kY}%c " # With hostname, with clock: hardstatus alwayslastline "%{= kg}%01=%H%011= %{= kw}|%014=%{=b kB}%-w%40L>%{=b kR}%n %t%{=b kB}%+w%-09= %{= kw}| %{= kY}%c" # Rebind keys. bind ^k bind k bind K kill bind ^\ bind \\ quit # A hack to start numbering from 1 screen 1 bind c screen 1 bind ^c screen 1 bind 0 select 10