[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Kernel make nconfig not showing whole menu anymore
From: |
Milan P . Stanić |
Subject: |
Re: Kernel make nconfig not showing whole menu anymore |
Date: |
Thu, 22 Sep 2022 22:43:53 +0200 |
Hi,
I can confirm that same happens on alpine linux.
On Thu, 2022-09-22 at 18:08, tuxway+ncurses@posteo.de wrote:
> Hello together,
>
> after updating to the ncurses 6.3 patch 20220903 on Gentoo, I face the issue
> that running *make nconfig* on Kernel build results in a broken menu.
>
> I now only see on line, e.g.:
>
> ┌── Linux/x86 6.0.0-rc6 Kernel Configuration ────────────────
> │
> │ Kernel hacking --->
> │
> │
> │
> │
> │
>
>
> When moving around the other entries will be visible one by one.
> Every submenu shows the same issue.
>
> I checked the patch a bit and if I revert a change on the m_post.c (see diff
> at the end),
> the output works as before:
>
> ┌── Linux/x86 6.0.0-rc6 Kernel Configuration ─────────────────
> │
> │ General setup --->
> │ [*] 64-bit kernel
> │ Processor type and features --->
> │ [*] Mitigations for speculative execution vulnerabilities --->
> │ Power management and ACPI options --->
> │ Bus options (PCI etc.) --->
> │ Binary Emulations --->
>
>
> I tested this with the Gentoo sources and the rc6 release of the Linux
> kernel.
> I also use the latest ncurses release on Gentoo
> (see
> https://gitweb.gentoo.org/repo/gentoo.git/tree/sys-libs/ncurses/ncurses-6.3_p20220917-r1.ebuild).
>
> If I use *make menuconfig* instead of *nconfig*, I don't see any issues at
> all.
>
> I hope I've provided enough details.
>
> Best regards and thanks for the time and effort!
>
> Tuxway
>
> ---
>
> Diff which revert the change:
>
> diff --git a/menu/m_post.c b/menu/m_post.c
> index 85da64b6..aa95277d 100644
> --- a/menu/m_post.c
> +++ b/menu/m_post.c
> @@ -203,6 +203,7 @@ _nc_Draw_Menu(const MENU *menu)
> ITEM *item = menu->items[0];
> ITEM *lastvert;
> ITEM *hitem;
> + int y = 0;
> chtype s_bkgd;
>
> assert(item && menu->win);
> @@ -218,7 +219,6 @@ _nc_Draw_Menu(const MENU *menu)
> {
> do
> {
> - int y = 0;
> ITEM *lasthor;
>
> wmove(menu->win, y, 0);
>