From owner-freebsd-hackers Tue Jun 24 06:35:49 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id GAA14686 for hackers-outgoing; Tue, 24 Jun 1997 06:35:49 -0700 (PDT) Received: from hwcn.org (main.hwcn.org [199.212.94.65]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id GAA14681 for ; Tue, 24 Jun 1997 06:35:47 -0700 (PDT) Received: from james.freenet.hamilton.on.ca (ac199@james.hwcn.org [199.212.94.66]) by hwcn.org (8.8.6/8.8.6) with ESMTP id JAA20865; Tue, 24 Jun 1997 09:36:05 -0400 (EDT) Received: from localhost (ac199@localhost) by james.freenet.hamilton.on.ca (8.8.6/8.8.6) with SMTP id JAA19474; Tue, 24 Jun 1997 09:36:16 -0400 (EDT) X-Authentication-Warning: james.freenet.hamilton.on.ca: ac199 owned process doing -bs Date: Tue, 24 Jun 1997 09:36:16 -0400 (EDT) From: Tim Vanderhoek X-Sender: ac199@james.freenet.hamilton.on.ca To: Tim Vanderhoek cc: Steve Howe , freebsd-hackers Subject: Re: BSD io In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk On Tue, 24 Jun 1997, Tim Vanderhoek wrote: > #include > #include > struct termios old, new; > main(){ > tcgetattr (fileno(stdin), &old); new = old; > new &= ~(ICANON|ECHO); new.c_lflag &= ~(ICANON|ECHO); Actually, FWIW, I like the section the GNU C library reference manual has on this. Easier, more on-topic, and nicer than man 4 termios. The manual is on the web in html (search Yahoo, "GNU Info"), if anyone cares... -- Outnumbered? Maybe. Outspoken? Never! tIM...HOEk