From owner-freebsd-hackers@FreeBSD.ORG Thu Jul 5 15:13:50 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8017C1065672 for ; Thu, 5 Jul 2012 15:13:50 +0000 (UTC) (envelope-from m.seaman@infracaninophile.co.uk) Received: from smtp.infracaninophile.co.uk (smtp6.infracaninophile.co.uk [IPv6:2001:8b0:151:1:3cd3:cd67:fafa:3d78]) by mx1.freebsd.org (Postfix) with ESMTP id E1EF08FC18 for ; Thu, 5 Jul 2012 15:13:49 +0000 (UTC) Received: from seedling.black-earth.co.uk (seedling.black-earth.co.uk [81.187.76.163]) (authenticated bits=0) by smtp.infracaninophile.co.uk (8.14.5/8.14.5) with ESMTP id q65FDjIK075112 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Thu, 5 Jul 2012 16:13:45 +0100 (BST) (envelope-from m.seaman@infracaninophile.co.uk) X-DKIM: OpenDKIM Filter v2.5.2 smtp.infracaninophile.co.uk q65FDjIK075112 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=infracaninophile.co.uk; s=201001-infracaninophile; t=1341501226; bh=I64u7nR03WH9yDt8BrZ/xytBVCQSrjku/L/8qm23XH8=; h=Date:From:To:CC:Subject:References:In-Reply-To:Content-Type: Message-ID:Mime-Version; b=TlveYQcnGXE2yCdyeHGoxkJz5awxZD2D4EhVoeWMfHg8aPlzInivNP8CHto1YoAY/ 0hmrC6Qn8AWAScygCshODGY54HFYFzNsR/iWHfqiucm4kTAdPsmbcVNa3mp1AGrrJ3 2kaV7n/+11eRVfRLcDXkgEikRNUFJ4K5hUvN7j+g= Message-ID: <4FF5AF22.9000908@infracaninophile.co.uk> Date: Thu, 05 Jul 2012 16:13:38 +0100 From: Matthew Seaman User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:13.0) Gecko/20120614 Thunderbird/13.0.1 MIME-Version: 1.0 To: Sean References: <4FF2E00E.2030502@FreeBSD.org> <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <20120704185104.GA42355@DataIX.net> <4FF4B36A.2040608@FreeBSD.org> <20120704180134.7c649e1b@bhuda.mired.org> <4FF4BEED.10103@FreeBSD.org> <9fab855109ce448d89081b2ad8e5adc8@HUBCAS2.cs.stonybrook.edu> <4FF58257.4040301@gentoo.org> <38FB993D-6EB4-49BF-9790-420F7375E331@gothic.net.au> In-Reply-To: <38FB993D-6EB4-49BF-9790-420F7375E331@gothic.net.au> X-Enigmail-Version: 1.4.2 OpenPGP: id=60AE908C Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig011733AE6EE00F0ED49D0F32" X-Virus-Scanned: clamav-milter 0.97.5 at lucid-nonsense.infracaninophile.co.uk X-Virus-Status: Clean X-Spam-Status: No, score=-1.8 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00, DKIM_ADSP_ALL,DKIM_SIGNED,T_DKIM_INVALID autolearn=no version=3.3.2 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on lucid-nonsense.infracaninophile.co.uk Cc: freebsd-hackers@freebsd.org, Richard Yao Subject: Re: Gentoo Solution to Nanny Terminal Problem X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Jul 2012 15:13:50 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig011733AE6EE00F0ED49D0F32 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable On 05/07/2012 15:58, Sean wrote: >=20 > On 05/07/2012, at 10:02 PM, Richard Yao wrote: >> >> The second is the e-file command, which will query that database for >> whatever follows it. For example, if I want to find out which package >> installs repoman, I can do `e-file repoman`. I can also do `e-file >> /usr/bin/repoman`. >> >> if FreeBSD had an equivalent to this command, this command, then I >> imagine that calls for Ubuntu/Fedora features should cease. Gentoo use= rs >> seem to be happy with e-file. >> >=20 >=20 > 0:55 Fri 06-Jul sean@queen [~] pkg_info -W bash > /usr/local/bin/bash was installed by package bash-4.2.28 >=20 > 0:57 Fri 06-Jul sean@queen [~] pkg_info -W /usr/local/sbin/sendmail=20 > /usr/local/sbin/sendmail was installed by package postfix-2.9.3,1 Not the same thing. Richard's command doesn't need the packages to be installed first. It's answering "what package should I install to get this program?" rather than "what package did this program come from?" Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 7 Priory Courtyard Flat 3 PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate JID: matthew@infracaninophile.co.uk Kent, CT11 9PW --------------enig011733AE6EE00F0ED49D0F32 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG/MacGPG2 v2.0.16 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk/1rykACgkQ8Mjk52CukIxEbwCfUO0h3CnJUxQ7OyarzLn/mHOk rpwAn1/tQFMfZidTsSBYI68NLSEJH1Rp =NJfM -----END PGP SIGNATURE----- --------------enig011733AE6EE00F0ED49D0F32--