lynx-dev
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: lynx-dev naked escapes (was Vlad's suggestions)


From: Klaus Weide
Subject: Re: lynx-dev naked escapes (was Vlad's suggestions)
Date: Sun, 7 Mar 1999 12:51:06 -0600 (CST)

On Sun, 7 Mar 1999, Philip Webb wrote:

> 990307 Klaus Weide wrote: 
> > a naked ESC doesn't do anything useful *anywhere* in lynx.
>  
> on this IRIX 5.3 + curses + kermit , Esc + key  sometimes does something:

I'd call that a dressed ESC...

>  l = s = NEXT_PAGE      t = PREV_DOC
>  m = w = y = HOME       u = HELP
>  p = GOTO               v = ACTIVATE
>  q = END                x = PREV_LINK
>  r = NEXT_LINK

Various ESC + key sequences are "recognized" as escape sequences for
keys from some keyboards, see `PUBLIC int LYgetch_for' in LYStrings.c.
But the code isn't even always invoked: not for slang(+USE_KEYMAP),
not if the sequence is recognized at the curses keymap() level.
So it's not reliable.

THe LYgetch_for code also means that (*if* it gets invoked) lynx
*waits* for the next char - there's no way to get the ESC char alone
processed further.

(Try it during loading - with partial display on or not - one ESC
effectively halts whatever lynx is doing, a second ESC can be used
to resume.  But that's just accidental, probably doesn't act this way
with slang.)

(And if you want to KEYMAP something to ESC (0x1b) - try it - it
may work, but only on the second ESC.)

    Klaus

reply via email to

[Prev in Thread] Current Thread [Next in Thread]