This patch has two changes for cb. It avoids special processing for a colon that is followed by another colon. If you are forced to look at C++ code, then you sometimes want to hit small fragements of it with cb. This patch prevents identifiers a::b from being broken up. It prefixes split lines with tab rather than four spaces. This looks better in acme. Reference: /n/sources/patch/applied/cb-col-split Date: Thu Sep 22 12:50:03 CES 2005 --- /sys/src/cmd/cb/cb.c Thu Sep 22 12:40:35 2005 +++ /sys/src/cmd/cb/cb.c Thu Sep 22 12:40:34 2005 @@ -466,6 +466,11 @@ gotop(c); continue; case ':': + if ((cc = getch()) == ':') { + putch(c,NO); + putch(cc,NO); + continue; + } if (question == 1){ question = 0; gotop(c); @@ -796,7 +801,7 @@ lbegin = 0; if (split == 1){ split = 0; - if (clev->tabs > 0)Bprint(output, " "); + if (clev->tabs > 0)Bprint(output, "\t"); } } *p = '\0';