IETF-SSH archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: IUTF8 pseudo-terminal mode



On Mon, Jan 02, 2006 at 01:00:06AM -0500, der Mouse wrote:
> > Recent versions of the Linux kernel support an IUTF8 flag [...].
> 
> > I would like to allow this mode to be preserved by SSH, but there is
> > no assignment for it at present.
> 
> > Could this line be added to the appropriate place in
> > draft-ietf-secsh-connect and draft-ietf-secsh-assignednumbers to
> > create this assignment?
> 
> It's probably too late to do this before they make it to RFC status.
> 
> > 42 seems like a reasonable place for it.
> 
> >           42    IUTF8       Assume input characters are UTF-8 encoded.
> 
> Actually, if you're going to be adding such things, how about adding
> bits for ECHOPRT, ALTWERASE, NOKERNINFO, and character size (CS5..CS8)?
> In my own implementation, I created a private channel request to carry
> those bits....

Using an "env" channel request to set LANG/LC_CTYPE/LC_ALL to a UTF-8
locale should do, though if the pty requires special attention then the
server will have to know to interpret said environment variables
specially.

And, of course, this is definitely a POSIX-specific approach.

Nico
-- 



Home | Main Index | Thread Index | Old Index