From owner-freebsd-current Tue Jan 9 13:25:58 1996 Return-Path: owner-current Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id NAA08201 for current-outgoing; Tue, 9 Jan 1996 13:25:58 -0800 (PST) Received: from miller.cs.uwm.edu (miller.cs.uwm.edu [129.89.9.13]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id NAA08194 for ; Tue, 9 Jan 1996 13:25:55 -0800 (PST) Received: (from james@localhost) by miller.cs.uwm.edu (8.7.3/8.7.3) id PAA05709 for current@freebsd.org; Tue, 9 Jan 1996 15:25:49 -0600 Date: Tue, 9 Jan 1996 15:25:49 -0600 From: Jim Lowe Message-Id: <199601092125.PAA05709@miller.cs.uwm.edu> To: current@freebsd.org Subject: Overloaded PRINTER variable in bsd.doc.mk? Sender: owner-current@freebsd.org Precedence: bulk It seems that the PRINTER environment variable in bsd.doc.mk has several uses. One use is for the groff/eqn -T and the other is for lpr -P. One other use for this is the way I use the PRINTER environment variable, namely to set up my default printer. If I don't unsetenv PRINTER before a I do a make in the doc src directory, it tries to ``groff -Tlp'' everything -- which of course fails miserably. This problem has been around for a while. Would it be possible to change the name of this environment variable in the bsd.doc.mk file to something other than PRINTER. It could possibly use two types of default devices (one for groff and one for lpr). PRINTER is probably fine for lpr, but not for the default groff/eqn type (possibly PRINTER_TYPE would be a good choice?). -Jim