This is the mail archive of the cygwin-xfree@cygwin.com mailing list for the Cygwin XFree86 project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Q: name of task in task panel changeable?


On Wed, 19 Mar 2003, Heiko Nardmann wrote:

> Is the name of the task shown in the task panel (currently always
> "Cygwin/XFree86") changeable?
>
> I would like to let it show the name of the host connected to.
> - --
> Heiko Nardmann

Heiko,

If you are talking about the individual XTerm windows, I use the following
in bash:

function settitle() { echo -n "^[]2;$ at ^G^[]1;$ at ^G"; }

where ^[ is the actual Esc character (Ascii 27), and ^G is the BEL
character (Ascii 7).  Or you can put the above in your bash prompt.

If you mean the title of the whole X screen (when run in rooted mode), I'm
sure that if there isn't an option for it now, it's a 2-line patch (to add
-title)...
	Igor
-- 
				http://cs.nyu.edu/~pechtcha/
      |\      _,,,---,,_		pechtcha at cs dot nyu dot edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor at watson dot ibm dot com
     |,4-  ) )-,_. ,\ (  `'-'		Igor Pechtchanski
    '---''(_/--'  `-'\_) fL	a.k.a JaguaR-R-R-r-r-r-.-.-.  Meow!

Oh, boy, virtual memory! Now I'm gonna make myself a really *big* RAMdisk!
  -- /usr/games/fortune


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]