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

Bug#651035: #651035 please decide how terminals should report Alt+letter combinations



>The xterm terminfo entry does not currently advertise the smm
>capability, if I am reading "infocmp xterm" output correctly.

That's referring to the Debian packages for ncurses and xterm.

xterm (upstream) has had smm/rmm in the terminfo description
since patch #216 (2006/8/1).

I've made occasional comments regarding smm/rmm to the ncurses
packagers, noting an issue with bash (which has been modified
to address this).  See

http://invisible-island.net/xterm/xterm.faq.html#bash_meta_mode

As a rule, I add all of the features that xterm _can_ do to the terminal
description.  smm/rmm was added relatively late (only 5 years ago) because it
didn't occur to me til I'd added the escape sequence to implement it.

For what it's worth, the terminals that have been mentioned so far generally
don't implement the meta mode described in the terminfo manpage (one or another
of lacking the ability to change the mode, or consisting only of the choice
between prefixing some codes with an escape character or not).

If my attention's focused on that, I might make a table showing why they are or
are not marked with smm.

From terminfo(5):
       If the terminal has a ``meta key'' which acts as a shift  key,  setting
       the  8th  bit  of any character transmitted, this fact can be indicated
       with km.  Otherwise, software will assume that the 8th  bit  is  parity
       and  it  will usually be cleared.  If strings exist to turn this ``meta
       mode'' on and off, they can be given as smm and rmm.

-- 
Thomas E. Dickey <dickey@invisible-island.net>
http://invisible-island.net
ftp://invisible-island.net

Attachment: signature.asc
Description: Digital signature


Reply to: