this post was submitted on 12 Jun 2023
44 points (100.0% liked)

retrocomputing

4151 readers
47 users here now

Discussions on vintage and retrocomputing

founded 1 year ago
MODERATORS
 

Very cool project using an antique teletype

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 5 points 1 year ago (2 children)

I realised only this week that ed is exactly what you would need if you had to edit something on a paper terminal. I always though it was just strange that it exists and is still included with things.

[–] [email protected] 3 points 1 year ago* (last edited 1 year ago) (1 children)

I've seen Linux distributions omitting it now. But it's a useful last resort if you end up with a dumb terminal, and maybe it has a niche use in scripted editing? And of course there's a small community of people continuing to use it for fun, out of curiosity, or whatever. Check out https://bsd.network/web/@ed1conf

Edit: and https://www.tiltedwindmillpress.com/product/ed/

[–] [email protected] 2 points 1 year ago (1 children)

Is ending up with a dumb terminal without seeking one out a thing that can still happen? Unless you're trapped in an electronic components warehouse and have to build your own, haha.

I'm not sure I've ever seen one outside of a historical context. I guess the military might still use them for prod.

[–] [email protected] 2 points 1 year ago

Yes. Sometimes terminal emulators or the libraries in use just fail. Plain old print line might still work.

One of the great things of command driven editors like vi, sam, ed, and helix is that they can tolerate massive lag and various kinds of brokenness.

What does kind of offset this is that there's less need these days to try and talk to broken systems. You can often just pull the drive/card or boot from another source and fix the image or something.

[–] [email protected] 3 points 1 year ago (1 children)

Probably still included because ed is occasionally used in shell scripts.

It's good in an emergency over a slow or noisy connection. Back in the 90s, I once talked a non-computer user through repairing a corrupted config file, over the phone. ed was good for that.

[–] [email protected] 4 points 1 year ago

Back in the 90s, I once talked a non-computer user through repairing a corrupted config file, over the phone. ed was good for that.

Oh man, that's also a good point! A phone conversation is a lot like a printed readout.