delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1997/03/31/08:45:29

From: b DOT mcleod AT opengroup DOT org ("Bruce D. McLeod")
Subject: RE: Corrected patch to cygwin.dll + ncurses for termcaps
31 Mar 1997 08:45:29 -0800 :
Approved: cygnus DOT gnu-win32 AT cygnus DOT com
Distribution: cygnus
Message-ID: <2.2.32.19970331144454.009cee58.cygnus.gnu-win32@postman.osf.org>
Mime-Version: 1.0
X-Sender: mcleod AT postman DOT osf DOT org
X-Mailer: Windows Eudora Pro Version 2.2 (32)
Original-To: Sergey Okhapkin <sos AT prospect DOT com DOT ru>
Original-Cc: cygnus <gnu-win32 AT cygnus DOT com>
Original-Sender: owner-gnu-win32 AT cygnus DOT com

At 02:41 PM 3/29/97 +0300, Sergey Okhapkin wrote:
>Bruce D. McLeod wrote:
>> I compiled and installed cygwin.dll and ncurses with this patch,
>> but I get: Error opening terminal: w32ansi
>> when I run any of the test programs.  It accepts a TERM of ansi,
>> but the screen output is wrong.  Is w32ansi correct, and if so,
>> why might I be getting this error?  Thanks.
>
>Did you reinstall terminfo database after applying this patch? This works
nice for me.

I had alot of terminfo problems.  I was getting "use resolution failed on"
errors for many terminal types.  I know nothing about terminfo, but it
looks like the cross-referencing of the 'use' inclusions is failing.
I think it has something do to with the immedhook stuff in tic.c, but I
didn't get far on that investigation.
   Feeling desparate, I commented out the nc_resolve_uses call in tic.c.
It would then successfully generate the w32asci file in terminfo/W, but
I would get the "Error opening terminal" error.  Stepping through, the
code thinks that file is corrupt.  I hacked around with the terminfo.src
file and found that if I took out the "kdch1=\E[3~" clause, the file was
accepted, but then my screen output is bogus.  The test program worm just
screens by continually.
   Any ideas?  I suspect the "use resolution" error is the root of the
problem.

Bruce

-
For help on using this list, send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019