Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!alberta!calgary!cpsc!jamesm From: jamesm@cpsc.ucalgary.ca (Mark James) Newsgroups: comp.sources.bugs Subject: Reactive Keyboard bugs. Keywords: Core dump malloc Message-ID: <2224@cs-spool.calgary.UUCP> Date: 12 Dec 89 06:03:25 GMT Sender: news@calgary.UUCP Lines: 32 There has been some talk about the Reactive Keyboard recently. I posted this before, but I'll post it again. There is a bug in the posted source for the Reactive Keyboard which causes it to dump core on some systems. To fix it, replace : In file "parse_keys.c" line 569 while(*b){ if((*b<32) || (*b==127)){ *a++='^'; *a++=(*b==127)?b++,'?':(*b++)+'@'; } *a++ = *b++; } with while(*b){ if((*b<32) || (*b==127)){ *a++='^'; *a++=(*b==127)?b++,'?':(*b++)+'@'; } -> else *a++ = *b++; } Many thanks to Gert Florijn for finding a fix to this problem. M. Send me email if you have any other problems. jamesm@cpsc.ucalgary.ca