On 2016-01-14 14:10:04 -0800, Jeffery Small wrote: > >You can try to type the individual keys like Esc [ 2 0 ; 2 ~ to > >see if these key assignments actually work. If they work, then this > >is because the special key does not give the sequence you expect. > > I tried this for quite some time with different key combinations. It > almost always fails with mutt reporting: "Key is not bound. Press '?' for > help." > > However, every once in a while, these manually entered sequences DO work! > They might work two or three times in a row and then stop working again. I > have tested over and over and I cannot find any sequence of actions that > will reproduce the condition where they start or stop working. I have > never yet seen a case where the actual keypad key worked. > > Remember that mutt is reporting that these sequences are properly defined > in its internal tables. > > Does any of this shed additional light on what might be wrong. I'm > perplexed by the fact that the manual entry very occasionally works. This > seems very odd.
Perhaps your keyboard has some problem, e.g. some physical keys are not working properly. Or your system may have some bug. You can try with Emacs running in the same terminal (do not use Emacs's own GUI) by doing C-h k (which is a bit similar to Mutt's what-key function). > I did the :exec (nice trick to know!) and got: > > Keypad 5: Char = <F21> > Keypad 6: Char = <F22> > Keypad 7: Char = <F23> > Keypad 8: Char = <F24> > Keypad 9: Char = <F25> > > In .muttrc I replaced the bindings with <f21> through <f25> and YES, the > keys were recognized by mutt! A guess I never ran into this overlap of > F-keys with the auxiliary on the Solaris system. However, not all keys have a terminfo name. This means that you may be forced to use ";" in a key sequence for a binding. -- 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 / AriC project (LIP, ENS-Lyon)
