delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/03/31/20:06:39

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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 <pechtcha AT cs DOT nyu DOT edu>
Reply-To: cygwin AT cygwin DOT com
To: Randall R Schulz <rrschulz AT cris DOT com>
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: <Pine.GSO.4.44.0303311959110.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

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 <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>".
> > >
> > > 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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019