xterm question

Nick Estes plug-discuss@lists.PLUG.phoenix.az.us
Fri, 31 Aug 2001 08:22:50 -0700 (MST)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

> Is there a way to dynamically change the title bar
> when xterm is running.  (not on the command line)?

Of course!  Try sticking this in your profile (assuming you use bash):

title()
{
  echo -ne '\033]0;'$1 '\007'
}

It works in xterm and several other terminals too.  You can also change
the title of an xterm you're not in by redirecting the output of that echo
to the pty of the xterm.

	--Nick

On Fri, 31 Aug 2001, Furmanek, Greg wrote:

>
>
> -------------------------------------
>             Greg Furmanek
> -------------------------------------
>
>
>
>
> "The sender believes that this E-mail and any attachments were free of any
> virus, worm, Trojan horse, and/or malicious code when sent.  This message
> and its attachments could have been infected during transmission.  By
> reading the message and opening any attachments, the recipient accepts full
> responsibility for taking protective and remedial action about viruses and
> other defects.  The sender's employer is not liable for any loss or damage
> arising in any way from this message or its attachments."
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: pgpenvelope 2.10.2 - http://pgpenvelope.sourceforge.net/

iD8DBQE7j6vPv+hjYTGg7s4RArzVAJ4h1Ygyl4DSatKie3ILhJXZbv21vgCfYyWj
lldmYRTP9/56L9nniberKt4=
=8km8
-----END PGP SIGNATURE-----