Date: Thu, 5 Jul 2012 11:11:10 +1000 From: Peter Jeremy <peter@rulingia.com> To: Mike Meyer <mwm@mired.org> Cc: "freebsd-hackers@freebsd.org" <freebsd-hackers@freebsd.org> Subject: Re: install-prompt for missing features (Was: Re: Pull in upstream before 9.1 code freeze?) Message-ID: <20120705011110.GA27618@server.rulingia.com> In-Reply-To: <20120704191008.0aa46225@bhuda.mired.org> References: <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> <4FF4CA45.7070502@rawbw.com> <4FF4CB54.1060004@FreeBSD.org> <20120704191008.0aa46225@bhuda.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--SUOF0GtieIMvvwua Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2012-Jul-04 19:10:08 -0400, Mike Meyer <mwm@mired.org> wrote: >My first thought was to suggest it be a port as well, but I'm not sure >that can be done sanely. The easiest way is probably to implement some form of generic "command not found" hook into sh(1) and tcsh(1) - in interactive mode, if a specific function exists, execute it rather than reporting an error message . The actual functionality to map a command name to a port and suggest it to the user could nten be implemented separately as a port and the user would enable it by adding the appropriate function definition to their .profile/.login/.[t]cshrc files. Note that I'm not currently interested in this functionality and am not volunteering to implement it. --=20 Peter Jeremy --SUOF0GtieIMvvwua Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.19 (FreeBSD) iEYEARECAAYFAk/06a4ACgkQ/opHv/APuIdfKgCfSrDHoOGa7sxQQjScRHMscwxU vK8AoIjrCDubpgDUunolPEBvjYYUFgpw =+pZr -----END PGP SIGNATURE----- --SUOF0GtieIMvvwua--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120705011110.GA27618>