Pull in upstream before 9.1 code freeze?

Jason Hellenthal jhellenthal at dataix.net
Wed Jul 4 22:55:26 UTC 2012



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 at 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))


More information about the freebsd-hackers mailing list