Subject: Re: bin/28593: lpd problem/bug with 'port@host' entries and
To: Markus W Kilbinger <kilbi@rad.rwth-aachen.de>
From: David Brownlee <abs@NetBSD.org>
List: netbsd-bugs
Date: 12/09/2004 15:08:19
  This message is in MIME format.  The first part should be readable text,
  while the remaining parts are likely unreadable without MIME-aware tools.

--0-1553465964-1102604899=:733
Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed

On Thu, 9 Dec 2004, Markus W Kilbinger wrote:

>> Fix:
> 	The appended patch solves the problem completely for me (and
> 	about 40 tcp capable print spoolers of our dept.). The
> 	important part is the 'select' call itself (waiting for a sent
> 	back message and timeout), which does not end with the
> 	'timeout' normally. The (optional) read back of the sent back
> 	message yields the above mentioned postscript stderr message.
>
> 	This patch is only worth for template purposes... ;-)
>
> 	I've chosen 'sw-bug' as category because so many jetdirect
> 	devices are involved.

 	Out of curiosity how long does that select() need to be?
 	If you tried a piece of postscript which takes a long time
 	to execute, then generates something on stdout at the end
 	does it still work?

 	Would you be willing to add a count of how long has been waited
 	to the syslog() and record the results?

 	Sample postscript which tends to take quite a while to process
 	attached :)

-- 
 		David/absolute       -- www.NetBSD.org: No hype required --
--0-1553465964-1102604899=:733
Content-Type: APPLICATION/PostScript; name="raytrace.ps"
Content-Transfer-Encoding: BASE64
Content-ID: <Pine.NEB.4.61.0412091508190.733@localhost.>
Content-Description: 
Content-Disposition: attachment; filename="raytrace.ps"

JSFPUFMtMS4wICUlQ3JlYXRvcjogSEFZQUtBV0EsVGFrYXNoaTxoLXRha2Fz
aUBpc2VhLmlzLnRpdGVjaC5hYy5qcD4KL0EvY29weS9wL2Zsb29yL3EvZ3Qv
Uy9hZGQvbi9leGNoL2kvaW5kZXgvSi9pZmVsc2Uvci9yb2xsL3cvZGl2L0h7
e2xvb3B9c3RvcHBlZApZfWRlZi90L2FuZC9DL25lZy9UL2R1cC9oL2V4cC9Z
L3BvcC9kL211bC9zL2N2aS9lL3NxcnQvUi9ybGluZXRve2xvYWQgZGVmfUgg
MzA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