xterm question

Top Page
Attachments:
Message as email
+ (text/plain)
Delete this message
Reply to this message
Author: Furmanek, Greg
Date:  
Subject: xterm question
Now how would you write a script that would set the $PWD in the title bar?

> -----Original Message-----
> From: Nick Estes [mailto:nick@nickstoys.com]
> Sent: Friday, August 31, 2001 8:23 AM
> To:
> Subject: Re: 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."
> >
>
>
> ________________________________________________
> See http://PLUG.phoenix.az.us/navigator-mail.shtml if your
> mail doesn't post to the list quickly and you use Netscape to
> write mail.
>
> PLUG-discuss mailing list -
> http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss
>



"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."