X-Recipient: archive-cygwin@delorie.com X-Spam-Check-By: sourceware.org Date: Thu, 6 Aug 2009 00:47:07 -0400 From: Christopher Faylor To: cygwin@cygwin.com Subject: mintty doesn't run on NT4 due to lack of GetConsoleWindow Message-ID: <20090806044706.GA2009@ednor.casa.cgf.cx> Reply-To: cygwin@cygwin.com Mail-Followup-To: cygwin@cygwin.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.com I spent much of the day trying to resurrect my Windows NT4 system and now that I finall have it back, I just tried to run mintty and noticed that it seems to be using GetConsoleWindow. That's not allowed on NT4. I get an error that says: "The procedure entry point GetConsoleWindow could not be located in the dynamic link library KERNEL32.dll" This means that this entry point isn't available on Windows NT4. This also exposes a problem with Cygwin on NT4 since I removed the code which worked around this a while ago under the assumption that this was an NT-thing rather than a NT 2K thing. This means that CYGWIN=tty doesn't work on Windows NT4. Andy would it be possible to avoid calling this function when it isn't available? I'm going to put back the workaround code which used to be used on Windows 9x in Cygwin so you can steal that when I'm done if you'd like. cgf -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple