POV: you opened ed for the first time
?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?
POV: you opened ed for the first time
?
help
?
?
?
quit
?
exit
?
bye
?
hello?
?
eat flaming death
?
^C
?
^C
?
^D
?
^C
^\
^Z
kill -9 (from another session)
If I can’t kill the child process, I kill its parent and go on with my life.
Sure, but the above is from a gnu humour post that's over 30 years old: https://www.gnu.org/fun/jokes/ed-msg.html
vim & sleep 30 && killall -TERM vim
I switched from vi to vim in 1994 and found it immediately obvious how to quit — it was just like vi!
I guess I'll never understand these memes.
POV: You open vim for the first time.
Fair, but there's a worse experience possible.
For a time, many people's first encounter with vi
was when it auto-opened a temporary editor to ask them to submit a commit message for the git command they just ran.
This experience skips the vi
"welcome" screen, because a file is open.
As a bonus challenge, git
did not inform the user what editor is in use, and the user had no particular reason to even expect an editor to appear, based on what they were just doing.
None of this was the fault of vi
, really. But it was a terrible introduction.
It got better when various operating systems changed their default command line editor to nano
, and git
added some helpful adjustments - "if certain settings are not configured, assume a new user and show verbose welcome messages".
More like:
The image shows the last state of a terminal emulator of person without command line or git knowledge. The person attempted to run
git commit
and is now blaming the result of a specific configuration on their system that launches a vi derivative on the vi derivative itself. This image is expected to convince the viewer that the vi derrivative is to blame.
You cannot expect people to read, it's unreasonable.
I mean, there are blind users.
I hope the accessibility program to read the screen can read this.
I've heard they can be spotty, although I'm personally sighted. That's usually the reason people post transcripts, anyway.
Type h
for “hello” does literally nothing… ok… thought this was a text editor why can’t I even write… mash esc
still no response, try typing “hello” but no matter how many time I mash h
nothing happens. Right let’s leave and find a guide. Right so closing a terminal program that’s usually Crtl-c
nope that’s done nothing, erm, what else works, nano uses Ctrl-x
let’s try that, nope. Erm kill
nope nothing, fuck this I’m just closing my terminal. - my first vim experience.
This....this hits way to close to home.
<esc>:q!
I have accidentally opened it so many times. I have to look how to close it every time
I mean, just type :help
and then use your arrow keys to scroll around and read how to use vim/neovim.
Learning how to use documentation should be the first thing you do when you try the Linux terminal. man vim
, Vim page on the archwiki, etc.
Post funny things about programming here! (Or just rant about your favourite programming language.)