[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[34fb49a7] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[8dfc5c3] | 7 | <!ENTITY ed-download-http "&gnu-http;/ed/ed-&ed-version;.tar.lz">
|
---|
[e1e58be] | 8 | <!ENTITY ed-download-ftp " ">
|
---|
[2293f27] | 9 | <!ENTITY ed-md5sum "8f31ca1cb5a2e2ca8ee2598cc0bf53e1">
|
---|
[4b5e636] | 10 | <!ENTITY ed-size "68 KB">
|
---|
[8d6f4d1] | 11 | <!ENTITY ed-buildsize "1.0 MB">
|
---|
[34fb49a7] | 12 | <!ENTITY ed-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="ed" xreflabel="Ed-&ed-version;">
|
---|
| 16 | <?dbhtml filename="ed.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>Ed-&ed-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="ed">
|
---|
| 22 | <primary sortas="a-Ed">Ed</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to Ed</title>
|
---|
| 27 |
|
---|
[f716ef4] | 28 | <para>
|
---|
| 29 | <application>Ed</application> is a line-oriented text editor. It
|
---|
| 30 | is used to create, display, modify and otherwise manipulate text files,
|
---|
| 31 | both interactively and via shell scripts. Ed isn't something which many
|
---|
| 32 | people use. It's described here because it can be used by the patch
|
---|
| 33 | program if you encounter an ed-based patch file. This happens rarely
|
---|
| 34 | because diff-based patches are preferred these days.
|
---|
| 35 | </para>
|
---|
[34fb49a7] | 36 |
|
---|
[2995216f] | 37 | &lfs122_checked;
|
---|
[34fb49a7] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[f716ef4] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&ed-download-http;"/>
|
---|
| 44 | </para>
|
---|
[34fb49a7] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[f716ef4] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&ed-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[34fb49a7] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[f716ef4] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &ed-md5sum;
|
---|
| 54 | </para>
|
---|
[34fb49a7] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[f716ef4] | 57 | <para>
|
---|
| 58 | Download size: &ed-size;
|
---|
| 59 | </para>
|
---|
[34fb49a7] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[f716ef4] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &ed-buildsize;
|
---|
| 64 | </para>
|
---|
[34fb49a7] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[f716ef4] | 67 | <para>
|
---|
| 68 | Estimated build time: &ed-time;
|
---|
| 69 | </para>
|
---|
[34fb49a7] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
[a2f1705] | 73 | <bridgehead renderas="sect3">Ed Dependencies</bridgehead>
|
---|
| 74 |
|
---|
| 75 | <bridgehead renderas="sect4">Required to uncompress the tarball</bridgehead>
|
---|
| 76 | <para role="required">
|
---|
[bb49ea0] | 77 | <xref linkend="libarchive"/> (for bsdtar)
|
---|
[a2f1705] | 78 | </para>
|
---|
| 79 |
|
---|
[34fb49a7] | 80 | </sect2>
|
---|
| 81 |
|
---|
| 82 | <sect2 role="installation">
|
---|
| 83 | <title>Installation of Ed</title>
|
---|
| 84 |
|
---|
[f716ef4] | 85 | <para>
|
---|
| 86 | Install <application>Ed</application> by running the following
|
---|
| 87 | commands:
|
---|
| 88 | </para>
|
---|
[34fb49a7] | 89 |
|
---|
[4d8846e] | 90 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[34fb49a7] | 91 | make</userinput></screen>
|
---|
| 92 |
|
---|
[f716ef4] | 93 | <para>
|
---|
| 94 | To test the results, issue: <command>make check</command>.
|
---|
| 95 | </para>
|
---|
[34fb49a7] | 96 |
|
---|
[f716ef4] | 97 | <para>
|
---|
| 98 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 99 | </para>
|
---|
[34fb49a7] | 100 |
|
---|
| 101 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 102 |
|
---|
| 103 | </sect2>
|
---|
| 104 |
|
---|
| 105 | <sect2 role="content">
|
---|
| 106 | <title>Contents</title>
|
---|
| 107 |
|
---|
| 108 | <segmentedlist>
|
---|
| 109 | <segtitle>Installed Programs</segtitle>
|
---|
| 110 | <segtitle>Installed Libraries</segtitle>
|
---|
| 111 | <segtitle>Installed Directories</segtitle>
|
---|
| 112 |
|
---|
| 113 | <seglistitem>
|
---|
| 114 | <seg>ed and red</seg>
|
---|
| 115 | <seg>None</seg>
|
---|
| 116 | <seg>None</seg>
|
---|
| 117 | </seglistitem>
|
---|
| 118 | </segmentedlist>
|
---|
| 119 |
|
---|
| 120 | <variablelist>
|
---|
| 121 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 122 | <?dbfo list-presentation="list"?>
|
---|
| 123 | <?dbhtml list-presentation="table"?>
|
---|
| 124 |
|
---|
| 125 | <varlistentry id="ed-prog">
|
---|
| 126 | <term><command>ed</command></term>
|
---|
| 127 | <listitem>
|
---|
[f716ef4] | 128 | <para>
|
---|
[4c24eb0a] | 129 | is a line-oriented text editor
|
---|
[f716ef4] | 130 | </para>
|
---|
[34fb49a7] | 131 | <indexterm zone="ed ed-prog">
|
---|
| 132 | <primary sortas="b-ed">ed</primary>
|
---|
| 133 | </indexterm>
|
---|
| 134 | </listitem>
|
---|
| 135 | </varlistentry>
|
---|
| 136 |
|
---|
| 137 | <varlistentry id="red">
|
---|
| 138 | <term><command>red</command></term>
|
---|
| 139 | <listitem>
|
---|
[f716ef4] | 140 | <para>
|
---|
| 141 | is a restricted <command>ed</command>—it can only edit
|
---|
[4c24eb0a] | 142 | files in the current directory and cannot execute shell commands
|
---|
[f716ef4] | 143 | </para>
|
---|
[34fb49a7] | 144 | <indexterm zone="ed red">
|
---|
| 145 | <primary sortas="b-red">red</primary>
|
---|
| 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | </variablelist>
|
---|
| 151 |
|
---|
| 152 | </sect2>
|
---|
| 153 |
|
---|
| 154 | </sect1>
|
---|