From owner-freebsd-questions Wed Jan 7 09:16:24 1998 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id JAA16476 for questions-outgoing; Wed, 7 Jan 1998 09:16:24 -0800 (PST) (envelope-from owner-freebsd-questions) Received: from mail.netcetera.dk (root@sleipner.netcetera.dk [194.192.207.2]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id JAA16469 for ; Wed, 7 Jan 1998 09:16:19 -0800 (PST) (envelope-from leifn@image.dk) Received: (from uucp@localhost) by mail.netcetera.dk (8.8.8/8.8.8) with UUCP id SAA23738 for freebsd-questions@freebsd.org; Wed, 7 Jan 1998 18:14:55 +0100 Received: by swimsuit.swimsuit.roskildebc.dk (0.99.970109) id AA08322; 07 Jan 98 18:14:17 +0100 From: leifn@image.dk (Leif Neland) Date: 07 Jan 98 15:52:00 +0100 Subject: bug in unix-lpr.sh/gsif in ghostscript 5.10 Message-ID: <816_9801071814@swimsuit.swimsuit.roskildebc.dk> Organization: Fidonet: UNIX-sysadm søger job To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Two mistakes are found in the unix-lpr.sh filter from ghostscript 5.10: *** unix-lpr.sh.org Wed Jan 7 15:31:31 1998 --- unix-lpr.sh Wed Jan 7 15:31:01 1998 *************** *** 14,22 **** # but it may be restored by commenting out the lines referring to # 'gsoutput' and uncommenting the lines referring to 'gspipe'. # PBMPLUSPATH=/usr/local/bin ! PSFILTERPATH=/usr/local/lib/ghostscript LOCALPATH=/usr/local/bin X11HOME=/usr/X11R6 --- 14,22 ---- # but it may be restored by commenting out the lines referring to # 'gsoutput' and uncommenting the lines referring to 'gspipe'. # PBMPLUSPATH=/usr/local/bin ! PSFILTERPATH=/usr/local/share/ghostscript LOCALPATH=/usr/local/bin X11HOME=/usr/X11R6 *************** The port installs the filter in /usr/local/share/ghostscript *** 72,78 **** fi bpp="`echo ${device} | sed 's/.*\.\([0-9][0-9]*\)$/\1/'`" ! if test "$bppspec" = "${device}" then bpp=1 else --- 72,78 ---- fi bpp="`echo ${device} | sed 's/.*\.\([0-9][0-9]*\)$/\1/'`" ! if test "$bpp" = "${device}" then bpp=1 else ------------------- "$bpp" is the right one. Leif Neland leifn@image.dk --- |Fidonet: Leif Neland 2:234/49 |Internet: leifn@image.dk