Commits


ed: handle Unicode beyond the BMP correctly in list mode. List mode was constrained to the BMP. This change introduces the following new list mode convention, using Go string literal syntax: Non-printing ASCII characters display as \xhh. Non-ASCII characters in the BMP display as \uhhhh. Characters beyond the BMP display as \Uhhhhhhhh.


Trivial changes: whitespace and modes. Remote whitespace at the ends of lines. Remove blank lines from the ends of files. Change modes on source files so that they are not executable. Signed-off-by: Dan Cross <cross@gajendra.net>


ed: formatting tweak (remove redundant tab). (#301)


ed: replace magic number (077776, i.e. 32766) with NBLK-1. (#300) Temp file size is now declared in an enum; changing it from the default introduces a subtle bug in putline(), which expects it to be 32767. Mask with NBLK-1 instead.


ed: allow larger temp files Requested by rob.


ed: new append from rob, avoids overflow in pointer arithmetic R=rsc http://codereview.appspot.com/188041


ed: update to 32-bit Runes http://codereview.appspot.com/116119


better cleanup; use /var/tmp


Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.


apple


no wide character constants; sigh


stupid sun


Many small edits.


make things work on SunOS


Bug fixes from Scott Schwartz. Try to make 9term not crash when X errors happen.