xterm question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Nick Estes
Date:  
Subject: xterm question
> 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."
>