Date: Sat, 8 May 2004 21:27:42 +0100 From: Matthew Seaman <m.seaman@infracaninophile.co.uk> To: Kai Grossjohann <kai@emptydomain.de> Cc: freebsd-questions@freebsd.org Subject: Re: Built-in lpr vs CUPS Message-ID: <20040508202742.GA93217@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <871xlu3lk5.fsf@emptyhost.emptydomain.de> References: <871xlu3lk5.fsf@emptyhost.emptydomain.de>
next in thread | previous in thread | raw e-mail | index | archive | help
--7AUc2qLy4jB3hD7Z Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, May 08, 2004 at 06:55:54PM +0200, Kai Grossjohann wrote: > The default setup is to include /usr/bin before /usr/local/bin in > $PATH. This means that entering "lpr -Pfoo" doesn't work for printing > on my machine, I have to say "/usr/local/bin/lpr -Pfoo". >=20 > It is obvious that I could change $PATH to mention /usr/local/bin > before /usr/bin, but is that the right solution? Surely there is a > reason for /etc/login.conf to mention /usr/bin first. Most of the system assumes it's using the utilities that come with it: ie. the contents of /usr/bin. Equivalently named programs could well be installed into /usr/local/bin, and those need not behave exactly the same, so for consistencies' sake, having /usr/bin first is generally better. However, that's not always what's required, and putting /usr/local/bin before /usr/bin in your path might be the right solution for certain user accounts. (Real users, not system ones) =20 > Any thoughts are very much appreciated. An alternative is to set up some shell aliases for those commands: % alias lpr /usr/local/bin/lpr Cheers, Matthew --=20 Dr Matthew J Seaman MA, D.Phil. 26 The Paddocks Savill Way PGP: http://www.infracaninophile.co.uk/pgpkey Marlow Tel: +44 1628 476614 Bucks., SL7 1TH UK --7AUc2qLy4jB3hD7Z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQFAnUK+iD657aJF7eIRAs3YAKCkOScu3C+QOd9cLdpXdJCLb/wIbwCePq/Y iyWhusWtQYAuJMi8lGAr/9g= =n8q7 -----END PGP SIGNATURE----- --7AUc2qLy4jB3hD7Z--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040508202742.GA93217>