delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/11/01/06:34:45

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Thu, 1 Nov 2001 14:31:35 +0300
From: egor duda <deo AT logos-m DOT ru>
X-Mailer: The Bat! (v1.53 RC/4)
Reply-To: egor duda <cygwin AT cygwin DOT com>
Organization: deo
X-Priority: 3 (Normal)
Message-ID: <573962782.20011101143135@logos-m.ru>
To: Christopher Faylor <cygwin AT cygwin DOT com>
Subject: Re: Anyone using cygwin=title ?
In-Reply-To: <20011031111436.B6446@redhat.com>
References:
<F8268126BF427A409936A83B6B86338703F0ED2F AT red-msg-01 DOT redmond DOT corp DOT microsoft DOT com>
<18047030826 DOT 20011031100919 AT logos-m DOT ru> <20011031111436 DOT B6446 AT redhat DOT com>
MIME-Version: 1.0

Hi!

Wednesday, 31 October, 2001 Christopher Faylor cgf AT redhat DOT com wrote:

CF> On Wed, Oct 31, 2001 at 10:09:19AM +0300, egor duda wrote:
>>Wednesday, 31 October, 2001 Stephan Mueller smueller AT microsoft DOT com wrote:
>>SM> Um, maybe I haven't played enough, but I don't believe that the title
>>SM> kludge can be implemented using the escape sequences.  For one thing,
>>SM> the prompt string is just a prompt string, and hence gets printed before
>>SM> you type anything, and not reprinted until the current command finishes.
>>SM> So, during the execution of a command, the title cannot be made to
>>SM> reflect the running command name, which is what it appears the
>>SM> title-kludge-in-CYGWIN-variable does.
>>
>>i had a patch which adds xterm-like title escape sequences to cygwin
>>console. i'll try to rework it to match current cvs tree and will post
>>it asap.

CF> Huh?  I added this some time ago.  Am I missing something?

oh, you're right. my memory certainly needs better ECC :). i meant
patch to terminfo so that applications can make use of this feature,
and i forgot that i submitted it in july, and Charles Wilson have
already released update version. Sorry for the confusion.

Answering to Stephan, i think that kludge in CYGWIN variable is useful
only when applications themselves cannot set title (and most
applications are supposed to use terminfo for that). Having this
functionality in "kernel" is unique cygwin feature, i guess. i've
heard of no other unix that doing anything similar. changing title is
a job for application, not kernel.

Egor.            mailto:deo AT logos-m DOT ru ICQ 5165414 FidoNet 2:5020/496.19


--
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