Changes in / [63d4b42:99e8d3d9]


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • networking/mailnews/mailx.xml

    r63d4b42 r99e8d3d9  
    172172
    173173      <para>
     174<!-- ~/.nailrc seems not to be supported anymore
    174175        <filename>/etc/nail.rc</filename>, <filename>~/.mailrc</filename>
    175176        and <filename>~/.nailrc</filename>
     177-->
     178        <filename>/etc/nail.rc</filename> and <filename>~/.mailrc</filename>
    176179      </para>
    177180
     
    183186        <primary sortas="e-AA.mailrc">~/.mailrc</primary>
    184187      </indexterm>
    185 
     188<!--
    186189      <indexterm zone="mailx mailx-config">
    187190        <primary sortas="e-AA.nailrc">~/.nailrc</primary>
    188191      </indexterm>
     192-->
     193    </sect3>
     194
     195    <sect3>
     196      <title>Configuration Information</title>
     197
     198      <para>
     199        For displaying mails, <application>mailx</application>
     200        uses a pager program. Since the default of <command>pg</command>
     201        is not available on a LFS system, its required to
     202        specify which pager is to use. By default, there is
     203        <command>more</command> and the more comfortable
     204        <command>less</command> installed. If the
     205        variable PAGER is not set in <filename>/etc/profile</filename>
     206        or <filename>~/.bash_profile</filename>, or if it
     207        should be another pager just for reading mails, it can be
     208        set system wide in <filename>/etc/nail.rc</filename>:
     209      </para>
     210
     211<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
     212
     213      <para>or individually for the actual user in <filename>~/.mailrc</filename>:</para>
     214
     215<screen><userinput role="nodump">echo "set PAGER=&lt;more|less&gt;" &gt;&gt; ~/.mailrc</userinput></screen>
     216
     217      <para>
     218        Other interesting options to set in the config files might
     219        be EDITOR and MAILDIR.
     220      </para>
     221
     222      <para>
     223        If not set in the environment for other packages, the
     224        default editor can be set by:
     225      </para>
     226
     227<screen><userinput role="nodump">echo "set EDITOR=&lt;vim|nano|...&gt;" &gt;&gt; /etc/nail.rc</userinput></screen>
     228
     229      <para>
     230        Depending on which kind of <xref linkend="server-mail"/> is
     231        installed, it might be required to set the MAILDIR variable
     232        so <application>mailx</application> is able to find the mails:
     233      </para>
     234
     235<screen><userinput role="nodump">echo "set MAILDIR=Maildir" &gt;&gt; /etc/nail.rc</userinput></screen>
    189236
    190237    </sect3>
Note: See TracChangeset for help on using the changeset viewer.