.B Num
will not change
the characters already present in the string, but will
-take effect on newly pressed keys.
+take effect on newly pressed keys. Opening the
+.BR kbd
+file disables input processing on the
+.BR cons
+file until it is closed again.
.PP
Raw scancodes can be written to the
.BR kbin
break;
case Araw:
- if(raw){
+ if(raw || kbdopen){
s = emalloc9p(UTFmax+1);
s[runetochar(s, &r)] = 0;
} else {
e = s + strlen(s);
Havereq:
+ if(kbdopen){
+ free(b);
+ b = nil;
+ break;
+ }
while(b && (req = qcons.h)){
if((qcons.h = req->aux) == nil)
qcons.t = &qcons.h;