Changeset 5206:3f59f7dd2965 for doc

Show
Ignore:
Timestamp:
2007-09-05 00:03:28 (15 months ago)
Author:
Rocco Rutte <pdmef@…>
Branch:
HEAD
Message:

Manual: don't use <screen/> to present structured data

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • doc/manual.xml.head

    r5184 r5206  
    630630Additionally, the internal pager supports the ANSI escape sequences for 
    631631character attributes.  Mutt translates them into the correct color and 
    632 character settings.  The sequences Mutt supports are: 
    633 </para> 
    634  
    635 <para> 
    636  
    637 <screen> 
    638 ESC [ Ps;Ps;Ps;...;Ps m where Ps = 
    639 0    All Attributes Off 
    640 1    Bold on 
    641 4    Underline on 
    642 5    Blink on 
    643 7    Reverse video on 
    644 3x   Foreground color is x 
    645 4x   Background color is x 
    646  
    647 Colors are 
    648 0    black 
    649 1    red 
    650 2    green 
    651 3    yellow 
    652 4    blue 
    653 5    magenta 
    654 6    cyan 
    655 7    white 
    656 </screen> 
    657  
    658 </para> 
     632character settings.  The sequences Mutt supports are 
     633'&bsol;e&lsqb;<emphasis>Ps</emphasis>;<emphasis>Ps</emphasis>;..<emphasis>Ps</emphasis>;m' 
     634where <emphasis>Ps</emphasis> can be one of the codes shown in 
     635<xref linkend="tab-ansi-esc"/>. 
     636</para> 
     637 
     638<table id="tab-ansi-esc"> 
     639<title>ANSI escape sequences</title> 
     640<tgroup cols="2"> 
     641<thead> 
     642<row><entry>Escape code</entry><entry>Description</entry></row> 
     643</thead> 
     644<tbody> 
     645<row><entry>0</entry><entry>All Attributes Off</entry></row> 
     646<row><entry>1</entry><entry>Bold on</entry></row> 
     647<row><entry>4</entry><entry>Underline on</entry></row> 
     648<row><entry>5</entry><entry>Blink on</entry></row> 
     649<row><entry>7</entry><entry>Reverse video on</entry></row> 
     650<row><entry>3<emphasis>&lt;color&gt;</emphasis></entry><entry>Foreground color is <emphasis>&lt;color&gt;</emphasis> (see <xref linkend="tab-color"/>)</entry></row> 
     651<row><entry>4<emphasis>&lt;color&gt;</emphasis></entry><entry>Background color is <emphasis>&lt;color&gt;</emphasis> (see <xref linkend="tab-color"/>)</entry></row> 
     652</tbody> 
     653</tgroup> 
     654</table> 
     655 
     656<table id="tab-color"> 
     657<title>Color sequences</title> 
     658<tgroup cols="2"> 
     659<thead> 
     660<row><entry>Color code</entry><entry>Color</entry></row> 
     661</thead> 
     662<tbody> 
     663<row><entry>0</entry><entry>Black</entry></row> 
     664<row><entry>1</entry><entry>Red</entry></row> 
     665<row><entry>2</entry><entry>Green</entry></row> 
     666<row><entry>3</entry><entry>Yellow</entry></row> 
     667<row><entry>4</entry><entry>Blue</entry></row> 
     668<row><entry>5</entry><entry>Magenta</entry></row> 
     669<row><entry>6</entry><entry>Cyan</entry></row> 
     670<row><entry>7</entry><entry>White</entry></row> 
     671</tbody> 
     672</tgroup> 
     673</table> 
    659674 
    660675<para> 
     
    39743989<emphasis role="bold">Error Margins</emphasis>.  You can add error margins to absolute dates. 
    39753990An error margin is a sign (+ or -), followed by a digit, followed by 
    3976 one of the following units: 
    3977  
    3978 <screen> 
    3979 y        years 
    3980 m        months 
    3981 w        weeks 
    3982 d        days 
    3983 </screen> 
    3984  
    3985 As a special case, you can replace the sign by a ``*'' character, 
    3986 which is equivalent to giving identical plus and minus error margins. 
    3987 </para> 
     3991one of the units in <xref linkend="tab-date-units"/>. As a special case, you can replace the 
     3992sign by a ``*'' character, which is equivalent to giving identical plus and minus error margins. 
     3993</para> 
     3994 
     3995<table id="tab-date-units"> 
     3996<title>Date units</title> 
     3997<tgroup cols="2"> 
     3998<thead> 
     3999<row><entry>Unit</entry><entry>Description</entry></row> 
     4000</thead> 
     4001<tbody> 
     4002<row><entry>y</entry><entry>Years</entry></row> 
     4003<row><entry>m</entry><entry>Months</entry></row> 
     4004<row><entry>w</entry><entry>Weeks</entry></row> 
     4005<row><entry>d</entry><entry>Days</entry></row> 
     4006</tbody> 
     4007</tgroup> 
     4008</table> 
    39884009 
    39894010<para> 
     
    40274048 
    40284049<para> 
    4029 <emphasis>offset</emphasis> is specified as a positive number with one of the following 
    4030 units: 
    4031  
    4032 <screen> 
    4033 y       years 
    4034 m       months 
    4035 w       weeks 
    4036 d       days 
    4037 </screen> 
    4038  
     4050<emphasis>offset</emphasis> is specified as a positive number with one of the units from <xref linkend="tab-date-units"/>. 
    40394051</para> 
    40404052