From owner-freebsd-current@FreeBSD.ORG Thu Jun 24 08:30:40 2010 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 22462106566B for ; Thu, 24 Jun 2010 08:30:40 +0000 (UTC) (envelope-from dalroi@solfertje.student.utwente.nl) Received: from solfertje.student.utwente.nl (solfertje.student.utwente.nl [130.89.167.40]) by mx1.freebsd.org (Postfix) with ESMTP id C79258FC13 for ; Thu, 24 Jun 2010 08:30:39 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by solfertje.student.utwente.nl (Postfix) with SMTP id 387148063 for ; Thu, 24 Jun 2010 10:30:38 +0200 (CEST) Received: from hollewijn.internal (hollewijn.internal [10.236.150.4]) by solfertje.student.utwente.nl (Postfix) with ESMTP id 591D78061; Thu, 24 Jun 2010 10:30:27 +0200 (CEST) Mime-Version: 1.0 (Apple Message framework v1081) Content-Type: text/plain; charset=us-ascii From: Alban Hertroys In-Reply-To: <20100624092337.6bed1f45@ernst.jennejohn.org> Date: Thu, 24 Jun 2010 10:30:26 +0200 Content-Transfer-Encoding: 8bit Message-Id: <6E6E5D74-018C-4E65-80BD-BC9E5A71D4F8@solfertje.student.utwente.nl> References: <201006230238.06831.hselasky@c2i.net> <4C21AE18.4050400@icyb.net.ua> <201006230852.26536.hselasky@c2i.net> <4C21B170.2030903@icyb.net.ua> <4C21B383.2000602@icyb.net.ua> <20100623154531.GB31578@zod.isi.edu> <20100624011509.GI31578@zod.isi.edu> <20100624092337.6bed1f45@ernst.jennejohn.org> To: gljennjohn@googlemail.com X-Mailer: Apple Mail (2.1081) X-DSPAM-Result: Innocent X-DSPAM-Processed: Thu Jun 24 10:30:37 2010 X-DSPAM-Confidence: 1.0000 X-DSPAM-Probability: 0.0023 X-DSPAM-Signature: 909,4c2317ad286211131610927 X-DSPAM-Factors: 27, References*<201006230852.26536.hselasky, 0.40000, using+the, 0.40000, /usr/local/bin, 0.40000, From*Alban, 0.40000, 09+0700, 0.40000, system+>, 0.40000, References*c2i.net>+<4C21B170.2030903, 0.40000, Subject*FreeBSD+8.1, 0.40000, Mime-Version*Message, 0.40000, 18+Mar, 0.40000, 18+Mar, 0.40000, an, 0.40000, Cc*isi.edu>, 0.40000, from, 0.40000, I+guess, 0.40000, easier, 0.40000, of, 0.40000, of, 0.40000, References*icyb.net.ua>, 0.40000, References*icyb.net.ua>, 0.40000, though+it's, 0.40000, Message-Id*80BD, 0.40000, Subject*RC1+(solved)], 0.40000, Received*ESMTP, 0.40000, system+(7, 0.40000, them?, 0.40000, preceeds, 0.40000 Cc: freebsd-hackers@freebsd.org, freebsd-current@freebsd.org, Ted Faber Subject: Re: using cupsd instead of base lpr [was Re: [HEADS UP] Kernel modules don't work properly in FreeBSD 8.1-RC1 (solved)] X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Jun 2010 08:30:40 -0000 On 24 Jun 2010, at 9:23, Gary Jennejohn wrote: > On Wed, 23 Jun 2010 18:15:09 -0700 > Ted Faber wrote: > >> (/usr/local/bin/ preceeds /usr/bin in my path so I can use the lpr >> commands from cupsd, though it's evidently a bit of a dangerous idea.) >> > [trimmed Cc] > > I use cupsd and have these settings to get around using the base system > lp stuff: > > in /etc/src.conf - WITHOUT_LPR=yes > > and these symbolic links in /usr/bin > lrwxr-xr-x 1 root wheel 17 Mar 18 2009 /usr/bin/lp -> /usr/local/bin/lp > lrwxr-xr-x 1 root wheel 24 Mar 18 2009 /usr/bin/lpoptions -> /usr/local/bin/lpoptions > lrwxr-xr-x 1 root wheel 18 Mar 18 2009 /usr/bin/lpq -> /usr/local/bin/lpq > lrwxr-xr-x 1 root wheel 18 Mar 18 2009 /usr/bin/lpr -> /usr/local/bin/lpr > lrwxr-xr-x 1 root wheel 19 Mar 18 2009 /usr/bin/lprm -> /usr/local/bin/lprm > lrwxr-xr-x 1 root wheel 21 Mar 18 2009 /usr/bin/lpstat -> /usr/local/bin/lpstat > > and /usr/bin is _before_ /usr/local/bin in my PATH. Wouldn't it be easier to alias those commands instead of physically replacing them? In my .tcshrc I have: alias lp /usr/local/bin/lp alias lpq /usr/local/bin/lpq alias lpr /usr/local/bin/lpr alias lprm /usr/local/bin/lprm I only have /usr/local/bin/lpoptions on my system (7-STABLE), so I guess that's exclusive to CUPS, hence no need for me to alias it. Alban Hertroys -- Screwing up is an excellent way to attach something to the ceiling. !DSPAM:909,4c2317ad286211131610927!