Re: [PATCH] nconfig v5

Randy Dunlap
2009-11-07T01:09:42Z

On Fri, 6 Nov 2009 11:12:32 -0800 Randy Dunlap wrote:

> On Fri, 6 Nov 2009 10:36:54 +0200 nir.tzachar@gmail.com wrote:
>
> > From: Nir Tzachar <nir.tzachar@gmail.com>
> >
> > 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.
> >
> > Attached is a reworked version of nconfig. The old menuconfig navigation scheme
> > was dropped, and function keys are used for special choices. Arrows are used in
> > a more intuitive fashion for menu navigation.
> >
> > 1) The old menuconfig bottom menu was dropped in favor of function keys (which
> > are interchangeable with regular numbers).
> > 2) Arrows are used for navigation, such that <left> always goes back one menu
> > and <right> enters a sub-menu.
> > 3) The exit sequence has been improved, such that it is possible to cancel the
> > exit if there are pending changes and resume editing.
> > 4) All dialog boxes have an <OK> button, which is used to exit the dialog.
> > 5) A 'show all symbols' option has been added, similarly to xconfig.
> >
> > Please condsider this version as a proper replacement for menuconfig.
> > Cheers, Nir.
> >
> > Signed-off-by: Nir Tzachar <nir.tzachar@gmail.com>

> When I use F7 to exit, the program hangs. I have to kill it.
> I don't see any error messages.
> (I'm testing this on a 2.6.32-rc6 kernel source tree).
>
> ncurses-5.6-41
> ncurses-devel-5.6-41

More user/usability/testing comments:

- sometimes nconfig repaints the kconfig menu list, moving it upward or
downward. I find this undersirable.

- after F5/Save + filename entered, the OK prompt is difficult to see
if the entire screen (window) contains kconfig menu items

- make complains with:

GEN /local/linsrc/lnx-2632-rc6/zz64/Makefile
scripts/kconfig/conf -s arch/x86/Kconfig
Using /local/linsrc/lnx-2632-rc6 as source for kernel
/local/linsrc/lnx-2632-rc6 is not clean, please run 'make mrproper'
in the '/local/linsrc/lnx-2632-rc6' directory

because
$ make ARCH=x86_64 O=zz64 defconfig
creates an empty include/config/ directory.

---
~Randy