[34fb49a7] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 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">
|
---|
| 8 | <!ENTITY ed-download-ftp "&gnu-ftp;/ed/ed-&ed-version;.tar.lz">
|
---|
[c513d6e6] | 9 | <!ENTITY ed-md5sum "894748c9bbf35cb7c599f5317b1a8cdb">
|
---|
[a114fcc] | 10 | <!ENTITY ed-size "68 KB">
|
---|
[c513d6e6] | 11 | <!ENTITY ed-buildsize "1.2 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 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Ed-&ed-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="ed">
|
---|
| 26 | <primary sortas="a-Ed">Ed</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Ed</title>
|
---|
| 31 |
|
---|
[f716ef4] | 32 | <para>
|
---|
| 33 | <application>Ed</application> is a line-oriented text editor. It
|
---|
| 34 | is used to create, display, modify and otherwise manipulate text files,
|
---|
| 35 | both interactively and via shell scripts. Ed isn't something which many
|
---|
| 36 | people use. It's described here because it can be used by the patch
|
---|
| 37 | program if you encounter an ed-based patch file. This happens rarely
|
---|
| 38 | because diff-based patches are preferred these days.
|
---|
| 39 | </para>
|
---|
[34fb49a7] | 40 |
|
---|
[64218c2] | 41 | &lfs10_checked;
|
---|
[34fb49a7] | 42 |
|
---|
| 43 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 44 | <itemizedlist spacing="compact">
|
---|
| 45 | <listitem>
|
---|
[f716ef4] | 46 | <para>
|
---|
| 47 | Download (HTTP): <ulink url="&ed-download-http;"/>
|
---|
| 48 | </para>
|
---|
[34fb49a7] | 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
[f716ef4] | 51 | <para>
|
---|
| 52 | Download (FTP): <ulink url="&ed-download-ftp;"/>
|
---|
| 53 | </para>
|
---|
[34fb49a7] | 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
[f716ef4] | 56 | <para>
|
---|
| 57 | Download MD5 sum: &ed-md5sum;
|
---|
| 58 | </para>
|
---|
[34fb49a7] | 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
[f716ef4] | 61 | <para>
|
---|
| 62 | Download size: &ed-size;
|
---|
| 63 | </para>
|
---|
[34fb49a7] | 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
[f716ef4] | 66 | <para>
|
---|
| 67 | Estimated disk space required: &ed-buildsize;
|
---|
| 68 | </para>
|
---|
[34fb49a7] | 69 | </listitem>
|
---|
| 70 | <listitem>
|
---|
[f716ef4] | 71 | <para>
|
---|
| 72 | Estimated build time: &ed-time;
|
---|
| 73 | </para>
|
---|
[34fb49a7] | 74 | </listitem>
|
---|
| 75 | </itemizedlist>
|
---|
| 76 |
|
---|
[a2f1705] | 77 | <bridgehead renderas="sect3">Ed Dependencies</bridgehead>
|
---|
| 78 |
|
---|
| 79 | <bridgehead renderas="sect4">Required to uncompress the tarball</bridgehead>
|
---|
| 80 | <para role="required">
|
---|
[bb49ea0] | 81 | <xref linkend="libarchive"/> (for bsdtar)
|
---|
[a2f1705] | 82 | </para>
|
---|
| 83 |
|
---|
[34fb49a7] | 84 | <para condition="html" role="usernotes">User Notes:
|
---|
| 85 | <ulink url="&blfs-wiki;/ed"/></para>
|
---|
| 86 |
|
---|
| 87 | </sect2>
|
---|
| 88 |
|
---|
| 89 | <sect2 role="installation">
|
---|
| 90 | <title>Installation of Ed</title>
|
---|
| 91 |
|
---|
[f716ef4] | 92 | <para>
|
---|
| 93 | Install <application>Ed</application> by running the following
|
---|
| 94 | commands:
|
---|
| 95 | </para>
|
---|
[34fb49a7] | 96 |
|
---|
| 97 | <screen><userinput>./configure --prefix=/usr --bindir=/bin &&
|
---|
| 98 | make</userinput></screen>
|
---|
| 99 |
|
---|
[f716ef4] | 100 | <para>
|
---|
| 101 | To test the results, issue: <command>make check</command>.
|
---|
| 102 | </para>
|
---|
[34fb49a7] | 103 |
|
---|
[f716ef4] | 104 | <para>
|
---|
| 105 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 106 | </para>
|
---|
[34fb49a7] | 107 |
|
---|
| 108 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 109 |
|
---|
| 110 | </sect2>
|
---|
| 111 |
|
---|
| 112 | <sect2 role="content">
|
---|
| 113 | <title>Contents</title>
|
---|
| 114 |
|
---|
| 115 | <segmentedlist>
|
---|
| 116 | <segtitle>Installed Programs</segtitle>
|
---|
| 117 | <segtitle>Installed Libraries</segtitle>
|
---|
| 118 | <segtitle>Installed Directories</segtitle>
|
---|
| 119 |
|
---|
| 120 | <seglistitem>
|
---|
| 121 | <seg>ed and red</seg>
|
---|
| 122 | <seg>None</seg>
|
---|
| 123 | <seg>None</seg>
|
---|
| 124 | </seglistitem>
|
---|
| 125 | </segmentedlist>
|
---|
| 126 |
|
---|
| 127 | <variablelist>
|
---|
| 128 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 129 | <?dbfo list-presentation="list"?>
|
---|
| 130 | <?dbhtml list-presentation="table"?>
|
---|
| 131 |
|
---|
| 132 | <varlistentry id="ed-prog">
|
---|
| 133 | <term><command>ed</command></term>
|
---|
| 134 | <listitem>
|
---|
[f716ef4] | 135 | <para>
|
---|
| 136 | is a line-oriented text editor.
|
---|
| 137 | </para>
|
---|
[34fb49a7] | 138 | <indexterm zone="ed ed-prog">
|
---|
| 139 | <primary sortas="b-ed">ed</primary>
|
---|
| 140 | </indexterm>
|
---|
| 141 | </listitem>
|
---|
| 142 | </varlistentry>
|
---|
| 143 |
|
---|
| 144 | <varlistentry id="red">
|
---|
| 145 | <term><command>red</command></term>
|
---|
| 146 | <listitem>
|
---|
[f716ef4] | 147 | <para>
|
---|
| 148 | is a restricted <command>ed</command>—it can only edit
|
---|
| 149 | files in the current directory and cannot execute shell commands.
|
---|
| 150 | </para>
|
---|
[34fb49a7] | 151 | <indexterm zone="ed red">
|
---|
| 152 | <primary sortas="b-red">red</primary>
|
---|
| 153 | </indexterm>
|
---|
| 154 | </listitem>
|
---|
| 155 | </varlistentry>
|
---|
| 156 |
|
---|
| 157 | </variablelist>
|
---|
| 158 |
|
---|
| 159 | </sect2>
|
---|
| 160 |
|
---|
| 161 | </sect1>
|
---|