From owner-freebsd-arch@FreeBSD.ORG Thu Feb 14 07:18:06 2008 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 27A1316A417 for ; Thu, 14 Feb 2008 07:18:06 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: from palm.hoeg.nl (mx0.hoeg.nl [IPv6:2001:610:652::211]) by mx1.freebsd.org (Postfix) with ESMTP id D0F5A13C447 for ; Thu, 14 Feb 2008 07:18:05 +0000 (UTC) (envelope-from ed@hoeg.nl) Received: by palm.hoeg.nl (Postfix, from userid 1000) id 3DEBD1CC76; Thu, 14 Feb 2008 08:18:05 +0100 (CET) Date: Thu, 14 Feb 2008 08:18:05 +0100 From: Ed Schouten To: Marcel Moolenaar Message-ID: <20080214071805.GP1340@hoeg.nl> References: <20080213150500.GH1340@hoeg.nl> <20080213192808.GL1340@hoeg.nl> <2672DC03-9293-4A92-969B-074CAB55176B@mac.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5xr6Gr0irOxp3+3c" Content-Disposition: inline In-Reply-To: <2672DC03-9293-4A92-969B-074CAB55176B@mac.com> User-Agent: Mutt/1.5.17 (2007-11-01) Cc: FreeBSD Arch Subject: Re: Proposal for redesigning the TTY layer X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Feb 2008 07:18:06 -0000 --5xr6Gr0irOxp3+3c Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Marcel Moolenaar wrote: > The problem with doing it that way is that insertion of control > characters, like XON/XOFF or STOP may happen right in the middle > of UTF-8 sequences. This may be problematic... This is one of the things that doesn't worry me much, because if the application takes care to write the entire UTF-8 character at once, it will enter the clist in the proper order, except when: - the TTY hits its watermarks during the write - traffic enters the TTY inwards, which has to be echoed (even though this will probably be caught by locking as well), while an UTF-8 character is entering the TTY outwards. --=20 Ed Schouten WWW: http://g-rave.nl/ --5xr6Gr0irOxp3+3c Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.8 (FreeBSD) iEYEARECAAYFAkez6y0ACgkQ52SDGA2eCwW66wCeKVDoNKsDOOO63NjKONqqeY1v kuUAnRq1yJpWRBV4VisntIOzWsZpcgRE =zONr -----END PGP SIGNATURE----- --5xr6Gr0irOxp3+3c--