Date: Fri, 19 Dec 1997 23:33:32 +0100 (MET) From: j@uriah.heep.sax.de (J Wunsch) To: freebsd-hackers@freebsd.org Subject: Re: close() on a modem taking a long time? Message-ID: <199712192233.XAA26562@uriah.heep.sax.de> References: <Pine.BSF.3.91.971218203457.9226A-100000@tahiti.oss.uswest.net> <199712190401.UAA23662@bubba.whistle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Archie Cobbs <archie@whistle.com> wrote: > 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. -- 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. ;-)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199712192233.XAA26562>