Article View: comp.sources.bugs
Article #287Reactive Keyboard bugs.
From: Mark James
Date: Tue, 12 Dec 1989 06:03
Date: Tue, 12 Dec 1989 06:03
32 lines
1090 bytes
1090 bytes
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
Technical Details
Message-ID:
<2224@cs-spool.calgary.UUCP>Path:
arc1-ca.pugleaf.net!utzoo!attcan!utgpu!jarvis.csri.toronto.edu!clyde.concordia.ca!uunet!zephyr.ens.tek.com!uw-beaver!ubc-cs!alberta!calgary!cpsc!jamesmShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!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