On Wed, 2006-08-23 at 16:04 +0930, Luke Vanderfluit wrote:
> Hi.
>
> How are you all doing?
>
> I use lots of xterms on my screen.
> I'd like to be able to change the title of the xterm window, by type in it at
> the prompt.
>
> Anyone know how to do this?
>
> Currently I have the title dynamically show the path but that isn't enough to
> distinguish when I have them 'rolled up' since I am working on several files
> simultaneously from the same directory.
>
> Is there any other way anyone knows of that I could make each window
> distinguishable preferably with a meaningful title?
This is in my .bash_login stolen from Jeff who probably stole it from
someone else.
xtitle ()
{
echo -n -e "\033]0;$*\007"
}
--
Ken Foskey
FOSS developer
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html