Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 13 Feb 2008 13:55:31 -0600
From:      "Rick C. Petty" <rick-freebsd@kiwi-computer.com>
To:        Marcel Moolenaar <xcllnt@mac.com>
Cc:        Ed Schouten <ed@fxq.nl>, FreeBSD Arch <freebsd-arch@freebsd.org>
Subject:   Re: Proposal for redesigning the TTY layer
Message-ID:  <20080213195531.GA93104@keira.kiwi-computer.com>
In-Reply-To: <2672DC03-9293-4A92-969B-074CAB55176B@mac.com>
References:  <20080213150500.GH1340@hoeg.nl> <A86365DD-5D15-42F2-A810-493B9F9E7AA3@mac.com> <20080213192808.GL1340@hoeg.nl> <2672DC03-9293-4A92-969B-074CAB55176B@mac.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 13, 2008 at 11:36:56AM -0800, Marcel Moolenaar wrote:
> 
> >I personnally think we shouldn't put multibyte-handling inside the
> >clists, but within the drivers, like syscons.
> 
> 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...

Technically this shouldn't be a problem, because all subsequent UTF-8 bytes
have bit 7 set and bit 6 cleared and XON/XOFF are 7-bit clean, so it should
be pretty obvious that the handshaking happens in the middle of a multibyte
sequence.

-- Rick C. Petty



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080213195531.GA93104>