[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <9b2db90b0912140545i158cc4b5o9cd72feca9e8983f@mail.gmail.com>
Date: Mon, 14 Dec 2009 15:45:56 +0200
From: Nir Tzachar <nir.tzachar@...il.com>
To: Jan Engelhardt <jengelh@...ozas.de>
Cc: Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
linux-kbuild@...r.kernel.org
Subject: Re: nconfig v7
Please try this patch. It should solve both of the problems you reported.
diff --git a/scripts/kconfig/nconf.c b/scripts/kconfig/nconf.c
index 8c56150..cab6bb0 100644
--- a/scripts/kconfig/nconf.c
+++ b/scripts/kconfig/nconf.c
@@ -984,7 +984,7 @@ static void build_conf(struct menu *menu)
break;
default:
tmp = 2 + strlen(sym_get_string_value(sym));
- item_make(menu, 's', "(%s)",
+ item_make(menu, 's', " (%s)",
sym_get_string_value(sym));
tmp = indent - tmp + 4;
if (tmp < 0)
@@ -1072,8 +1072,8 @@ static void show_menu(const char *prompt, const
char *instructions,
/* position the menu at the middle of the screen */
scale_menu(curses_menu, &maxy, &maxx);
- maxx = min(maxx, mwin_max_cols);
- maxy = mwin_max_lines-1;
+ maxx = min(maxx, mwin_max_cols-2);
+ maxy = mwin_max_lines-2;
menu_window = derwin(main_window,
maxy,
maxx,
On Mon, Dec 14, 2009 at 2:26 PM, Jan Engelhardt <jengelh@...ozas.de> wrote:
> On Monday 2009-12-14 06:41, Nir Tzachar wrote:
>
>>>>> - I get a visual glitch (see Exhibit A below) in General setup (patch
>>>>> slapped onto 2.6.32); the left frame part is missing.
>>>>
>>>>I cannot reproduce this. Can you provide some more details? (e.g.,
>>>>which terminal, $LINES, $COLUMNS, $TERM)
>>>
>>> xterm -bg black -fg gray -geometry 80x25
>>
>>I cannot reproduce this on any of my systems. Any idea how to
>>proceed?? Can you also send a snapshot?
>>
>
> Add this to the top of arch/x86/Kconfig:
>
> config VERY_LONG_CONFIGURATION_OPTION
> bool "With a very long long description, you see where this is going"
>
> to reproduce the effect on ARCH=x86.
>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists