Problems running make menuconfig

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I cloned the latest linux-2.6 tree using git and tried to do make menuconfig,   
and the ncurses navigation keys do not act as expected, instead they output control characters to screen.
I did a lot of testing and searching on the matter and have concluded that my ncurses library/dev files are correctly installed

Linux foo 2.6.26-1-686 #1 SMP Mon Dec 15 18:15:07 UTC 2008 i686 GNU/Linux (Debian lenny)
Machine Type: i486-pc-linux-gnu
GNU bash, version 3.2.39(1)-release (i486-pc-linux-gnu)
libncurses version 5.7

Description:
 
    make menuconfig works in the following cases:
     - sudo make menuconfig
     - su - ; make menuconfig
     - running in a zsh shell
     - running in a screen
     - running within a 'bash --posix' shell
     - strace make menuconfig
     - ltrace make menuconfig

    However it does not work when running make menuconfig as a normal unprivileged user.
    Tried the following things that result in the same behaviour:
     - Different terminals, xterm, rxvt
     - Different settings in $TERM (xterm/linux/vt100)
     - text-console

I also tried running make menuconfig on a different tree on another machine with the same version of bash, which works.
I did not have the chance to test it on the latest snapshot.

Also the environment when running is as myself, root or using sudo is the same, no differences in SHELL, TERM, LANG etc

No differences in 'stty -a'

libncursesspeed 38400 baud; rows 60; columns 180; line = 0;
intr = ^C; quit = ^\; erase = ^?; kill = ^U; eof = ^D; eol = <undef>; eol2 = <undef>; swtch = <undef>; start = ^Q; stop = ^S; susp = ^Z; rprnt = ^R; werase = ^W; lnext = ^V;
flush = ^O; min = 1; time = 0;
-parenb -parodd cs8 -hupcl -cstopb cread -clocal -crtscts
-ignbrk brkint ignpar -parmrk -inpck -istrip -inlcr -igncr icrnl ixon -ixoff -iuclc -ixany imaxbel -iutf8
opost -olcuc -ocrnl onlcr -onocr -onlret -ofill -ofdel nl0 cr0 tab0 bs0 vt0 ff0
isig icanon iexten echo echoe echok -echonl -noflsh -xcase -tostop -echoprt echoctl echoke

I have exhausted all my options and I am hoping someone here will be able to shed some more light into this matter.
I see no reason why it would work running under strace or in a screen (as the same user with the same environment)
except maybe a race condition somewhere.

--
Rune V. Sjoen
You always pass failure on the way to success

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux