This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: set Cygwin terminal title
- From: Csaba Raduly <rcsaba at gmail dot com>
- To: cygwin list <cygwin at cygwin dot com>
- Date: Thu, 10 Apr 2014 09:32:09 +0200
- Subject: Re: set Cygwin terminal title
- Authentication-results: sourceware.org; auth=none
- References: <CAOSUUSo-UMTJY0o5D1PBGix50NRvxmuzhTaTpqKtrOomCZBT0w at mail dot gmail dot com> <20140408145502 dot GA25569 at tastycake dot net> <CAEhDDbDvJkfWCw5X_6HUoGaW=H4m04CSLbJVbBeEs7S6eQZCtw at mail dot gmail dot com> <CAOSUUSoOTQX5=YAeBNYDo_7yL9M1FGUDrM0sBSp8nw-f0w8sXA at mail dot gmail dot com>
Hi xmoon,
Please don't top-post (http://cygwin.com/acronyms/#TOFU)
On Wed, Apr 9, 2014 at 10:25 AM, xmoon 2000 wrote:
> @Csaba Yes - that works.
>
> Actually that's a big help - because within my looping bash script
> that is keeping the window title up/changing until scripts stops .
> Which is perfect.
When you have a long-running script, you don't need to call sleep; you
can set the title and then run the script. When the script ends, the
title will be reset by PS1.
A more permanent solution could be this script:
http://www.twistedmatrix.com/users/glyph/preexec.bash.txt
It will change the terminal title to the running command without you
having to explicitly set it.
Csaba
--
GCS a+ e++ d- C++ ULS$ L+$ !E- W++ P+++$ w++$ tv+ b++ DI D++ 5++
The Tao of math: The numbers you can count are not the real numbers.
Life is complex, with real and imaginary parts.
"Ok, it boots. Which means it must be bug-free and perfect. " -- Linus Torvalds
"People disagree with me. I just ignore them." -- Linus Torvalds
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple