From owner-freebsd-bugs Thu Sep 4 21:20:05 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14906 for bugs-outgoing; Thu, 4 Sep 1997 21:20:05 -0700 (PDT) Received: (from gnats@localhost) by hub.freebsd.org (8.8.7/8.8.7) id VAA14887; Thu, 4 Sep 1997 21:20:02 -0700 (PDT) Date: Thu, 4 Sep 1997 21:20:02 -0700 (PDT) Message-Id: <199709050420.VAA14887@hub.freebsd.org> To: freebsd-bugs Cc: From: Bruce Evans Subject: Re: bin/4460: lpd hangs exiting (IE in ps table) Reply-To: Bruce Evans Sender: owner-freebsd-bugs@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk The following reply was made to PR bin/4460; it has been noted by GNATS. From: Bruce Evans 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