From owner-freebsd-questions Sun Feb 18 08:18:38 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id IAA20533 for questions-outgoing; Sun, 18 Feb 1996 08:18:38 -0800 (PST) Received: from spoon.beta.com (root@SPOON.BETA.COM [199.165.180.1]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id IAA20526 for ; Sun, 18 Feb 1996 08:18:25 -0800 (PST) Received: from localhost (mcgovern@localhost [127.0.0.1]) by spoon.beta.com (8.6.12/8.6.9) with SMTP id KAA11380 for ; Sun, 18 Feb 1996 10:53:48 -0500 Message-Id: <199602181553.KAA11380@spoon.beta.com> X-Authentication-Warning: spoon.beta.com: Host localhost didn't use HELO protocol To: questions@freebsd.org Subject: tc* questions... Date: Sun, 18 Feb 1996 10:53:47 -0500 From: "Brian J. McGovern" Sender: owner-questions@freebsd.org Precedence: bulk I have been playing with tcgetattr and tcsetattr with some reasonable success. However, I'm now curious how to do it the "right" way. What flags should I set to put a terminal in such a mode so that characters aren't echo'ed, and characters typed are returned immediately? I've played with ECHO, CLOCAL, and ICANON to some success. What flags should I set for a modem for a "normal dialout"? ie - port doesn't echo (the device will echo the characters) - characters should be read() immediately (again, no waiting for CR) Any changes for inbound calls? Lastly, is there any way to directly look at some of the line signals (CD,DTR, etc)? Thanks. -Brian