UTF-8 and Alt key in the console

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-kernel@...>
Date: Sunday, March 23, 2008 - 11:15 am

Hello,

It is understood that although the Meta-key sequences
work in an xterm with vim on UTF-8, they don't on the
linux console.

That's because vim and xterm have an understanding about
how to function in UTF-8 regarding the Meta key. Xterm
translates the would-be ISO-8859 high-bit-char to its
UTF-8 representation, and vim catches that. This is the
way to move the traditional 8th-bit Meta convention from
single-byte encodings to UTF-8.

The linux console could function that way too, so that the
Meta-key would be recognized for those not willing to make
Meta send an ESC prefix; this behavior can be toggled with
the setmetamode command. Seems it's quite a simple code
snippet.

I'd like to know whether it would be an accepted change.

Regards,
--
John


      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
UTF-8 and Alt key in the console, John T., (Sun Mar 23, 11:15 am)
Re: UTF-8 and Alt key in the console, Jan Engelhardt, (Sun Mar 23, 11:29 am)
Re: UTF-8 and Alt key in the console, John T., (Sun Mar 23, 11:46 am)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Sun Mar 23, 12:54 pm)
Re: UTF-8 and Alt key in the console, John T., (Sun Mar 23, 1:47 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Sun Mar 23, 1:55 pm)
Re: UTF-8 and Alt key in the console, John T., (Sun Mar 23, 2:13 pm)
Re: UTF-8 and Alt key in the console, Jan Engelhardt, (Sun Mar 23, 2:46 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Fri Mar 28, 7:26 pm)
Re: UTF-8 and Alt key in the console, Marko Macek, (Sun Apr 6, 4:46 am)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Sun Apr 6, 12:37 pm)
Re: UTF-8 and Alt key in the console, David Newall, (Sun Apr 6, 6:14 am)
Re: UTF-8 and Alt key in the console, Jan Engelhardt, (Fri Mar 28, 8:07 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Fri Mar 28, 8:23 pm)
Re: UTF-8 and Alt key in the console, Jan Engelhardt, (Fri Mar 28, 8:44 pm)
Re: UTF-8 and Alt key in the console, David Newall, (Sat Mar 29, 2:33 am)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Sat Mar 29, 1:05 pm)
Re: UTF-8 and Alt key in the console, Jan Engelhardt, (Tue Apr 1, 4:13 pm)
Re: UTF-8 and Alt key in the console, David Newall, (Tue Apr 1, 8:02 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Tue Apr 1, 8:38 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Tue Apr 1, 4:22 pm)
Re: UTF-8 and Alt key in the console, H. Peter Anvin, (Fri Mar 28, 9:07 pm)