From owner-freebsd-hackers@FreeBSD.ORG Sat Aug 9 00:45:24 2008 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 86E82106567C for ; Sat, 9 Aug 2008 00:45:24 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from mail17.syd.optusnet.com.au (mail17.syd.optusnet.com.au [211.29.132.198]) by mx1.freebsd.org (Postfix) with ESMTP id 168068FC0A for ; Sat, 9 Aug 2008 00:45:23 +0000 (UTC) (envelope-from peterjeremy@optushome.com.au) Received: from server.vk2pj.dyndns.org (c122-106-215-175.belrs3.nsw.optusnet.com.au [122.106.215.175]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m790jJxu016983 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sat, 9 Aug 2008 10:45:21 +1000 Received: from server.vk2pj.dyndns.org (localhost.vk2pj.dyndns.org [127.0.0.1]) by server.vk2pj.dyndns.org (8.14.2/8.14.2) with ESMTP id m790jINF057506; Sat, 9 Aug 2008 10:45:18 +1000 (EST) (envelope-from peter@server.vk2pj.dyndns.org) Received: (from peter@localhost) by server.vk2pj.dyndns.org (8.14.2/8.14.2/Submit) id m790jIca057505; Sat, 9 Aug 2008 10:45:18 +1000 (EST) (envelope-from peter) Date: Sat, 9 Aug 2008 10:45:18 +1000 From: Peter Jeremy To: Chuck Robey Message-ID: <20080809004518.GM64458@server.vk2pj.dyndns.org> References: <489B9D4D.4010009@telenix.org> <200808081009.56521.pieter@degoeje.nl> <489CACF9.3030309@telenix.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="e5bfZ/T2xnjpUIbw" Content-Disposition: inline In-Reply-To: <489CACF9.3030309@telenix.org> X-PGP-Key: http://members.optusnet.com.au/peterjeremy/pubkey.asc User-Agent: Mutt/1.5.18 (2008-05-17) Cc: freebsd-hackers@freebsd.org Subject: Re: read with timeout ?? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Aug 2008 00:45:24 -0000 --e5bfZ/T2xnjpUIbw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2008-Aug-08 16:30:49 -0400, Chuck Robey wrote: >such a email, I have to admit my own needs fall more into a plain-jame ser= ial >line, nothing a socket-oriented thing could help me with. If this is a normal serial port then termios(4) might help: Use non-canonical processing with VMIN =3D 0 and VTIME =3D 10 (see the section "Noncanonical Mode Input Processing"). --=20 Peter Jeremy Please excuse any delays as the result of my ISP's inability to implement an MTA that is either RFC2821-compliant or matches their claimed behaviour. --e5bfZ/T2xnjpUIbw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.9 (FreeBSD) iEYEARECAAYFAkic6J4ACgkQ/opHv/APuIcUvgCfWgg4IHil+Yb6AVk2NIWv4MtM P0UAoJ/2Uqii0/1HnK+gazKd4+rLokMi =McmX -----END PGP SIGNATURE----- --e5bfZ/T2xnjpUIbw--