[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Keys, an attempt to understand
From: |
dickey |
Subject: |
Re: lynx-dev Keys, an attempt to understand |
Date: |
Wed, 10 Feb 1999 05:21:56 -0500 (EST) |
>
> > from the djgpp.key file). Because the arrow keys and page[up/down]
> > keys have special handling in the lynx code, these values couldn't
> > be changed successfully (hence the need for the switch statement). I
>
> I'm not able to follow this. It doesn't matter if it's days or weeks
> down the line (I know your busy), but could you try explaining again.
>
> I think where I am misunderstanding (Klaus's explanation didn't quite
> sink in) is why it is necessary for Lynx to translate from the code
> received to some fixed value? Isn't it possible to convert, outside
as a coding convenience (those switch/case statements in Lynx's source
code rely on having a fixed set of known key symbols).
> of Lynx, the key codes to codes that Lynx expects (are the "norm")?
not really - they're interpreted from the keycode input on-the-fly.
> If this is all a question of portibility, I wonder if the switch
> statements could be handled in a separate module used for picking
> up and interpreting key input. Lynx proper, then, would have only
> one mapping scheme, not two.
>
> __Henry
--
Thomas E. Dickey
address@hidden
http://www.clark.net/pub/dickey
- Re: lynx-dev Re: Keys, an attempt to understand, (continued)
- Re: lynx-dev Keys, an attempt to understand, Henry Nelson, 1999/02/10
- Re: lynx-dev Keys, an attempt to understand,
dickey <=
- Re: lynx-dev Keys, an attempt to understand, Henry Nelson, 1999/02/15
- Re: lynx-dev Keys, an attempt to understand, dickey, 1999/02/15