Beattie ed ========== * Introduction * Documentation * Limitations * Source code Introduction ============ This is a DOS version of a *nix-style line editor by Brian Beattie. Documentation ============= * doc/ed.txt * doc/tutorial.txt Limitations =========== ed.exe is compiled with Watcom and can only use 640kb conventional memory and short 8+3 filenames. ed32.exe compiled with DJGPP requires a DPMI server such as CWSDPMI. Technical maximum limits: 16-bit ed.exe ------------- Line: 256 characters long Regex: 256 characters long Filename: 256 characters long 32-bit ed.exe ------------- Line: 8192 characters long Regex: 1024 characters long Filename: 1024 characters long System command: 126 characters long (approximate) Source Code =========== src/ed.c -------- wmake -f Makefile.watcom to compile ed.c into ed.exe make -f Makefile.dj to compile ed.c into ed32.exe Run build.bat or build.sh to compile ed.c into ed.com I made minor changes: * compile with dev86 bcc, djgpp, or watcom * add 'n' command * add '!' command % substitution * add '!' end of output ! marker src/ed.bak ---------- ed.bak is the original minix ed source code circa 2010. Older versions -------------- These were built with Borland Turbo-C.