<<< Date Index >>>     <<< Thread Index >>>

Re: Return does not work with sidebar patch



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Mon, Oct 08, 2007 at 04:33:34PM -0700, Gary Johnson wrote:
> > Is there a tool which tells me the characters of keystrokes? 
> > xev does not work for key combinations. 
> 
> Yes, there is such a tool built into mutt.  From the index, type
> 
>    :exec what-key
> 
> and hit enter.
I've never heard of that one - are there other built-in programs in mutt
which can be invoked using :exec? I've found nothing on the web / man
page.

> I just tried this and it seems a little broken.  The following keys,
> 
>    <Enter>
>    Ctrl-J
>    Ctrl-M
> 
> are all displayed as
> 
>    Char = <Return>, Octal = 12, Decimal = 10
Same thing here. Ctrl-M should be something with Decimal value 14. Does
anybody know why Ctrl-M (Carriage Return) is the same as Ctrl-J (Line
Feed / Newline)? Perhaps it has something to do with portability between
Linux, Windows and Mac computers? 

> Getting back to the subject of overlapping keys, applications that 
> are designed to accept input from a terminal, as mutt is, accept 
> only sequences of 7-bit or 8-bit characters because that's all the 
> original terminals supported.   
I've understood this and the in-depth explanation in your other mail, at
least I believe so. But mutt is able to use the Unicode character set for
displaying. So, input has to be sequences of 7-bit / 8-bit characters,
output can be the whole unicode character set? 

Regards,
Andreas

- -- 
  ^^^    | Andreas Leppert
d(O_o)b  | GPG/PGP-Key-ID: 0x4845F397
 >-|-<   | GPG/PGP-Finger: E3C0 8438 6F0C 2D02 5E0C  0306 E847 964A 4845 F397
  / \    | Jabber-ID: lepand@xxxxxxxxxxx
         | ICQ#: smas][or 104361704
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)

iD8DBQFHC2H06EeWSkhF85cRAvpOAJ0QhlS/O9dPW0rKoY5ExPf7fHa7xwCfWm3D
wsAeb/PdxbfiF0KzMQQi/iE=
=f1Uf
-----END PGP SIGNATURE-----