source: postlfs/editors/ed.xml

trunk
Last change on this file was 868811b, checked in by Bruce Dubbs <bdubbs@…>, 2 months ago

Many tags.
genutils
sysutils
netlibs
netprogs
netutils
editors
filesystems
shells

  • Property mode set to 100644
File size: 4.1 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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
7 <!ENTITY ed-download-http "&gnu-http;/ed/ed-&ed-version;.tar.lz">
8 <!ENTITY ed-download-ftp " ">
9 <!ENTITY ed-md5sum "f9e7c445acebf6c49ccb7f86a5b17f5d">
10 <!ENTITY ed-size "68 KB">
11 <!ENTITY ed-buildsize "1.0 MB">
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
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>
36
37 &lfs121_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&ed-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&ed-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &ed-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &ed-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &ed-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &ed-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72
73 <bridgehead renderas="sect3">Ed Dependencies</bridgehead>
74
75 <bridgehead renderas="sect4">Required to uncompress the tarball</bridgehead>
76 <para role="required">
77 <xref linkend="libarchive"/> (for bsdtar)
78 </para>
79
80 </sect2>
81
82 <sect2 role="installation">
83 <title>Installation of Ed</title>
84
85 <para>
86 Install <application>Ed</application> by running the following
87 commands:
88 </para>
89
90<screen><userinput>./configure --prefix=/usr &amp;&amp;
91make</userinput></screen>
92
93 <para>
94 To test the results, issue: <command>make check</command>.
95 </para>
96
97 <para>
98 Now, as the <systemitem class="username">root</systemitem> user:
99 </para>
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>
128 <para>
129 is a line-oriented text editor
130 </para>
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>
140 <para>
141 is a restricted <command>ed</command>&mdash;it can only edit
142 files in the current directory and cannot execute shell commands
143 </para>
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>
Note: See TracBrowser for help on using the repository browser.