From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: To: 9fans@cse.psu.edu From: Fco.J.Ballesteros MIME-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 8bit Subject: [9fans] source change to allow for Alt-space Date: Wed, 3 Jul 2002 13:27:39 +0200 Topicbox-Message-UUID: bff957bc-eaca-11e9-9e20-41e7f4b1d025 Even if we never end up using ␣ instead of " ", I think this change is useful on its own. It allows one character sequences in /lib/keyboard, considering that the sequence " " is actually " ". Right now, I'm using "␣" as the rune for Alt-space, therefore I made no change to /lib/keyboard. diff /n/dump/2002/0703/sys/src/cmd/aux/mklatinkbd.c mklatinkbd.c 185c185 < if(inseq && p-seq >= 2) { --- > if(inseq && p-seq >= 1) { diff /n/dump/2002/0703/sys/src/9/port/latin1.c /sys/src/9/port/latin1.c 58a59,65 > if(l->ld[0] == '\0' && n == 1){ > for(p=l->si; *p!=0; p++) > if(*p == k[0]) > return l->so[p - l->si]; > return -1; > } > for(l=latintab; l->ld!=0; l++)