On Tue, Feb 22, 2000 at 12:43:50AM +0200, Mikko Hänninen wrote:

> I've used  cat > /dev/null  followed by pressing the key, and seeing
> which characters get printed.  This may or may not work for you...
[...]

At least under tcsh (haven't tried it under any other shell), it's as easy
to simply type Ctrl-v, then the key you'd like to get the code of. Works
like in Vim.
Also, when editing the muttrc file to add those "weird" codes, be aware of
the fact that often there is an "Escape" in there. Example: In my rxvt under
Linux, <End> will produce "^[[8~". Now, the first ^[ is *not* the two
characters ^ and [ but a single "Escape" character. You can get it e.g. by
editing muttrc with vim and pressing Ctrl-v, then Esc.

HTH,

Thomas
-- 
-----------------------------------------------------------------------------
      Thomas Ribbrock    http://www.bigfoot.com/~kaytan    ICQ#: 15839919
   "You have to live on the edge of reality - to make your dreams come true!"

Reply via email to