From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 18323 invoked from network); 10 Feb 2009 18:25:36 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 10 Feb 2009 18:25:36 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 53113 invoked from network); 10 Feb 2009 18:25:30 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 10 Feb 2009 18:25:30 -0000 Received: (qmail 15697 invoked by alias); 10 Feb 2009 18:25:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26544 Received: (qmail 15687 invoked from network); 10 Feb 2009 18:25:25 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 10 Feb 2009 18:25:25 -0000 Received: from cork.scru.org (cork.scru.org [209.20.67.2]) by bifrost.dotsrc.org (Postfix) with ESMTPS id 8F3AF80271F0 for ; Tue, 10 Feb 2009 19:25:21 +0100 (CET) Received: by cork.scru.org (Postfix, from userid 1000) id 6AC5A1040FD; Tue, 10 Feb 2009 18:25:19 +0000 (UTC) Date: Tue, 10 Feb 2009 18:25:19 +0000 From: Clint Adams To: martin f krafft , 514767@bugs.debian.org Cc: zsh-workers@sunsite.dk Subject: Re: Bug#514767: lp can print PDF files, but completion offers only PS with relative paths Message-ID: <20090210182519.GA19120@scru.org> Mail-Followup-To: martin f krafft , 514767@bugs.debian.org, zsh-workers@sunsite.dk References: <20090210175430.GA4133@piper.oerlikon.madduck.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20090210175430.GA4133@piper.oerlikon.madduck.net> User-Agent: Mutt/1.5.18 (2008-05-17) X-Virus-Scanned: ClamAV 0.92.1/8976/Tue Feb 10 15:04:25 2009 on bifrost X-Virus-Status: Clean On Tue, Feb 10, 2009 at 06:54:30PM +0100, martin f krafft wrote: > While > > lp /tmp/bla > > correctly suggests bla.pdf, doing > > lp ../bla > > from a subdir in /tmp does not work: > > piper:/tmp/orbit-madduck% lp ../ #10004 > PostScript file > crontab.XPNG6K/ crontab.rVhVNx/ gpg-oorgbS/ lost+found/ ssh-wzKtD26287/ ssh-yAbsSs4771/ Presumably many printing systems can handle other types of files as well. Index: Completion/Unix/Command/_lp =================================================================== RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_lp,v retrieving revision 1.3 diff -u -r1.3 _lp --- Completion/Unix/Command/_lp 17 May 2001 18:14:18 -0000 1.3 +++ Completion/Unix/Command/_lp 10 Feb 2009 18:24:03 -0000 @@ -47,6 +47,6 @@ fi return 1 else - _ps + _pspdf fi fi