Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jun 1997 09:36:16 -0400 (EDT)
From:      Tim Vanderhoek <hoek@hwcn.org>
To:        Tim Vanderhoek <hoek@hwcn.org>
Cc:        Steve Howe <un_x@anchorage.net>, freebsd-hackers <hackers@FreeBSD.ORG>
Subject:   Re: BSD io
Message-ID:  <Pine.GSO.3.96.970624092709.18758A-100000@james.freenet.hamilton.on.ca>
In-Reply-To: <Pine.GSO.3.96.970624080450.9455A-100000@james.freenet.hamilton.on.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 24 Jun 1997, Tim Vanderhoek wrote:

> #include <termios.h>
> #include <stdio.h>
> 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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.3.96.970624092709.18758A-100000>