"Nitin Malik" <nitin_malik54_at_hotmail.com> writes:
> Hi all,
>
> I use tcsh shell settings.
>
> After I create a whole bunch of xterms via fvwm or otherwise. I am stuck
> with a whole bunch of xterms with the same name. Is there any way I can use
> FvwmIdent, FvwmConsole, etc to change the name of the xterm to something
> relevant?? In other words, I need to dynamically change the window title!!
You can control the title during creation with:
xterm -title abc
You can change the title afterwards with the escape sequence:
^[]2;title\07
I see you use tcsh, so this might not help, but this is how its done
with ksh:
function shdr { # changes screen title
if [ "$TERM" = "xterm" ] ; then # This makes Rumba hang, only use on xterm
print -n '\033]2;'$*'\07'
fi
}
--
Dan Espen
444 Hoes Lane Room RRC 1C-214 E-mail: dane_at_mk.telcordia.com
Piscataway, NJ 08854 Phone: (732) 699-5570
--
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 Thu Apr 26 2001 - 12:18:17 BST