Re: nconfig v7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx> 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-kbuild" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux&nblp;USB Development]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite Secrets]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux