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

Alan Cox (alan@lxorguk.ukuu.org.uk)
10 Jan 2003 03:45:38 +0000


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/