From owner-freebsd-hackers Tue May 2 15:47:31 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 14E9137B539 for ; Tue, 2 May 2000 15:47:29 -0700 (PDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.9.3/8.9.3) id RAA20919; Tue, 2 May 2000 17:47:13 -0500 (CDT) (envelope-from dan) Date: Tue, 2 May 2000 17:47:13 -0500 From: Dan Nelson To: Chris Dillon Cc: Konrad Heuer , Lorenzo Iania , freebsd-hackers@FreeBSD.ORG Subject: Re: PROBLEM FOUND (sort of): Re: lpr: order of print requests Message-ID: <20000502174713.A14919@dan.emsphone.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.1.12i In-Reply-To: ; from "Chris Dillon" on Tue May 2 15:57:00 GMT 2000 X-OS: FreeBSD 5.0-CURRENT Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG In the last episode (May 02), Chris Dillon said: > On Tue, 2 May 2000, Konrad Heuer wrote: > > Hmm, I've never seen such a strange behaviour. Lpd should do FIFO. > > Could you give some more infos about your environment (os release, > > input filter program, printer type)? Aha. Yes, it _does_ do FIFO, but if you look at the source, the queue sorting routine simply sorts on stat(mtime) of the queue file, so jobs submitted in the same second will sort randomly. A quick fix would be to sleep for 1 second between "lpr" calls. -- Dan Nelson dnelson@emsphone.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message