juman <[EMAIL PROTECTED]> wrote Tue, Feb 28, 2006:
> I am a frequent user of elinks and one thing I really like and would
> like to know a bit more about is the mouse support. I use a pure Linux
> console through SSH using the Windoze software putty. Running Elinks I
> can still click on the links on a page to access them even though I am
> running it all through putty. Could someone point me to where in the
> sourcecode such events are handled or any information on the net that
> explains how to do such a thing? I am writing a little GUI and would
> like to include similair features...
The lowlevel mouse "driver" code is mainly in src/osdep/unix.c (GPM on
linux) and src/osdep/bsd.c (sysmouse on BSD). On top of that is
src/terminal/mouse.* which is used by src/terminal/kbd.c to generate
events through src/terminal/event.*. Search for CONFIG_MOUSE in
src/viewer/text or src/bfu to get an idea of how the mouse events are
done.
--
Jonas Fonseca
___
elinks-dev mailing list
elinks-dev@linuxfromscratch.org
http://linuxfromscratch.org/mailman/listinfo/elinks-dev