Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!uw-beaver!ubc-cs!alberta!calgary!cpsc!jamesm From: jamesm@cpsc.ucalgary.ca (Mark James) Newsgroups: comp.sources.bugs Subject: Reactive Keyboard Segmentation Fault. Message-ID: <1971@cs-spool.calgary.UUCP> Date: 27 Oct 89 04:45:26 GMT Sender: news@calgary.UUCP Lines: 26 Keywords: RK Reactive Keyboard 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. jamesm@cpsc.ucalgary.ca