From owner-freebsd-hackers Wed Jun 25 11:10:59 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id LAA06371 for hackers-outgoing; Wed, 25 Jun 1997 11:10:59 -0700 (PDT) Received: from godzilla.zeta.org.au (godzilla.zeta.org.au [203.2.228.19]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id LAA06365 for ; Wed, 25 Jun 1997 11:10:54 -0700 (PDT) Received: (from bde@localhost) by godzilla.zeta.org.au (8.8.5/8.6.9) id EAA12771; Thu, 26 Jun 1997 04:06:13 +1000 Date: Thu, 26 Jun 1997 04:06:13 +1000 From: Bruce Evans Message-Id: <199706251806.EAA12771@godzilla.zeta.org.au> To: hoek@hwcn.org, joerg_wunsch@uriah.heep.sax.de Subject: Re: BSD io Cc: freebsd-hackers@FreeBSD.ORG, MSAYER@cuscal.com.au Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk >> new.c_lflag &= ~(ICANON | ECHO | IEXTEN); /* consider ISIG etc., too */ >> >> ...and it works. Also, you should probably do: > >Hmm... Does IEXTEN do anything other than enable (or disable, in >this case) LNEXT and DISCARD processing? Not much more, if anything. However, if you want to get this exactly right, then you may need to understand the 26 flags and 2 special characters handled by cfmakeraw(), or just use cfmakeraw() :-). Bruce