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