From owner-freebsd-hackers Tue Jul 25 19:16:22 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id TAA25569 for hackers-outgoing; Tue, 25 Jul 1995 19:16:22 -0700 Received: from cs.weber.edu (cs.weber.edu [137.190.16.16]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id TAA25563 for ; Tue, 25 Jul 1995 19:16:21 -0700 Received: by cs.weber.edu (4.1/SMI-4.1.1) id AA20607; Tue, 25 Jul 95 20:08:32 MDT From: terry@cs.weber.edu (Terry Lambert) Message-Id: <9507260208.AA20607@cs.weber.edu> Subject: Re: dial up at > 9600 baud To: bde@zeta.org.au (Bruce Evans) Date: Tue, 25 Jul 95 20:08:31 MDT Cc: bde@zeta.org.au, ache@astral.msk.su, hackers@freebsd.org, harry@hgac.com, jkh@violet.berkeley.edu In-Reply-To: <199507252101.HAA09790@godzilla.zeta.org.au> from "Bruce Evans" at Jul 26, 95 07:01:42 am X-Mailer: ELM [version 2.4dev PL52] Sender: hackers-owner@freebsd.org Precedence: bulk > >The one remaining issue is that the partial open unsetting of NDELAY > >needs to still work for device binary compatability for things like IBCS2. > > This should be handled in the ibcs2 emulator :-). I don't think the > version that you want is implemented. If O_NONBLOCK is turned off, then > I/O blocks if there is no carrier and no CLOCAL. Devices are event sources and sinks. You have to generate the necessary events to support the BSD behaviour and the emulated behaviour. There are some things you just can't do otherwise. The event handling code that causes the device to behave as if it were coded one way or another, that's what goes into the emulation code. For instance, going back to open completing on RI instead of DCD: all it is is an event handler substitution. Terry Lambert terry@cs.weber.edu --- Any opinions in this posting are my own and not those of my present or previous employers.