www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/08/30/12:04:45

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
Date: Fri, 30 Aug 2002 12:04:29 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: more robust tty_list::allocate_tty
Message-ID: <20020830160429.GA3580@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <E17knsZ-0005L4-00 AT diver DOT doc DOT ic DOT ac DOT uk>
Mime-Version: 1.0
In-Reply-To: <E17knsZ-0005L4-00@diver.doc.ic.ac.uk>
User-Agent: Mutt/1.3.23.1i

On Fri, Aug 30, 2002 at 03:40:10PM -0000, Chris January wrote:
>This was destined for the cygwin-patches AT cygwin DOT com, but I can't post to 
>that list because I'm not subscribed from this address (and the webmail 
>interface I'm using doesn't allow you to change the From: header address).
>Please treat as if posted to cygwin-patches. Thanks.
>
>>>This small patch makes tty_list::allocate_tty more robust.  On Windows
>>>2000 and Windows XP it calls the new API function GetConsoleWindow.  On
>>>other platforms I've added a loop round FindWindow for cases where the
>>>system is heavily loaded and the console title doesn't change in time.
>>>(I've submitted a patch for the latter change before).

This is a nice change, but the preferred way of doing this is to use
autoload functionality.  Then we don't have to worry about adding a new
capability every time there is a new OS release.

I've checked in a modified version of this patch which does this.

I've wanted something like this in cygwin for a while.  I appreciate
your researching this.

Thanks!
cgf

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