Strange problem on new system with <Enter> versus <Return> (or linefeed versus carriage return)

Chris Green cl at isbd.net
Thu May 9 15:24:56 UTC 2024


I am in the process of migrating from an old system running mutt 2.1.4
on xubuntu 22.04 to a new system running mutt 2.2.12 on xubuntu 24.04.

I have simply copied across all my muttrc configuration etc. without
change, it's all working pretty well except for (so far) one problem:-

I have the following in muttrc so that hitting 'Enter' (the CR key) on
the keyboard sends an E-Mail after composing it:-

    bind    compose \n send-message         # rather than 'y'

This works as intended on the old system but not on the new system, it
would seem that mutt sees the 'Enter' key as CR (0x0d) on the new
system whereas on the old system it sees it as LF (0x0a).

The Enter key works everywhere else on the system, why is mutt showing
this oddity?

On the new system the help line at the bottom shows:-

    <Return>:Send  q:Abort  t:To  c:CC  s:Subj  a:Attach file  d:Descrip  ?:Help


Whereas on the old system it shows:-

    <Enter>:Send  q:Abort  t:To  c:CC  s:Subj  a:Attach file  d:Descrip  ?:Help

Can anyone explain why this is and, more to the point, tell me how to
fix it?

-- 
Chris Green


More information about the Mutt-users mailing list