Re: [PATCH] Remove ncurses meta() call.
Vincent Lefevre <[email protected]> Thu, 25 Jun 2026 14:26:44 +0200
| Newsgroups | gmane.mail.mutt.devel |
|---|---|
| Message-ID | <[email protected]> |
For the history (from some old messages I have in my archives): ──────────────────────────────────────────────────────────────────────── From: "Andrej N. Gritsenko" <[email protected]> To: [email protected] Subject: Re: Meta key bug. Date: Sun, 26 Jul 1998 23:07:10 +0300 Hi, Robert Richard George 'reptile' Wal! Sometime (on Sunday, July 26 at 22:44) I've received something... >On 98.07.26 Andrej N. Gritsenko pressed the following keys: >> Hi, Robert Richard George 'reptile' Wal! >> Sometime (on Sunday, July 26 at 15:30) I've received something... >> >On 98.07.26 Andrej N. Gritsenko pressed the following keys: >> >> Tell me why I cannot to use meta key with Mutt 0.94i that compiled >> >> with S-Lang? When I enter command 'macro index \ez ":unset mark_old\r"', >> ^^^ >> >> this command work fine if and only if I press <Esc> then <z>. When I >> >> press <Alt+Z> (my keyboard supports Alt as meta key), that command don't >> >> work anymore. I using S-Lang 1.2.2, platforms: Linux 2.0.30 and FreeBSD >> >> 2.2.6. > >Oops... I just noticed, that in mutt-0.93i with slang-1.2.2 it doesn't work, >just as you specified. As Liviu Daia wrote me, it is a S-Lang bug and I've big thanks for him for fix-patch to that library. :) >> I really won't sent char with high bit set. >You will e.g. with xterm. May be, may be... But as I said, I print cyrillic letters what always have high bit set. :) >> Because I have _good_ chars with it. I want to interpret Meta-z (it is >> sequence <ESC><z>, FYI, RTFM) >No. Meta-z is z with highest bit set. Esc-z is Esc-z. (at least on xterm >which I use) Well, well, well... JFYI, there are two meta-functions of keyboard. First (on 7-bit terminals, for ASCII support only) have eight bit set for this. Second (on Linux or FreeBSD console, configurable into keymap, for non-ASCII support) have <ESC>-char sequence for this. :) WBR. Andrej. ──────────────────────────────────────────────────────────────────────── I couldn't find anything else on the subject for Mutt. -- Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/> 100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/> Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)