Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Michele Simionato
Well, this is ugly as the sin but it seems to work, at least for the moment: vk = VkKeyScan(ord(char)) if vk == -1: # ugly fix for backtips vk = 96 I will write to Gary Bishop to point out this issue with the Italian keyboard and see if he has some decent solution. Michele

Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Simon Percivall
Well, just modify the source in that case. -- http://mail.python.org/mailman/listinfo/python-list

Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Michele Simionato
No, I don't even know how to get it under Windows (usually I use Linux). Switching to the US keyboard does not help, anyway. I get the same error. Michele -- http://mail.python.org/mailman/listinfo/python-list

Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Simon Percivall
Possibly. Is the ` sign available as an unmodified key? -- http://mail.python.org/mailman/listinfo/python-list

Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Michele Simionato
That line seems right. The function is def char_to_keyinfo(char, control=False, meta=False, shift=False): vk = VkKeyScan(ord(char)) if vk & 0x == 0x: print 'VkKeyScan("%s") = %x' % (char, vk) raise ValueError, 'bad key' if vk & 0x100: shift = True if vk & 0x200: con

Re: issues installing readine-1.12 on WinXP

2005-03-13 Thread Simon Percivall
That shouldn't happen AFAICT. Check line 108 in keysyms.py and make sure it says "vk = VkKeyScan(ord(char))". -- http://mail.python.org/mailman/listinfo/python-list