Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 (Tek) 9/28/84 based on 9/17/84; site tekig1.UUCP
Path: utzoo!watmath!clyde!burl!ulysses!allegra!mit-eddie!genrad!decvax!tektronix!tekig1!dont
From: dont@tekig1.UUCP (Don Taylor)
Newsgroups: net.lang.c
Subject: Curses HELP! Wanted
Message-ID: <1815@tekig1.UUCP>
Date: Mon, 7-Jan-85 22:09:53 EST
Article-I.D.: tekig1.1815
Posted: Mon Jan  7 22:09:53 1985
Date-Received: Wed, 9-Jan-85 02:57:14 EST
Organization: Tektronix, Beaverton OR
Lines: 16

X
     Could some generous person mail me a short note explaining what it is that
I am doing wrong.  I wrote a short program using curses, using another as an
example.  The example failed to do any input, but curses provides scanw(),
getstr(),  etc, so that should be no problem.  It seems that nothing I try will
make either work.  In desparation, I put an ordinary scanf() in place of the
scanw() and, except for moving the cursor without curses knowledge and messing
up a corner of the screen, it worked fine.  Scanw() on the other hand seems to
find almost anything other than what scanf() was perfectly happy to find.  The
manual claims 'scanw()    scanf through the standard screen', seems simple
enough for anyone.  The scanf() and scanw() use is identical.  The only calls
used are initscr(), clear(), standout(), mvprintw(), standend(), and refresh().
It's berkley 4.2, if it matters.
Thanks for any assistance.
Don Taylor
tektronix!tekig1!dont