Re: [Linux-fbdev-devel] Re: rotation.

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Jan 09 2003 - 22:45:38 EST


On Thu, 2003-01-09 at 22:35, Linus Torvalds wrote:
> UTF8 delete behaviour should be pretty trivial to add. It's liketly to
> be more involved than simply adding a
>
> /* multi-char UTF8 thing? Continue until we hit the first one */
> if (tty->utf8 && (c & 0x80) && !(c & 0x40))
> continue;
>
> to the loop in n_tty.c: eraser(), but it might not be _much_ more than
> that.

That should do the delete case yes. The other cases are more interestingly horrible
and I hope don't need solving (suppose you want your intr character to be the
chinese symbol for 'stop' ...)

Its on the todo list, and someone sent me a test patch for 3-4 byte utf8 input

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Jan 15 2003 - 22:00:31 EST