[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev [PATCH 2.8.3.dev10] Key binding in lynx
From: |
Klaus Weide |
Subject: |
Re: lynx-dev [PATCH 2.8.3.dev10] Key binding in lynx |
Date: |
Wed, 17 Nov 1999 09:09:07 -0600 (CST) |
On Sat, 13 Nov 1999, Ilya Zakharevich wrote:
> > I'm not sure you know what you are talking about. How do I specify
> > > Control-Meta-Pageup in terminfo?
> >
> > I wrote (and you snipped):
> > >> Use .lynx-keymaps only if you really have to do something unusual
> > >> that isn't otherwise possible.
> >
> > I do consider wanting a binding for Control-Meta-Pageup as something
> > unusual [that isn't otherwise possible].
>
> Oh com'on! What is usual then? How do you specify Control-Left?
> Meta-Backspace? Alt-up? All the standard bindings used by the most
> programs which can grab them...
Well ask around how many people use such bindings for lynx, or feel a
need to use them.
If this were such a popular requirement, then I would expect lots of
people using .lynx-keymaps. I can't see much indication of that on
lynx-dev.
Is lynx a program that "can grab them"? It depends. There is no
standard way to transmit something like Control-Left over a serial line
or a telnet connection.
Anyway, I didn't say "useless". If you can use the stuff, fine. Core
functionality of lynx shouldn't depend on it, though.
> > How do I go over the shameful limits on the size of terminfo entries
> > > (put for compatibility with termcap? - maybe).
> >
> > Are they for real if you don't have a need for termcap emulation?
> > I don't think I've run into them.
>
> *How many* keys can one define in terminfo? With exception of
> function keys, I think it is 20 or somesuch. Even without using
> duplication of PgUp and PageUp even the most primitive keyborads of
> today have Tab Esc Enter Backspace + 4 arrows + 6 navigation keys + 4
> gray-+/* keys, and you need to multiply by 5 to get all "Normal"
> modifiers. And there are Alt-b etc (40 more) to cover...
Maybe you should talk to whoever maintains the terminfo standard (if
there is such a thing). It seems you aren't complainign about a limit
in size, but rather that there aren't any definitions for many keys
you would like to use.
Anyway, that being the case, there is no way to specify Control-Left
in a terminfo file (afaik). Which means everyone who wants to use
it with lynx (assuming it's possible at all to transmit something distinct
for Control-Enter from the keyboard to lynx) has to know the escape
sequence or similar and make their own tweaks in .lynx-keymaps. How
many people do?
Btw. Alt+[most letters] works fine for me in Lynx's lineeditor, without
any need for .lynx-keymap tweaks. (Alt sends ESC = Meta prefix),
Klaus