home *** CD-ROM | disk | FTP | other *** search
/ The AGA Experience 2 / agavol2.iso / software / utilities / comms / metamail-2.3a / man / richtext.1 < prev    next >
Text File  |  1992-06-14  |  5KB  |  131 lines

  1.  
  2.  
  3.  
  4. richtext(1)              USER COMMANDS                richtext(1)
  5.  
  6.  
  7.  
  8. NAME
  9.      richtext - View a richtext document, typically a  mail  mes-
  10.      sage
  11.  
  12. SYNOPSIS
  13.      richtext [-c] [-f] [-n] [-p] [-t] [file]
  14.  
  15. DESCRIPTION
  16.      The _r_i_c_h_t_e_x_t program allows users to view  "richtext"  files
  17.      on  an  ASCII  terminal.  It uses termcap(5) capabilities to
  18.      highlight text that is supposed to be bold or italic, and to
  19.      underline  text  that is supposed to be underlined.  It also
  20.      implements most of the richtext commands  that  have  to  do
  21.      with indentation and justification, as well as the "excerpt"
  22.      and "signature" commands.
  23.  
  24.      Richtext is a very simple markup language for  sending  rich
  25.      text  through  the  mail.   It  is  not  to be confused with
  26.      Microsoft's RTF (Rich Text Format).  It is part of the  MIME
  27.      standard for multimedia Internet mail.
  28.  
  29.      The _r_i_c_h_t_e_x_t program takes raw richtext output on its  stan-
  30.      dard  input  or from a file and produces formatted output on
  31.      its standard output, which is assumed to be a terminal.   It
  32.      is intended primarily for use by the metamail(1) program.
  33.  
  34.      The program will also repair the raw input to match  up  any
  35.      richtext command pairs that are out of order.
  36.  
  37. OPTIONS
  38.      When invoked with no options, _r_i_c_h_t_e_x_t expects raw  richtext
  39.      on  its standard input, which is corrected, and then format-
  40.      ted output is written on its standard output.  The following
  41.      options can alter that behaviour:
  42.  
  43.      -c      This option directs _r_i_c_h_t_e_x_t to just correct the raw
  44.              richtext  and  write  the  corrected  version to its
  45.              standard output, without performing any formatting.
  46.  
  47.      -f      This option directs _r_i_c_h_t_e_x_t to use  termcap-derived
  48.              escape  codes  for  bold  and  italic  text, even if
  49.              _r_i_c_h_t_e_x_t is called in a pipe.
  50.  
  51.      -n      This option directs _r_i_c_h_t_e_x_t to not do  any  correc-
  52.              tion to the raw richtext it receives.
  53.  
  54.      -p      This enables the use of a pager which reports "Press
  55.              RETURN  to  go  on"  after each screen-full of data.
  56.              Alternatively,   if   the    environment    variable
  57.              MM_USEPAGER  is present, then the pager will also be
  58.              used.  This option and the environment variable have
  59.              no  effect  if  either  standard  input  or standard
  60.  
  61.  
  62.  
  63. Sun Release 4.1      Last change: Release 1                     1
  64.  
  65.  
  66.  
  67.  
  68. richtext(1)              USER COMMANDS                richtext(1)
  69.  
  70.  
  71.  
  72.              output is redirected.
  73.  
  74.      -a      This option, which is only available under DOS, tog-
  75.              gles  whether or not to use ANSI mode for highlight-
  76.              ing bold, italic, or underlined text.
  77.  
  78.      -t      This option directs _r_i_c_h_t_e_x_t  NOT  to  use  termcap-
  79.              derived  escape codes for bold and italic text, even
  80.              if _r_i_c_h_t_e_x_t is called in a terminal.   Instead,  "*"
  81.              and "_" will be used to highlight the affected text.
  82.  
  83. X11 Resources
  84.      If you're using the xterm program, you can control what font
  85.      is used for bold text using the "xterm*boldFont" resource.
  86.  
  87. SEE ALSO
  88.      metamail(1), mailto(1), termcap(5)
  89.  
  90. BUGS
  91.      This is a very quick hack, really -- an attempt  to  provide
  92.      minimal  richtext support for an ASCII terminal.  The author
  93.      makes no pretense of having gotten every single case right.
  94.  
  95. COPYRIGHT
  96.      Copyright  (c)  1991  Bell  Communications  Research,   Inc.
  97.      (Bellcore)
  98.  
  99.      Permission  to  use,  copy,  modify,  and  distribute   this
  100.      material  for any purpose and without fee is hereby granted,
  101.      provided that the above copyright notice and this permission
  102.      notice  appear  in all copies, and that the name of Bellcore
  103.      not be used in advertising or publicity pertaining  to  this
  104.      material  without  the specific, prior written permission of
  105.      an authorized representative of Bellcore.  BELLCORE MAKES NO
  106.      REPRESENTATIONS  ABOUT  THE  ACCURACY OR SUITABILITY OF THIS
  107.      MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS  IS",  WITHOUT
  108.      ANY EXPRESS OR IMPLIED WARRANTIES.
  109.  
  110. AUTHORS
  111.      Nathaniel S. Borenstein
  112.      Richtext   correction   algorithm   by    Rhys    Weatherley
  113.      (rhys@cs.uq.oz.au).
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125. Sun Release 4.1      Last change: Release 1                     2
  126.  
  127.  
  128.  
  129.