Re: [PATCH] Change <delete> to delete forward in the editor menu.

Vincent Lefevre <[email protected]> Sun, 2 Aug 2026 20:39:03 +0200
Newsgroups gmane.mail.mutt.devel
Message-ID <[email protected]>
On 2026-08-02 13:29:29 -0300, Jim via Mutt-dev wrote:
> >> "Mystery" (partially?) solved.  I see that (presumably since 2004 or so) I
> >> have X resources for xterm
> >> XTerm*backspacekey:	\177
> >> XTerm*deletekey:	\010
> 
> > those aren't recognized by xterm (see manpage)
> 
> Looking in my X resources file, I see
> 
> XTerm.vt100.translations: #override \
>                 <Key>BackSpace: string(\177) \n\
>                 <Key>Delete: string(\010)
> 
> (which I didn't notice when I quickly looked).
> 
> Some people might wonder about the ones I mentioned above; the comment
> in my file is revealing:
> 
> ! Ironically, this works in rxvt and aterm, but not xterm!
> XTerm*backspacekey: \177
> XTerm*deletekey: \010
> 
> The "mystery" is possible more solved now.

And with these settings, I doubt very much that your Delete physical
key gives the <delete> key in Mutt. You can check with the <what-key>
function.

-- 
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)