1003
submitted 10 months ago* (last edited 10 months ago) by JPDev@programming.dev to c/programmer_humor@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] SomeoneWhoIsntMe@lemmy.world 3 points 10 months ago

I kinda want this to be real…

[-] BatmanAoD@programming.dev 4 points 10 months ago

It's not too far off from how ed works!

[-] UndercoverUlrikHD@programming.dev 1 points 10 months ago
[-] BatmanAoD@programming.dev 8 points 10 months ago

ed, the "standard editor" (according to its man page) and the predecessor of vi (the "visual editor"), is a terminal editor that doesn't automatically display any of the text you're working on; you have to use the p ("print") command to display the lines your wish to see.

[-] UndercoverUlrikHD@programming.dev 6 points 10 months ago
[-] BatmanAoD@programming.dev 3 points 10 months ago

If you have a Linux or Mac handy, you can trying it out! It's...kinda wild. If you know some Vim commands that start with :, there's a good chance they'll work in ed, except you don't type : itself (effectively you're always in "command mode").

There's also a novelty Twitter account, @ed1conf, that tweets about ed.

Some coworkers told me a story about a previous job candidate who said his preferred editor was ed. They thought it would be really interesting to see someone actually use it. But during the actual interview, when he opened ed, he didn't recognize or understand it; he was actually accustomed to a graphical editor that he thought was called ed because he apparently did all his work on a system where someone had symlinked or aliased ed to a modern tool.

[-] pmjv@lemmy.sdf.org 2 points 10 months ago* (last edited 10 months ago)

Have fun:

gopher://katolaz.net/0/ed_tutorial.txt

this post was submitted on 19 Jan 2024
1003 points (99.0% liked)

Programmer Humor

19623 readers
1 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 1 year ago
MODERATORS