This is the mail archive of the cygwin@cygwin.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Anyone using cygwin=title ?


Hi!

Wednesday, 31 October, 2001 Christopher Faylor cgf@redhat.com wrote:

CF> On Wed, Oct 31, 2001 at 10:09:19AM +0300, egor duda wrote:
>>Wednesday, 31 October, 2001 Stephan Mueller smueller@microsoft.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@logos-m.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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]