this appears to fix the bug of cb dropping the character after a colon. Reference: /n/sources/patch/applied/cb-colon-drops-next-char Date: Fri Oct 28 04:47:56 CES 2005 --- /sys/src/cmd/cb/cb.c Fri Oct 28 04:47:18 2005 +++ /sys/src/cmd/cb/cb.c Fri Oct 28 04:47:14 2005 @@ -52,11 +52,11 @@ exits(0); } void -work(void){ - int c; +work(void) +{ + int c, cc; struct keyw *lptr; char *pt; - char cc; int ct; while ((c = getch()) != Beof){ @@ -471,6 +471,7 @@ putch(cc,NO); continue; } + unget(cc); if (question == 1){ question = 0; gotop(c);