Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sources DOT redhat DOT com Delivered-To: mailing list cygwin AT sources DOT redhat DOT com X-MimeOLE: Produced By Microsoft Exchange V6.0.5762.0 Content-Class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Subject: RE: Anyone using cygwin=title ? Date: Thu, 1 Nov 2001 12:01:28 -0800 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Anyone using cygwin=title ? Thread-Index: AcFiyTsG/TdwOUDcTPuyKRBj+SER2QARYFiw From: "Stephan Mueller" To: "egor duda" X-OriginalArrivalTime: 01 Nov 2001 20:07:55.0260 (UTC) FILETIME=[E4D0CBC0:01C16310] Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id fA1KF5310344 It certainly seems like the terminfo and cygwin changes are all in, since the sequences do work in the title. I don't disagree that changing the title is a job for applications, not the kernel (recall my not losing any sleep if the hack feature goes away :-). The question here is which application? To get the current cygwin=title behaviour would require (I believe) bash to do the title setting, but I can't argue that it's worth changing bash for it either. My original reading of cgf's question was "Given the escape sequence mechanism, can I remove cygwin=title?". My original response to that was principally to point out that the escape sequences do not provide equivalent functionality; there's no way to do what cygwin=title does with the escape sequences. Can we lose it anyway? I'll leave that up to cgf. stephan(); -----Original Message----- From: egor duda [mailto:deo AT logos-m DOT ru] Sent: Thursday, November 01, 2001 3:32 AM To: Christopher Faylor Subject: Re: Anyone using cygwin=title ? 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 >>SM> title kludge can be implemented using the escape sequences. For >>SM> one thing, the prompt string is just a prompt string, and hence >>SM> gets printed before you type anything, and not reprinted until the >>SM> current command finishes. So, during the execution of a command, >>SM> the title cannot be made to reflect the running command name, >>SM> which is what it appears the 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/ -- 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/