Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/mailnews/mailx.xml

    r85a581fd r3f2db3a6  
    1919  <?dbhtml filename="mailx.html"?>
    2020
    21   <sect1info>
    22     <date>$Date$</date>
    23   </sect1info>
    2421
    2522  <title>mailx-&mailx-version;</title>
     
    4441    </para>
    4542
    46     &lfs110a_checked;
     43    &lfs112_checked;
    4744
    4845    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    126123    -i openssl.c fio.c makeconfig      &amp;&amp;
    127124
    128 make -j1 LDFLAGS+="-L /usr/lib/openssl-1.0/" \
    129      SENDMAIL=/usr/sbin/sendmail</userinput></screen>
     125make -j1 LDFLAGS+="-L /usr/lib/openssl/" \
     126         SENDMAIL=/usr/sbin/sendmail</userinput></screen>
    130127
    131128    <para>
     
    172169
    173170      <para>
     171<!-- ~/.nailrc seems not to be supported anymore
    174172        <filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
    175173        and <filename>~/.nailrc</filename>
     174-->
     175        <filename>/etc/nail.rc</filename> and <filename>~/.mailrc</filename>
    176176      </para>
    177177
     
    183183        <primary sortas="e-AA.mailrc">~/.mailrc</primary>
    184184      </indexterm>
    185 
     185<!--
    186186      <indexterm zone="mailx mailx-config">
    187187        <primary sortas="e-AA.nailrc">~/.nailrc</primary>
    188188      </indexterm>
     189-->
     190    </sect3>
     191
     192    <sect3>
     193      <title>Configuration Information</title>
     194
     195      <para>
     196        For displaying mails, <application>mailx</application>
     197        uses a pager program. Since the default of <command>pg</command>
     198        is not available on a LFS system, its required to
     199        specify which pager is to use. By default, there is
     200        <command>more</command> and the more comfortable
     201        <command>less</command> installed. If the
     202        variable PAGER is not set in <filename>/etc/profile</filename>
     203        or <filename>~/.bash_profile</filename>, or if it
     204        should be another pager just for reading mails, it can be
     205        set system wide in <filename>/etc/nail.rc</filename>:
     206      </para>
     207
     208<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
     209
     210      <para>or individually for the actual user in <filename>~/.mailrc</filename>:</para>
     211
     212<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; ~/.mailrc</userinput></screen>
     213
     214      <para>
     215        Other interesting options to set in the config files might
     216        be EDITOR and MAILDIR.
     217      </para>
     218
     219      <para>
     220        If not set in the environment for other packages, the
     221        default editor can be set by:
     222      </para>
     223
     224<screen><userinput role="nodump">echo "set EDITOR=&lt;vim|nano|...&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
     225
     226      <para>
     227        Depending on which kind of <xref linkend="server-mail"/> is
     228        installed, it might be required to set the MAILDIR variable
     229        so <application>mailx</application> is able to find the mails:
     230      </para>
     231
     232<screen><userinput role="nodump">echo "set MAILDIR=Maildir" &gt;&gt; /etc/nail.rc</userinput></screen>
    189233
    190234    </sect3>
Note: See TracChangeset for help on using the changeset viewer.