8 ms·
They should read the book "Popular Unix text editors and how to exit them"
by eloy 11y ago
They should read the book "Popular Unix text editors and how to exit them"
- fisherjeff 11y agoThank you both for inciting a fascinating combination of uncontrollable laughter and existential dread
- scarmig 11y agoquit ? exit ? end ? done ? bye ? quit! ? ^X ? ^C ? ^C ? help ? ? ? ^Z $ killall ed $ vi
- Eupolemos 11y ago:q! https://www.youtube.com/watch?v=AiM5zEEI_Jo https://www.youtube.com/watch?v=AiM5zEEI_Jo
- api 11y agoYou mean that isn't how to exit 'ed'?
- mcguire 11y agoTechnically, the official method of exiting ed, if you're running as root, is: $ed a_file ... (normal usage) r /etc/motd w /boot/vmlinuz-3.19.0-16-generic (replace with specific kernel) !reboot The alternative of "w /dev/sda1" is also acceptable.
- ChrisArgyle 11y ago^D^D should do it
- xnxn 11y agoeat flaming death ? http://www.gnu.org/fun/jokes/ed-msg.txt http://www.gnu.org/fun/jokes/ed-msg.txt
- eru 11y agoCtrl-z works universally, doesn't it?
- ciupicri 11y agoNot really. Some programs disable it including vim (at least on some setups).
- api_or_ipa 11y agoEvery vim I've ever played on has respected `ctrl-z`. In fact, I use `ctrl-z` to jump out of my vim (to restart a server, ls the local dir, etc).
- ciupicri 11y agoMy vimrc has source $VIMRUNTIME/mswin.vim behave mswin which maps Ctrl-z to undo.
- skinnyfoetusboy 11y agoYou monster.
- tomcam 11y agoWell I'll be damned. Never thought of trying it. Thank you.
- emergie 11y agoit doesn't, ctrl-z only suspends process and switches to backgroud - the thing is still alive try ctrl-z and then type bg command - you will see a list, you can resume with fg [number]
- Anderkent 11y agoWell, it might still run but it lets you out of the editor, which is the goal here. You can just kill -9 it afterwards.
- Roodgorf 11y agoI was much too easily convinced that this could be a real book.
- Natanael_L 11y agoWe can make it one! Who'll launch the kickstarter?
- Keyframe 11y agoAccompanied by coffe table book 'Greatest screenshots of ruby in Sublime with dark themes'
- DonHopkins 11y agoNot to be confused with the book "Popular Unix text editors and how to nest them".
- techdragon 11y agoWhich is a book inside a smaller book which is inside a smaller book ...
- gknoy 11y ago... published as a Jupyter notebook of a LaTeX document of a markdown file containing Perl POD comments. ;)