Re: Mouse support?

Jonas Fonseca <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
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
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.