Re: JFS default behavior

From: Linus Torvalds
Date: Wed Feb 18 2004 - 10:56:46 EST




On Wed, 18 Feb 2004, Jamie Lokier wrote:
>
> It's irritating that logging in from the wrong kind of terminal
> doesn't just provide the right "user experience" for the command line
> automatically.

Well, you should be able to just start something "screen"-equivalent
directly by just making it your default shell or have a fix to "login".

The thing is, the kernel tty layer is happy to work with utf-8 (well,
modulo the issues of erase etc - and Andries posted that patch already,
and there are probably others like it) if your terminal supports it, but
if your terminal doesn't have CJK supprt internally, then you need
something to do the multi-character translations anyway in order to be
able to input them in the first place.

And that is _not_ an stty option.

Btw, from the screen man-page it appears that screen is not able to do
that either. You can put screen into utf-8 mode, but it sounds like it
just means that it passes UTF-8 through, not that it does any translation
from "latin1 vt100 to utf-8".

I think there are a few editors that actually do ("mined" looks like it
should do it).

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