Re: Question, Reproducible Error

Kalle Olavi Niemitalo <[email protected]>
Newsgroups gmane.comp.web.links
Message-ID <[email protected]>
Lydgate  <[email protected]> writes:

> One question: is it possible to map the higher mouse buttons 4, 5, etc., 
> to back and forward to elinks running in xterm?  I ask because elinks 
> seems very capable of interpreting 1 2 and 3.  Would the solution be at 
> an elinks, xterm, or X (e.g. xbindkeys) level?

According to xterm-215/ctlseqs.txt, xterm can send press events
for mouse buttons 1-5 and release events for buttons 1-3.  Xterm
does not define escape sequences for other mouse buttons and it
is not obvious how they should be defined.  I think the easiest
solution would be to configure xterm to make the mouse buttons
send the same escape sequences as some function keys (e.g. ESC [
25 ~ for what ELinks thinks is Shift+F3) and then map those
function keys to the appropriate actions within ELinks.

http://linuxfromscratch.org/pipermail/links-list/2001-April/000996.html
(which sets a *VT100.Translations resource to remap the mouse buttons)
was already mentioned to you but you wrote it doesn't work for buttons
6 and 7.  This appears to be limitation in libxt-1.0.0/src/TMparse.c,
which supports only five mouse buttons.  I don't know how difficult
that would be to fix.  You may be able to work around the limit
by renumbering the buttons with xmodmap.

> Also, I'm getting every time I try to load this page:
>
> www.pcquest.com/content/linux/2005/105041202.asp

Thanks.  http://bugzilla.elinks.cz/show_bug.cgi?id=927

_______________________________________________
elinks-dev mailing list
[email protected]
http://linuxfromscratch.org/mailman/listinfo/elinks-dev
signature.asc (application/pgp-signature, 188 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFFvHiWHm9IGt60eMgRAtmYAJ9tQ5TJzEFCZneT4g4500KNlKu1AwCg3lbB
is6vykcPvT0g1J5rZOVxulA=
=hZXa
-----END PGP SIGNATURE-----
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.