Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Authentication-Warning: slinky.cs.nyu.edu: pechtcha owned process doing -bs Date: Mon, 31 Mar 2003 20:02:13 -0500 (EST) From: Igor Pechtchanski Reply-To: cygwin AT cygwin DOT com To: Randall R Schulz cc: cygwin AT cygwin DOT com Subject: Re: command prompt window title In-Reply-To: <5.2.0.9.2.20030331152805.02b537d0@pop3.cris.com> Message-ID: Importance: Normal MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Mon, 31 Mar 2003, Randall R Schulz wrote: > At 15:19 2003-03-31, you wrote: > >On Mon, 31 Mar 2003, Randall R Schulz wrote: > > > > > Anoop, > > > > > > At 11:38 2003-03-31, you wrote: > > > > > > >... > > > > > > > >Anyway, after I run vi, the window title changes > > > >to "vi " where 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 ". > > > > > > It sounds to me like there's a script or other intervening command > > > definition handling your invocation of "vi." > > > > > > Please show us the output of "where vi" (assuming, as you state above, > > > that you're using tcsh). If you're using BASH, then show us the output > > > of "type -a vi". > > > > > > ... > > > > > > >Thanks, > > > >-Anoop > > > > > > Randall Schulz > > > >Randall, > > > >Most likely there is no wrapper script. This is an option of "vim" > >itself. In vim, "help title". > > Igor > > Igor, > > That explains why I could not find documentation for the "title / > notitle" command when Thorsten mentioned it: I looked in the man and > info documentation. > > However, in my Cygwin Vim I cannot get a title to show even when I > ":set titlestring=something" and ":set title". I tried suspending and > resuming Vim, too, but still no title. Vim --version" does indicate > that it was configured for "+title," so I'm uncertain what I'm doing > wrong that keeps me from getting a title. Maybe it's being displaced > through time and space to Anoop's system. > > Randall Schulz Randall, I believe the title/notitle Thorsten meant was the option in the CYGWIN environment variable, and had nothing to do with vim. As for vim, when TERM=cygwin, the title of the Cygwin console is not changed, but I think this is related to the incomplete terminfo entry for cygwin. If you set TERM=xterm (in the Cygwin console), vim *will* set the title (I used the example in "help 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! Knowledge is an unending adventure at the edge of uncertainty. -- Leto II -- 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/