9fans archive / 1996 / 10 / 70 /    prev next

From: jm@mim... jm@mim...
Subject: problem with compose key on sun keyboard (+ fix)
Date: Wed, 23 Oct 1996 02:17:58 +0000

There is a bug in /sys/src/9/ss/screen.c : the compose key acts
like a repeat key ; it is a problem for me, when I am trying to
find the accent on my keyboard: the previous key is repeated.

A simple fix is to move the kbdrepeat(1) in the kbdstate function
in /sys/src/9/ss/screen.c, for example to :
	if(ch == 0xB6){	/* Compose */
		kbdrepeat(0);
		collecting = 1;
		nk = 0;
	}else{
		repeatc = ch;
		kbdrepeat(1);

Or was it a feature?