Kristian Benoit <[EMAIL PROTECTED]> wrote:
 
> I just checked and pkg_config does not handle make menuconfig correctly
> either :( Probably a bug.

Sorry I didn't tune into this thread earlier...

Most ncurses-based tools, including most menuconfig scripts, need to be
attached to an interactive terminal in order to function properly. Some,
and you mentioned vim as an example, include code to find a terminal.
Some don't. Since emerge wraps everything for logging purposes, when you
run menuconfig, it's attached to a pipe. What you'll probably need to do
is something like

        make menuconfig 0</dev/tty 1>/dev/tty || die "wombats!"

which should attach dialog to your controlling terminal.

-- 
Batou: Hey, Major... You ever hear of "human rights"?
Kusanagi: I understand the concept, but I've never seen it in action.
  -- "Ghost in the Shell", Shirow Masamune

Attachment: pgpyiHUBK0ro4.pgp
Description: PGP signature

Reply via email to