Your message dated Tue, 21 Jul 2026 06:34:30 +0000
with message-id <[email protected]>
and subject line Bug#1113796: fixed in mutt 2.4.1-1
has caused the Debian Bug report #1113796,
regarding mutt: key bindings involving meta (esc) do not work on foot
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
1113796: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1113796
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: mutt
Version: 2.2.13-1
Control: affects -1 + foot
X-Debbugs-Cc: [email protected]

Hi,

I am observing an annoying oddity when using mutt inside foot. By 
default, foot causes meta ("alt" key) to send a ESC (0x1b) as a prefix. 
This is what xterm calls metaSendsEscape (see manual page of foot for 
details) and as far as I can see, this is also what mutt expects. The 
behavior of the meta key can be changed at runtime using the escape 
sequences named "smm" and "rmm" in the terminfo database. Consider the 
following interaction in both an xterm and a foot terminal:
 * Start the terminal (expecting a bash shell).
 * Press meta-1.
   + Both: This invokes a readline behavior and looks like "(arg: 1)".
 * Press ctrl-c to abort.
 * Start mutt.
 * Use a key binding that involves meta. Example meta-l to show the 
   current limit.
   + xterm: "No limit pattern is in effect."
   + foot: "Key is not bound.  Press '?' for help."
 * Exit mutt.
 * Press meta-1.
   + xterm: "(arg: 1)"
   + foot: "±"
 * On foot, we may restore the meta behavior using printf "\e[?1036h" 
   (first half of rmm) or by resetting the terminal.

What we can see here is that mutt somehow invokes smm and thus disables 
the sending of meta keys for sending escape, but it does not expect that 
behavior. It also does not restore the behavior on exit.

We can further verify this by running mutt in strace and observing what 
it writes to stdout. Right after parsing /etc/Muttrc it goes:

write(1, "\33[?1036l\33[?1034h\33[39;49m\33[37m\33[40m\33[H\33[2J", 41) = 41

That \33[?1036l is what disables the sending of esc. However, I could 
not locate any relevant "smm", "rmm" or "1036l" in the mutt source code 
that would be causing this. Ultimately, I may be looking at the wrong 
layer.

I appreciate if someone knows a workaround for the issue. What works is 
pressing the actual escape key (e.g. esc then l instead of meta-l). In 
any case, this is not working as intended.

Helmut

--- End Message ---
--- Begin Message ---
Source: mutt
Source-Version: 2.4.1-1
Done: Antonio Radici <[email protected]>

We believe that the bug you reported is fixed in the latest version of
mutt, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Antonio Radici <[email protected]> (supplier of updated mutt package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Tue, 21 Jul 2026 07:46:27 +0200
Source: mutt
Architecture: source
Version: 2.4.1-1
Distribution: unstable
Urgency: medium
Maintainer: Mutt maintainers <[email protected]>
Changed-By: Antonio Radici <[email protected]>
Closes: 1072814 1113796 1140576 1141601
Changes:
 mutt (2.4.1-1) unstable; urgency=medium
 .
   * New upstream release (Closes: 1072814, 1113796, 1141601).
   * debian-specific/Muttrc.patch: removed sort=threads as default behavior to
     reflect upstream default (Closes: 1140576).
Checksums-Sha1:
 bd614e9e8d7c6b28a8e2827bafe8cbbf3e409851 2318 mutt_2.4.1-1.dsc
 493f61866201547014f86fe7be79598ae1075b83 5626446 mutt_2.4.1.orig.tar.gz
 0376ab4c9b2cbde37b5fa99ff64cd9d4a1bb0630 833 mutt_2.4.1.orig.tar.gz.asc
 cd3fa36b29dce4be0345030735d5101ccdb356fb 56560 mutt_2.4.1-1.debian.tar.xz
 ef974b97fad71f6801ab28b2238cf77d8dd38d0f 8444 mutt_2.4.1-1_amd64.buildinfo
Checksums-Sha256:
 5a7ef934f927d06836b0bb63abee3707174800b8bd2386df5b0c124c6e8de799 2318 
mutt_2.4.1-1.dsc
 5624321f0b1cc1eff6cab9ef08f25954ff64c51b33d4bf3b99484cf1edd8cfff 5626446 
mutt_2.4.1.orig.tar.gz
 03bbcfb8ebe1aa16a25a33dbdf50457a377e34567eebdc22c14fc2641d052b13 833 
mutt_2.4.1.orig.tar.gz.asc
 1eb2d07b815f29ec2abe1b4e36a1add0cbdd588e6025ce1c76caf6c82fde7414 56560 
mutt_2.4.1-1.debian.tar.xz
 baf8b24f4a4528a119914ec3efe3ce965d504e2b9b3522b850a6808cc18e3a85 8444 
mutt_2.4.1-1_amd64.buildinfo
Files:
 418b2d2842fe61e73e413ba4d27968dc 2318 mail optional mutt_2.4.1-1.dsc
 5013f92c0b45edcac344eaeec68b0e6c 5626446 mail optional mutt_2.4.1.orig.tar.gz
 ba785f306f02486e62f77d1eeacbb46d 833 mail optional mutt_2.4.1.orig.tar.gz.asc
 73c86abeac998d7f1570626b31201f07 56560 mail optional mutt_2.4.1-1.debian.tar.xz
 0739351fa24faa8c85fd8f46902a4fbe 8444 mail optional 
mutt_2.4.1-1_amd64.buildinfo

-----BEGIN PGP SIGNATURE-----

iQJHBAEBCgAxFiEEQObYrBkA1SRrfOa1NcjIiHLLHu0FAmpfDOwTHGFudG9uaW9A
ZGViaWFuLm9yZwAKCRA1yMiIcsse7bltEACJQt3rsaWCRd4X9UkiX4hY0ZsFsF12
/XG9VdZoxPx0SsUicEukukBi+CjswO2IQngqdKH8h9NnWRcNDkPWt8eG4Rf8TopC
PrjLLtV2T6ud5BvQCsHV5iAugmHtyapl5icCeVsfSR76SsQz4DMNN/UhHQYIlwEJ
RNB9XoWvzQyZXLHPYcsEFDsmkcV1duTszSeXIBsOCV6RgfM6PoTARbaeZ5Z5rbhW
rviCVXnG/PNikg10VWV9IJSqE0Q/a6Om9bvclG7nIVmKxcNt0TGd3699qFhVzvgn
MDx2ZqH1i96XkrXqCgrSitsdFC1DTze89JLFt96lwrsYKWbmOnz3iqQq3LM6pU7w
9e3X2STNIVaXhIbd+J6KBcbMPP6cEzbZSkPUpOyL8Hkwm7JKXJ7CnfXC2BXnmmZs
ErXp8gYhqZ4P87diuyG33lJigCbPtVh8vTpabXdlLGrhxQ5oP65LuQqxt6EpsHCA
0gyWovQJHAdSZPLRkCHllULp76PvSi7NEq3bL+laslLfst+nqNWIn2tSQOzY0xfs
uq21ZIAvLoA41ZRx+M8Jrxve0kk5BUOU05t+Iq8VSKrhTUfLd/4fyQZqDKzu5XgB
SPAxVOCXuzYeHU1zC5kMW9ltYes6rSIu0UMOx0snTg6Mn32XQiabnXtEk103aRKj
tcpnvcF6zSdRzA==
=ADu+
-----END PGP SIGNATURE-----

Attachment: pgp3Fwt9VEmhG.pgp
Description: PGP signature


--- End Message ---

Reply via email to