Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 29 Oct 1998 21:08:02 +0100
From:      J Wunsch <j@uriah.heep.sax.de>
To:        Igor Sysoev <igor@nitek.ru>
Cc:        stable@FreeBSD.ORG
Subject:   Re: Fatal bug in 2.2.5R's lpd
Message-ID:  <19981029210802.06312@uriah.heep.sax.de>
In-Reply-To: <199810290737.KAA05021@ns.nitek.ru>; from Igor Sysoev on Thu, Oct 29, 1998 at 10:42:35AM %2B0300
References:  <199810290737.KAA05021@ns.nitek.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
As Igor Sysoev wrote:

> some time ago I found that 'ct' doesn't work at all at least in lpq.

> When I try to list queue on turned off remote LaserJet with JetDirect
> card lpq hangs up for 75 seconds nevertheless ct value I set or even
> default ct value - 120 seconds.

It works for me, that's with a newly added entry pointing to a
(currently) nonexistant host on my local net:

remote:\
        :rm=toy:rp=lp:\
        :sd=/var/spool/lpd/remote:\
        :mx#0:\
        :ct#10:\
        :sh:
/etc/printcap: 65 lines, 1952 characters
uriah # mkdir /var/spool/lpd/remote
uriah # lpc restart remote
remote:
        cannot open lock file
remote:
        daemon started
uriah # lpq -Premote
connection to toy is down
uriah # time lpq -Premote
connection to toy is down
0.016u 0.005s 0:10.02 0.0%      784+860k 0+0io 0pf+0w
              ^^^^^^^

> lj|LaserJet 4 with JetDirect:\
>         :lp=:\
>         :rm=lj:\
>         :rq=raw:\
>         :sd=/var/spool/output/lj504:\
>         :sh:ct=30:\
              ct#30

It's a numerical entry, not a string-type one.

-- 
cheers, J"org

joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ -- NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19981029210802.06312>