>>>>> "Sriram" == Sriram Karra <[EMAIL PROTECTED]> writes:
Sriram> jso <[EMAIL PROTECTED]> writes:
>> i want to use emacs with the -nw option in an Eterm. i am on
>> FreeBSD 4.5 and env shows that i am using some cons25 terminal.
>>
>> When i run Emacs on a console the meta key doesn't work
Sriram> Hm, does the meta key work in other apps? I have no clue
Sriram> about *bsd stuff -- only faced this irritance myself for
Sriram> about 10 minutes before I quit. I would check if that key
Sriram> has a key-sym (in Linux parlance).
Sriram> btw, do you really have a "meta" key? or are you
Sriram> referring to the "Alt" key?
There're two types of `meta' keys used in terminals:
1. Real Meta, which sets the high bit of the corresponding character
pressed. E.g. Meta-A becomes 0xC1 (since A is 0x41), etc.
2. Pseudo-Meta, which is used by many terminals to emulate the Meta
key. Here pressing the Meta key with another character sends the
string <ESCAPE> <character> to the application. Fortunately many apps
(including Emacsen) treat this as equivalent to the corresponding
character with the high bit set (real Meta).
Now the question can be broken into two parts:
a. Does pressing <ALT> <character> do anything at all to the
character or does it just send the character as it is?
b. If it does do something, which of the above two strings (high-bit
or Escape) does it send?
To complicate things further, terminals may choose to strip out the
high bit (stty istrip or stty cs8 permutations), so if your ALT-char
is actually sending char with high bit set the app may never see it
since the terminal cooked mode driver has already removed the high bit
from the input.
Regards,
-- Raju
>> [snip]
--
Raju Mathur [EMAIL PROTECTED] http://kandalaya.org/
It is the mind that moves
_______________________________________________
linux-india-help mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/linux-india-help