On Sat, May 13, 2017 at 12:52:04PM -0400, mar...@martinbrandenburg.com wrote:
> printcap(5) says:
> 
>      Name    Type    Default              Description
>      sd      str     /var/spool/output    spool directory
> 
> However as far as I can tell, the actual default is
> /var/spool/output/lpd.  That's what's listed in
> usr.sbin/lpr/common_source/pathnames.h, and lpd behaves the same without
> the sd option as when it is set to /var/spool/output/lpd.
> 
> Am I missing something?

No I think that's correct.
Any OK?


Index: printcap.5
===================================================================
RCS file: /cvs/src/share/man/man5/printcap.5,v
retrieving revision 1.26
diff -u -p -r1.26 printcap.5
--- printcap.5  8 Jan 2016 20:26:54 -0000       1.26
+++ printcap.5  14 May 2017 08:12:41 -0000
@@ -66,7 +66,7 @@ for a complete discussion on how to set 
 Refer to
 .Xr termcap 5
 for a description of the file layout.
-.Bl -column "Name" "Type" "/var/spool/output" "Description"
+.Bl -column "Name" "Type" "/var/spool/output/lpd" "Description"
 .It Sy Name Ta Sy Type Ta Sy Default Ta Sy Description
 .It "af        str" Ta Dv NULL Ta "name of accounting file"
 .It "br" Ta "num" Ta "none" Ta "if lp is a tty, set baud rate"
@@ -108,7 +108,7 @@ blocks); 0=unlimited
 .It "rw" Ta "bool" Ta "false" Ta "open printer device for reading and writing"
 .It "sb" Ta "bool" Ta "false" Ta "short banner (one line only)"
 .It "sc" Ta "bool" Ta "false" Ta "suppress multiple copies"
-.It "sd" Ta "str" Ta Pa /var/spool/output Ta "spool directory"
+.It "sd" Ta "str" Ta Pa /var/spool/output/lpd Ta "spool directory"
 .It "sf" Ta "bool" Ta "false" Ta "suppress form feeds"
 .It "sh" Ta "bool" Ta "false" Ta "suppress printing of burst page header"
 .It "st" Ta "str" Ta Pa status Ta "status file name"



-- 
Antoine

Reply via email to