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 <[EMAIL PROTECTED]> http://invisible-island.net ftp://invisible-island.net ; To UNSUBSCRIBE: Send "unsubscribe lynx-dev" to [EMAIL PROTECTED]
