From: Hongjiu Lu (hlu@phys1.physics.wsu.edu)
Date: 08/01/92


From: hlu@phys1.physics.wsu.edu (Hongjiu Lu)
Subject: Re: curses
Date: Sat, 1 Aug 1992 19:53:20 GMT

In article <fortony.712630133@murphy>, fortony@sonne.cso.uiuc.edu writes:
|>
|> Is anyone else having problems with curses? I've written a very short
|> program which should move an x up, down, left and right on the screen
|> depending on what key the user presses, but there are two problems:
|>
|> 1) sometimes, the x is written to the wrong place entirely (8 spaces
|> to the right of where it should, for instance)
|>
|> 2) endwin() invariably returns a non-zero value.
|>

Please take a look at the curse code. endwin () returns some garbage.
I believe lots of bsd code do something like this,

foo (....)
{
....
....
bar = temp; /* no `return' here. */
}

I tried to clear libinet.a in gcc 2.2.2d. I didn't get time for curses.

-- 
H.J.
Gcc/libc maintainer for Linux.