Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Jul 2012 18:55:19 -0400
From:      Jason Hellenthal <jhellenthal@dataix.net>
To:        Doug Barton <dougb@freebsd.org>
Cc:        hackers@freebsd.org, Mike Meyer <mwm@mired.org>
Subject:   Re: Pull in upstream before 9.1 code freeze?
Message-ID:  <20120704225519.GB19945@DataIX.net>
In-Reply-To: <4FF4BEED.10103@FreeBSD.org>
References:  <CA%2BQLa9B-Dm-=hQCrbEgyfO4sKZ5aG72_PEFF9nLhyoy4GRCGrA@mail.gmail.com> <4FF2E00E.2030502@FreeBSD.org> <86bojxow6x.fsf@ds4.des.no> <4FF35864.5030109@FreeBSD.org> <CAC8HS2Hx%2BqV1zYSzyM6wYzbyA6BStd3HEwc-VDhv40DHM=qCvw@mail.gmail.com> <CAOjFWZ5ikPz_yDhEQutiXVG354qRHYJTn-M_S4Cx-=YRgFP7eQ@mail.gmail.com> <20120704185104.GA42355@DataIX.net> <4FF4B36A.2040608@FreeBSD.org> <20120704180134.7c649e1b@bhuda.mired.org> <4FF4BEED.10103@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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 <dougb@FreeBSD.org> 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))



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120704225519.GB19945>