delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/01/10:09:07

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: Tue, 1 Apr 2003 10:05:51 -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.20030331171501.02018990@pop3.cris.com>
Message-ID: <Pine.GSO.4.44.0304011002020.21921-100000@slinky.cs.nyu.edu>
Importance: Normal
MIME-Version: 1.0

On Mon, 31 Mar 2003, Randall R Schulz wrote:

> At 17:02 2003-03-31, you wrote:
> > > >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.
> > > [snip]
> > > 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
>
> Igor,
>
> OK, but then why did you tell me this:
>
> >This is an option of "vim" itself.  In vim, "help title".
> [snip]

Randall,

I was responding to your comment below:

> >On Mon, 31 Mar 2003, Randall R Schulz wrote:
> >
> > > It sounds to me like there's a script or other intervening command
> > > definition handling your invocation of "vi."

> [snip]
> Here's a clue. Vim's ":set title" and ":set notitle" work if I invoke
> Vim thusly:
>
> % TERM=xterm vi
>
> The title string is restored to it's initial value and reset to Vim's
> titlestring setting when Vim is suspended and resumed (resp.), too.

Isn't that what I said above? ;-)

> So it seems the termcap and / or terminfo descriptions for TERM=cygwin
> could have the necessary capabilities added (apparently identical to
> those used by xterm) so Vim could control the window title under the
> Cygwin console.
>
> Randall Schulz

Yep.  That's what I meant by "an incomplete terminfo entry for cygwin".
	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