install-prompt for missing features (Was: Re: Pull in upstream
before 9.1 code freeze?)
Peter Jeremy
peter at rulingia.com
Thu Jul 5 01:11:19 UTC 2012
On 2012-Jul-04 19:10:08 -0400, Mike Meyer <mwm at 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.
--
Peter Jeremy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20120705/5d736256/attachment.pgp
More information about the freebsd-hackers
mailing list