[PLUG] dynamic xterm titles?
Diego Zamboni
zamboni@cerias.purdue.edu
Sun, 13 Feb 2000 15:54:19 -0500
pweber1@purdue.edu said:
> is there any way to have xterm titles dynamically update? it would
> help to distinguish them from active window lists..
I have a csh alias 'termtitle' defined as follows:
alias termtitle 'echo -n "ESC]2;\!*^G"'
Where <ESC> and ^G where inserted (in vi) using CTRL-v followed by ESC and
CTRL-g, respectively.
Then you say 'termtitle Whatever you want' and the title changes
appropriately. In general, you can do:
echo "ESC]2;Whatever you want^G"
to set the terminal title. I have tested this at least in xterm, rxvt, aterm
and Eterm.
--Diego