From owner-freebsd-hackers Thu Oct 19 6:30:42 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from starbug.ugh.net.au (starbug.ugh.net.au [203.31.238.37]) by hub.freebsd.org (Postfix) with ESMTP id 10EEA37B479 for ; Thu, 19 Oct 2000 06:30:40 -0700 (PDT) Received: by starbug.ugh.net.au (Postfix, from userid 1000) id 3FDC5A856; Fri, 20 Oct 2000 00:30:21 +1100 (EST) Received: from localhost (localhost [127.0.0.1]) by starbug.ugh.net.au (Postfix) with ESMTP id 3C8DB545D; Thu, 19 Oct 2000 23:30:21 +1000 (EST) Date: Thu, 19 Oct 2000 23:30:21 +1000 (EST) From: andrew@ugh.net.au To: Alexander Maret Cc: "'freebsd-hackers@freebsd.org'" Subject: Re: How to sense DCD on serial port? In-Reply-To: <58A002A02C5ED311812E0050044517F00D2608@erlangen01.atrada.de> Message-ID: X-WonK: *wibble* MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 19 Oct 2000, Alexander Maret wrote: > How can I sense the state of the DCD line that quick? I I'm not sure how quick it is but have you tried ioctl with an argument of TIOCMGET? See tty(4) for more details. Andrew To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message