From owner-freebsd-hackers Mon Jul 24 12:14:31 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.cdrom.com (8.6.11/8.6.6) id MAA05897 for hackers-outgoing; Mon, 24 Jul 1995 12:14:31 -0700 Received: from sovcom.kiae.su (sovcom.kiae.su [144.206.136.1]) by freefall.cdrom.com (8.6.11/8.6.6) with SMTP id MAA05887 for ; Mon, 24 Jul 1995 12:14:22 -0700 Received: by sovcom.kiae.su id AA29280 (5.65.kiae-1 ); Mon, 24 Jul 1995 22:06:48 +0300 Received: by sovcom.KIAE.su (UUMAIL/2.0); Mon, 24 Jul 95 22:06:48 +0300 Received: (from ache@localhost) by astral.msk.su (8.6.8/8.6.6) id XAA00448; Mon, 24 Jul 1995 23:02:08 +0400 To: bde@ZETA.ORG.AU, terry@cs.weber.edu Cc: hackers@freebsd.org, harry@hgac.com, jkh@violet.berkeley.edu References: <199507241714.DAA25914@godzilla.zeta.org.au> In-Reply-To: <199507241714.DAA25914@godzilla.zeta.org.au>; from Bruce Evans at Tue, 25 Jul 1995 03:14:55 +1000 Message-Id: Organization: Olahm Ha-Yetzirah Date: Mon, 24 Jul 1995 23:02:08 +0400 (MSD) X-Mailer: Mail/@ [v2.40 FreeBSD] From: =?KOI8-R?Q?=E1=CE=C4=D2=C5=CA_=FE=C5=D2=CE=CF=D7?= aka "Andrey A. Chernov, Black Mage" X-Class: Fast Subject: Re: dial up at > 9600 baud Lines: 23 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Length: 1102 Sender: hackers-owner@freebsd.org Precedence: bulk In message <199507241714.DAA25914@godzilla.zeta.org.au> Bruce Evans writes: >>>The Linux driver has (had?) some optional support to help getty handle >>>this. After the last close of cuaa, sleeping opens of ttyd return >>>EAGAIN. This gives getty a chance to send the AT command. >>Does EAGAIN allowed on open by POSIX? >No. "... opening a terminal device file with the O_NONBLOCK flag clear >shall cause the process to block until the terminal device is ready and >available. The CLOCAL flag can also affect open()." [Opening terminal >device files with O_NONBLOCK set is supposed to always work if the file >permissions allow it. We probably break this by returning EBUSY for >some exclusive access and bidirectional cases.] Maybe we should allow open and return EBUSY on ioctls or writes? -- Andrey A. Chernov : And I rest so composedly, /Now, in my bed, ache@astral.msk.su : That any beholder /Might fancy me dead - FidoNet: 2:5020/230.3 : Might start at beholding me, /Thinking me dead. RELCOM Team,FreeBSD Team : E.A.Poe From "For Annie" 1849