[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
lynx-dev Patch for mouse in Slang
From: |
Eduardo Chappa |
Subject: |
lynx-dev Patch for mouse in Slang |
Date: |
Wed, 10 Apr 2002 21:23:51 -0700 (PDT) |
Hello,
Attached is a patch that I use (since lynx2.8.1) for mouse operations in
Lynx. When Lynx is compiled with Slang, the patch adds the following
functions:
* Middle button takes you to the bookmarks file.
* Clicking on empty parts of the screen makes the screen scroll. This is
not 100% true, here are the caveats related to this:
- When you click in the first line of the screen pine goes back one
screen, the same happens when you click in the last line (this is
normal Lynx behavior, I did nothing in this respect). With this
patch, intemediate scrolling is enabled, which means that
left clicking in different (empty parts) of the screen may move you
half a screen or two lines. The idea is that close to the top you
scroll more, close to the center you scroll less and you scroll in
the direction up or down according to which half of the screen you
click on.
- If you click on an empty part of the screen, Lynx changed its
behavior from doing nothing to moving the active link to the closest
link near the click. This was added after 2.8.1 (don't have the exact
reference to when this happened, though). This is not disabled by
this patch, instead, if a closest link is not found, the screen will
scroll, according to the position of the link. At first I found the
fact that Lynx moved the position of the active link annoying, but
quickly got accostumed to it, and learnt that if I needed to scroll I
needed to be careful where I clicked on the screen, I hope that
people who prefer to click to move the active link, won't find that
the fact that the screen scrolls annoying, when they click in an
incorrect part of the screen, and they learn the new behavior (which
I find very useful). In any case, it's easy to figure out where to
click in order to scroll, and where not to click.
Thank you for your consideration.
--
Eduardo
http://www.math.washington.edu/~chappa/pine/
lynx2.8.4.mouse.patch
Description: Patch for mouse
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- lynx-dev Patch for mouse in Slang,
Eduardo Chappa <=