Proposal for redesigning the TTY layer
Rick C. Petty
rick-freebsd at kiwi-computer.com
Wed Feb 13 12:22:13 PST 2008
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
More information about the freebsd-arch
mailing list