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.
The program "pbm2png" included in this package is truly horrible.
Its few comments are misleading, and it is riddled with magic constants throughout the code.
It manages to function on Intel/Linux, but is completely broken on a Sun, and it is a pretty safe bet that it will not work on any big-endian machine.
Sorry to be so negative, but Freshmeat is getting big and should perhaps try to be a little more selective.