1 # Turn off startup message
3 # 100 times the default scrollback size
5 # Don't block sending output
7 # Select a less interfering escape sequence
8 # (Disabled to avoid a nasty surprise)
10 # Remember the original TERM type
11 setenv SCREENTERM "$TERM"
14 # Disable the alternate screen to enable terminal scrollback
15 termcapinfo xterm*|rxvt*|kterm*|Eterm* ti@:te@
16 # Fix the delete key for broken xterm-color terminfo on linux
17 termcapinfo xterm-color kD=\E[3~
18 # Use this to fix the delete key in a running screen
20 # Fix the down-one-line/delete-line problems on vt100
21 termcapinfo vt100* do=\E7^J\E8\E[1B:dl=5\E[M
22 # Send hardstatus to the window title
23 termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
24 # Attempt to update running command name
26 # Do not use any hardstatus terminal capability
28 # Status always on last line
29 hardstatus alwayslastline "%{.kr}%H %{-}%{.kg}%0c:%s %{-}%{.ky}%M%d %{-}%0L=%{.kw}%-Lw%{-}%{.YB}%50>%n*%f %t%?(%u)%?%{-}%{.kw}%+Lw%{-}%{.kr}%-17= [%l]%{-}"
31 caption splitonly "%?%F%{.r.}%:%{=r}%?%n%?%F*%?%f %t%?(%u)%?%=%? [%h]%?%{-}"
32 # set visual bell message
33 vbell_msg " *** WUFF *** *** WUFF *** "
37 # Every new screen a login shell
39 # Re-run PATH setter since screen can screw up the PATH on OS X
42 # Finally execute any SCREENCOMMAND command
43 setenv _ "$SCREENCOMMAND"
44 unsetenv SCREENCOMMAND