Commit graph

16 commits

Author SHA1 Message Date
sean
95220bf887 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.
2020-05-29 21:42:23 -04:00
Dan Cross
fa325e9b42 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>
2020-01-10 14:54:30 +00:00
Marc Simpson
f7f0512875 ed: formatting tweak (remove redundant tab). (#301) 2019-12-10 22:06:05 +05:30
Marc Simpson
3d08a066b1 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.
2019-12-08 20:19:17 -05:00
Russ Cox
a9e20eb10a ed: allow larger temp files
Requested by rob.
2017-09-01 12:06:25 -04:00
Russ Cox
c51c29052e ed: new append from rob, avoids overflow in pointer arithmetic
R=rsc
http://codereview.appspot.com/188041
2010-01-12 11:16:14 -08:00
Russ Cox
cfa81d56c6 ed: update to 32-bit Runes
http://codereview.appspot.com/116119
2009-09-16 16:46:07 -04:00
rsc
90c3dab6d4 better cleanup; use /var/tmp 2006-07-23 14:43:21 +00:00
rsc
cbeb0b26e4 Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms. 2006-04-01 19:24:03 +00:00
rsc
a8ec4910fd apple 2005-07-13 21:34:11 +00:00
rsc
bb0266fe61 no wide character constants; sigh 2005-05-07 22:42:06 +00:00
rsc
0dc9950215 stupid sun 2005-01-14 18:21:12 +00:00
rsc
c8b6342d3c Many small edits. 2005-01-13 04:49:19 +00:00
rsc
a0f1e21ff9 make things work on SunOS 2004-04-20 02:03:38 +00:00
rsc
6b2d0fd946 Bug fixes from Scott Schwartz.
Try to make 9term not crash when X errors happen.
2004-03-26 03:45:55 +00:00
rsc
bc7cb1a15a new utilities.
the .C files compile but are renamed to avoid building automatically.
2003-11-23 18:04:47 +00:00