Q: name of task in task panel changeable?

Igor Pechtchanski pechtcha@cs.nyu.edu
Wed Mar 19 22:29:00 GMT 2003

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


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

function settitle() { echo -n "^[]2;$@^G^[]1;$@^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
      |\      _,,,---,,_		pechtcha@cs.nyu.edu
ZZZzz /,`.-'`'    -.  ;-;;,_		igor@watson.ibm.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

More information about the Cygwin-xfree mailing list