--- Begin Message ---
Subject: |
Port of curses to Linux |
Date: |
Tue, 17 Dec 2002 11:43:56 -0500 |
Dear Mr. Ben-Halim, Mr. Raymond, Mr. Padala,
I am not sure where to send this letter, and so my apologies if it is
mis-directed.
I have had some problems with the curses mouse events and think that
there may be a problem with my ncurses.h
(the header says Id$: curses.h in v 1.97, 2000/12/10.)
When the event.bstate is tested against BUTTON1_PRESSED, etc, the tests
always fail. I discovered in the ncurses.h file that the macros are all
declared to be longs (e.g. 00000040000L). I wonder if they are supposed to
be hex (e.g. 0x000000400000). The documentation for the mousemask indicates
that these are to be used as bit masks. I am reluctant to change the
ncurses.h file, since I don't know the extent of the implications of doing
this.
Jane Anderson
--- End Message ---