From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.43)
	id 1DtisJ-0003Nf-0k
	for garchives@archives.gentoo.org; Sat, 16 Jul 2005 09:22:23 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6G9LJe7026796;
	Sat, 16 Jul 2005 09:21:19 GMT
Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30])
	by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6G9Jf8C007956
	for <gentoo-dev@lists.gentoo.org>; Sat, 16 Jul 2005 09:19:41 GMT
Received: from c-24-10-82-41.hsd1.ca.comcast.net ([24.10.82.41] helo=phaenix.haell.com)
	by smtp.gentoo.org with esmtp (Exim 4.43)
	id 1Dtiq5-0007VK-RK
	for gentoo-dev@lists.gentoo.org; Sat, 16 Jul 2005 09:20:05 +0000
Received: by phaenix.haell.com (Postfix, from userid 1000)
	id 0CA8818E43B5; Sat, 16 Jul 2005 02:20:05 -0700 (PDT)
Date: Sat, 16 Jul 2005 02:20:05 -0700
From: Drake Wyrm <wyrm@haell.com>
To: gentoo-dev@lists.gentoo.org
Subject: Re: [gentoo-dev] Re: [gentoo-embedded] Interactive command
Message-ID: <20050716092005.GA20796@phaenix.haell.com>
Mail-Followup-To: gentoo-dev@gentoo.org
References: <1121294641.16275.40.camel@localhost> <1121317999.5993.27.camel@localhost> <1121342280.10953.20.camel@localhost> <200507142137.31455.jstubbs@gentoo.org> <1121352960.5971.60.camel@localhost>
Precedence: bulk
List-Post: <mailto:gentoo-dev@lists.gentoo.org>
List-Help: <mailto:gentoo-dev+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-dev+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-dev+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-dev.gentoo.org>
X-BeenThere: gentoo-dev@gentoo.org
Reply-to: gentoo-dev@lists.gentoo.org
Mime-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha1;
	protocol="application/pgp-signature"; boundary="dDRMvlgZJXvWKvBx"
Content-Disposition: inline
In-Reply-To: <1121352960.5971.60.camel@localhost>
X-Arch: athlon_tbird-gentoo-linux-gnu
X-Fnord: There is no conspiracy
X-Fortune: Please, won't somebody tell me what diddie-wa-diddie means?
User-Agent: Mutt/1.5.8i
X-Archives-Salt: 656aeeaf-5523-45f3-9a3b-0c5c529262cd
X-Archives-Hash: 794a56972427311c38b6353a322c7d61


--dDRMvlgZJXvWKvBx
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Kristian Benoit <kbenoit@opersys.com> wrote:
=20
> 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.

--=20
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

--dDRMvlgZJXvWKvBx
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iEYEARECAAYFAkLY0UUACgkQQWVmeKdhp/IgWACgpMYk4KIEGbVMg7cWWzc0v85i
NDsAoIg5qFaE/RRaDQxyaGz+4HYwvRJB
=ytfg
-----END PGP SIGNATURE-----

--dDRMvlgZJXvWKvBx--
-- 
gentoo-dev@gentoo.org mailing list