Re: [PATCH] ncurses based config

Alejandro Riveira Fernández
2008-09-04T10:36:13Z

El Wed, 3 Sep 2008 22:11:16 +0300
"Nir Tzachar" <tzachar@nexus.cs.bgu.ac.il> escribió:

> This patch was inspired by the kernel projects page, where an ncurses
> replacement for menuconfig was mentioned (by Sam Ravnborg).
>
> Building on menuconfig, this patch implements a more modern look interface using
> ncurses and ncurses' satellite libraries (menu, panel, form). The implementation
> does not depend on lxdialog, which is currently distributed with the kernel.
>
> The only change outside of nconf.c is due to a name clash: both ncurses and
> lkc.h define a fucntion named menu_init(). I changed the internal version's
> name.
>
> Please consider the patch for merging. Comments are appreciated.

i apliedd your patches and the fixlet pointed out by Randy
rebased on todays git and the menu crashes when i select
help on Kernel Hacking>Spinlock and rw-...
is a Segmentation fault

>
> ---
> scripts/kconfig/Makefile | 16 +-
> scripts/kconfig/lkc.h | 2 +-
> scripts/kconfig/mconf.c | 2 +
> scripts/kconfig/menu.c | 2 +-
> scripts/kconfig/nconf.c | 1852 ++++++++++++++++++++++++++++++++++++++++++++++
> 5 files changed, 1871 insertions(+), 3 deletions(-)
> create mode 100644 scripts/kconfig/nconf.c
>