Date: Sat, 9 Aug 2008 10:45:18 +1000 From: Peter Jeremy <peterjeremy@optushome.com.au> To: Chuck Robey <chuckr@telenix.org> Cc: freebsd-hackers@freebsd.org Subject: Re: read with timeout ?? Message-ID: <20080809004518.GM64458@server.vk2pj.dyndns.org> In-Reply-To: <489CACF9.3030309@telenix.org> References: <489B9D4D.4010009@telenix.org> <Pine.GSO.4.64.0808071813530.11980@zeno.ucsd.edu> <e71790db0808071950j32e196e4o42fab1aeb62ab8a4@mail.gmail.com> <200808081009.56521.pieter@degoeje.nl> <e71790db0808080733p132180e9wba33d5840e1b954f@mail.gmail.com> <489CACF9.3030309@telenix.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--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 <chuckr@telenix.org> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080809004518.GM64458>