[comp.sources.bugs] Reactive Keyboard bugs.

jamesm@cpsc.ucalgary.ca (Mark James) (12/12/89)

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