mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nir Tzachar <nir.tzachar@gmail.com>
To: Michal Marek <mmarek@suse.cz>
Cc: linux-kbuild@vger.kernel.org, linux-kernel@vger.kernel.org,
	sam@ravnborg.org, zippel@linux-m68k.org, andi@firstfloor.org,
	randy.dunlap@oracle.com, elendil@planet.nl, bn@niasdigital.com
Subject: Re: [PATCH] nconfig v7
Date: Mon, 30 Nov 2009 18:34:46 +0200	[thread overview]
Message-ID: <9b2db90b0911300834o2883851cxa89b9eff9e5e7fda@mail.gmail.com> (raw)
In-Reply-To: <4B13D951.8090907@suse.cz>

Hi Michal

On Mon, Nov 30, 2009 at 4:40 PM, Michal Marek <mmarek@suse.cz> wrote:
> On 25.11.2009 11:28, nir.tzachar@gmail.com wrote:
>> Hello.
>>
>> Attached bellow is version 7 of nconfig, an ncurses based replacement for
>> menuconfig. After a thorough overhaul, addressing all concerns raised in the
>> past by users on these lists, I would be happy if this version is favorably
>> considered for inclusion.
>>
>> Major changes since version 6:
>>
>> 1) un-selectable menu items have 'XXX' before them, to indicate the fact.
>> 2) there are three separate help menus: main help (bound to F1), symbol help
>>    (bound to F2 and 'h') and short instructions (bound to F3).
>
> Hi Nir,
>
> I tried it a few times, it's nice :). I get a few warnings about missing
> prototypes when compiling it:
>  HOSTCC  scripts/kconfig/nconf.gui.o
> scripts/kconfig/nconf.gui.c:23: warning: no previous prototype for
> ‘set_normal_colors’
> scripts/kconfig/nconf.gui.c:68: warning: no previous prototype for
> ‘normal_color_theme’
> scripts/kconfig/nconf.gui.c:100: warning: no previous prototype for
> ‘no_colors_theme’
>  HOSTCC  scripts/kconfig/nconf.o
> scripts/kconfig/nconf.c:455: warning: no previous prototype for
> ‘process_special_keys’
> scripts/kconfig/nconf.c:487: warning: no previous prototype for
> ‘get_next_hot’
> scripts/kconfig/nconf.c:506: warning: no previous prototype for ‘canbhot’
> scripts/kconfig/nconf.c:514: warning: no previous prototype for ‘is_hot’
> scripts/kconfig/nconf.c:522: warning: no previous prototype for ‘make_hot’
> scripts/kconfig/nconf.c:582: warning: no previous prototype for ‘item_make’
> scripts/kconfig/nconf.c:626: warning: no previous prototype for
> ‘item_add_str’
> scripts/kconfig/nconf.c:656: warning: no previous prototype for ‘item_tag’
> scripts/kconfig/nconf.c:668: warning: no previous prototype for
> ‘curses_item_index’
> scripts/kconfig/nconf.c:673: warning: no previous prototype for ‘item_data’
> scripts/kconfig/nconf.c:684: warning: no previous prototype for
> ‘item_is_tag’
> scripts/kconfig/nconf.c:691: warning: no previous prototype for
> ‘set_config_filename’

I'll try to fix these.

> These probably can be static. Oh, and when I suspend the program with
> Ctrl-Z, resume with 'fg' and hit an arrow key, the escape sequence is
> interpreted as a genuine ESC and it either jumps one menu level above or
> wants to exit the program. It happens to me both in xterm and
> gnome-terminal, ncurses version is 5.6. Can you see it as well or is
> there something broken on my side?

I get the same behavior on my system. Try changing the cbreak() in
nconfig.c to raw(), which will disable signal generation for ^Z and
^C.

> Other than that, I found no issues so far (except for the not really
> readable shortcut nOtation, but you say it's hard to fix, so let's
> forget about it for now). I'll use it a bit more and have a look at the
> code. For now, it is in git://repo.or.cz/linux-kbuild.git#for-review as is.

Thanks :)

> Michal
>

Cheers,
Nir.

      reply	other threads:[~2009-11-30 16:34 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-06  8:36 [PATCH] nconfig v5 nir.tzachar
2009-11-06 10:20 ` Frans Pop
2009-11-06 16:04 ` Valdis.Kletnieks
2009-11-06 18:52   ` Nir Tzachar
2009-11-06 19:12 ` Randy Dunlap
2009-11-07  1:07   ` Randy Dunlap
2009-11-07 14:07 ` [PATCH] nconfig v6 nir.tzachar
2009-11-07 22:10   ` Ben Nizette
2009-11-25 10:28   ` [PATCH] nconfig v7 nir.tzachar
2009-11-30 14:40     ` Michal Marek
2009-11-30 16:34       ` Nir Tzachar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=9b2db90b0911300834o2883851cxa89b9eff9e5e7fda@mail.gmail.com \
    --to=nir.tzachar@gmail.com \
    --cc=andi@firstfloor.org \
    --cc=bn@niasdigital.com \
    --cc=elendil@planet.nl \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mmarek@suse.cz \
    --cc=randy.dunlap@oracle.com \
    --cc=sam@ravnborg.org \
    --cc=zippel@linux-m68k.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®