From owner-freebsd-hackers Fri Dec 26 17:11:48 1997 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.7/8.8.7) id RAA17828 for hackers-outgoing; Fri, 26 Dec 1997 17:11:48 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp04.primenet.com (smtp04.primenet.com [206.165.6.134]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id RAA17823 for ; Fri, 26 Dec 1997 17:11:40 -0800 (PST) (envelope-from tlambert@usr04.primenet.com) Received: (from daemon@localhost) by smtp04.primenet.com (8.8.8/8.8.8) id SAA04794; Fri, 26 Dec 1997 18:11:40 -0700 (MST) Received: from usr04.primenet.com(206.165.6.204) via SMTP by smtp04.primenet.com, id smtpd004789; Fri Dec 26 18:11:34 1997 Received: (from tlambert@localhost) by usr04.primenet.com (8.8.5/8.8.5) id SAA01101; Fri, 26 Dec 1997 18:11:32 -0700 (MST) From: Terry Lambert Message-Id: <199712270111.SAA01101@usr04.primenet.com> Subject: Re: close() on a modem taking a long time? To: joerg_wunsch@uriah.heep.sax.de Date: Sat, 27 Dec 1997 01:11:32 +0000 (GMT) Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199712202349.AAA05219@uriah.heep.sax.de> from "J Wunsch" at Dec 21, 97 00:49:37 am X-Mailer: ELM [version 2.4 PL23] Content-Type: text Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk > >> 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". > > You're only considering modems. How would you force a mouse into > delivering DCD or CTS? (That's where the problem happened to me > recently, XFree86's server attempted to send something to my mouse, > but the mouse, being a plain old MouseSystems one, is only receptive > to cat's signals but not to RS-232 signals.) If the port ignored it, then the mouse would work... 8-). Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers.