From owner-cvs-all Tue Dec 18 0:30:25 2001 Delivered-To: cvs-all@freebsd.org Received: from mail.du.gtn.com (mail.du.gtn.com [194.77.9.57]) by hub.freebsd.org (Postfix) with ESMTP id 2901037B41A; Tue, 18 Dec 2001 00:30:16 -0800 (PST) Received: (from uucp@localhost) by mail.du.gtn.com (8.11.0.Beta3/8.11.0.Beta3) id fBI8U8Y29343; Tue, 18 Dec 2001 09:30:08 +0100 (MET) >Received: (from andreas@localhost) by klemm.gtn.com (8.11.6/8.11.3) id fBI848119854; Tue, 18 Dec 2001 09:04:08 +0100 (CET) (envelope-from andreas) Date: Tue, 18 Dec 2001 09:04:08 +0100 From: Andreas Klemm To: Warner Losh Cc: Erik Trulsson , Steve Price , Andreas Klemm , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/print/apsfilter Makefile ports/print/apsfilter/files patch-bin::aps2file ports/print/apsfilter/scripts pre-configure Message-ID: <20011218080408.GA19780@titan.klemm.gtn.com> References: <20011217201850.A21347@student.uu.se> <200112171847.fBHIlbP69769@freefall.freebsd.org> <20011217130555.J72144@bsd.havk.org> <200112172140.fBHLeDM79393@harmony.village.org> Mime-Version: 1.0 Content-Disposition: inline In-Reply-To: <200112172140.fBHLeDM79393@harmony.village.org> User-Agent: Mutt/1.3.23.1i X-Operating-System: FreeBSD 4.4-STABLE SMP X-Disclaimer: A free society is one where it is safe to be unpopular Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="CE+1k2dSO48ffgeK" Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --CE+1k2dSO48ffgeK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Dec 17, 2001 at 02:40:13PM -0700, Warner Losh wrote: > In message <20011217201850.A21347@student.uu.se> Erik Trulsson writes: > : If you use tcsh or zsh (or presumably bash but I haven't tried that) th= is > : will indeed output "hello" to stdout. > : If you use /bin/sh it will instead complain that it cannot create > : /dev/stdout. > :=20 > : This is probably a bug in /bin/sh >=20 > csh works. But sh says: > $ echo hello > /dev/stdout > cannot create /dev/stdout: permission denied > $ ls -l /dev/stdout > crw-rw-rw- 1 root wheel 22, 1 Jun 18 2001 /dev/stdout Yes, that's it. I mainly used bash, because a) I don't know much of zsh b) I assumed, that most people have bash installed, since its been around for a long time and default Linux shell c) it worked with bash and I didn't wanted to make a shell contest out of it I wrote a mail to freebsd-hackers. But I was forced to make this change, since in apsfilter 7.0.1 we removed the "set -x" bits for debugging entirely. We now rely completely on "aps2file -D" for apsfilter troubleshooting. You then get print data to stdout and debugging commands of apsfilter shellscript to stderr without having to become root and edit the main apsfilter script. So I was forced to do something. Of course I would really appreciate that our /bin/sh gets fixed, since I generally don't like the bloat of the other shells for apsfilter execution. Best regards Andreas /// --=20 Andreas Klemm - Powered by FreeBSD Need a magic printfilter today ? http://www.apsfilter.org/ Songs from our band >> 64Bits << http://www.64bits.de Inofficial band pages with add-on stuff http://www.apsfilter.org/64bits.ht= ml --CE+1k2dSO48ffgeK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: Weitere Infos: siehe http://www.gnupg.org iD8DBQE8Hvh4d3o+lGxvbLoRApDxAKCAA4/azs7/cU4Vgw3XsGKZe+m/mQCfTNdM mFZkUZ58eM2CpAjmTt7hPn0= =3rTY -----END PGP SIGNATURE----- --CE+1k2dSO48ffgeK-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message