command prompt window title

Thorsten Kampe thorsten@thorstenkampe.de
Mon Mar 31 23:12:00 GMT 2003


* Anoop Ghanwani (03-03-31 21:38 +0100)
> I'm running cygwin's latest version 1.3.22-1.  
> When I run cygwin from my desktop, it brings
> up a command prompt window with a title "Cygwin".
> I modified cygwin.bat to make my default shell
> tcsh.
> 
> Anyway, after I run vi, the window title changes
> to "vi <fname>" where <fname> is the file that
> I'm editing.  When I quit vi, the title of the
> window remains that way until I quit the window,
> or I use vi again with another file, in which
> case it changes to "vi <newfilename>".
> 
> When running things like gcc or make the window
> title doesn't get affected at all...it continues
> to show "Cygwin", unless I had previously run
> vi in that window.

Try title/notitle[1] and another shell (bash/zsh) and see what's 
happening.


Thorsten

[1] http://cygwin.com/cygwin-ug-net/using-cygwinenv.html
-- 
 Content-Type: text/explicit; charset=ISO-8859-666 (Parental Advisory)
 Content-Transfer-Warning: message contains innuendos not suited for
 children under the age of 18


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/



More information about the Cygwin mailing list