title in gui terminal?

Matthias Leopold <matthias-8HL/[email protected]>
Newsgroups gmane.comp.gnu.screen.user
Message-ID <[email protected]>
hi,

i'm a newbie concerning configuration of screen so this a question about 
distro standard configurations:

when i ssh from my debian box to a redhat server and start a screen 
there window title and tab of my gnome-terminal show what i think is the 
"hardstatus string". when i start screen locally in debian or via ssh on 
a debian server no such thing happens although there is a "hardstatus 
string" configuration in /etc/screenrc.

whats the difference in the standard configurations?

screen version is always 4.0.3

relevant screenrc lines IMO:

debian 6:

# Set the hardstatus prop on gui terms to set the titlebar/icon title
termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
# use this for the hard status string
hardstatus string "%h%? users: %u%?

RHEL 5:

# special xterm hardstatus: use the window title.
termcapinfo xterm 'hs:ts=\E]2;:fs=\007:ds=\E]2;screen\007'
# Red Hat's normal status line
hardstatus string "[screen %n%?: %t%?] %h"

thx
matthias
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.