nconfig: add search support
authorNir Tzachar <nir.tzachar@gmail.com>
Sun, 8 Aug 2010 13:50:06 +0000 (16:50 +0300)
committerMichal Marek <mmarek@suse.cz>
Mon, 16 Aug 2010 20:04:55 +0000 (22:04 +0200)
commita72f3e2b82eb26f43bed1f83beeeb47830918811
tree0735c997af4315ad5bea95a9b1d8acaaf5b557aa
parent3643f849d7da5c12da589beb03c12303fe79b841
nconfig: add search support

Remove the old hotkeys feature, and replace it by an interactive string
search.
From nconfig help:

Searching: pressing '/' triggers interactive search mode.
           nconfig performs a case insensitive search for the string
           in the menu prompts (no regex support).
           Pressing the up/down keys highlights the previous/next
           matching item. Backspace removes one character from the
           match string. Pressing either '/' again or ESC exits
           search mode. All other keys behave normally.

Miscellaneous other changes (including Rundy's and Justin's input).

Signed-off-by: Nir Tzachar <nir.tzachar@gmail.com>
Acked-by: Sam Ravnborg <sam@ravnborg.org>
Signed-off-by: Michal Marek <mmarek@suse.cz>
scripts/kconfig/nconf.c
scripts/kconfig/nconf.gui.c
scripts/kconfig/nconf.h