Re: XKB Patch

Peter Åstrand <[email protected]>
Newsgroups gmane.network.rdesktop.devel
Message-ID <[email protected]>
> On Fri, May 15, 2009 at 10:34 PM, Peter Åstrand <[email protected]> wrote:
>        The idea of generating keymaps from it using a perl script or similar is nice.
> 
> 
> I totally disagree. We're missing something important here.
> 
> XKB is two things. On one hand, the Xorg's XKB *database* is a pretty rich database of worldwide keyboard layouts. On the other hand, it's an X11
> extension with an API.

Yes, I know.


> The database is not a standard. Assuming that any XKB layout that names itself "us" gonna look the same is technically incorrect. That's why I'm against
> pregenerating keymaps offline. We should look at what the user has in runtime (through the XKB API), instead of assuming everyone who has "us" or "ru"
> keyboard layout necessarily loaded it from the Xorg 7.0 database.

Yes, if "pregenerating keymaps offline" means that we at runtime tries to 
interpret the keycodes, then I agree with you that this is wrong.


> Also, XKB layouts can be tricky. It can be "us", it can be "us+ru" or 
> "us+ru+il(pc105)" or whatever. Again, we're trying to be too smart here, 
> instead of doing the RIGHT thing and asking the server, in runtime.

Yes, using the XKB API to get the key names at runtime is in principle a 
sound design. The problem is just that I believe that relying on XKB and 
having two different implementations will be a pain.

What is the status of your XKB patch, is it up to date and complete?


Rgds, 
---
Peter Åstrand		ThinLinc Chief Developer
Cendio AB		http://www.cendio.com
Wallenbergs gata 4
583 30 Linköping	Phone: +46-13-21 46 00

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects

_______________________________________________
rdesktop-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/rdesktop-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.