set Cygwin terminal title
Csaba Raduly
rcsaba@gmail.com
Thu Apr 10 07:32:00 GMT 2014
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
More information about the Cygwin
mailing list