GNU ed is an 8-bit clean implementation of the POSIX line-oriented text editor. Ed is the "standard" text editor in the sense that it is the original editor for Unix, and thus widely available. For most purposes, however, it is superseded by full-screen editors such as GNU Emacs or GNU Moe.
| Tags | Text Editors |
|---|---|
| Licenses | GPLv3 |
| Implementation | C |
Recent releases


Changes: The undo command has been fixed to restore the modified status of the buffer being edited. A race condition with user interrupt has been fixed in search_and_replace. resize_line_buffer and resize_undo_buffer functions have been added to definitively fix the aliasing warnings. Some minor corrections have been made to the manual.


Changes: An aliasing related segfault that only occurs when overoptimizing with GCC on some architectures (alpha, sparc) has been fixed.


Changes: The man page is now installed by default. "make install-info" should now work on Debian and Mac OS X. The license of the manual has been updated to GFDL version 1.3 or later.


Changes: The man page is now installed by default. "make install-info" should now work on Debian and Mac OS X. The license of the manual has been updated to GFDL version 1.3 or later.


Changes: The configure script now quotes arguments before storing them in config.status. This release is also available in lzip format.
- All comments
Recent commentsdon't be so self deprecating!
Maybe the about section shouldn't be so self deprecating.
There are many good reasons still to have a decent line editor available on all systems. Some of those could be described instead of worrying about the other tools that don't really compare.
Re: errors in ed-0.4
> there are a couple of glaring errors in signal.c:
Both errors will be fixed in version 0.6.
Next time, please use the mailing list to notify errors. Thanks.
errors in ed-0.4
I'm sure Antonio Diaz means well, but there are a couple of glaring errors in signal.c:
In sigwinch_handler(), there is an executable statement before a declaration (when TIOCGWINSZ is defined). That works in C++, but not in C.
In set_signal(), the non-standard flag SA_RESTART is used. This should be conditionalized, as it is not supported on all flavours of Unix (including QNX Neutrino); POSIX does not in fact require it to be defined.
excellent.
This is quite possibly one of the coolest projects I've ever seen announced on Freshmeat.