From owner-freebsd-ports Fri May 4 8:48: 0 2001 Delivered-To: freebsd-ports@freebsd.org Received: from heinz.jollem.com (c104187.upc-c.chello.nl [212.187.104.187]) by hub.freebsd.org (Postfix) with ESMTP id 8805237B422; Fri, 4 May 2001 08:47:56 -0700 (PDT) (envelope-from ernst@heinz.jollem.com) Received: (from ernst@localhost) by heinz.jollem.com (8.11.3/8.11.3) id f44Fk4g88583; Fri, 4 May 2001 17:46:04 +0200 (CEST) (envelope-from ernst) Date: Fri, 4 May 2001 17:46:04 +0200 From: Ernst de Haan To: Joerg Wunsch Cc: ports@FreeBSD.ORG, chuckr@FreeBSD.ORG, andreas@FreeBSD.ORG, bug-a2ps@gnu.org Subject: Re: Suggest to make a2ps /not/ print by default Message-ID: <20010504174604.B88562@c187104187.telekabel.chello.nl> References: <20010502114410.J50864@uriah.heep.sax.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20010502114410.J50864@uriah.heep.sax.de>; from j@uriah.heep.sax.de on Wed, May 02, 2001 at 11:44:10AM +0200 Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Sounds valid to me. +1 (although I know this is not a democracy) Ernst J Wunsch wrote: > Hello world, > > i suggest that we apply the attached patch to our a2ps FreeBSD > port(s), which will make it send its file to stdout as opposed to the > printer by default. > > Sending the file by default to the printer is (IMHO): > > . counter-intuitive; the name a2ps suggests that the tool converts > ASCII (plus other files) to Postscript, but it by no means gives a > hint that it would print something without asking, > > . violating the Unix way; we've got pipes, and people are used to use > them when they want to print something (IMHO there isn't even a good > reason for adding all the -P bloat to a2ps at all, but of course, i > don't suggest changing _that_), > > . contradictionary to all the documentation about a2ps since the docs > tell you that it would only start printing if a -P or -c option is > being provided, > > . a waste of paper for the brave user who starts the program in the > innocent assumption to get just a Postscript file out of it. > > My main concern (and that's why i would like the entire list and not > just the port's maintainer) is that some dependant port (like > apsfilter) might already rely on this feature. > > Please send me a Cc for any discussion, i'm not subscribed to the > ports list. > > I've also Cc'ed bug-a2ps@gnu.org for their information, but folks over > there, if you reply, please do it to /me only/ and don't start an > endless discussion along with all the people on the FreeBSD ports list! > -- > cheers, J"org .-.-. --... ...-- -.. . DL8DTL > > http://www.sax.de/~joerg/ NIC: JW11-RIPE > Never trust an operating system you don't have sources for. ;-) > --- lib/printers.c.orig Tue Oct 12 00:01:59 1999 > +++ lib/printers.c Wed May 2 11:23:25 2001 > @@ -315,8 +315,8 @@ > res->ppd = NULL; /* Printer's ppd are not read yet */ > > /* Output */ > - /* Default is to send to default printer */ > - res->flag_output_is_printer = true; > + /* Default is to send to stdout */ > + res->flag_output_is_printer = false; > res->flag_output_name = NULL; > res->output_is_file = true; > res->output_name = NULL; -- Ernst de Haan Java Architect Jollem Information Technology "Come to me all who are weary and burdened and I will give you rest" -- Jesus Christ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message