[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 |
|
---|
[a2f1705] | 7 | <!ENTITY ed-download-http "http://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.lz">
|
---|
| 8 | <!ENTITY ed-download-ftp "ftp://ftp.gnu.org/pub/gnu/ed/ed-&ed-version;.tar.lz">
|
---|
| 9 | <!ENTITY ed-md5sum "d1e51bb6e78417af8fb12684c31fd9eb">
|
---|
| 10 | <!ENTITY ed-size "64 KB">
|
---|
| 11 | <!ENTITY ed-buildsize "1.4 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 |
|
---|
| 32 | <para><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.</para>
|
---|
| 38 |
|
---|
[0073271] | 39 | &lfs76_checked;
|
---|
[34fb49a7] | 40 |
|
---|
| 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&ed-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&ed-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &ed-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &ed-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &ed-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &ed-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
[a2f1705] | 63 | <bridgehead renderas="sect3">Ed Dependencies</bridgehead>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Required to uncompress the tarball</bridgehead>
|
---|
| 66 | <para role="required">
|
---|
| 67 | <xref linkend="libarchive"/>
|
---|
| 68 | </para>
|
---|
| 69 |
|
---|
[34fb49a7] | 70 | <para condition="html" role="usernotes">User Notes:
|
---|
| 71 | <ulink url="&blfs-wiki;/ed"/></para>
|
---|
| 72 |
|
---|
| 73 | </sect2>
|
---|
| 74 |
|
---|
| 75 | <sect2 role="installation">
|
---|
| 76 | <title>Installation of Ed</title>
|
---|
| 77 |
|
---|
| 78 | <para>Install <application>Ed</application> by running the following
|
---|
| 79 | commands:</para>
|
---|
| 80 |
|
---|
| 81 | <screen><userinput>./configure --prefix=/usr --bindir=/bin &&
|
---|
| 82 | make</userinput></screen>
|
---|
| 83 |
|
---|
| 84 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 85 |
|
---|
| 86 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 87 |
|
---|
| 88 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 89 |
|
---|
| 90 | </sect2>
|
---|
| 91 |
|
---|
| 92 | <sect2 role="content">
|
---|
| 93 | <title>Contents</title>
|
---|
| 94 |
|
---|
| 95 | <segmentedlist>
|
---|
| 96 | <segtitle>Installed Programs</segtitle>
|
---|
| 97 | <segtitle>Installed Libraries</segtitle>
|
---|
| 98 | <segtitle>Installed Directories</segtitle>
|
---|
| 99 |
|
---|
| 100 | <seglistitem>
|
---|
| 101 | <seg>ed and red</seg>
|
---|
| 102 | <seg>None</seg>
|
---|
| 103 | <seg>None</seg>
|
---|
| 104 | </seglistitem>
|
---|
| 105 | </segmentedlist>
|
---|
| 106 |
|
---|
| 107 | <variablelist>
|
---|
| 108 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 109 | <?dbfo list-presentation="list"?>
|
---|
| 110 | <?dbhtml list-presentation="table"?>
|
---|
| 111 |
|
---|
| 112 | <varlistentry id="ed-prog">
|
---|
| 113 | <term><command>ed</command></term>
|
---|
| 114 | <listitem>
|
---|
| 115 | <para>is a line-oriented text editor.</para>
|
---|
| 116 | <indexterm zone="ed ed-prog">
|
---|
| 117 | <primary sortas="b-ed">ed</primary>
|
---|
| 118 | </indexterm>
|
---|
| 119 | </listitem>
|
---|
| 120 | </varlistentry>
|
---|
| 121 |
|
---|
| 122 | <varlistentry id="red">
|
---|
| 123 | <term><command>red</command></term>
|
---|
| 124 | <listitem>
|
---|
| 125 | <para>is a restricted <command>ed</command>—it can only edit
|
---|
| 126 | files in the current directory and cannot execute shell
|
---|
| 127 | commands.</para>
|
---|
| 128 | <indexterm zone="ed red">
|
---|
| 129 | <primary sortas="b-red">red</primary>
|
---|
| 130 | </indexterm>
|
---|
| 131 | </listitem>
|
---|
| 132 | </varlistentry>
|
---|
| 133 |
|
---|
| 134 | </variablelist>
|
---|
| 135 |
|
---|
| 136 | </sect2>
|
---|
| 137 |
|
---|
| 138 | </sect1>
|
---|