I'm having an odd problem with mutt running on a new system.  I posted
to the mutt users list but got only one reply which did not work.  I'm
wondering if this might be a bug in mutt.  Here is slightly modified version
of my original post which clarifies a few things.

-------------------------------------------------------------------------
OS: Xubuntu 15.10
mutt:       1.5.23              [Standard debian package]

I have been running mutt on a Solaris system for years.  I am now
transitioning to a Ubuntu machine.  I am using the same Sun Type 6 keyboard
on both machines, however, on the new system there are some escape
sequences issued by keys that include a semicolon.  This did not occur on
the Sun system.  Here is an example:

    Keypad 5 Key:    ^[[20;2~

In the .muttrc file, these sequences cannot be unquoted so I have entries
like:

    bind generic   "<esc>[20;2~"    select-entry
    bind attach    "<esc>[20;2~"    view-attach

However, none of the bindings or macros that have a ";" in them are working
when mutt runs.

I have tried various alternatives in the .muttrc file such as:

    <esc>[20\;2~

and

    "^[[20;2~"          (i.e., an actual escape character)

and

        "^[[20\0732~"   (\073 in place of the semi-colon)

and

    ^[[20\0732~

but nothing works.  Furthermore, when I am in mutt and hit "?", the bindings
escape sequences are properly shown in the list!

        <Esc>[20;2~  select-entry         select the current entry

I'm running mutt in an xfce4-terminal but I get the same results when I
use an xterm.

What is the trick for getting these escape sequences recognized?
-------------------------------------------------------------------------

Outside of mutt, on the command line I can type ^V and the key and see that
it is definitely issuing the proper string.  All key assignments without a
';' in them work file and all that include a ';' fail.

Any idea what I could try or a method of testing this further?  As best as
I can tell, mutt is properly processing the semi-colon from the .muttrc file
but is failing to recognize it while running.

Not having my standard keys working is a huge problem as I have 25 years of
muscle memory that I am fighting! :-)

Thanks.
--
Jeffery Small

Reply via email to