linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "H. Peter Anvin" <hpa@zytor.com>
To: "John T." <j.thomast@yahoo.com>
Cc: Jan Engelhardt <jengelh@computergmbh.de>, linux-kernel@vger.kernel.org
Subject: Re: UTF-8 and Alt key in the console
Date: Sun, 23 Mar 2008 09:54:40 -0700	[thread overview]
Message-ID: <47E68B50.7060503@zytor.com> (raw)
In-Reply-To: <349800.20247.qm@web45701.mail.sp1.yahoo.com>

John T. wrote:
> 
> That's because you are working in "meta sends ESC" mode.
> Although this is OK for most applications, for some it isn't.
> Thus there have always been two modes, "meta sends ESC"
> and "meta sets 8th bit". (toggled with setmetamode on the
> console)
> 
> Vim relies on "meta sets 8th bit". Unfortunatelly the code
> for this options does not work in UTF-8 in the console. What
> I'd like to do is make this a viable option in UTF-8.
> 

No, fix vim instead.

"Meta sets 8th bit" is so obviously and totally broken, since it maps 
onto real characters, and has been doing so for at least 20 years. 
Meta-L maps onto LATIN CAPITAL LETTER I WITH GRAVE, both in 8-bit mode 
and in your proposed UTF-8 mode.  It just becomes even more obvious how 
unbelievably broken it is when you try to map it onto UTF-8.

Seriously, fix the crap.

	-hpa

  reply	other threads:[~2008-03-23 16:54 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-23 15:15 UTF-8 and Alt key in the console John T.
2008-03-23 15:29 ` Jan Engelhardt
2008-03-23 15:46   ` John T.
2008-03-23 16:54     ` H. Peter Anvin [this message]
2008-03-23 17:47       ` John T.
2008-03-23 17:55         ` H. Peter Anvin
2008-03-23 18:13           ` John T.
2008-03-23 18:46             ` Jan Engelhardt
2008-03-28 23:26               ` H. Peter Anvin
2008-03-29  0:07                 ` Jan Engelhardt
2008-03-29  0:23                   ` H. Peter Anvin
2008-03-29  0:44                     ` Jan Engelhardt
2008-03-29  1:07                       ` H. Peter Anvin
2008-03-29  6:33                       ` David Newall
2008-03-29 17:05                         ` H. Peter Anvin
2008-04-01 20:13                           ` Jan Engelhardt
2008-04-01 20:22                             ` H. Peter Anvin
2008-04-02  0:02                             ` David Newall
2008-04-02  0:38                               ` H. Peter Anvin
2008-04-06  8:46                 ` Marko Macek
2008-04-06 10:14                   ` David Newall
2008-04-06 16:37                   ` H. Peter Anvin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=47E68B50.7060503@zytor.com \
    --to=hpa@zytor.com \
    --cc=j.thomast@yahoo.com \
    --cc=jengelh@computergmbh.de \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).