Hi,

On Sun, Mar 27, 2011 at 07:28:26PM +0200, Samuel Thibault wrote:
> 
> Rather than copy/pasting ks_table.h, kstoucs.c and symname.c, I'd rather
> see the Hurd console simply depend on libX11, actually.
> 

ks_table.h, symname.c: That's easy. XStringToKeysym is a function exported by 
libX11
which doesn't appear to need a display or other heavy Xorg stuff.

>From kstoucs.c, the required function by our implementation is KeySymToUcs4.
Unfortunately, it is private. 

The apropiate public API seems to be XwcLookupString. But it needs a
display. It doesn't look like it will be usable in the console's
context. :(

Reply via email to