delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/16/09:18:32

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Message-ID: <3AB21FB8.3B708AF0@ece.gatech.edu>
Date: Fri, 16 Mar 2001 09:14:16 -0500
From: "Charles S. Wilson" <cwilson AT ece DOT gatech DOT edu>
X-Mailer: Mozilla 4.75 [en] (WinNT; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Dan Levin <dan DOT levin AT mdh DOT se>
CC: CYGWIN <cygwin AT cygwin DOT com>
Subject: Re: Problem with scanw() in ncurses
References: <3AAF3338 DOT 2732C4FB AT mdh DOT se>

Known problem; no known explanation.  I think there's a note in the
release announcement that the test program
(/usr/bin/ncurses-test-dll/testscanw.exe) doesn't work; check
cygwin-announce archives.  This problem is not dll-related, because the
statically-linked version (/usr/bin/ncurses-test-stat/testscanw.exe)
also does not work. 

Debug results and patches gratefully and gleefully accepted.

--Chuck
cygwin ncurses maintainer

Dan Levin wrote:
> 
> Hello everybody !
> 
> I downloaded Cygwin yesterday and was delighted to find ncurses included
> ! I started a test with a bigger program that I originally wrote for
> Linux. It worked out fine - except for one thing. I could not read
> integers from the keyboard with 'scanw()' ! I was rather surprised, so I
> made a small test program that focuses on  function 'scanw()' in
> ncurses. This is how it looks:
> 

[code]

> 
> When I run it - I always get 0 as a result. If I don't initialize the
> variables 'a' and 'b' - I get a random number instead. I interpret this
> as the fact that 'scanw()' fails in putting the numbers I enter from the
> keyboard in 'a' and 'b' ! I've checked with gdb - with the same result !
> I've looked through the mail archives without finding a message
> concerning the same problem.
> 
> Platform: Win98SE on a DELL OptiplexGX1p
> 
> I'm rather eager to get ncurses working in Cygwin, since I think it
> would be a great environment for educational purposes in C/C++ (together
> with Emacs for Windows)!
> 
> Anybody got an idea !? Thanks in advance !

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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