[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">
|
---|
[18aaa202] | 9 | <!ENTITY ed-md5sum "fa861f0c9ebb8c0e1b79fda770a73b1c">
|
---|
| 10 | <!ENTITY ed-size "65 KB">
|
---|
| 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 |
|
---|
| 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 |
|
---|
[b5d7180] | 37 | &lfs112_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 | <para condition="html" role="usernotes">User Notes:
|
---|
| 81 | <ulink url="&blfs-wiki;/ed"/></para>
|
---|
| 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of Ed</title>
|
---|
| 87 |
|
---|
[f716ef4] | 88 | <para>
|
---|
| 89 | Install <application>Ed</application> by running the following
|
---|
| 90 | commands:
|
---|
| 91 | </para>
|
---|
[34fb49a7] | 92 |
|
---|
[4d8846e] | 93 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[34fb49a7] | 94 | make</userinput></screen>
|
---|
| 95 |
|
---|
[f716ef4] | 96 | <para>
|
---|
| 97 | To test the results, issue: <command>make check</command>.
|
---|
| 98 | </para>
|
---|
[34fb49a7] | 99 |
|
---|
[f716ef4] | 100 | <para>
|
---|
| 101 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 102 | </para>
|
---|
[34fb49a7] | 103 |
|
---|
| 104 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 105 |
|
---|
| 106 | </sect2>
|
---|
| 107 |
|
---|
| 108 | <sect2 role="content">
|
---|
| 109 | <title>Contents</title>
|
---|
| 110 |
|
---|
| 111 | <segmentedlist>
|
---|
| 112 | <segtitle>Installed Programs</segtitle>
|
---|
| 113 | <segtitle>Installed Libraries</segtitle>
|
---|
| 114 | <segtitle>Installed Directories</segtitle>
|
---|
| 115 |
|
---|
| 116 | <seglistitem>
|
---|
| 117 | <seg>ed and red</seg>
|
---|
| 118 | <seg>None</seg>
|
---|
| 119 | <seg>None</seg>
|
---|
| 120 | </seglistitem>
|
---|
| 121 | </segmentedlist>
|
---|
| 122 |
|
---|
| 123 | <variablelist>
|
---|
| 124 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 125 | <?dbfo list-presentation="list"?>
|
---|
| 126 | <?dbhtml list-presentation="table"?>
|
---|
| 127 |
|
---|
| 128 | <varlistentry id="ed-prog">
|
---|
| 129 | <term><command>ed</command></term>
|
---|
| 130 | <listitem>
|
---|
[f716ef4] | 131 | <para>
|
---|
[4c24eb0a] | 132 | is a line-oriented text editor
|
---|
[f716ef4] | 133 | </para>
|
---|
[34fb49a7] | 134 | <indexterm zone="ed ed-prog">
|
---|
| 135 | <primary sortas="b-ed">ed</primary>
|
---|
| 136 | </indexterm>
|
---|
| 137 | </listitem>
|
---|
| 138 | </varlistentry>
|
---|
| 139 |
|
---|
| 140 | <varlistentry id="red">
|
---|
| 141 | <term><command>red</command></term>
|
---|
| 142 | <listitem>
|
---|
[f716ef4] | 143 | <para>
|
---|
| 144 | is a restricted <command>ed</command>—it can only edit
|
---|
[4c24eb0a] | 145 | files in the current directory and cannot execute shell commands
|
---|
[f716ef4] | 146 | </para>
|
---|
[34fb49a7] | 147 | <indexterm zone="ed red">
|
---|
| 148 | <primary sortas="b-red">red</primary>
|
---|
| 149 | </indexterm>
|
---|
| 150 | </listitem>
|
---|
| 151 | </varlistentry>
|
---|
| 152 |
|
---|
| 153 | </variablelist>
|
---|
| 154 |
|
---|
| 155 | </sect2>
|
---|
| 156 |
|
---|
| 157 | </sect1>
|
---|