by Izkata · 8y ago · 0 comments
When I got my dad's old Windows 3.1 laptop somewhere around 1999, I discovered DOS and started fiddling with it, eventually discovering the "edlin" editor. Everyone else though it was bizarre and hard to use, but I really liked it because I could look at different parts of a file at the same time.
The commands were similar to the example given here for ed, but the output much much easier to read. Does anyone know if it was another clone or just coincidence?
>When I use an editor, I don't want eight extra KILOBYTES of worthless help screens and cursor positioning code! I just want an EDitor!! Not a “viitor”. Not a “emacsitor”. Those aren't even WORDS!!!! ED! ED! ED IS THE STANDARD!!!
>TEXT EDITOR.
>When IBM, in its ever-present omnipotence, needed to base their “edlin” on a Unix standard, did they mimic vi? No. Emacs? Surely you jest. They chose the most karmic editor of all. The standard.
EDLIN was a clone of CP/M ED. Was CP/M ED influenced by Unix ed? I don't know, but I somewhat doubt it. Gary Kildall's primary background was in IBM mainframe and DEC minicomputer systems (in particular VM/CMS and TOPS-10), and so it seems to me more likely that CP/M ED was influenced by DEC or IBM line editors, than by Unix.
That said, Unix and IBM mainframe operating systems share some common heritage. Both were influenced by CTSS. So, it may be that any observed similarities between CP/M and Unix line editors could be due to that shared ancestry, rather than any direct influence of Unix on CP/M.