From owner-freebsd-ports Wed May 2 2:52:20 2001 Delivered-To: freebsd-ports@freebsd.org Received: from sax.sax.de (sax.sax.de [193.175.26.33]) by hub.freebsd.org (Postfix) with ESMTP id EF69237B422; Wed, 2 May 2001 02:52:15 -0700 (PDT) (envelope-from j@uriah.heep.sax.de) Received: (from uucp@localhost) by sax.sax.de (8.9.3/8.9.3) with UUCP id LAA06962; Wed, 2 May 2001 11:52:13 +0200 (CEST) Received: (from j@localhost) by uriah.heep.sax.de (8.11.3/8.11.3) id f429iA638350; Wed, 2 May 2001 11:44:10 +0200 (MET DST) (envelope-from j) Date: Wed, 2 May 2001 11:44:10 +0200 From: J Wunsch To: ports@freebsd.org, chuckr@freebsd.org Cc: andreas@freebsd.org, bug-a2ps@gnu.org Subject: Suggest to make a2ps /not/ print by default Message-ID: <20010502114410.J50864@uriah.heep.sax.de> Reply-To: Joerg Wunsch Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="tKW2IUtsqtDRztdT" X-Mailer: Mutt 1.0.1i X-Phone: +49-351-2012 669 X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F 93 21 E0 7D F9 12 D6 4E Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii 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. ;-) --tKW2IUtsqtDRztdT Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=patch-no_lpd --- 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; --tKW2IUtsqtDRztdT-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message