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.
Not objected by: ports@freebsd.org, maintainer
Submitted by: joerg
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.
Not objected by: ports@freebsd.org, maintainer
Hi,
by accident I found that a2ps dumps core if invoked with
options for the old a2ps version.
a2ps -f -F7.0
reproduces the problem. With the following patch the problem
seems to be cured.
The patches work.
Submitted by: Oliver Adler <oli@devsoft.devsoft.com>
previous commit message to bsd.port.mk, which said INSTALL_SHLIBS. Boo.)
Line up the rhs of variable assignments nicely. Remove a couple of extra
whitespaces while I'm here.
Suggested by: sobomax
FWIW, checkout of these things took 5+hrs, staying on the local
.freebsd.org net w/o hitting the 'net at all.
As promised,
$ time cvs ci
real 67m51.701s
user 0m1.250s
sys 0m5.345s
Changes `PS' to `PAPERSIZECNF' as I think it is more documenting. `PS'
will be taken to be PostScript by many (esp. in the context of printing)
This method removes the use of external programs to set `PAPERSIZECNF'.
share most files. Repository copy the default to explicitly named
directories to avoid any confusion. Greatly simplify the shared
Makefiles, since we are now in different subdirectories, we don't need
"a4-install" stuff.
While I'm here, consistently name the variables. Here are the
guidelines (master port is in brackets)
DOCFORMAT: [html] pdf ps
KONFONT: 14dot [16dot]
PAPERSIZE: a4 [letter] letterdj
RESOLUTION: 118 240 [300] 360 400 600
"math/r" has been copied to "R-a4" and "R-letter", to follow the
spirit of the original port. "japanese/kon" is renamed to "kon2-*",
since that seems to be the basename.
bsd.port.mk that will be committed soon, this will disable automatic
package building when PACKAGE_BUILDING is defined (so they can be
built from separate scripts).
These are no-ops for ordinary users (i.e., when PACKAGE_BUILDING is
not defined).