mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Nir Tzachar <nir.tzachar@gmail.com>
To: Jan Engelhardt <jengelh@medozas.de>
Cc: Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
	linux-kbuild@vger.kernel.org
Subject: Re: nconfig v7
Date: Mon, 14 Dec 2009 15:45:56 +0200	[thread overview]
Message-ID: <9b2db90b0912140545i158cc4b5o9cd72feca9e8983f@mail.gmail.com> (raw)
In-Reply-To: <alpine.LSU.2.01.0912141325220.21244@obet.zrqbmnf.qr>

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.
>

  reply	other threads:[~2009-12-14 13:46 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-12-11 19:55 Jan Engelhardt
2009-12-12 11:37 ` Michal Marek
2009-12-13  7:23 ` Nir Tzachar
2009-12-13 11:09   ` Jan Engelhardt
2009-12-13 11:55     ` Sam Ravnborg
2009-12-13 14:25       ` Jan Engelhardt
2009-12-13 17:28         ` Sam Ravnborg
2009-12-14  5:34           ` Nir Tzachar
2009-12-14  5:39     ` Nir Tzachar
2009-12-14  5:41     ` Nir Tzachar
2009-12-14 12:26       ` Jan Engelhardt
2009-12-14 13:45         ` Nir Tzachar [this message]
2009-12-14 13:51           ` Jan Engelhardt

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=9b2db90b0912140545i158cc4b5o9cd72feca9e8983f@mail.gmail.com \
    --to=nir.tzachar@gmail.com \
    --cc=jengelh@medozas.de \
    --cc=linux-kbuild@vger.kernel.org \
    --cc=linux-kernel@vger.kernel.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®