summaryrefslogtreecommitdiff
path: root/bin/ed
AgeCommit message (Expand)Author
2019-06-28fputc returns EOFTheo de Raadt
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Be precise in checking for errors. pclose(3) returns -1 and fclose(3)Florian Obser
2018-06-19Revert previous, there were some unintended beviour changes.Martijn van Duren
2018-06-18Remove the parse_char_class and let regcomp determine if our bracketsMartijn van Duren
2018-06-15Remove references to BACKWARDS.Martijn van Duren
2018-06-15Make sure we always return more than a single '!' in get_shell_command.Martijn van Duren
2018-06-15Remove the non-BACKWARDS option for GET_THIRD_ADDR. No change to currentMartijn van Duren
2018-06-04Remove the extra pager code when compiled without the BACKWARDS flag.Martijn van Duren
2018-06-04Definitively choose the existing semantics for the scroll and null command.Martijn van Duren
2018-05-24Fail earlier if we don't have a current filename. This simlifies theMartijn van Duren
2018-04-26Make ed's 'l' command end lines with a '$' and make sure that literalMartijn van Duren
2018-02-26Make ed(1) warn about modifications if 'r'ead in an empty file andMartijn van Duren
2018-01-09Rename test file =.err to eq.err for simpler make file scripts.Alexander Bluhm
2017-07-05nits about trailing punctuation found with mandoc -TlintIngo Schwarze
2017-04-26silence clang warnings: add an extra pair of parentheses and stopChristian Weisgerber
2017-01-03Allow the omission of one address in (.,.) and (.;.) address rangesTheo Buehler
2016-10-11Reimplement g flag for s commands. Got lost in previous commit.Martijn van Duren
2016-10-10Remove infinite loop detection from the s-command.Martijn van Duren
2016-09-23remove the note about the list command (l) displaying a --More--Jason McIntyre
2016-08-16Piping to a shell command does not count as a save, so don't reset theMartin Natano
2016-08-02Fix the begin of word bug in s-command, similar to sed.Martijn van Duren
2016-03-27actually remove unnecessary includesMichael McConville
2016-03-22header cleanupmmcc
2015-11-20honestly i think you should just zap that paragraph - it doesn;t maketb
2015-11-20make ed restore the user defined prompt (specified with -p) when it was turnedtb
2015-10-25POSIX says that you can't capture the return value of sigsetjmp().Philip Guenther
2015-10-21Style fixes; from Ilya KalimanTodd C. Miller
2015-10-09The variable errmsg can be static in main.c if code in re.c uses an ownTobias Stoeckmann
2015-10-09Define functions as static when they are not used outside their own c-files.Tobias Stoeckmann
2015-10-09Mark static globals that are only used in their respective .c files.Todd C. Miller
2015-10-09Change all tame callers to namechange to pledge(2).Theo de Raadt
2015-10-07tame "stdio rpath wpath cpath proc exec tty". proc and exec because edTheo de Raadt
2015-10-04Remove useless pattern_t typedef, POSIX regex is here to stay soTodd C. Miller
2015-10-04Remove #ifdefs for non-POSIX systems. Also remove #ifdef forTodd C. Miller
2015-09-14Avoid .Ns right after .Pf, it's pointless.Ingo Schwarze
2015-07-28remove gratuitous castsTheo de Raadt
2015-07-14use atomic operations on sig_atomic_t variables inside the signal handlers,Theo de Raadt
2015-07-11XXX annotate another signal raceTheo de Raadt
2015-06-22theo buehler points out that posix specifies a prompt defined using -pJason McIntyre
2015-01-16Replace <sys/param.h> with <limits.h> and other less dirty headers whereTheo de Raadt
2014-12-04document some more commands that are POSIX extensions. ok jmc@Daniel Dickman
2014-12-04Allow POSIX 0i; from Jeremy Mates.Daniel Dickman
2014-12-02Remove prototypes for functions that were already removed.Todd C. Miller
2014-12-02The t.t test is missing and so the t.* test is not being run.Daniel Dickman
2014-11-26Prefer setvbuf() to setlinebuf() for portability; ok deraadt@Todd C. Miller
2014-11-26document in STANDARDS that we do not mark eols with $;Jason McIntyre
2014-11-20remove sys/file.h includes in favor of fcntl.h where needed.Ted Unangst
2014-07-12If a constant string needs a name, use a static const array insteadPhilip Guenther
2014-05-24delete restricted ed. no one will ever use this. never documented or enabled.Daniel Dickman