source: postlfs/editors/ed.xml@ d60cd837

elogind
Last change on this file since d60cd837 was d60cd837, checked in by DJ Lucas <dj@…>, 5 years ago

Merge to HEAD 21080.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/branches/BOOK-elogind@21081 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 4.1 KB
Line 
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
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">
9 <!ENTITY ed-md5sum "d3aaeb5eb032142948d7a2f98a24899b">
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 <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
39 &lfs83_checked;
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
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"/> (for bsdtar)
68 </para>
69
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 &amp;&amp;
82make</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>&mdash;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>
Note: See TracBrowser for help on using the repository browser.