This LDP Howto demonstrates how to change the title of an xterm.
I know that this is also possible using the xtitle
command.
Before invoking a long-running action, my script uses such techniques to change the title of its xterm window.
I would like to extract the name of the xterm window prior to changing it so that, once the long-running action is completed, I can restore the title to its previous value.
It would sort of be an inverse to xtitle... Is this even possible?
xterm
has a stack for window title, if you can figure out how to use it.