[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: lynx-dev Backspace and S-Lang
From: |
Thomas Dickey |
Subject: |
Re: lynx-dev Backspace and S-Lang |
Date: |
Wed, 19 Feb 2003 04:57:21 -0500 |
User-agent: |
Mutt/1.2.5i |
On Tue, Feb 18, 2003 at 11:58:39PM -0300, Fr?d?ric L. W. Meunier wrote:
> I don't know if it's a Lynx bug but it works fine with Midnight
> Commander compiled with the same S-Lang 1.4.8.
>
> When I press the Backspace key:
>
> S-Lang:
>
> User message: Trace ON!
> GETCH: Got 0x110.
> LYReadCmdKey(0) ->. (0x110)
>
> ncurses:
>
> User message: Trace ON!
> GETCH: Got 0x107.
> LYReadCmdKey(0) ->. (0x7f)
lynx maps KEY_BACKSPACE (0x107) to CH_DEL (0x7f).
slang doesn't define KEY_BACKSPACE. It does define
#define SL_KEY_BACKSPACE 0x110
(for your purpose, you can consider it a bug in lynx)
--
Thomas E. Dickey <address@hidden>
http://invisible-island.net
ftp://invisible-island.net
; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to address@hidden