-   Slackware (
-   -   make menuconfig format problem (

hussar 09-23-2006 01:02 PM

make menuconfig format problem
Because of some problems I am having getting the latest nvidia driver to compile and install (actually, it seems to compile; it's the install that won't work), I've compiled a new kernel. During that process, I tried to use menuconfig, but when I do, it does not format the screen correctly. When it first comes up, it seems like the whole menu list of options scrolls by from the bottom of the screen to the top. Then, I am left with strange characters (umlauted a's and o's, C's with the hook on the bottom, etc.) where the straight lines of menuconfig's dialog box should be. The middle of the box is empty until I use the arrow keys to move up or down through the list. As each item in the option list is selected, it appears on the screen. The Select, Exit and Help options appear as normal at the lower end of the screen.

I get this behavior even if I ssh in from another linux box. It is odd, but the only way that I can use menuconfig in its normal appearance is by logging into the linux box from a Win 2K machine using puTTY.

There is a possibility that this is connected to a recent change on my system to use UTF-8 character encoding. I am running -current, and I get this behavior whether using kernel or 2.6.18.

Any thoughts on a fix would be greatly appreciated.

liquidtenmilion 09-23-2006 01:18 PM

This is due to the UTF8 character encoding.

See, the ncurses included in slackware does NOT support utf8.

A simple solution is to do

LC_ALL="en_US" make menuconfig
instead of just make menuconfig, and it will work perfectly.

hussar 09-23-2006 01:23 PM

Yep, that got it! Thanks.

All times are GMT -5. The time now is 04:49 AM.