# Always display the status line with open windows and the hostname.
setenv s "$s%Lw" # - number and names of windows, L displays window flags
setenv s "$s%=" # - right align the following text
-setenv s "$s " # - space
-setenv s "$s%H" # - hostname
+setenv s "$s " # - space (REMOTE)
+setenv s "$s%H" # - hostname (REMOTE)
setenv s "$s " # - space (TEMPERATURE)
setenv s "$s%2`" # - temperature (TEMPERATURE)
setenv s "$s " # - space (BATTERY)
fi
apply_optional_replacement screenrc \
temperature TEMPERATURE "$temperature"
+# Settings for local hosts.
+if test -z "${SSH_CONNECTION:+set}"; then
+ echo 'screenrc: removing remote options'
+ grep_i -v '(REMOTE)' screenrc
+fi
if installed tmux; then