Apur-ee.110
net.general,NET.general
utzoo!duke!cincy!pur-ee!davy
Tue Jun 30 19:02:04 1981
Attn: curses.h users
Recently, I've been doing alot of toying atound with the cursor
control libraries (curses.h, ltermcap, lcurses, etc.). The other day I
discovered what seemed to be a bug in one of the routines, only I'm not sure
which one. I had declared 3 windows:
win1 = newwin(22, 7, 0, 0)
win2 = newwin(20, 5, 0, 0)
win3 = newwin(22, 73, 0, 6)
win2 was inside win1, in order that I might draw a box (using 'box()')
around win2 yet be able to clear it without erasing the box. Anyway, I
was trying to print a column of numbers in win2, such as:
xxx
xxx
For some reason though, the numbers always came out as
xxx
xxx
xxx
instead of all lined up. I initially thought that I was causing some prob-
lem with the scrolling, but I enlarged win2 so that I never came near the
bottom right corner. Anybody got any ideas why this happened??
-------
Also, are the routines likw 'mvprintw', etc. working yet? We've got two
curses.h files here (4.0 and 4.1 I guess), and I can't tell which one's the
new one.
-------
Finally, I'm curious as to what other people have been doing with the cursor
routines. I'm aware of 'rogue' and 'vi', but has anyone else come up with
something really neat?
-------
Dave Curry (pur-ee davy)
-----------------------------------------------------------------
gopher://quux.org/ conversion by John Goerzen <
[email protected]>
of
http://communication.ucsd.edu/A-News/
This Usenet Oldnews Archive
article may be copied and distributed freely, provided:
1. There is no money collected for the text(s) of the articles.
2. The following notice remains appended to each copy:
The Usenet Oldnews Archive: Compilation Copyright (C) 1981, 1996
Bruce Jones, Henry Spencer, David Wiseman.