Date: Fri, 6 Jul 2012 10:35:16 +0200 From: Olivier Smedts <olivier@gid0.org> To: Mateusz Guzik <mjguzik@gmail.com> Cc: hackers@freebsd.org, Doug Barton <dougb@freebsd.org>, Mike Meyer <mwm@mired.org> Subject: Re: Pull in upstream before 9.1 code freeze? Message-ID: <CABzXLYNZQVjrBbTha_bLrfKC=As3g5n50PmYA6F4TqfXF2FCdA@mail.gmail.com> In-Reply-To: <20120706002142.GA28915@dft-labs.eu> References: <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> <CABzXLYOmG96-V3YHS=0pvKPU0DDF-EtoHBbaAwpuSAFz-nj_-A@mail.gmail.com> <20120706002142.GA28915@dft-labs.eu>
next in thread | previous in thread | raw e-mail | index | archive | help
2012/7/6 Mateusz Guzik <mjguzik@gmail.com>: > and add a hook to the shell that prints the following: > Command foo not found. Run pkg whatever foo to obtain list of ports/packages > providing this program. > > No overhead, the message is not too long and can be disabled if someone > finds it offensive. > > Does this sound reasonable? Just a better error message providing useful advices... no additional process launched to crawl a huge database... Sure, this sounds reasonable to me ! -- Olivier Smedts _ ASCII ribbon campaign ( ) e-mail: olivier@gid0.org - against HTML email & vCards X www: http://www.gid0.org - against proprietary attachments / \ "Il y a seulement 10 sortes de gens dans le monde : ceux qui comprennent le binaire, et ceux qui ne le comprennent pas."
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CABzXLYNZQVjrBbTha_bLrfKC=As3g5n50PmYA6F4TqfXF2FCdA>