[comp.sources.bugs] v13i019: VN newsreader, 1/88 version, Part01/05

mb@camcon.uucp (Mike Bell) (02/18/88)

From article <373@fig.bbn.com>, by rsalz@bbn.com (Rich Salz):
> Submitted-by: Bob Mcqueer <amdahl!rtech!rtech!bobm@UUNET.UU.NET>
> Posting-number: Volume 13, Issue 19
> Archive-name: vn.jan.88/part01


There is a misfeature in the handling of the PRINTER environment
variable (unser Sun/BSD).

vn assumes that PRINTER contains the name of a print command
(such as /usr/ucb/lpr)

However, lpr, enscript, and other print utilities assume that
PRINTER is the *name* of a printer (ie. the PRINTER variable
is equivalent to the -P option).

This causes problems if you are not using the standard printer.  The
source fixes are fairly obvious.
-- 
---------------	 UUCP:  ...!ukc!camcon!mb | Cambridge Consultants Ltd
-- Mike Bell --	 or:    mb@camcon.uucp    | Science Park, Milton Road
---------------	 Phone: +44 223 358855    | Cambridge CB4 4DW