Georg Baum <[EMAIL PROTECTED]> writes: > > John Pye wrote: > > > Hi Helge > > > > The issue here, as far as I can tell, is: why doesn't LyX accept these > > characters if they work fine in other X-windows applications on my > > machine? > > It is a bug. There is no reason why it should not be possible to enter a > degree symbol via the keyboard, if there is a key with that symbol. If > there is no key, then it is a bit trickier, but it should be possible > nevertheless to use some key combination. > > > It seems that there is some kind of filter layer in place that's not > > letting the critical keys through. Is this filter layer working on the > > basis of the unicode value for the character (ie what character is being > > represented), or is it operating on the basis of keystrokes (which would > > suggest that possibly remapping the keyboard might fix it)? I don't > > understand why, if LyX is an X-windows program, the characters would not > > get through.
On Solaris, where there is a native Compose key, here is what I get (lyx-1.4.4, LANG=fr) Setting key to 65535, KeySym is isOK is 0 Empty kbd action (probably composing) Setting key to 4128, KeySym is Shift_L isOK is 1 isMod is 1 isModifier true Setting key to 94, ^ KeySym is asciicircum isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 94 void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) action first set to [-1] void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state)action now set to [-1] void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) Key [action=-1][Maj+^] Trying without shift Action now 86 Cannot decode: ^ SelfInsert arg[`^'] Setting key to 176, ° KeySym is degree isOK is 1 isMod is 0 encoding is iso8859-1 Using codec ISO 8859-1 ISOEncoded returning value 176 void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) action first set to [-1] void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state)action now set to [-1] void LyXFunc::processKeySym(boost::shared_ptr<LyXKeySym>, key_modifier::state) Key [action=-1][Maj+°] Trying without shift Action now 86 Cannot decode: ° SelfInsert arg[`°'] And on screen, I get the ° sign all right, but the ^ is printed also. BTW, the key combination for the degree sign is ^* on Solaris. Same problem with µ, that I use often, I get /µ (the sequence is /u). HTH -- Jean-Pierre