lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Message-ID: <Pine.LNX.4.64.0809040822440.19666@shark.he.net>
Date:	Thu, 4 Sep 2008 08:28:07 -0700 (PDT)
From:	"Randy.Dunlap" <rdunlap@...otime.net>
To:	Nir Tzachar <nir@...char.com>
cc:	"Randy.Dunlap" <rdunlap@...otime.net>,
	Bartlomiej Zolnierkiewicz <bzolnier@...il.com>,
	Nir Tzachar <tzachar@...us.cs.bgu.ac.il>,
	linux-kernel@...r.kernel.org, zippel@...ux-m68k.org,
	linux-kbuild@...r.kernel.org
Subject: Re: [PATCH] ncurses based config

On Thu, 4 Sep 2008, Nir Tzachar wrote:

> Good morning.
> 
> Sorry for the delay, it was night here...
> 
> > Hi,
> > >
> > > On Wednesday 03 September 2008, Nir Tzachar wrote:
> > > > 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.
> > >
> > > Could you please tell what kernel version is it against?
> >
> > It applies cleanly to 2.6.27-rc5-git4 FWIW.
> >
> 
> I based the patch on current git tree. Is a more stable version preferable?

No, that's fine.

> >
> > > I'm getting the following error on make nconfig (and also on make
> > menuconfig
> > > which works fine without this patch) with the current Linus' tree:
> > >
> > >   HOSTCC  scripts/kconfig/conf.o
> > >   HOSTCC  scripts/kconfig/kxgettext.o
> > >   HOSTCC  scripts/kconfig/nconf.o
> > >   HOSTCC  scripts/kconfig/zconf.tab.o
> > > scripts/kconfig/zconf.tab.c: In function ÿÿconf_parseÿÿ:
> > > scripts/kconfig/zconf.tab.c:2258: warning: implicit declaration of
> > function ÿÿmenu_initÿÿ
> > >   HOSTLD  scripts/kconfig/nconf
> > > scripts/kconfig/nconf arch/x86/Kconfig
> > > make[1]: *** [nconfig] Segmentation fault
> > > make: *** [nconfig] Error 2
> >
> > Need to change all /menu_init/ in zconf.tab.c* to /_menu_init/.
> >
> 
> I believe the patch does change these lines.

Perhaps the patch was missing some pieces then.  It does not
contain any changes to the zconf* files.

> >
> > Need to strip trailing whitespace on new source code lines.
> >
> 
> scripts/checkpatch.pl did not report anything here. Maybe git-email-send
> messed up the patch??

Too bad.

quilt reported several of those when I applied the patch.
AFAIK, git also will report that.

These lines have trailing spaces:

57:+nconf-objs  := nconf.o zconf.tab.o 
85:+HOSTLOADLIBES_nconf = -lmenu -lpanel -lform -lncurses 
86:+HOSTCFLAGS_nconf.o  = 
87:+LDFLAGS_nconf.o     = 

> > I'm seeing cyan (?) foreground on black background.  Is that the colors
> > that were planned?
> >
> 
> > Instructions are dark blue on black -- cannot read them.
> >
> 
> Well, colors were never my strong point ;) If someone can come up with a
> better color scheme I'll be more than happy to change.

-- 
~Randy

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ