On Wed, Aug 23, 2006 at 04:04:22PM +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?
> 
> Thanks.
> 
> Kind regards.
> Luke Vanderfluit.
> -- 

I have 

#!/bin/zsh

print -Pn "\e]2;${1}\a"

in ~/bin/st so I can just go 

st "My New Title"

and it's set.

Byron
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to