1 <qandaentry id="why-ed">
2 <question><para>Why is ed in the book?</para></question>
3 <answer><para>The book includes ed because patch uses it to process ed scripts.
4 However, these are rare today; everyone uses diff format patches.
6 <para>But ed does have other uses:
8 <listitem><para>For all who've learned to use it,
9 ed is a very useful emergency editor.
10 The MS Windows standard telnet client can deal with ed
11 but has trouble with fullscreen editors (like vim).
12 And a full featured vim requires not only ncurses, but X11 as well!
13 Any trouble with those libraries will leave
14 the system without an editor if ed isn't present.
16 <listitem><para>Though it's not a reason to have ed in the book,
17 some people actually like ed.
19 <listitem><para>Understanding ed helps with understanding vi(m) and Unix