Tzafrir Cohen wrote:

On Sat, Jul 05, 2003 at 11:59:47AM +0300, Shachar Shemesh wrote:



I have also found the sources for xkbprint, which does just that. The problem I'm currently facing is of documentation. Where are the Xkb extensions documented?



A copy of them comes with the XFree distribution. Look at the "docs"
package of it or something similar.


Thanks. That's where I finally found them. In indexable version would have been better, but that's what we have.

The problem with xkbprint: how to make it emit a symbol instead of a
name?


Being as it is that that's the FIRST place I looked, I can answer that.
In the xfree86 sources, in xc/programs/xkbprint/psgeom.c, line 1372:
       else if (((sym&(~0xff))==0)&&isprint(sym)&&(!isspace(sym))) {

The first clause of the "if" means that symbols taken outside the latin group are not quoted. I'm not sure what it would take to fix this, mind. It does mean that this situation seems to be hardcoded.

These are the sources for xfree86-4.2.1, which appears to be what "apt-get source xbase-clients" will bring you on debian sid (despite the fact that xfree 4.3 is used for actual X operations - wierd, really).

This currently only works for ISO-8859-1


Like I said - this appears to be hardcoded.

Shachar

--
Shachar Shemesh
Open Source integration consultant
Home page & resume - http://www.shemesh.biz/



=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]



Reply via email to