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:[EMAIL PROTECTED]] Sent: Thursday, November 01, 2001 3:32 AM To: Christopher Faylor Subject: Re: Anyone using cygwin=title ? Hi! Wednesday, 31 October, 2001 Christopher Faylor [EMAIL PROTECTED] wrote: CF> On Wed, Oct 31, 2001 at 10:09:19AM +0300, egor duda wrote: >>Wednesday, 31 October, 2001 Stephan Mueller [EMAIL PROTECTED] >>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:[EMAIL PROTECTED] 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/
