Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Dec 2001 09:04:08 +0100
From:      Andreas Klemm <andreas@FreeBSD.org>
To:        Warner Losh <imp@harmony.village.org>
Cc:        Erik Trulsson <ertr1013@student.uu.se>, Steve Price <steve@FreeBSD.org>, Andreas Klemm <andreas@FreeBSD.org>, 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>
In-Reply-To: <200112172140.fBHLeDM79393@harmony.village.org>
References:  <20011217201850.A21347@student.uu.se> <200112171847.fBHIlbP69769@freefall.freebsd.org> <20011217130555.J72144@bsd.havk.org> <200112172140.fBHLeDM79393@harmony.village.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011218080408.GA19780>