aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/ed.c
Commit message (Collapse)AuthorAgeFilesLines
* ed: handle Unicode beyond the BMP correctly in list mode.sean2020-05-291-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.
* Trivial changes: whitespace and modes.Dan Cross2020-01-101-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>
* ed: formatting tweak (remove redundant tab). (#301)Marc Simpson2019-12-101-1/+1
|
* ed: replace magic number (077776, i.e. 32766) with NBLK-1. (#300)Marc Simpson2019-12-081-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.
* ed: allow larger temp filesRuss Cox2017-09-011-1/+1
| | | | Requested by rob.
* ed: new append from rob, avoids overflow in pointer arithmeticRuss Cox2010-01-121-10/+14
| | | | | R=rsc http://codereview.appspot.com/188041
* ed: update to 32-bit RunesRuss Cox2009-09-161-9/+9
| | | | http://codereview.appspot.com/116119
* better cleanup; use /var/tmprsc2006-07-231-2/+2
|
* Use gcc -ansi -pedantic in 9c. Fix many non-C89-isms.rsc2006-04-011-1/+1
|
* applersc2005-07-131-1/+1
|
* no wide character constants; sighrsc2005-05-071-8/+8
|
* stupid sunrsc2005-01-141-1/+0
|
* Many small edits.rsc2005-01-131-1/+1
|
* make things work on SunOSrsc2004-04-201-1/+4
|
* Bug fixes from Scott Schwartz.rsc2004-03-261-0/+2
| | | | Try to make 9term not crash when X errors happen.
* new utilities.rsc2003-11-231-0/+1608
the .C files compile but are renamed to avoid building automatically.