aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ed.c
AgeCommit message (Collapse)AuthorFilesLines
2020-05-29ed: handle Unicode beyond the BMP correctly in list mode.sean1-9/+32
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-01-10Trivial changes: whitespace and modes.Dan Cross1-4/+4
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>
2019-12-10ed: formatting tweak (remove redundant tab). (#301)Marc Simpson1-1/+1
2019-12-08ed: replace magic number (077776, i.e. 32766) with NBLK-1. (#300)Marc Simpson1-1/+1
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.
2017-09-01ed: allow larger temp filesRuss Cox1-1/+1
Requested by rob.
2010-01-12ed: new append from rob, avoids overflow in pointer arithmeticRuss Cox1-10/+14
R=rsc http://codereview.appspot.com/188041
2009-09-16ed: update to 32-bit RunesRuss Cox1-9/+9
http://codereview.appspot.com/116119
2006-07-23better cleanup; use /var/tmprsc1-2/+2
2006-04-01Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc1-1/+1
2005-07-13applersc1-1/+1
2005-05-07no wide character constants; sighrsc1-8/+8
2005-01-14stupid sunrsc1-1/+0
2005-01-13Many small edits.rsc1-1/+1
2004-04-20make things work on SunOSrsc1-1/+4
2004-03-26Bug fixes from Scott Schwartz.rsc1-0/+2
Try to make 9term not crash when X errors happen.
2003-11-23new utilities.rsc1-0/+1608
the .C files compile but are renamed to avoid building automatically.