# Don't block command output if the terminal stops responding # (like if the ssh connection times out for example). nonblock on # Allow editors etc. to restore display on exit # rather than leaving existing text in place altscreen on # pass commands to screen for describing windows shelltitle '$ |sh' # get ip backtick 101 600 600 hostname -I # set caption caption always '%{= kw}%{= 4f} %{W}Screen session%{-} [ %101`%{Y}%H%{-} ][ %= %-Lw%{+b M}%n%f* %t%{-}%+LW %= ][ %{R}%l%{-} ][ %{C}%c%{-} ]'