News for hackers. Stuff that matters.
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by scarmig on Friday October 30, 2015 @10:55AM (#10478164)

  quit
  ?
  exit
  ?
  end
  ?
  done
  ?
  bye
  ?
  quit!
  ?
  ^X  
  ?
  ^C
  ?
  ^C
  ?
  help
  ?
  ?
  ?
  ^Z
  $ killall ed
  $ vi
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by xnxn on Friday October 30, 2015 @04:50PM (#10480471)
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by Eupolemos on Friday October 30, 2015 @12:09PM (#10478648)
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by api on Friday October 30, 2015 @12:26PM (#10478768)
You mean that isn't how to exit 'ed'?
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by mcguire on Friday October 30, 2015 @12:53PM (#10478945)
Technically, 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.
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by mcguire on Friday October 30, 2015 @01:01PM (#10479007)
Note to those objecting to '$': I have PS1 set to '$' on every account. It just saves confusion.
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by iso8859-1 on Friday October 30, 2015 @02:02PM (#10479411)
Don't you think it is prettier with the space?
Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by mcguire on Friday October 30, 2015 @02:24PM (#10479564)
Nah, just adds clutter.

[Fixed in the great-grandparent.]

Re:Show HN: Twitch Installs Arch Linux – A cooperative text-... by ChrisArgyle on Friday October 30, 2015 @03:55PM (#10480148)
^D^D should do it