On Thu, Jan 14, 2016 at 02:14:37AM -0800, Jeffery Small wrote: > 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. The GNU/Linux curses implementation may well be recognising this as a function key. To be sure, open Mutt and type :exec what-key (press return and it should reply "Enter keys (^G to abort):") then press your function key. If it says "Char = <F21>" then that's your answer. If it says "Char = ~" then it recognised the key as a sequence of individual bytes (of which that's the last) and we're no nearer to an answer. If it says something else then the key is probably not producing the byte sequence you think it is. imc
