--- /n/sources/plan9/sys/src/9/port/devcons.c Fri Jul 19 06:22:41 2013 +++ /sys/src/9/port/devcons.c Wed Jun 18 00:00:00 2014 @@ -523,7 +523,7 @@ kbdputc(Queue*, int ch) { int i, n; - char buf[3]; + char buf[UTFmax]; Rune r; char *next;