Re: [PATCH] nconfig: add search support

From: rdunlap
Date: Mon Aug 02 2010 - 17:22:35 EST


On Sun, August 1, 2010 12:20 am, nir.tzachar@xxxxxxxxx wrote:
> From: Nir Tzachar <nir.tzachar@xxxxxxxxx>
>
>
> Remove the old hotkeys feature, and replace by a regular string search.
> From nconfig help:
>
>
> Pressing '/' triggers search mode. nconfig does regular string match,
> case insensitive, starting at the begining of each menu line. Pressing
> Enter highlights the next match, Backspace removes one character from
> the match string. Pressing either '/' again or ESC exits search mode.
>
> Rebind the '/' key (which allowed to search for symbols) to F8
>
>
> Signed-off-by: Nir Tzachar <nir.tzachar@xxxxxxxxx>
> ---
> scripts/kconfig/nconf.c | 261
> ++++++++++++++++++++++-------------------------
> scripts/kconfig/nconf.h | 3 +- 2 files changed, 125 insertions(+), 139
> deletions(-)


A few other comments:

These help text lines should end with a period:

Pressing SpaceBar toggles between the above options

<Esc> always leaves the current window


The F-key help along the bottom line should be forced to fit
into 80 columns. F9 (exit) especially should be visible.


This F3 should be F5:

Press <Esc>, <F3> or <left-arrow> to go back one menu,


How about we make nconfig the default in linux-next
so that it will be used more?


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/