4 ms·
> ed commands are very similar to vi commands at heart vi was build on top of ed. Ed was the Unix line editor, which is why all the commands after a colon hav
by rswail 11mo ago
> ed commands are very similar to vi commands at heart
vi was build on top of ed.
Ed was the Unix line editor, which is why all the commands after a colon have the form of "start,endcommand", eg "1,$p" would list all the lines of a file on your tty/decwriter.
1,$s/findexp/replace/g would s ubstitute all examples ("g") of findexp on the lines 1 through EOF
- a96 11mo agoAnd these all pretty much came from an era before glass display were (affordable) in computers. A terminal was roughly a keyboard and a printer attached together, or a typewriter cut in half. Paper. No cursors. No arrow keys. Mostly after punched cards and mostly before transistors. And that was only a few decades ago, there's people still alive that have used these machines. Funny that they are still some of the most efficient and powerful interfaces.
- rswail 11mo agoFFS, I'm not that old. I'm 61. I started out at school in 1977 on a PDP-11 with 16K of RAM, 3 ASR-33s connected by 20ma current loop. We also had a VT-52. All running at 110baud. No valves, all transistors and ICs. That system was already outdated. Punched/mark sense cards were still around. Two years later we had a PET, Apple-II, and a TRS-80. Teletypes have been around since the 1940s. Cut the false history crap when it's easily found online and elsewhere.
- a96 10mo agoWell, it's never too late to learn reading skills or civil behaviour, junior.