[PS: Please don't post HTML to the list]

Anubhav Hanjura wrote:

> How can I trap special characters like say ALT-A to ALT-Z from my
> program?

It depends upon what the terminal does with Alt-<key>. The three most
common options are:

a) Ignore the Alt.

b) Send ESC-<key>

c) Send the ASCII code plus 0x80

> I want the solution to be portable across platforms so that I can do
> the same on Windows also.

Sorry, but Windows isn't really compatible with anything except
Windows.

-- 
Glynn Clements <[EMAIL PROTECTED]>

Reply via email to