На 16 май 2002 г. (четвъртък), в 13.02 часа, Boyd Roberts писа: > > I've changed the definition of Altgr to Spec|0x67 > > Yes that's right. I'd also change Spec too: > > Spec= 0xF800, /* Unicode private space */ > Altgr= Spec|0x67, > > If Spec is 0x80 it causes all sorts of woe when you hit Latin-1 characters. > I'm changing it back to 0x80 since key View (Down) is defined as Spec|0x00. The value 0x80 for View is hardcoded in rio, acme and sam and when redefined those programs no longer recognise View as a special key, and just insert it as text. According to Unicode characters 0x0080 to 0x009F are designated as control ones so it is safe to use them for special keys. The old definitions for the other Spec-based keys were causing conflict with Latin-1 characters because Spec (0x80) was ORed with values above 0x1F (0x20; 0x60 to 0x67) yielding valid accented Latin characters. That's why I've also changed the definitions for those keys to be ORed to saner values (0x10; 0x01 to 0x08). Most of those special keys are interpreted only inside kbd.c so no conflict with external hardcoded config is possible. Only Break (does it have any special meaning in P9 or special interpretation?), PF and Middle (both unassigned in current keymaps) are put into keyboard buffer. The updated kbd.h is attached. Regards, Pavel