[GEM-dev] gensym, gemkeyname, and char's

James Tittle II tigital at mac.com
Mon Mar 22 21:07:32 CET 2004


On Mar 22, 2004, at 1:06 PM, IOhannes m zmoelnig wrote:
> James Tittle II wrote:
>> hey,
>> (this is kinda directed to IOhannes)
>> ...I'm having some problems getting [gemkeyname] to work right on 
>> OSX...at the moment, I'm grabbing a "macCharCode" and passing it on, 
>> but the output seems to always be the keyname for the pressed key 
>> PLUS 3 trailing characters (non-standard ones, at that)...
>> ...is it possible that gensym is generating these?  Does the keyname 
>> need to be null terminated?
>
> hmm, i really don't know but it might well be
> (from the looks of gensym() in m_class.c it has to be 0-terminated)

...zero-terminated worx!  Now if I can just get a good connection 
(stupid Sourceforge!) to commit it ;-)

thanx,
jamie





More information about the GEM-dev mailing list