From owner-freebsd-questions Thu Apr 6 15:33: 0 2000 Delivered-To: freebsd-questions@freebsd.org Received: from news-ma.rhein-neckar.de (news-ma.rhein-neckar.de [193.197.90.3]) by hub.freebsd.org (Postfix) with ESMTP id 8202E37BD5A for ; Thu, 6 Apr 2000 15:32:55 -0700 (PDT) (envelope-from daemon@bigeye.rhein-neckar.de) Received: from bigeye.rhein-neckar.de (uucp@localhost) by news-ma.rhein-neckar.de (8.8.8/8.8.8) with bsmtp id AAA01790 for freebsd-questions@freebsd.org; Fri, 7 Apr 2000 00:32:54 +0200 (CEST) (envelope-from daemon@bigeye.rhein-neckar.de) Received: (from daemon@localhost) by bigeye.rhein-neckar.de (8.9.3/8.9.3) id XAA49421 for freebsd-questions@freebsd.org; Thu, 6 Apr 2000 23:39:39 +0200 (CEST) (envelope-from daemon) From: naddy@mips.rhein-neckar.de (Christian Weisgerber) Subject: Re: Serial->serial connection (sio0 -> sio1) Date: 6 Apr 2000 23:39:38 +0200 Message-ID: <8cj06q$1g7v$1@bigeye.rhein-neckar.de> References: <38E6E5EA.22A1038F@gorean.org> <8c7bgc$umu$1@bigeye.rhein-neckar.de> <38E75E14.2E0A7BF1@tdx.co.uk> To: freebsd-questions@freebsd.org Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Karl Pielorz wrote: > I've seen something that could, possibly be 'similar'... If I use 'ttyd0' as a > terminal in /etc/ttys - it doesn't work (or, rather - It does "appear" to work > once I have COMCONSOLE selected)... > > _BUT_ if I use 'cuaa0' in /etc/ttys - I get a working terminal on COM1 - > regardless... Uh, don't do that. > Maybe ttydX is more sensitive about handshaking / carrier detect or something? Yes, that's the point for modem use. Typically, when you open ttydX the open() call blocks until DCD is on. cuaX doesn't block. This also allows to dial in and out over the same port. getty(8) opens the tty and blocks until a call comes in. Meanwhile you can still open the corresponding cua device and dial out. If setting CLOCAL in the getty configuration doesn't stop it from blocking you can still wire DCD to active. -- Christian "naddy" Weisgerber naddy@mips.rhein-neckar.de To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message