Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 4 Sep 1997 21:20:02 -0700 (PDT)
From:      Bruce Evans <bde@zeta.org.au>
To:        freebsd-bugs
Subject:   Re: bin/4460: lpd hangs exiting (IE in ps table)
Message-ID:  <199709050420.VAA14887@hub.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/4460; it has been noted by GNATS.

From: Bruce Evans <bde@zeta.org.au>
To: FreeBSD-gnats-submit@FreeBSD.ORG, mathboy@cda-inc.com
Cc:  Subject: Re: bin/4460: lpd hangs exiting (IE in ps table)
Date: Fri, 5 Sep 1997 14:03:06 +1000

 >>Description:
 >
 > using LPD to print to an HP plotter, which uses Xon/Xoff and possibly
 > CTS+RTS (with relevant stty settings: /usr/local/etc/rc.d script
 >  starts up with:
 >
 >     #set stty settings for plotter on /dev/cuaa0
 >     stty ixon ixoff -ixany crtscts evenp clocal 9600 < /dev/cuaa0
 >     stty ixon ixoff -ixany crtscts evenp clocal 9600 < /dev/cuaia0
 >
 >  )
 >
 > some format of some plot files seems to be suspect - causes the
 >  plotter to get half way through the file and then stop. This is
 
 It is probably waiting for CTS.  Don't use crtscts unless the device
 supports it properly.  Using both ixon and ccts_oflow (the cts part
 of crtscts) is not recommended but is supposed to work (if ccts_oflow
 works).
 
 >  > ps -ax | grep lp
 >   774  ??  Is     0:00.07 lpd
 >  1128  ??  IE     0:00.00  (lpd)
 > 
 >  kill 1128 nor kill -9 1128 removes the swapped lpd job. Its stuck
 >  in EXIT mode (or whatever E stands for).
 >
 >  Only a software reboot or harder will clear this on FreeBSD.
 
 `comcontrol devicename drainwait N' should clear it after N seconds.
 
 Bruce



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