Elizabeth Schwartz writes:
> When I open an xterm, I am explicitly specifying Title and name with xterm
> -T host1 -n host1
> If I ssh to another host from that xterm, after some seemingly random
> interval, the xterm title and name are changing to the name of the new
> host. Or, worse, sometimes just to "${HOST}" (minus the quotation marks)
> What causes this behavior, and HTH can I turn it OFF? If I name a window
> "host1" I want it to stay named "host1" no matter *what* I do inside the
> window.
> Is this an fvwm thing or an xterm thing?
Sounds like an xterm/shell thing to me.
Applications can send control sequences to xterm to change various
things, including the title of the window.
Some users (including me) like to have the hostname and path in the
xterm title. I have the following in my .cshrc:
if ($TERM == "xterm") then
#
# display host and path in the titel bar of xterm-windows
#
alias cwdcmd 'echo -n "]2;${HOST}:$cwd]1;${HOST}"'
cwdcmd
endif
("cwdcmd" is a special alias that is called when tcsh changes the
current directory.)
Search for something similar in your .cshrc/.login/.bashrc/.whatever
file.
Hope this helps,
Rainer
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Tue Jan 16 2001 - 14:47:33 GMT