On Wed, Oct 28, 2026 at 07:17:12AM -0500, Ranjan Maitra via Mutt-users wrote:
On Tue Oct27'26 09:40:38AM, Tim Chase wrote:
Typically the "alt is being held down" is transmitted by prefixing a
character(-sequence) with Esc (0x1B), and the control character gets
transmitted by effectively masking off the top 0x1F bits ("& !0x1F") of
letters.  So for ctrl+alt+z, I'd expect it so send

  <esc><ctrl-z>

but if the ^Z suspends mutt, then Sirius correctly establishes
that you'd have to use a different key.  But you also can't send
control+period because it's not a letter.

So you'd likely have to try

  control+alt+{letter}

Thank you! I tried a few combinations and failed, so I finally made peace with <esc>r which is a key combination I do not expect to be using all that much anyway. So, I ended up with:

The muttrc syntax that should work is "<esc>\ca" for ctrl-alt-a.

If that's not working and you're on an older mutt, you might want to try upgrading to at least 2.4.1. That included a fix for Alt keybindings in the Foot terminal (and possibly affecting others).

--
Kevin J. McCarthy
GPG Fingerprint: 8975 A9B3 3AA3 7910 385C  5308 ADEF 7684 8031 6BDA

Attachment: signature.asc
Description: PGP signature

Reply via email to