Date: Sat, 20 Dec 1997 18:53:22 +0000 (GMT) From: Terry Lambert <tlambert@primenet.com> To: joerg_wunsch@uriah.heep.sax.de Cc: freebsd-hackers@FreeBSD.ORG Subject: Re: close() on a modem taking a long time? Message-ID: <199712201853.LAA09179@usr09.primenet.com> In-Reply-To: <199712192233.XAA26562@uriah.heep.sax.de> from "J Wunsch" at Dec 19, 97 11:33:32 pm
next in thread | previous in thread | raw e-mail | index | archive | help
> > Serial ports usually wait for output to finish on a close (I think). > > You may be able to disable this feature.. see man termios (HUPCL?). > > Nope, that's not the solution. comcontrol(8) is, you can set > drainwait to a number of seconds you prefer. > > It's probably better to fix the application to wait until all output > has been drained. Better to fix the driver to ignore/assert RTS/CTS while DCD remains off, and to take an on-to-off DCD transition as indicating "flush output to null". THen the error won't happen in the first place. Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712201853.LAA09179>