From owner-freebsd-questions Tue Jul 23 15:41:11 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id PAA20854 for questions-outgoing; Tue, 23 Jul 1996 15:41:11 -0700 (PDT) Received: from unix.stylo.it (unix.stylo.it [193.76.98.2]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id PAA20847 for ; Tue, 23 Jul 1996 15:41:06 -0700 (PDT) Received: from styloserver.stylo.it (trust.stylo.it [194.21.207.253]) by unix.stylo.it (8.7.5/8.6.9) with SMTP id AAA04952 for ; Wed, 24 Jul 1996 00:41:05 +0200 (MET DST) Received: by styloserver.stylo.it with Microsoft Exchange (IMC 4.12.736) id <01BB78F8.DB7DD520@styloserver.stylo.it>; Wed, 24 Jul 1996 00:41:31 +0200 Message-ID: From: Angelo Turetta To: "'freebsd-questions'" Subject: How can I send a modem init string from getty ? Date: Wed, 24 Jul 1996 00:41:29 +0200 X-Mailer: Microsoft Exchange Server Internet Mail Connector Version 4.12.736 Encoding: 17 TEXT Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I know mgetty can do this, but it's too big for my purpose. I'm not quite expert in unix internals, why the open at line 171 of getty.c only succeeds after DCD goes on ? How can I send a string to my modem before that loop ? I seem to understand the device to open for modem control is /dev/cuax, is it because I can open /dev/cuax even DCD is off ? As you may understand, pointers to a tty programming tutorial under BSD are welcome :-) Thanks in advance Angelo Turetta mailto:aturetta@stylo.it