lkml.org 
[lkml]   [2006]   [Jul]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH/RFC] kconfig/lxdialog: make lxdialof a built-in
Date
On Friday 28 July 2006 16:59, Sam Ravnborg wrote:
> > > The double ESC ESC thing I dunno how to fix.
> >
> > I think the easiest would be to just ignore the first ESC, it matches the
> > documented behaviour and e.g. mc has the same behaviour. The delay of the
> > single ESC makes it a bit annoying/confusing to use, so that sticking to
> > the double ESC is IMO safer.
> > I played with it a little and below is an example, which implements this
> > behaviour for the menu window.
>
> Thanks - will implment this for all the dialog_* functions.

I don't like "double ESC" idea at all.

I am a Midnight Commander user and I use "old ESC mode"
where single ESC works after a delay.

I patched mc to look at KEYBOARD_KEY_TIMEOUT_US environment variable
so that delay is configurable (instead of hardcoded 0.5 second one).
Will push the patch to mc-devel.

25 millisecond timeout works just fine on local ttys, serial lines,
and over ssh. So I am setting KEYBOARD_KEY_TIMEOUT_US=25000.
--
vda
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2006-07-30 14:47    [W:0.070 / U:0.260 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site