On Thu, 12 Oct 2000, Derek Cunningham wrote:
> When i do something like "rxvt -title "BitchX"", the window loads, and I
> see "BitchX" in the titlebar for like .5 seconds, and then it changes
> back to "user@host:/current/directory". So WTF?
> I actually think this is very ontopic, because OBVIOSLY the
> windowmanager (in this case: blackbox) is changing things.
I am not sure why you say obviously, because I have a feeling your
shell is doing it.
If you are using bash, check out:
echo $PROMPT_COMMAND
echo $PS1
I try not to use Red Hat, but since I am paid to use Red Hat, I have a
several systems that are configured to do this. (Of course, I can choose
to change/fix this.)
$ echo $PROMPT_COMMAND
echo -ne "\033]0;${USER}@${HOSTNAME}: ${PWD}\007"
ESC]0 is the Xterm escape sequence for changing the icon name and window
title.
Jeremy C. Reed
http://www.reedmedia.net/
http://bsd.reedmedia.net/