<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE chapter PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY joe-download-http "&sourceforge-repo;/joe-editor/joe-&joe-version;.tar.gz">
  <!ENTITY joe-download-ftp  "&gentoo-ftp-repo;/joe-&joe-version;.tar.gz">
  <!ENTITY joe-md5sum        "66de1b073e869ba12abbfcde3885c577">
  <!ENTITY joe-size          "680 KB">
  <!ENTITY joe-buildsize     "9 MB">
  <!ENTITY joe-time          "0.2 SBU">
]>

<sect1 id="joe" xreflabel="JOE-&joe-version;">
  <?dbhtml filename="joe.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-20 15:02:49 -0500 (Fri, 20 Feb 2015) $</date>
  </sect1info>

  <title>JOE-&joe-version;</title>

  <indexterm zone="joe">
    <primary sortas="a-JOE">JOE</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to JOE</title>

    <para><application>JOE</application> (Joe's own editor) is a small text
    editor capable of emulating WordStar, <application>Pico</application>,
    and <application>Emacs</application>.</para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>Download (HTTP): <ulink url="&joe-download-http;"/></para>
      </listitem>
      <listitem>
        <para>Download (FTP): <ulink url="&joe-download-ftp;"/></para>
      </listitem>
      <listitem>
        <para>Download MD5 sum: &joe-md5sum;</para>
      </listitem>
      <listitem>
        <para>Download size: &joe-size;</para>
      </listitem>
      <listitem>
        <para>Estimated disk space required: &joe-buildsize;</para>
      </listitem>
      <listitem>
        <para>Estimated build time: &joe-time;</para>
      </listitem>
    </itemizedlist>

    <para condition="html" role="usernotes">User Notes:
    <ulink url="&blfs-wiki;/joe"/></para>

  </sect2>

  <sect2 role="installation">
    <title>Installation of JOE</title>

    <para>Install <application>JOE</application> by running the
    following commands:</para>

<screen><userinput>./configure --prefix=/usr     \
            --sysconfdir=/etc \
            --docdir=/usr/share/doc/joe-&joe-version; &amp;&amp;
make</userinput></screen>

    <para>This package does not come with a test suite.</para>

    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="configuration">
    <title>Configuring JOE</title>

    <sect3 id="joe-config">
      <title>Config Files</title>

      <para><filename>/etc/joe/jmacsrc</filename>,
      <filename>/etc/joe/joerc</filename>, <filename>/etc/joe/jpicorc</filename>,
      <filename>/etc/joe/jstarrc</filename>, <filename>/etc/joe/rjoerc</filename>,
      and <filename>~/.joerc</filename></para>

      <indexterm zone="joe joe-config">
        <primary sortas="e-etc-joe-jmacsrc">/etc/joe/jmacsrc</primary>
      </indexterm>

      <indexterm zone="joe joe-config">
        <primary sortas="e-etc-joe-joerc">/etc/joe/joerc</primary>
      </indexterm>

      <indexterm zone="joe joe-config">
        <primary sortas="e-etc-joe-jpicorc">/etc/joe/jpicorc</primary>
      </indexterm>

      <indexterm zone="joe joe-config">
        <primary sortas="e-etc-joe-jstarrc">/etc/joe/jstarrc</primary>
      </indexterm>

      <indexterm zone="joe joe-config">
        <primary sortas="e-etc-joe-rjoerc">/etc/joe/rjoerc</primary>
      </indexterm>

      <indexterm zone="joe joe-config">
        <primary sortas="e-AA.joerc">~/.joerc</primary>
      </indexterm>

    </sect3>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Programs</segtitle>
      <segtitle>Installed Libraries</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>jmacs, 
             joe, 
             jpico, 
             jstar, 
             rjoe, and 
             termidx</seg>
        <seg>None</seg>
        <seg>/etc/joe, 
             /usr/share/joe, and 
             /usr/share/doc/joe</seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="jmacs">
        <term><command>jmacs</command></term>
        <listitem>
          <para>is a symbolic link to <command>joe</command> used to
          launch <application>Emacs</application> emulation mode.</para>
          <indexterm zone="joe jmacs">
            <primary sortas="b-jmacs">jmacs</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="joe-prog">
        <term><command>joe</command></term>
        <listitem>
          <para>is a small text editor capable of emulating
          WordStar, <application>Pico</application>, and
          <application>Emacs</application>.</para>
          <indexterm zone="joe joe-prog">
            <primary sortas="b-joe">joe</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="jpico">
        <term><command>jpico</command></term>
        <listitem>
          <para>is a symbolic link to <command>joe</command> used to
          launch <application>Pico</application> emulation mode.</para>
          <indexterm zone="joe jpico">
            <primary sortas="b-jpico">jpico</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="jstar">
        <term><command>jstar</command></term>
        <listitem>
          <para>is a symbolic link to <command>joe</command> used to
          launch WordStar emulation mode.</para>
          <indexterm zone="joe jstar">
            <primary sortas="b-jstar">jstar</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="rjoe">
        <term><command>rjoe</command></term>
        <listitem>
          <para>is a symbolic link to <command>joe</command> that restricts
          <application>JOE</application> to editing only files which are
          specified on the command-line.</para>
          <indexterm zone="joe rjoe">
            <primary sortas="b-rjoe">rjoe</primary>
          </indexterm>
        </listitem>
      </varlistentry>

      <varlistentry id="termidx">
        <term><command>termidx</command></term>
        <listitem>
          <para>is a program used by <command>joe</command> to generate the
          termcap index file.</para>
          <indexterm zone="joe termidx">
            <primary sortas="b-termidx">termidx</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
