From owner-freebsd-hackers@FreeBSD.ORG Wed Jul 4 22:55:26 2012 Return-Path: Delivered-To: hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id AC0301065670 for ; Wed, 4 Jul 2012 22:55:26 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-ob0-f182.google.com (mail-ob0-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id 01B6E8FC0A for ; Wed, 4 Jul 2012 22:55:25 +0000 (UTC) Received: by obbun3 with SMTP id un3so15603208obb.13 for ; Wed, 04 Jul 2012 15:55:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=ADlg80JKdooOkEYmHuNgwkyw4LxMZT3LbM1OOu/vWGM=; b=AdSow0yKffbg7L7sTdONcME2d5PSyNqLB7KerUW6bQZ4RdZma9iGniZjPP92ey0kmH LshqgpP5b67aXF0FSH5H6FrmNuiOmwTjf9kYr7FUY0Sf2e7uOO0FDWJMREKND2vOV5DG 1+Kc+vqUm6PDKlhg+SiTi4yIwF4WBs/ou3c3s= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to:x-gm-message-state; bh=ADlg80JKdooOkEYmHuNgwkyw4LxMZT3LbM1OOu/vWGM=; b=DochM28SnMtKR8ZRBEBO/9BNDT6ZUW/kv3aBKAAjt+ma0hYyNucMHCtD5YuqEDFTfR SeP5FmxwwbaVfCngKasKk3a1bsUbwaiuCKnRVzKdWzbh2lAWzWQ/+AsexZVzXRXQLzNt nMbqKGXAC5SVdIaYvgNRKTavbF7zsj7CtYid66gJMgMI78NwGoXyUTAAlY8ln2lxYXEY pmaJ0K9s1tzZJEWDtmloHB7ShMC3EFDoSW1ExN8BAMglyY1oRUWyNyh92roD39qjOlKe /S6S6KiJq8zhqE4ZI22PeyWT+rT70KeLr1xZFp9bwx/04GKjzqGNedoezbOD33Kdn/ro g6kA== Received: by 10.50.41.195 with SMTP id h3mr14591378igl.34.1341442525225; Wed, 04 Jul 2012 15:55:25 -0700 (PDT) Received: from DataIX.net (adsl-108-195-138-67.dsl.klmzmi.sbcglobal.net. [108.195.138.67]) by mx.google.com with ESMTPS id pp4sm31891557igb.5.2012.07.04.15.55.22 (version=TLSv1/SSLv3 cipher=OTHER); Wed, 04 Jul 2012 15:55:24 -0700 (PDT) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q64MtJB1023858 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 4 Jul 2012 18:55:19 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Received: (from jh@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q64MtJ6e023857; Wed, 4 Jul 2012 18:55:19 -0400 (EDT) (envelope-from jhellenthal@DataIX.net) Date: Wed, 4 Jul 2012 18:55:19 -0400 From: Jason Hellenthal To: Doug Barton Message-ID: <20120704225519.GB19945@DataIX.net> 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4FF4BEED.10103@FreeBSD.org> X-Gm-Message-State: ALoCoQlfQzehcPJ5RFT9TVgzWBrvv6Id/7fxiJSq0LG0zzH8KuCQJxkty90xMjfO+8etPklzjg3b Cc: hackers@freebsd.org, Mike Meyer Subject: Re: Pull in upstream before 9.1 code freeze? 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: Wed, 04 Jul 2012 22:55:26 -0000 On Wed, Jul 04, 2012 at 03:08:45PM -0700, Doug Barton wrote: > On 07/04/2012 15:01, Mike Meyer wrote: > > On Wed, 04 Jul 2012 14:19:38 -0700 > > Doug Barton wrote: > >> On 07/04/2012 11:51, Jason Hellenthal wrote: > >>> What would be really nice here is a command wrapper hooked into the > >>> shell so that when you type a command and it does not exist it presents > >>> you with a question for suggestions to install somewhat like Fedora has > >>> done. > >> I would also like to see this feature, which is pretty much universal in > >> linux at this point. It's very handy. > > > > I, on the other hand, count it as one of the many features of Linux > > that make me use FreeBSD. > > First, I agree that being able to turn it off should be possible. But I > can't help being curious ... why would you *not* want a feature that > tells you what to install if you type a command that doesn't exist on > the system? > Seeing as sudo plays a big part of this on the user end part I could see why someone would want to turn it off. But on the other hand it would be easy enough ... sudo wise ... to designate a %installgroup of users that install suggestions would be available to. So this shouldn't be a problem for those that want to disable it or never use it. Without in-depth knowledge of how it works I could suggest that shell completion and checking return codes from interactive shell commands has a lot to do with it and passing "the right stuff" to sudo. Ill have to look deeper into Fedora when I get a chance at some point. -- - (2^(N-1))