lkml.org 
[lkml]   [2009]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
SubjectRe: nconfig v7
From
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@medozas.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@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2009-12-14 14:49    [W:0.079 / U:0.432 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site