* make menuconfig regression in 2.6.19-rc
@ 2006-11-14 0:37 Phil Oester
2006-11-14 8:16 ` Oleg Verych
2006-11-20 23:36 ` Roman Zippel
0 siblings, 2 replies; 5+ messages in thread
From: Phil Oester @ 2006-11-14 0:37 UTC (permalink / raw)
To: linux-kernel
In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
color scheme was changed to bluetitle. This breaks the highlighting
of the selected item for me with TERM=vt100. The only way I can see
which item is selected is via:
make MENUCONFIG_COLOR=mono menuconfig
Which restores the pre-2.6.19 white on black highlighting.
Sam?
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make menuconfig regression in 2.6.19-rc
2006-11-14 0:37 make menuconfig regression in 2.6.19-rc Phil Oester
@ 2006-11-14 8:16 ` Oleg Verych
2006-11-14 19:00 ` Phil Oester
2006-11-20 23:36 ` Roman Zippel
1 sibling, 1 reply; 5+ messages in thread
From: Oleg Verych @ 2006-11-14 8:16 UTC (permalink / raw)
To: Phil Oester; +Cc: LKML, Oleg Verych
Hallo.
Phil Oester wrote:
> In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
> color scheme was changed to bluetitle. This breaks the highlighting
> of the selected item for me with TERM=vt100. The only way I can see
> which item is selected is via:
>
> make MENUCONFIG_COLOR=mono menuconfig
>
> Which restores the pre-2.6.19 white on black highlighting.
Classic theme also doesn't work, and this commit doesn't look like
changing anything in it.
Thus, i think, just export variable with working theme (mono) on your
exotic setup.
> Sam?
If you want answer from busy developers, try to add their e-mail next
time.
> Phil
____
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make menuconfig regression in 2.6.19-rc
2006-11-14 8:16 ` Oleg Verych
@ 2006-11-14 19:00 ` Phil Oester
0 siblings, 0 replies; 5+ messages in thread
From: Phil Oester @ 2006-11-14 19:00 UTC (permalink / raw)
To: Oleg Verych, sam; +Cc: LKML
On Tue, Nov 14, 2006 at 08:16:33AM +0000, Oleg Verych wrote:
> Phil Oester wrote:
> > In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
> > color scheme was changed to bluetitle. This breaks the highlighting
> > of the selected item for me with TERM=vt100. The only way I can see
> > which item is selected is via:
> >
> > make MENUCONFIG_COLOR=mono menuconfig
> >
> > Which restores the pre-2.6.19 white on black highlighting.
>
> Classic theme also doesn't work, and this commit doesn't look like
> changing anything in it.
>
> Thus, i think, just export variable with working theme (mono) on your
> exotic setup.
Hmm...vt100 is exotic? If only you'd told me that 20 years ago ;-)
> > Sam?
>
> If you want answer from busy developers, try to add their e-mail next
> time.
Thanks for the tip.
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make menuconfig regression in 2.6.19-rc
2006-11-14 0:37 make menuconfig regression in 2.6.19-rc Phil Oester
2006-11-14 8:16 ` Oleg Verych
@ 2006-11-20 23:36 ` Roman Zippel
2006-11-21 0:13 ` Phil Oester
1 sibling, 1 reply; 5+ messages in thread
From: Roman Zippel @ 2006-11-20 23:36 UTC (permalink / raw)
To: Phil Oester; +Cc: linux-kernel
Hi,
On Mon, 13 Nov 2006, Phil Oester wrote:
> In commit 350b5b76384e77bcc58217f00455fdbec5cac594, the default menuconfig
> color scheme was changed to bluetitle. This breaks the highlighting
> of the selected item for me with TERM=vt100. The only way I can see
> which item is selected is via:
>
> make MENUCONFIG_COLOR=mono menuconfig
>
> Which restores the pre-2.6.19 white on black highlighting.
Could you try the patch below?
bye, Roman
---
scripts/kconfig/lxdialog/util.c | 16 +++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)
Index: linux-2.6-mm/scripts/kconfig/lxdialog/util.c
===================================================================
--- linux-2.6-mm.orig/scripts/kconfig/lxdialog/util.c
+++ linux-2.6-mm/scripts/kconfig/lxdialog/util.c
@@ -221,16 +221,14 @@ static void init_dialog_colors(void)
*/
static void color_setup(const char *theme)
{
- if (set_theme(theme)) {
- if (has_colors()) { /* Terminal supports color? */
- start_color();
- init_dialog_colors();
- }
- }
- else
- {
+ int use_color;
+
+ use_color = set_theme(theme);
+ if (use_color && has_colors()) {
+ start_color();
+ init_dialog_colors();
+ } else
set_mono_theme();
- }
}
/*
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: make menuconfig regression in 2.6.19-rc
2006-11-20 23:36 ` Roman Zippel
@ 2006-11-21 0:13 ` Phil Oester
0 siblings, 0 replies; 5+ messages in thread
From: Phil Oester @ 2006-11-21 0:13 UTC (permalink / raw)
To: Roman Zippel; +Cc: linux-kernel
On Tue, Nov 21, 2006 at 12:36:10AM +0100, Roman Zippel wrote:
> Could you try the patch below?
>
> bye, Roman
Yes, that restores the menu highlighting. Thanks Roman.
Phil
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2006-11-21 0:13 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-11-14 0:37 make menuconfig regression in 2.6.19-rc Phil Oester
2006-11-14 8:16 ` Oleg Verych
2006-11-14 19:00 ` Phil Oester
2006-11-20 23:36 ` Roman Zippel
2006-11-21 0:13 ` Phil Oester
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox