bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: XKB's keymaps for the Hurd console


From: Diego Nieto Cid
Subject: Re: XKB's keymaps for the Hurd console
Date: Sat, 2 Apr 2011 20:11:26 -0300
User-agent: Mutt/1.5.21 (2010-09-15)

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

[Prev in Thread] Current Thread [Next in Thread]