James Rich wrote:


To do so we would probably need to create a function similar to tn5250_display_set_cursor_home() which would take as coordinates of the mouse click given to us from gpm. I'm not sure how gpm interacts with curses. If curses has mouse handling in it then there should be a way.

Well, I don't really know anything about curses/gpm interaction, but I do know that a) gpm depends on (n)curses, and b) "elinks" text-mode browser works with gpm...the gpm part appears to be in src/osdep/os_dep.c in the tgz. It doesn't seem too hard. (Famous last words) Perhaps it would be useful as a basis? Unfortunately, gpm and libgpm seem to have little if any documentation on using the library.


--
Alex Mauer

"First we thought the PC was a calculator. Then we found out how to turn
numbers into letters with ASCII -- and we thought it was a typewriter.
Then we discovered graphics, and we thought it was a television. With
the World Wide Web, we've realized it's a brochure." - Douglas Adams



_______________________________________________
This is the Linux 5250 Development Project (LINUX5250) mailing list
To post a message email: [EMAIL PROTECTED]
To subscribe, unsubscribe, or change list options,
visit: http://lists.midrange.com/mailman/listinfo/linux5250
or email: [EMAIL PROTECTED]
Before posting, please take a moment to review the archives
at http://archive.midrange.com/linux5250.



Reply via email to