home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-bin / x11r6.1 / man / cat1 / xmh.0 < prev    next >
Encoding:
Text File  |  1996-10-17  |  75.8 KB  |  2,113 lines

  1.  
  2.  
  3.  
  4. XMH(1)                               XMH(1)
  5.  
  6.  
  7. NNAAMMEE
  8.        xmh - send and read mail with an X interface to MH
  9.  
  10. SSYYNNOOPPSSIISS
  11.        xxmmhh   [-path   _m_a_i_l_p_a_t_h]      [-initial  _f_o_l_d_e_r_n_a_m_e]  [-flag]
  12.        [-_t_o_o_l_k_i_t_o_p_t_i_o_n ...]
  13.  
  14. DDEESSCCRRIIPPTTIIOONN
  15.        The _x_m_h program provides a graphical user interface to the
  16.        _M_H  Message  Handling  System.  To actually do things with
  17.        your mail, it makes calls to the _M_H  package.   Electronic
  18.        mail messages may be composed, sent, received, replied to,
  19.        forwarded, sorted, and stored in     folders.   _x_m_h     provides
  20.        extensive  mechanism  for customization of the user inter-
  21.        face.
  22.  
  23.        This document introduces many aspects of the Athena Widget
  24.        Set.
  25.  
  26.  
  27. OOPPTTIIOONNSS
  28.        --ppaatthh _d_i_r_e_c_t_o_r_y
  29.            This  option  specifies an alternate collection of
  30.            mail folders in which to process mail.  The direc-
  31.            tory  is     specified  as an absolute pathname.  The
  32.            default mail path is the value of the Path  compo-
  33.            nent in the _M_H profile, which is determined by the
  34.            MMHH   environment      variable   and   defaults    to
  35.            $HOME/.mh_profile.  $HOME/Mail will be used as the
  36.            path if the _M_H Path is not given in the profile.
  37.  
  38.        --iinniittiiaall _f_o_l_d_e_r
  39.            This option specifies an     alternate  folder  which
  40.            may  receive  new  mail and is initially opened by
  41.            _x_m_h.  The default initial folder is ``inbox''.
  42.  
  43.        --ffllaagg   This option will cause _x_m_h to change  the  appear-
  44.            ance  of appropriate folder buttons and to request
  45.            the window manager to change the appearance of the
  46.            _x_m_h  icon  when new mail has arrived.  By default,
  47.            _x_m_h will change the appearance  of  the    ``inbox''
  48.            folder  button  when  new  mail    is  waiting.  The
  49.            application-specific resource cchheecckkNNeewwMMaaiill can  be
  50.            used  to turn off this notification, and the --ffllaagg
  51.            option will still override it.
  52.  
  53.        These  three  options  have   corresponding   application-
  54.        specific resources, MMaaiillPPaatthh, IInniittiiaallFFoollddeerr, and MMaaiillWWaaiitt--
  55.        iinnggFFllaagg, which can be specified in a resource file.
  56.  
  57.        The standard toolkit command line  options  are    given  in
  58.        _X_(_1_).
  59.  
  60.  
  61.  
  62.  
  63.  
  64. X Version 11           Release 6.1                1
  65.  
  66.  
  67.  
  68.  
  69.  
  70. XMH(1)                               XMH(1)
  71.  
  72.  
  73. IINNSSTTAALLLLAATTIIOONN
  74.        _x_m_h  requires  that  the user is already set up to use _M_H,
  75.        version 6.  To do so,  see  if  there  is  a  file  called
  76.        .mh_profile  in    your home directory.  If it exists, check
  77.        to see if it contains a line that starts     with  ``Current-
  78.        Folder''.  If it does, you've been using version 4 or ear-
  79.        lier of _M_H; to convert to version 6, you must remove  that
  80.        line.  (Failure to do so causes spurious output to stderr,
  81.        which can hang _x_m_h depending on your setup.)
  82.  
  83.        If you do not already have a .mh_profile, you  can  create
  84.        one  (and  everything  else you need) by typing ``inc'' to
  85.        the shell.  You should do this before using _x_m_h to  incor-
  86.        porate new mail.
  87.  
  88.        For more information, refer to the _m_h_(_1_) documentation.
  89.  
  90.        Much of the user interface of _x_m_h is configured in the _X_m_h
  91.        application class defaults file;     if  this  file     was  not
  92.        installed  properly a warning message will appear when _x_m_h
  93.        is used.     _x_m_h is backwards compatible with the R4 applica-
  94.        tion class defaults file.
  95.  
  96.        The  default  value  of    the  SendBreakWidth  resource has
  97.        changed since R4.
  98.  
  99.  
  100. BBAASSIICC SSCCRREEEENN LLAAYYOOUUTT
  101.        _x_m_h starts out with a single  window,  divided  into  four
  102.        major areas:
  103.  
  104.  
  105.        --   Six buttons with pull-down command menus.
  106.  
  107.  
  108.        --   A  collection  of  buttons,    one  for  each    top level
  109.        folder.  New     users    of  _M_H    will  have  two     folders,
  110.        ``drafts'' and ``inbox''.
  111.  
  112.  
  113.        --   A  listing,    or  Table of Contents, of the messages in
  114.        the open folder.  Initially, this will show    the  mes-
  115.        sages in ``inbox''.
  116.  
  117.  
  118.        --   A  view  of    one  of your messages.    Initially this is
  119.        blank.
  120.  
  121.  
  122. XXMMHH AANNDD TTHHEE AATTHHEENNAA WWIIDDGGEETT SSEETT
  123.        _x_m_h uses the X Toolkit Intrinsics and  the  Athena  Widget
  124.        Set.   Many  of    the features described below (scrollbars,
  125.        buttonboxes, etc.) are actually part of the Athena  Widget
  126.        Set,  and  are  described here only for completeness.  For
  127.  
  128.  
  129.  
  130. X Version 11           Release 6.1                2
  131.  
  132.  
  133.  
  134.  
  135.  
  136. XMH(1)                               XMH(1)
  137.  
  138.  
  139.        more information, see the Athena Widget Set documentation.
  140.  
  141.  
  142.    SSCCRROOLLLLBBAARRSS
  143.        Some parts of the main window will have a vertical area on
  144.        the left containing a grey bar.    This area is a _s_c_r_o_l_l_b_a_r.
  145.        They  are used whenever the data in a window takes up more
  146.        space than can be displayed.  The grey bar indicates  what
  147.        portion    of  your  data    is  visible.  Thus, if the entire
  148.        length of the area is grey, then you are     looking  at  all
  149.        your  data.   If only the first half is grey, then you are
  150.        looking at the top half of your data.  The message viewing
  151.        area  will  have a horizontal scrollbar if the text of the
  152.        message is wider than the viewing area.
  153.  
  154.        You can use the pointer in the scrollbar     to  change  what
  155.        part  of     the  data is visible.    If you click with pointer
  156.        button 2, the top of the grey area will move to where  the
  157.        pointer    is, and the corresponding portion of data will be
  158.        displayed.  If you hold down pointer  button  2,     you  can
  159.        drag  around  the grey area.  This makes it easy to get to
  160.        the top of the data: just press with button  2,    drag  off
  161.        the top of the scrollbar, and release.
  162.  
  163.        If  you click with button 1, then the data to the right of
  164.        the pointer will scroll to the top of the window.  If  you
  165.        click  with  pointer button 3, then the data at the top of
  166.        the window will scroll down to where the pointer is.
  167.  
  168.  
  169.    BBUUTTTTOONNBBOOXXEESS,, BBUUTTTTOONNSS,, AANNDD MMEENNUUSS
  170.        Any area containing many     words    or  short  phrases,  each
  171.        enclosed in a rectangular or rounded boundary, is called a
  172.        _b_u_t_t_o_n_b_o_x.  Each rectangle or rounded area is  actually    a
  173.        button  that  you  can press by moving the pointer onto it
  174.        and pressing pointer button 1.  If a given  buttonbox  has
  175.        more buttons in it than can fit, it will be displayed with
  176.        a scrollbar, so you can always scroll to     the  button  you
  177.        want.
  178.  
  179.        Some  buttons  have pull-down menus.  Pressing the pointer
  180.        button while the pointer is over one of these buttons will
  181.        pull  down  a  menu.   Continuing  to hold the button down
  182.        while moving the pointer over the  menu,     called     dragging
  183.        the  pointer,  will  highlight each selectable item on the
  184.        menu as the pointer passes over it.  To select an item  in
  185.        the  menu,  release  the     pointer button while the item is
  186.        highlighted.
  187.  
  188.  
  189.    AADDJJUUSSTTIINNGG TTHHEE RREELLAATTIIVVEE SSIIZZEESS OOFF AARREEAASS
  190.        If you're not satisfied with  the  sizes     of  the  various
  191.        areas  of  the  main  window,  they can easily be changed.
  192.        Near the right edge of the border between each region is a
  193.  
  194.  
  195.  
  196. X Version 11           Release 6.1                3
  197.  
  198.  
  199.  
  200.  
  201.  
  202. XMH(1)                               XMH(1)
  203.  
  204.  
  205.        black  box, called a _g_r_i_p.  Simply point to that grip with
  206.        the pointer, press a pointer button, drag up or down,  and
  207.        release.      Exactly  what     happens depends on which pointer
  208.        button you press.
  209.  
  210.        If you drag with the pointer button 2, then only that bor-
  211.        der  will  move.     This mode is simplest to understand, but
  212.        is the least useful.
  213.  
  214.        If you drag with pointer button 1, then you are    adjusting
  215.        the size of the window above.  _x_m_h will attempt to compen-
  216.        sate by adjusting some window below it.
  217.  
  218.        If you drag with pointer button 3, then you are    adjusting
  219.        the size of the window below.  _x_m_h will attempt to compen-
  220.        sate by adjusting some window above it.
  221.  
  222.        All windows have a minimum  and    maximum     size;    you  will
  223.        never  be allowed to move a border past the point where it
  224.        would make a window have an invalid size.
  225.  
  226.  
  227. PPRROOCCEESSSSIINNGG YYOOUURR MMAAIILL
  228.        This section will define     the  concepts    of  the     selected
  229.        folder,    current folder, selected message(s), current mes-
  230.        sage, selected sequence, and current sequence.    Each  _x_m_h
  231.        command is introduced.
  232.  
  233.        For  use in customization, action procedures corresponding
  234.        to each command are given; these action procedures can  be
  235.        used  to     customize  the     user interface, particularly the
  236.        keyboard accelerators and the functionality of the buttons
  237.        in  the    optional  button  box  created by the application
  238.        resource CCoommmmaannddBBuuttttoonnCCoouunntt.
  239.  
  240.  
  241.    FFOOLLDDEERRSS AANNDD SSEEQQUUEENNCCEESS
  242.        A folder contains a collection of  mail    messages,  or  is
  243.        empty.  _x_m_h supports folders with one level of subfolders.
  244.  
  245.        The selected folder is whichever foldername appears in the
  246.        bar  above the folder buttons.  Note that this is not nec-
  247.        essarily the same folder that is currently  being  viewed.
  248.        To  change  the selected folder, just press on the desired
  249.        folder button with pointer button 1; if    that  folder  has
  250.        subfolders, select a folder from the pull-down menu.
  251.  
  252.        The  Table  of Contents, or toc, lists the messages in the
  253.        viewed folder.  The title bar above the Table of     Contents
  254.        displays the name of the viewed folder.
  255.  
  256.        The  toc     title    bar  also displays the name of the viewed
  257.        sequence of messages  within  the  viewed  folder.   Every
  258.        folder  has  an    implicit ``all'' sequence, which contains
  259.  
  260.  
  261.  
  262. X Version 11           Release 6.1                4
  263.  
  264.  
  265.  
  266.  
  267.  
  268. XMH(1)                               XMH(1)
  269.  
  270.  
  271.        all the messages in the    folder,     and  initially     the  toc
  272.        title bar will show ``inbox:all''.
  273.  
  274.  
  275.    FFOOLLDDEERR CCOOMMMMAANNDDSS
  276.        The  _F_o_l_d_e_r  command  menu  contains  commands of a global
  277.        nature:
  278.  
  279.  
  280.        OOppeenn FFoollddeerr
  281.            Display the data in the    selected  folder.   Thus,
  282.            the   selected  folder  also  becomes  the  viewed
  283.            folder.    The  action  procedure    corresponding  to
  284.            this  command  is XXmmhhOOppeennFFoollddeerr(([_f_o_l_d_e_r_n_a_m_e])).  It
  285.            takes an optional argument as the name of a folder
  286.            to select and open; if no folder is specified, the
  287.            selected folder is opened.  It may be specified as
  288.            part  of     an  event translation from a folder menu
  289.            button or from a folder menu, or as a binding of a
  290.            keyboard     accelerator to any widget other than the
  291.            folder menu buttons or the folder menus.
  292.  
  293.        OOppeenn FFoollddeerr iinn NNeeww WWiinnddooww
  294.            Displays the selected folder in an additional main
  295.            window.     Note,    however, that you cannot reliably
  296.            display the same folder in more than one window at
  297.            a  time,     although  _x_m_h    will not prevent you from
  298.            trying.     The  corresponding  action  is     XXmmhhOOppeenn--
  299.            FFoollddeerrIInnNNeewwWWiinnddooww(()).
  300.  
  301.        CCrreeaattee FFoollddeerr
  302.            Create  a  new folder.  You will be prompted for a
  303.            name for the new folder; to enter the  name,  move
  304.            the  pointer  to     the blank box provided and type.
  305.            Subfolders are created by  specifying  the  parent
  306.            folder,    a  slash,  and    the  subfolder name.  For
  307.            example, to create a folder named ``xmh'' which is
  308.            a   subfolder   of   an     existing   folder  named
  309.            ``clients'', type ``clients/xmh''.  Click  on  the
  310.            Okay  button  when  finished, or just type Return;
  311.            click on Cancel to  cancel  this     operation.   The
  312.            action  corresponding  to Create Folder is XXmmhhCCrree--
  313.            aatteeFFoollddeerr(()).
  314.  
  315.  
  316.        DDeelleettee FFoollddeerr
  317.            Destroy the selected folder.  You will be asked to
  318.            confirm    this  action  (see CONFIRMATION WINDOWS).
  319.            Destroying a folder will also destroy any subfold-
  320.            ers  of    that folder.  The corresponding action is
  321.            XXmmhhDDeelleetteeFFoollddeerr(()).
  322.  
  323.  
  324.  
  325.  
  326.  
  327.  
  328. X Version 11           Release 6.1                5
  329.  
  330.  
  331.  
  332.  
  333.  
  334. XMH(1)                               XMH(1)
  335.  
  336.  
  337.        CClloossee WWiinnddooww
  338.            Exits _x_m_h, after first confirming that  you  won't
  339.            lose  any  changes; or, if selected from any addi-
  340.            tional _x_m_h window, simply closes that window.  The
  341.            corresponding action is XXmmhhCClloossee(()).
  342.  
  343.  
  344.    HHIIGGHHLLIIGGHHTTEEDD MMEESSSSAAGGEESS,, SSEELLEECCTTEEDD MMEESSSSAAGGEESS
  345.    AANNDD TTHHEE CCUURRRREENNTT MMEESSSSAAGGEE
  346.        It  is possible to highlight a set of adjacent messages in
  347.        the area of the Table of Contents.  To  highlight  a  mes-
  348.        sage,  click  on it with pointer button 1.  To highlight a
  349.        range of messages, click on the    first  one  with  pointer
  350.        button  1  and  on  the last one with pointer button 3; or
  351.        press pointer button 1, drag, and release.   To    extend    a
  352.        range  of  selected  messages,  use  pointer button 3.  To
  353.        highlight all messages in the  table  of     contents,  click
  354.        rapidly    three times with pointer button 1.  To cancel any
  355.        selection in the table of contents, click rapidly twice.
  356.  
  357.        The selected messages are the same as the highlighted mes-
  358.        sages,  if  any.     If no messages are highlighted, then the
  359.        selected messages are considered the same as  the  current
  360.        message.
  361.  
  362.        The current message is indicated by a `+' next to the mes-
  363.        sage number.  It usually corresponds to the  message  cur-
  364.        rently being viewed.  Upon opening a new folder, for exam-
  365.        ple, the current message will be different from the viewed
  366.        message.      When    a  message is viewed, the title bar above
  367.        the view will identify the message.
  368.  
  369.  
  370.    TTAABBLLEE OOFF CCOONNTTEENNTTSS CCOOMMMMAANNDDSS
  371.        The _T_a_b_l_e _o_f _C_o_n_t_e_n_t_s command menu contains commands which
  372.        operate on the open, or viewed, folder.
  373.  
  374.  
  375.        IInnccoorrppoorraattee NNeeww MMaaiill
  376.              Add  any  new    mail  received    to viewed
  377.              folder, and set the current  message  to
  378.              be  the first new message.  This command
  379.              is selectable in the menu and will  exe-
  380.              cute    only  if  the  viewed  folder  is
  381.              allowed  to  receive    new   mail.    By
  382.              default,  only     ``inbox''  is allowed to
  383.              incorporate new mail.    The corresponding
  384.              action is XXmmhhIInnccoorrppoorraatteeNNeewwMMaaiill(()).
  385.  
  386.        CCoommmmiitt CChhaannggeess     Execute all deletions, moves, and copies
  387.              that have been marked    in  this  folder.
  388.              The   corresponding  action  is  XXmmhhCCoomm--
  389.              mmiittCChhaannggeess(()).
  390.  
  391.  
  392.  
  393.  
  394. X Version 11           Release 6.1                6
  395.  
  396.  
  397.  
  398.  
  399.  
  400. XMH(1)                               XMH(1)
  401.  
  402.  
  403.        PPaacckk FFoollddeerr     Renumber the messages in this folder  so
  404.              they  start  with  1 and increment by 1.
  405.              The  corresponding  action  is     XXmmhhPPaacckk--
  406.              FFoollddeerr(()).
  407.  
  408.        SSoorrtt FFoollddeerr     Sort  the  messages  in  this    folder in
  409.              chronological order.  (As a side effect,
  410.              this  may  also  pack    the folder.)  The
  411.              corresponding action is XXmmhhSSoorrttFFoollddeerr(()).
  412.  
  413.        RReessccaann FFoollddeerr     Rebuild  the list of messages.     This can
  414.              be used whenever you suspect that  _x_m_h's
  415.              idea of what messages you have is wrong.
  416.              (In particular, this is necessary if you
  417.              change things using straight _M_H commands
  418.              without using _x_m_h.)   The  corresponding
  419.              action is XXmmhhFFoorrcceeRReessccaann(()).
  420.  
  421.  
  422.    MMEESSSSAAGGEE CCOOMMMMAANNDDSS
  423.        The  _M_e_s_s_a_g_e  command menu contains commands which operate
  424.        on the selected message(s), or if there    are  no     selected
  425.        messages, the current message.
  426.  
  427.  
  428.        CCoommppoossee MMeessssaaggee     Composes  a  new  message.  A new window
  429.              will be brought up  for  composition;    a
  430.              description of it is given in the COMPO-
  431.              SITION WINDOWS section below.    This com-
  432.              mand  does  not  affect the current mes-
  433.              sage.    The corresponding action is  XXmmhh--
  434.              CCoommppoosseeMMeessssaaggee(()).
  435.  
  436.  
  437.        VViieeww NNeexxtt MMeessssaaggee View  the first selected message.  If no
  438.              messages are highlighted, view the  cur-
  439.              rent  message.      If  current  message is
  440.              already being    viewed,     view  the  first
  441.              unmarked  message after the current mes-
  442.              sage.     The  corresponding   action   is
  443.              XXmmhhVViieewwNNeexxttMMeessssaaggee(()).
  444.  
  445.  
  446.        VViieeww PPrreevviioouuss     View  the  last selected message.  If no
  447.              messages are highlighted, view the  cur-
  448.              rent  message.      If  current  message is
  449.              already being    viewed,     view  the  first
  450.              unmarked message before the current mes-
  451.              sage.     The  corresponding   action   is
  452.              XXmmhhVViieewwPPrreevviioouuss(()).
  453.  
  454.  
  455.        DDeelleettee         Mark the selected messages for deletion.
  456.              If no messages are highlighted, mark the
  457.  
  458.  
  459.  
  460. X Version 11           Release 6.1                7
  461.  
  462.  
  463.  
  464.  
  465.  
  466. XMH(1)                               XMH(1)
  467.  
  468.  
  469.              current  message  for deletion and auto-
  470.              matically display the next unmarked mes-
  471.              sage.     The corresponding action is XXmmhh--
  472.              MMaarrkkDDeelleettee(()).
  473.  
  474.  
  475.        MMoovvee         Mark the selected messages to    be  moved
  476.              into the currently selected folder.  (If
  477.              the selected folder is the same  as  the
  478.              viewed     folder,  this    command will just
  479.              beep.)     If no messages are  highlighted,
  480.              mark the current message to be moved and
  481.              display the next unmarked message.   The
  482.              corresponding action is XXmmhhMMaarrkkMMoovvee(()).
  483.  
  484.  
  485.        CCooppyy aass LLiinnkk     Mark  the selected messages to be copied
  486.              into  the  selected  folder.    (If   the
  487.              selected  folder  is  the  same  as  the
  488.              viewed folder, this  command  will  just
  489.              beep.)      If no messages are highlighted,
  490.              mark the current message to  be  copied.
  491.              Note  that messages are actually linked,
  492.              not copied; editing a message copied  by
  493.              _x_m_h  will  affect all copies of the mes-
  494.              sage.    The corresponding action is  XXmmhh--
  495.              MMaarrkkCCooppyy(()).
  496.  
  497.  
  498.        UUnnmmaarrkk         Remove any of the above three marks from
  499.              the selected messages,     or  the  current
  500.              message,  if  none are highlighted.  The
  501.              corresponding action is XXmmhhUUnnmmaarrkk(()).
  502.  
  503.  
  504.        VViieeww iinn NNeeww     Create a new window  containing  only    a
  505.              view  of  the first selected message, or
  506.              the current message, if none  are  high-
  507.              lighted.   The     corresponding    action is
  508.              XXmmhhVViieewwIInnNNeewwWWiinnddooww(()).
  509.  
  510.  
  511.        RReeppllyy         Create a composition window in reply  to
  512.              the  first selected message, or the cur-
  513.              rent message, if none    are  highlighted.
  514.              The  corresponding action is XXmmhhRReeppllyy(()).
  515.  
  516.  
  517.        FFoorrwwaarrdd         Create a composition window  whose  body
  518.              is  initialized to contain an encapsula-
  519.              tion of of the selected messages, or the
  520.              current message if none are highlighted.
  521.              The  corresponding  action  is      XXmmhhFFoorr--
  522.              wwaarrdd(()).
  523.  
  524.  
  525.  
  526. X Version 11           Release 6.1                8
  527.  
  528.  
  529.  
  530.  
  531.  
  532. XMH(1)                               XMH(1)
  533.  
  534.  
  535.        UUssee aass CCoommppoossiittiioonn
  536.              Create     a  composition window whose body
  537.              is initialized to be the contents of the
  538.              first    selected  message, or the current
  539.              message  if  none  are     selected.    Any
  540.              changes you make in the composition will
  541.              be  saved  in    a  new    message     in   the
  542.              ``drafts''  folder,  and will not change
  543.              the original message.    However, there is
  544.              an  exception to this rule.  If the mes-
  545.              sage  to  be  used  as     composition  was
  546.              selected  from     the  ``drafts''  folder,
  547.              (see  BUGS),    the   changes    will   be
  548.              reflected  in    the original message (see
  549.              COMPOSITION WINDOWS).    The action proce-
  550.              dure  corresponding  to  this command is
  551.              XXmmhhUUsseeAAssCCoommppoossiittiioonn(()).
  552.  
  553.  
  554.        PPrriinntt         Print the selected messages, or the cur-
  555.              rent  message if none are selected.  _x_m_h
  556.              normally   prints   by      invoking    the
  557.              _e_n_s_c_r_i_p_t(1)  command,    but  this  can be
  558.              customized  with  the    _x_m_h  application-
  559.              specific   resource  PPrriinnttCCoommmmaanndd.   The
  560.              corresponding action is XXmmhhPPrriinntt(()).
  561.  
  562.  
  563.    SSEEQQUUEENNCCEE CCOOMMMMAANNDDSS
  564.        The _S_e_q_u_e_n_c_e command menu contains commands pertaining  to
  565.        message    sequences  (See MESSAGE-SEQUENCES), and a list of
  566.        the message-sequences defined  for  the    currently  viewed
  567.        folder.     The  selected message-sequence is indicated by a
  568.        check mark in its entry in the margin  of  the  menu.   To
  569.        change  the  selected  message-sequence, select a new mes-
  570.        sage-sequence from the sequence menu.
  571.  
  572.  
  573.        PPiicckk MMeessssaaggeess     Define a new message-sequence.     The cor-
  574.              responding  action is XXmmhhPPiicckkMMeessssaaggeess(()).
  575.  
  576.        The following menu entries will be sensitive only  if  the
  577.        current    folder    has  any message-sequences other than the
  578.        ``all'' message-sequence.
  579.  
  580.        OOppeenn SSeeqquueennccee     Change the viewed  sequence  to  be  the
  581.              same as the selected sequence.     The cor-
  582.              responding action is  XXmmhhOOppeennSSeeqquueennccee(()).
  583.  
  584.  
  585.        AAdddd ttoo SSeeqquueennccee     Add   the   selected    messages  to  the
  586.              selected  sequence.   The  corresponding
  587.              action is XXmmhhAAddddTTooSSeeqquueennccee(()).
  588.  
  589.  
  590.  
  591.  
  592. X Version 11           Release 6.1                9
  593.  
  594.  
  595.  
  596.  
  597.  
  598. XMH(1)                               XMH(1)
  599.  
  600.  
  601.        RReemmoovvee ffrroomm SSeeqquueennccee
  602.              Remove     the  selected    messages from the
  603.              selected  sequence.   The  corresponding
  604.              action is XXmmhhRReemmoovveeFFrroommSSeeqquueennccee(()).
  605.  
  606.  
  607.        DDeelleettee SSeeqquueennccee     Remove     the  selected sequence entirely.
  608.              The   messages      themselves   are    not
  609.              affected;  they  simply  are  no  longer
  610.              grouped together to  define  a     message-
  611.              sequence.   The  corresponding action is
  612.              XXmmhhDDeelleetteeSSeeqquueennccee(()).
  613.  
  614.  
  615.    VVIIEEWW CCOOMMMMAANNDDSS
  616.        Commands in the _V_i_e_w menu and in the buttonboxes     of  view
  617.        windows    (which    result from the _M_e_s_s_a_g_e menu command VViieeww
  618.        IInn NNeeww) correspond in functionality  to    commands  of  the
  619.        same  name  in  the  _M_e_s_s_a_g_e menu, but they operate on the
  620.        viewed message rather than the selected messages     or  cur-
  621.        rent message.
  622.  
  623.  
  624.        CClloossee WWiinnddooww     When the viewed message is in a separate
  625.              view window, this command will close the
  626.              view, after confirming the status of any
  627.              unsaved edits.     The corresponding action
  628.              procedure is XXmmhhCClloosseeVViieeww(()).
  629.  
  630.        RReeppllyy         Create     a composition window in reply to
  631.              the viewed message.  The related  action
  632.              procedure is XXmmhhVViieewwRReeppllyy(()).
  633.  
  634.        FFoorrwwaarrdd         Create     a  composition window whose body
  635.              is initialized contain an  encapsulation
  636.              of  the viewed message.  The correspond-
  637.              ing action is XXmmhhVViieewwFFoorrwwaarrdd(()).
  638.  
  639.        UUssee AAss CCoommppoossiittiioonn
  640.              Create a composition window  whose  body
  641.              is initialized to be the contents of the
  642.              viewed message.  Any changes made in the
  643.              composition  window  will  be saved in a
  644.              new message in     the  ``drafts''  folder,
  645.              and  will  not     change the original mes-
  646.              sage.    An exception: if the viewed  mes-
  647.              sage  was  selected  from the ``drafts''
  648.              folder, (see BUGS) the original  message
  649.              is  edited.  The action procedure corre-
  650.              sponding to this command is  XXmmhhVViieewwUUssee--
  651.              AAssCCoommppoossiittiioonn(()).
  652.  
  653.        EEddiitt MMeessssaaggee     This  command enables the direct editing
  654.              of  the  viewed  message.   The   action
  655.  
  656.  
  657.  
  658. X Version 11           Release 6.1                   10
  659.  
  660.  
  661.  
  662.  
  663.  
  664. XMH(1)                               XMH(1)
  665.  
  666.  
  667.              procedure is XXmmhhEEddiittVViieeww(()).
  668.  
  669.        SSaavvee MMeessssaaggee     This  command    is  insensitive until the
  670.              message has been edited; when activated,
  671.              edits will be saved to the original mes-
  672.              sage in  the  view.   The  corresponding
  673.              action is XXmmhhSSaavveeVViieeww(()).
  674.  
  675.        PPrriinntt         Print the viewed message.  _x_m_h prints by
  676.              invoking the  _e_n_s_c_r_i_p_t(1)  command,  but
  677.              this can be customized with the applica-
  678.              tion-specific     resource   PPrriinnttCCoommmmaanndd.
  679.              The  corresponding  action  procedure is
  680.              XXmmhhPPrriinnttVViieeww(()).
  681.  
  682.        DDeelleettee         Marks the viewed message  for    deletion.
  683.              The  corresponding  action  procedure is
  684.              XXmmhhVViieewwMMaarrkkDDeelleettee(()).
  685.  
  686.  
  687. OOPPTTIIOONNSS
  688.        The _O_p_t_i_o_n_s menu contains one entry.
  689.  
  690.  
  691.        RReeaadd iinn RReevveerrssee
  692.           When selected, a check mark appears in  the  margin
  693.           of  this    menu  entry.  Read in Reverse will switch
  694.           the meaning of the next and previous messages,  and
  695.           will increment to the current message marker in the
  696.           opposite direction.  This is useful if you want  to
  697.           read  your  messages  in    the  order of most recent
  698.           first.  The option acts as a toggle; select it from
  699.           the  menu     a  second  time to undo the effect.  The
  700.           check mark appears when the option is selected.
  701.  
  702.  
  703. CCOOMMPPOOSSIITTIIOONN WWIINNDDOOWWSS
  704.        Composition windows are created by selecting CCoommppoossee  MMeess--
  705.        ssaaggee  from the _M_e_s_s_a_g_e command menu, or by selecting RReeppllyy
  706.        or FFoorrwwaarrdd or UUssee aass CCoommppoossiittiioonn from the _M_e_s_s_a_g_e or  _V_i_e_w
  707.        command    menu.    These  are used to compose mail messages.
  708.        Aside from the normal text editing  functions,  there  are
  709.        six command buttons associated with composition windows:
  710.  
  711.        CClloossee WWiinnddooww     Close     this    composition  window.   If
  712.              changes have been made     since    the  most
  713.              recent     Save  or Send, you will be asked
  714.              to confirm losing them.  The correspond-
  715.              ing action is XXmmhhCClloosseeVViieeww(()).
  716.  
  717.  
  718.        SSeenndd         Send  this composition.  The correspond-
  719.              ing action is XXmmhhSSeenndd(()).
  720.  
  721.  
  722.  
  723.  
  724. X Version 11           Release 6.1                   11
  725.  
  726.  
  727.  
  728.  
  729.  
  730. XMH(1)                               XMH(1)
  731.  
  732.  
  733.        NNeeww HHeeaaddeerrss     Replace the current composition with  an
  734.              empty    message.   If  changes    have been
  735.              made since the most recent Send or Save,
  736.              you  will  be    asked  to  confirm losing
  737.              them.     The  corresponding   action   is
  738.              XXmmhhRReesseettCCoommppoossee(()).
  739.  
  740.  
  741.        CCoommppoossee MMeessssaaggee     Bring up another new composition window.
  742.              The  corresponding  action  is      XXmmhhCCoomm--
  743.              ppoosseeMMeessssaaggee(()).
  744.  
  745.  
  746.        SSaavvee MMeessssaaggee     Save  this  composition  in  your drafts
  747.              folder.  Then you can safely  close  the
  748.              composition.    At  some future date, you
  749.              can continue working on the  composition
  750.              by  opening the drafts folder, selecting
  751.              the message, and using the ``Use as Com-
  752.              position''  command.    The corresponding
  753.              action is XXmmhhSSaavvee(()).
  754.  
  755.  
  756.        IInnsseerrtt         Insert a related message into the compo-
  757.              sition.   If  the composition window was
  758.              created with a     ``Reply''  command,  the
  759.              related  message  is  the  message being
  760.              replied to, otherwise no related message
  761.              is  defined  and this button is insensi-
  762.              tive.     The  message  may  be     filtered
  763.              before     being inserted; see RReeppllyyIInnsseerrtt--
  764.              FFiilltteerr under APPLICATION  RESOURCES  for
  765.              more    information.   The  corresponding
  766.              action is XXmmhhIInnsseerrtt(()).
  767.  
  768.  
  769. AACCCCEELLEERRAATTOORRSS
  770.        Accelerators are shortcuts.  They allow you to invoke com-
  771.        mands without using the menus, either from the keyboard or
  772.        by using the pointer.
  773.  
  774.        _x_m_h defines pointer accelerators for  common  actions:  To
  775.        select and view a message with a single click, use pointer
  776.        button 2 on the message's entry in the table of    contents.
  777.        To  select  and    open  a     folder or a sequence in a single
  778.        action, make the folder or sequence selection with pointer
  779.        button 2.
  780.  
  781.        To  mark     the  highlighted messages, or current message if
  782.        none have been highlighted, to be moved to a folder  in    a
  783.        single  action,    use pointer button 3 to select the target
  784.        folder and simultaneously mark the  messages.   Similarly,
  785.        selecting  a  sequence  with pointer button 3 will add the
  786.        highlighted or current message(s) to  that  sequence.   In
  787.  
  788.  
  789.  
  790. X Version 11           Release 6.1                   12
  791.  
  792.  
  793.  
  794.  
  795.  
  796. XMH(1)                               XMH(1)
  797.  
  798.  
  799.        both  of these operations, the selected folder or sequence
  800.        and the viewed folder or sequence are not changed.
  801.  
  802.        _x_m_h defines the following keyboard accelerators    over  the
  803.        surface    of the main window, except in the view area while
  804.        editing a message:
  805.         Meta-I       Incorporate New Mail
  806.         Meta-C       Commit Changes
  807.         Meta-R       Rescan Folder
  808.         Meta-P       Pack Folder
  809.         Meta-S       Sort Folder
  810.  
  811.         Meta-space       View Next Message
  812.         Meta-c       Mark Copy
  813.         Meta-d       Mark Deleted
  814.         Meta-f       Forward the selected or current message
  815.         Meta-m       Mark Move
  816.         Meta-n       View Next Message
  817.         Meta-p       View Previous Message
  818.         Meta-r       Reply to the selected or current message
  819.         Meta-u       Unmark
  820.  
  821.         Ctrl-V       Scroll the table of contents forward
  822.         Meta-V       Scroll the table of contents backward
  823.         Ctrl-v       Scroll the view forward
  824.         Meta-v       Scroll the view backward
  825.  
  826.  
  827. TTEEXXTT EEDDIITTIINNGG CCOOMMMMAANNDDSS
  828.        All of the text editing commands are actually  defined  by
  829.        the  Text  widget  in the Athena Widget Set.  The commands
  830.        may be bound to different keys than the defaults described
  831.        below  through  the  X  Toolkit    Intrinsics key re-binding
  832.        mechanisms.  See the X Toolkit Intrinsics and  the  Athena
  833.        Widget Set documentation for more details.
  834.  
  835.        Whenever     you  are  asked  to  enter any text, you will be
  836.        using a standard text editing interface.     Various  control
  837.        and  meta  keystroke  combinations are bound to a somewhat
  838.        Emacs-like set of commands.  In addition, the pointer but-
  839.        tons  may  be  used to select a portion of text or to move
  840.        the insertion point in the text.     Pressing pointer  button
  841.        1 causes the insertion point to move to the pointer.  Dou-
  842.        ble-clicking button  1  selects    a  word,  triple-clicking
  843.        selects    a  line,  quadruple-clicking selects a paragraph,
  844.        and clicking rapidly five times selects    everything.   Any
  845.        selection  may  be  extended  in either direction by using
  846.        pointer button 3.
  847.  
  848.        In the following, a _l_i_n_e refers to one  displayed  row  of
  849.        characters  in the window.  A _p_a_r_a_g_r_a_p_h refers to the text
  850.        between carriage returns.  Text within a paragraph is bro-
  851.        ken  into  lines for display based on the current width of
  852.        the window.  When a message is sent, text is  broken  into
  853.  
  854.  
  855.  
  856. X Version 11           Release 6.1                   13
  857.  
  858.  
  859.  
  860.  
  861.  
  862. XMH(1)                               XMH(1)
  863.  
  864.  
  865.        lines  based  upon  the    values    of the SSeennddBBrreeaakkWWiiddtthh and
  866.        SSeennddWWiiddtthh application-specific resources.
  867.  
  868.        The following keystroke combinations are defined:
  869.  
  870.        Ctrl-a     Beginning Of Line   Meta-b        Backward Word
  871.        Ctrl-b     Backward Character  Meta-f        Forward Word
  872.        Ctrl-d     Delete Next Character            Meta-iInsert File
  873.        Ctrl-e     End Of Line         Meta-k        Kill To End Of Paragraph
  874.        Ctrl-f     Forward Character   Meta-q        Form Paragraph
  875.        Ctrl-g     Multiply Reset         Meta-v        Previous Page
  876.        Ctrl-h     Delete Previous Character        Meta-yInsert Current Selection
  877.        Ctrl-j     Newline And Indent  Meta-z        Scroll One Line Down
  878.        Ctrl-k     Kill To End Of Line Meta-d        Delete Next Word
  879.        Ctrl-l     Redraw Display         Meta-D        Kill Word
  880.        Ctrl-m     Newline         Meta-h        Delete Previous Word
  881.        Ctrl-n     Next Line         Meta-H        Backward Kill Word
  882.        Ctrl-o     Newline And Backup  Meta-<        Beginning Of File
  883.        Ctrl-p     Previous Line         Meta->        End Of File
  884.        Ctrl-r     Search/Replace Backward        Meta-]Forward Paragraph
  885.        Ctrl-s     Search/Replace Forward            Meta-[Backward Paragraph
  886.        Ctrl-t     Transpose Characters
  887.        Ctrl-u     Multiply by 4         Meta-Delete    Delete Previous Word
  888.        Ctrl-v     Next Page         Meta-Shift DeleteKill Previous Word
  889.        Ctrl-w     Kill Selection         Meta-Backspace Delete Previous Word
  890.        Ctrl-y     Unkill             Meta-Shift BackspaceKill Previous Word
  891.        Ctrl-z     Scroll One Line Up
  892.  
  893.        In addition, the pointer may be used to copy and paste text:
  894.         Button 1 Down  Start Selection
  895.         Button 1 MotionAdjust Selection
  896.         Button 1 Up       End Selection (copy)
  897.  
  898.         Button 2 Down  Insert Current Selection (paste)
  899.  
  900.         Button 3 Down  Extend Current Selection
  901.         Button 3 MotionAdjust Selection
  902.         Button 3 Up       End Selection (copy)
  903.  
  904.  
  905. CCOONNFFIIRRMMAATTIIOONN DDIIAALLOOGG BBOOXXEESS
  906.        Whenever you press a button that may  cause  you     to  lose
  907.        some  work  or  is otherwise dangerous, a popup dialog box
  908.        will appear asking you to confirm the action.  This window
  909.        will  contain  an  ``Abort'' or ``No'' button and a ``Con-
  910.        firm'' or ``Yes'' button.  Pressing the ``No'' button can-
  911.        cels  the operation, and pressing the ``Yes'' will proceed
  912.        with the operation.
  913.  
  914.        When _x_m_h is run under a Release 6 session manager it  will
  915.        prompt the user for confirmation during a checkpoint oper-
  916.        ation.  The dialog box asks whether  any     current  changes
  917.        should    be   committed    (saved)     during     the  checkpoint.
  918.        Responding ``Yes'' will have the same effect  as     pressing
  919.  
  920.  
  921.  
  922. X Version 11           Release 6.1                   14
  923.  
  924.  
  925.  
  926.  
  927.  
  928. XMH(1)                               XMH(1)
  929.  
  930.  
  931.        the  ``Commit Changes'' or ``Save Message'' buttons in the
  932.        respective folder and  view  windows.   Responding  ``No''
  933.        will cause the checkpoint to continue successfully to com-
  934.        pletion without actually saving any pending  changes.   If
  935.        the  session manager disallows user interaction during the
  936.        checkpoint  a  ``Yes''  response     is  assumed;  i.e.   all
  937.        changes will be committed during the checkpoint.
  938.  
  939.        Some  dialog boxes contain messages from _M_H.  Occasionally
  940.        when the message is more than one line long,  not  all  of
  941.        the  text  will be visible.  Clicking on the message field
  942.        will cause the dialog box to resize so that you    can  read
  943.        the entire message.
  944.  
  945.  
  946. MMEESSSSAAGGEE--SSEEQQUUEENNCCEESS
  947.        An  _M_H  message sequence is just a set of messages associ-
  948.        ated with some name.   They  are     local    to  a  particular
  949.        folder;    two different folders can have sequences with the
  950.        same name.  The sequence named ``all''  is  predefined  in
  951.        every  folder;  it  consists of the set of all messages in
  952.        that folder.  As many as nine sequences may be defined for
  953.        each  folder,  including     the predefined ``all'' sequence.
  954.        (The sequence ``cur'' is also usually  defined  for  every
  955.        folder;    it  consists  of  only    the current message.  _x_m_h
  956.        hides ``cur'' from the user, instead placing  a    ``+''  by
  957.        the   current   message.       Also,  _x_m_h  does  not  support
  958.        _M_H's``unseen'' sequence, so that one is also  hidden  from
  959.        the user.)
  960.  
  961.        The  message  sequences    for  a    folder (including one for
  962.        ``all'') are displayed in the ``Sequence'' menu, below the
  963.        sequence     commands.   The table of contents (also known as
  964.        the ``toc'') is at any one  time     displaying  one  message
  965.        sequence.  This is called the ``viewed sequence'', and its
  966.        name will be displayed in the  toc  title  bar  after  the
  967.        folder  name.   Also,  at any time one of the sequences in
  968.        the menu will have a check  mark     next  to  it.     This  is
  969.        called  the  ``selected    sequence''.  Note that the viewed
  970.        sequence and the selected sequence are not necessarily the
  971.        same.   (This all pretty much corresponds to the way fold-
  972.        ers work.)
  973.  
  974.        The OOppeenn SSeeqquueennccee, AAdddd ttoo SSeeqquueennccee, RReemmoovvee ffrroomm    SSeeqquueennccee,
  975.        and DDeelleettee SSeeqquueennccee commands are active only if the viewed
  976.        folder  contains     message-sequences  other  than      ``all''
  977.        sequence.
  978.  
  979.        Note that none of the above actually affect whether a mes-
  980.        sage is in the folder.  Remember that a sequence is a  set
  981.        of  messages  within the folder; the above operations just
  982.        affect what messages are in that set.
  983.  
  984.        To create a new sequence, select the ``Pick'' menu  entry.
  985.  
  986.  
  987.  
  988. X Version 11           Release 6.1                   15
  989.  
  990.  
  991.  
  992.  
  993.  
  994. XMH(1)                               XMH(1)
  995.  
  996.  
  997.        A  new  window  will  appear, with lots of places to enter
  998.        text. Basically, you can describe the  sequence's  initial
  999.        set  of    messages based on characteristics of the message.
  1000.        Thus, you can define a sequence to  be  all  the     messages
  1001.        that  were  from a particular person, or with a particular
  1002.        subject, and so on.  You can also connect things     up  with
  1003.        boolean    operators,  so    you  can  select  all things from
  1004.        ``weissman'' with a subject containing ``xmh''.
  1005.  
  1006.        The layout should be fairly obvious.  The  simplest  cases
  1007.        are  the easiest: just point to the proper field and type.
  1008.        If you enter in more than one field, it will  only  select
  1009.        messages which match all non-empty fields.
  1010.  
  1011.        The more complicated cases arise when you want things that
  1012.        match one field or another one, but not necessarily  both.
  1013.        That's  what  all the ``or'' buttons are for.  If you want
  1014.        all  things  with  subjects  that   include   ``xmh''   or
  1015.        ``xterm'', just press the ``or'' button next to the ``Sub-
  1016.        ject:'' field.  Another box  will  appear  where     you  can
  1017.        enter another subject.
  1018.  
  1019.        If  you    want  all things either from ``weissman'' or with
  1020.        subject ``xmh'', but  not  necessarily  both,  select  the
  1021.        ``-Or-'' button.     This will essentially double the size of
  1022.        the form.  You can then enter ``weissman'' in a from:  box
  1023.        on  the    top  half,  and     ``xmh'' in a subject: box on the
  1024.        lower part.
  1025.  
  1026.        If you select the ``Skip'' button, then    only  those  mes-
  1027.        sages  that  _d_o_n_'_t  match  the  fields  on  that     row  are
  1028.        included.
  1029.  
  1030.        Finally, in the bottom part of the window will appear sev-
  1031.        eral  more  boxes.  One is the name of the sequence you're
  1032.        defining.  (It  defaults     to  the  name    of  the     selected
  1033.        sequence     when  ``Pick''     was  pressed,    or to ``temp'' if
  1034.        ``all'' was the selected sequence.)  Another  box  defines
  1035.        which  sequence    to  look through for potential members of
  1036.        this sequence; it defaults to  the  viewed  sequence  when
  1037.        ``Pick'' was pressed.
  1038.  
  1039.        Two  more  boxes define a date range; only messages within
  1040.        that date range will be considered.  These dates     must  be
  1041.        entered    in RFC 822-style format: each date is of the form
  1042.        ``dd mmm yy hh:mm:ss zzz'', where dd is a one or two digit
  1043.        day of the month, mmm is the three-letter abbreviation for
  1044.        a month, and yy is  a  year.   The  remaining  fields  are
  1045.        optional:  hh,  mm,  and ss specify a time of day, and zzz
  1046.        selects a time zone.  Note that if the time is  left  out,
  1047.        it defaults to midnight; thus if you select a range of ``7
  1048.        nov 86'' - ``8 nov 86'', you will only get  messages  from
  1049.        the  7th,  as  all  messages  on the 8th will have arrived
  1050.        after midnight.
  1051.  
  1052.  
  1053.  
  1054. X Version 11           Release 6.1                   16
  1055.  
  1056.  
  1057.  
  1058.  
  1059.  
  1060. XMH(1)                               XMH(1)
  1061.  
  1062.  
  1063.        ``Date field'' specifies which field in the header to look
  1064.        at  for    this date range; it defaults to ``Date''.  If the
  1065.        sequence you're defining already exists, you  can  option-
  1066.        ally  merge  the     old  set  with     the new; that's what the
  1067.        ``Yes'' and ``No'' buttons are all  about.   Finally,  you
  1068.        can ``OK'' the whole thing, or ``Cancel'' it.
  1069.  
  1070.        In  general,  most  people will rarely use these features.
  1071.        However, it's nice to occasionally use  ``Pick''     to  find
  1072.        some  messages,    look  through them, and then hit ``Delete
  1073.        Sequence'' to put things back in their original state.
  1074.  
  1075.  
  1076. WWIIDDGGEETT HHIIEERRAARRCCHHYY
  1077.        In order to specify resources, it is useful  to    know  the
  1078.        hierarchy  of  widgets which compose _x_m_h.  In the notation
  1079.        below, indentation indicates hierarchical structure.   The
  1080.        widget  class  name is given first, followed by the widget
  1081.        instance name.  The application class name is Xmh.
  1082.  
  1083.        The hierarchy of the main toc and view window is identical
  1084.        for  additional    toc  and  view    windows,  except  that    a
  1085.        TopLevelShell widget is inserted in the hierarchy  between
  1086.        the application shell and the Paned widget.
  1087.  
  1088.        Xmh xmh
  1089.         Paned xmh
  1090.          SimpleMenu  folderMenu
  1091.               SmeBSB  open
  1092.               SmeBSB  openInNew
  1093.               SmeBSB  create
  1094.               SmeBSB  delete
  1095.               SmeLine  line
  1096.               SmeBSB  close
  1097.          SimpleMenu  tocMenu
  1098.               SmeBSB  inc
  1099.               SmeBSB  commit
  1100.               SmeBSB  pack
  1101.               SmeBSB  sort
  1102.               SmeBSB  rescan
  1103.          SimpleMenu  messageMenu
  1104.               SmeBSB  compose
  1105.               SmeBSB  next
  1106.               SmeBSB  prev
  1107.               SmeBSB  delete
  1108.               SmeBSB  move
  1109.               SmeBSB  copy
  1110.               SmeBSB  unmark
  1111.               SmeBSB  viewNew
  1112.               SmeBSB  reply
  1113.               SmeBSB  forward
  1114.               SmeBSB  useAsComp
  1115.               SmeBSB  print
  1116.          SimpleMenu  sequenceMenu
  1117.  
  1118.  
  1119.  
  1120. X Version 11           Release 6.1                   17
  1121.  
  1122.  
  1123.  
  1124.  
  1125.  
  1126. XMH(1)                               XMH(1)
  1127.  
  1128.  
  1129.               SmeBSB  pick
  1130.               SmeBSB  openSeq
  1131.               SmeBSB  addToSeq
  1132.               SmeBSB  removeFromSeq
  1133.               SmeBSB  deleteSeq
  1134.               SmeLine  line
  1135.               SmeBSB  all
  1136.          SimpleMenu  viewMenu
  1137.               SmeBSB  reply
  1138.               SmeBSB  forward
  1139.               SmeBSB  useAsComp
  1140.               SmeBSB  edit
  1141.               SmeBSB  save
  1142.               SmeBSB  print
  1143.          SimpleMenu  optionMenu
  1144.               SmeBSB  reverse
  1145.          Viewport.Core    menuBox.clip
  1146.               Box  menuBox
  1147.                MenuButton  folderButton
  1148.                MenuButton  tocButton
  1149.                MenuButton  messageButton
  1150.                MenuButton  sequenceButton
  1151.                MenuButton  viewButton
  1152.                MenuButton  optionButton
  1153.          Grip  grip
  1154.          Label folderTitlebar
  1155.          Grip  grip
  1156.          Viewport.Core    folders.clip
  1157.               Box  folders
  1158.                MenuButton  inbox
  1159.                MenuButton  drafts
  1160.                 SimpleMenu  menu
  1161.                      SmeBSB <folder_name>
  1162.                       .
  1163.                       .
  1164.                       .
  1165.  
  1166.          Grip  grip
  1167.          Label    tocTitlebar
  1168.          Grip  grip
  1169.          Text toc
  1170.               Scrollbar     vScrollbar
  1171.          Grip  grip
  1172.          Label    viewTitlebar
  1173.          Grip  grip
  1174.          Text  view
  1175.               Scrollbar     vScrollbar
  1176.               Scrollbar     hScrollbar
  1177.  
  1178.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _C_r_e_a_t_e _F_o_l_d_e_r _p_o_p_u_p _d_i_a_l_o_g _b_o_x_:
  1179.  
  1180.         TransientShell  prompt
  1181.          Dialog     dialog
  1182.               Label  label
  1183.  
  1184.  
  1185.  
  1186. X Version 11           Release 6.1                   18
  1187.  
  1188.  
  1189.  
  1190.  
  1191.  
  1192. XMH(1)                               XMH(1)
  1193.  
  1194.  
  1195.               Text  value
  1196.               Command  okay
  1197.               Command  cancel
  1198.  
  1199.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _N_o_t_i_c_e _d_i_a_l_o_g _b_o_x_, _w_h_i_c_h _r_e_p_o_r_t_s _m_e_s_s_a_g_e_s _f_r_o_m _M_H_:
  1200.  
  1201.         TransientShell  notice
  1202.          Dialog     dialog
  1203.               Label  label
  1204.               Text  value
  1205.               Command  confirm
  1206.  
  1207.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _C_o_n_f_i_r_m_a_t_i_o_n _d_i_a_l_o_g _b_o_x_:
  1208.  
  1209.         TransientShell  confirm
  1210.          Dialog     dialog
  1211.               Label  label
  1212.               Command  yes
  1213.               Command  no
  1214.  
  1215.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _d_i_a_l_o_g _b_o_x _w_h_i_c_h _r_e_p_o_r_t_s _e_r_r_o_r_s_:
  1216.  
  1217.         TransientShell  error
  1218.          Dialog     dialog
  1219.               Label  label
  1220.               Command  OK
  1221.  
  1222.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _c_o_m_p_o_s_i_t_i_o_n _w_i_n_d_o_w_:
  1223.  
  1224.         TopLevelShell  xmh
  1225.          Paned    xmh
  1226.               Label  composeTitlebar
  1227.               Text  comp
  1228.               Viewport.Core  compButtons.clip
  1229.                Box    compButtons
  1230.                 Command     close
  1231.                 Command     send
  1232.                 Command     reset
  1233.                 Command     compose
  1234.                 Command     save
  1235.                 Command     insert
  1236.  
  1237.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _v_i_e_w _w_i_n_d_o_w_:
  1238.  
  1239.         TopLevelShell  xmh
  1240.          Paned    xmh
  1241.               Label  viewTitlebar
  1242.               Text  view
  1243.               Viewport.Core  viewButtons.clip
  1244.                Box    viewButtons
  1245.                 Command     close
  1246.                 Command     reply
  1247.                 Command     forward
  1248.                 Command     useAsComp
  1249.  
  1250.  
  1251.  
  1252. X Version 11           Release 6.1                   19
  1253.  
  1254.  
  1255.  
  1256.  
  1257.  
  1258. XMH(1)                               XMH(1)
  1259.  
  1260.  
  1261.                 Command     edit
  1262.                 Command     save
  1263.                 Command     print
  1264.                 Command     delete
  1265.  
  1266.        _T_h_e _h_i_e_r_a_r_c_h_y _o_f _t_h_e _p_i_c_k _w_i_n_d_o_w_:
  1267.        _(_U_n_n_a_m_e_d _w_i_d_g_e_t_s _h_a_v_e _n_o _n_a_m_e_._)
  1268.  
  1269.         TopLevelShell  xmh
  1270.          Paned    xmh
  1271.               Label  pickTitlebar
  1272.               Viewport.Core  pick.clip
  1273.                Form     form
  1274.                 Form  groupform
  1275.        _T_h_e _f_i_r_s_t _6 _r_o_w_s _o_f _t_h_e _p_i_c_k _w_i_n_d_o_w _h_a_v_e _i_d_e_n_t_i_c_a_l _s_t_r_u_c_t_u_r_e_:
  1276.                      Form  rowform
  1277.                       Toggle
  1278.                       Toggle
  1279.                       Label
  1280.                       Text
  1281.                       Command
  1282.  
  1283.                      Form  rowform
  1284.                       Toggle
  1285.                       Toggle
  1286.                       Text
  1287.                       Text
  1288.                       Command
  1289.                      Form  rowform
  1290.                       Command
  1291.               Viewport.core  pick.clip
  1292.                Form     form
  1293.                 From  groupform
  1294.                      Form  rowform
  1295.                       Label
  1296.                       Text
  1297.                       Label
  1298.                       Text
  1299.                      Form  rowform
  1300.                       Label
  1301.                       Text
  1302.                       Label
  1303.                       Text
  1304.                       Label
  1305.                       Text
  1306.                      Form  rowform
  1307.                       Label
  1308.                       Toggle
  1309.                       Toggle
  1310.                      Form  rowform
  1311.                       Command
  1312.                       Command
  1313.  
  1314.  
  1315.  
  1316.  
  1317.  
  1318. X Version 11           Release 6.1                   20
  1319.  
  1320.  
  1321.  
  1322.  
  1323.  
  1324. XMH(1)                               XMH(1)
  1325.  
  1326.  
  1327. AAPPPPLLIICCAATTIIOONN--SSPPEECCIIFFIICC RREESSOOUURRCCEESS
  1328.        The  application     class name is XXmmhh.  Application-specific
  1329.        resources are listed below by name.   Application-specific
  1330.        resource class names always begin with an upper case char-
  1331.        acter, but unless noted, are otherwise  identical  to  the
  1332.        instance names given below.
  1333.  
  1334.        Any  of these options may also be specified on the command
  1335.        line by using the X Toolkit Intrinsics resource specifica-
  1336.        tion  mechanism.      Thus,     to  run  _x_m_h showing all message
  1337.        headers,
  1338.        % xmh -xrm '*HideBoringHeaders:off'
  1339.  
  1340.        If TTooccGGeeoommeettrryy, VViieewwGGeeoommeettrryy, CCoommppGGeeoommeettrryy, or  PPiicckkGGeeoommee--
  1341.        ttrryy  are not specified, then the value of GGeeoommeettrryy is used
  1342.        instead.     If the resulting height is not specified  (e.g.,
  1343.        "", "=500", "+0-0"), then the default height of windows is
  1344.        calculated from fonts and line counts. If the width is not
  1345.        specified  (e.g.,  "",  "=x300", "-0+0"), then half of the
  1346.        display width is used.  If unspecified, the  height  of    a
  1347.        pick window defaults to half the height of the display.
  1348.  
  1349.        The following resources are defined:
  1350.  
  1351.        bbaannnneerr  A  short     string     that is the default label of the
  1352.            folder, Table of Contents, and view.  The  default
  1353.            shows the program name, vendor, and release.
  1354.  
  1355.  
  1356.        bblloocckkEEvveennttssOOnnBBuussyy
  1357.            Whether    to  disallow  user  input and show a busy
  1358.            cursor while _x_m_h is busy processing a command.  If
  1359.            false,  the user can `mouse ahead' and type ahead;
  1360.            if true, user input is discarded     when  processing
  1361.            lengthy _m_h commands.  The default is true.
  1362.  
  1363.  
  1364.        bbuussyyCCuurrssoorr
  1365.            The name of the symbol used to represent the posi-
  1366.            tion of the pointer, displayed  if  bblloocckkEEvveennttssOOnn--
  1367.            BBuussyy  is     true,    when  _x_m_h  is  processing a time-
  1368.            consuming command.  The default is "watch".
  1369.  
  1370.  
  1371.        bbuussyyPPooiinntteerrCCoolloorr
  1372.            The foreground color of the busy cursor.      Default
  1373.            is XtDefaultForeground.
  1374.  
  1375.  
  1376.        cchheecckkFFrreeqquueennccyy
  1377.            How often to check for new mail, make checkpoints,
  1378.            and rescan the Table of Contents, in minutes.   If
  1379.            cchheecckkNNeewwMMaaiill  is     true,    _x_m_h  checks to see if you
  1380.            have new mail each interval.   If  mmaakkeeCChheecckkppooiinnttss
  1381.  
  1382.  
  1383.  
  1384. X Version 11           Release 6.1                   21
  1385.  
  1386.  
  1387.  
  1388.  
  1389.  
  1390. XMH(1)                               XMH(1)
  1391.  
  1392.  
  1393.            is  true,  checkpoints are made every fifth inter-
  1394.            val.  Also every fifth interval, the Table of Con-
  1395.            tents is checked for inconsistencies with the file
  1396.            system, and rescanned if out of date.  To  prevent
  1397.            all  of these checks from occurring, set CChheecckkFFrree--
  1398.            qquueennccyy to 0.  The default is 1.    This resource  is
  1399.            retained     for  backward    compatibility  with  user
  1400.            resource files; see also cchheecckkppooiinnttIInntteerrvvaall, mmaaiill--
  1401.            IInntteerrvvaall, and rreessccaannIInntteerrvvaall.
  1402.  
  1403.  
  1404.        cchheecckkNNeewwMMaaiill
  1405.            If  true,  _x_m_h  will check at regular intervals to
  1406.            see if new mail has arrived for    any  of     the  top
  1407.            level folders and any opened subfolders.     A visual
  1408.            indication will be given if new mail is waiting to
  1409.            be  incorporated into a top level folder.  Default
  1410.            is true.     The interval can be adjusted with  mmaaiill--
  1411.            IInntteerrvvaall.
  1412.  
  1413.  
  1414.        cchheecckkppooiinnttIInntteerrvvaall (class IInntteerrvvaall)
  1415.            Specifies in minutes how often to make checkpoints
  1416.            of volatile state,  if  mmaakkeeCChheecckkppooiinnttss    is  true.
  1417.            The  default  is     5  times  the value of cchheecckkFFrree--
  1418.            qquueennccyy.
  1419.  
  1420.  
  1421.        cchheecckkppooiinnttNNaammeeFFoorrmmaatt
  1422.            Specifies how checkpointed files are to be  named.
  1423.            The value of this resource will be used to compose
  1424.            a file name by inserting the message number  as    a
  1425.            string  in  place of the required single occurance
  1426.            of `%d'.     If the value  of  the    resource  is  the
  1427.            empty  string, or if no `%d' occurs in the string,
  1428.            or if "%d" is  the  value  of  the  resource,  the
  1429.            default    will  be  used    instead.   The default is
  1430.            "%d.CKP".  Checkpointing is done in the folder  of
  1431.            origin  unless an absolute pathname is given.  _x_m_h
  1432.            does not assist    the  user  in  recovering  check-
  1433.            points,    nor  does  it  provide for removal of the
  1434.            checkpoint files.
  1435.  
  1436.  
  1437.        ccoommmmaannddBBuuttttoonnCCoouunntt
  1438.            The number of command buttons to create in a  but-
  1439.            ton  box     in between the toc and the view areas of
  1440.            the main window.     _x_m_h will  create  these  buttons
  1441.            with  the  names     _b_u_t_t_o_n_1_, _b_u_t_t_o_n_2 and so on, in a
  1442.            box with the name _c_o_m_m_a_n_d_B_o_x.   The default is  0.
  1443.            _x_m_h  users  can specify labels and actions for the
  1444.            buttons in a private resource file; see    the  sec-
  1445.            tion ACTIONS AND INTERFACE CUSTOMIZATION.
  1446.  
  1447.  
  1448.  
  1449.  
  1450. X Version 11           Release 6.1                   22
  1451.  
  1452.  
  1453.  
  1454.  
  1455.  
  1456. XMH(1)                               XMH(1)
  1457.  
  1458.  
  1459.        ccoommppGGeeoommeettrryy
  1460.            Initial    geometry  for windows containing composi-
  1461.            tions.
  1462.  
  1463.  
  1464.        ccuurrssoorr  The name of  the     symbol     used  to  represent  the
  1465.            pointer.     Default is ``left_ptr''.
  1466.  
  1467.  
  1468.        ddeebbuugg   Whether    or  not to print information to stderr as
  1469.            _x_m_h runs.  Default is false.
  1470.  
  1471.  
  1472.        ddrraaffttssFFoollddeerr
  1473.            The folder used for message  drafts.   Default  is
  1474.            ``drafts''.
  1475.  
  1476.  
  1477.        ggeeoommeettrryy
  1478.            Default geometry to use.     Default is none.
  1479.  
  1480.  
  1481.        hhiiddeeBBoorriinnggHHeeaaddeerrss
  1482.            If  ``on'', then _x_m_h will attempt to skip uninter-
  1483.            esting header lines within messages  by    scrolling
  1484.            them  off the top of the view.  Default is ``on''.
  1485.  
  1486.  
  1487.        iinniittiiaallFFoollddeerr
  1488.            Which folder to display on startup.  May     also  be
  1489.            set   with   the      command-line    option    --iinniittiiaall.
  1490.            Default is ``inbox''.
  1491.  
  1492.  
  1493.        iinniittiiaallIInnccFFiillee
  1494.            The absolute path name of your incoming mail  drop
  1495.            file.   In  some     installations, for example those
  1496.            using the Post Office Protocol, no file is  appro-
  1497.            priate.     In  this case, iinniittiiaallIInnccFFiillee should not
  1498.            be specified, or may be    specified  as  the  empty
  1499.            string,    and  _i_n_c  will be invoked without a -file
  1500.            argument.  By default, this resource has no value.
  1501.            This resource is ignored if _x_m_h finds an _._x_m_h_c_h_e_c_k
  1502.            file; see the section on multiple mail drops.
  1503.  
  1504.  
  1505.        mmaaiillIInntteerrvvaall ((class IInntteerrvvaall))
  1506.            Specifies the interval in  minutes  at  which  the
  1507.            mail  should  be     checked,  if  mmaaiillWWaaiittiinnggFFllaagg or
  1508.            cchheecckkNNeewwMMaaiill is true.  The default is the value of
  1509.            cchheecckkFFrreeqquueennccyy.
  1510.  
  1511.  
  1512.  
  1513.  
  1514.  
  1515.  
  1516. X Version 11           Release 6.1                   23
  1517.  
  1518.  
  1519.  
  1520.  
  1521.  
  1522. XMH(1)                               XMH(1)
  1523.  
  1524.  
  1525.        mmaaiillPPaatthh
  1526.            The  full path prefix for locating your mail fold-
  1527.            ers.  May  also    be  set     with  the  command  line
  1528.            option,    --ppaatthh.    The default is the Path component
  1529.            in the _M_H profile, or ``$HOME/Mail'' if none.
  1530.  
  1531.  
  1532.        mmaaiillWWaaiittiinnggFFllaagg
  1533.            If true, _x_m_h will attempt to set an indication  in
  1534.            its icon when new mail is waiting to be retrieved.
  1535.            If mmaaiillWWaaiittiinnggFFllaagg is true, then     cchheecckkNNeewwMMaaiill  is
  1536.            assumed    to  be    true  as well.    The --ffllaagg command
  1537.            line option  is    a  quick  way  to  turn     on  this
  1538.            resource.
  1539.  
  1540.  
  1541.        mmaakkeeCChheecckkppooiinnttss
  1542.            If  true,  _x_m_h will attempt to save checkpoints of
  1543.            volatile edits.    The default is false.    The  fre-
  1544.            quency  of  checkpointing  is  controlled  by  the
  1545.            resource cchheecckkppooiinnttIInntteerrvvaall.  For the location  of
  1546.            checkpointing, see cchheecckkppooiinnttNNaammeeFFoorrmmaatt.
  1547.  
  1548.  
  1549.        mmhhPPaatthh  What  directory    in which to find the _M_H commands.
  1550.            If a command isn't found in the user's path,  then
  1551.            the  path  specified  here  is  used.   Default is
  1552.            ``/usr/local/mh6''.
  1553.  
  1554.  
  1555.        nneewwMMaaiillBBiittmmaapp (class NNeewwMMaaiillBBiittmmaapp)
  1556.            The bitmap to show in the  folder  button  when    a
  1557.            folder has new mail.  The default is ``black6''.
  1558.  
  1559.  
  1560.        nneewwMMaaiillIIccoonnBBiittmmaapp (class NNeewwMMaaiillBBiittmmaapp)
  1561.            The bitmap suggested to the window manager for the
  1562.            icon when any folder has new mail.  The default is
  1563.            ``flagup''.
  1564.  
  1565.  
  1566.        nnooMMaaiillBBiittmmaapp ((class NNooMMaaiillBBiittmmaapp))
  1567.            The  bitmap  to    show  in the folder button when a
  1568.            folder has no new mail.    The default is    ``box6''.
  1569.  
  1570.  
  1571.        nnooMMaaiillIIccoonnBBiittmmaapp ((class NNooMMaaiillBBiittmmaapp))
  1572.            The bitmap suggested to the window manager for the
  1573.            icon when no folders have new mail.   The  default
  1574.            is ``flagdown''.
  1575.  
  1576.  
  1577.        ppiicckkGGeeoommeettrryy
  1578.            Initial geometry for pick windows.
  1579.  
  1580.  
  1581.  
  1582. X Version 11           Release 6.1                   24
  1583.  
  1584.  
  1585.  
  1586.  
  1587.  
  1588. XMH(1)                               XMH(1)
  1589.  
  1590.  
  1591.        ppooiinntteerrCCoolloorr
  1592.            The  foreground    color of the pointer.  Default is
  1593.            XtDefaultForeground.
  1594.  
  1595.  
  1596.        pprreeffiixxWWmmAAnnddIIccoonnNNaammee
  1597.            Whether to prefix the window and     icon  name  with
  1598.            "xmh: ".     Default is true.
  1599.  
  1600.  
  1601.        pprriinnttCCoommmmaanndd
  1602.            An _s_h command to execute to print a message.  Note
  1603.            that stdout and stderr must be specifically  redi-
  1604.            rected.     If  a    message     or  range of messages is
  1605.            selected for printing, the full file paths of each
  1606.            message    file  are appended to the specified print
  1607.            command.     The  default  is  ``enscript  >/dev/null
  1608.            2>/dev/null''.
  1609.  
  1610.  
  1611.        rreeppllyyIInnsseerrttFFiilltteerr
  1612.            An  _s_h command to be executed when the _I_n_s_e_r_t but-
  1613.            ton is activated in  a  composition  window.   The
  1614.            full  path  and    filename of the source message is
  1615.            appended to the command    before    being  passed  to
  1616.            _s_h(1).  The default filter is _c_a_t; i.e. it inserts
  1617.            the entire message into the  composition.   Inter-
  1618.            esting  filters    are:  _s_e_d  _'_s_/_^_/_>  _/_'  or  _a_w_k _-_e
  1619.            _'_{_p_r_i_n_t _"     _"    _$_0_}_'  or  _<_m_h  _d_i_r_e_c_t_o_r_y_>_/_l_i_b_/_m_h_l
  1620.            _-_f_o_r_m _m_h_l_._b_o_d_y.
  1621.  
  1622.  
  1623.        rreessccaannIInntteerrvvaall (class IInntteerrvvaall)
  1624.            How  often  to check the Table of Contents of cur-
  1625.            rently viewed folders and of folders with messages
  1626.            currently being viewed, and to update the Table of
  1627.            Contents if _x_m_h sees inconsistencies with the file
  1628.            system  in  these folders.  The default is 5 times
  1629.            the value of cchheecckkFFrreeqquueennccyy.
  1630.  
  1631.  
  1632.        rreevveerrsseeRReeaaddOOrrddeerr
  1633.            When true, the next message will     be  the  message
  1634.            prior  to the current message in the table of con-
  1635.            tents, and the previous message will be    the  mes-
  1636.            sage  after  the     current  message in the table of
  1637.            contents.  The default is false.
  1638.  
  1639.  
  1640.        sseennddBBrreeaakkWWiiddtthh
  1641.            When a message is sent from _x_m_h, lines longer than
  1642.            this value will be split into multiple lines, each
  1643.            of which is no longer than SSeennddWWiiddtthh.  This  value
  1644.            may   be      overridden  for  a  single  message  by
  1645.  
  1646.  
  1647.  
  1648. X Version 11           Release 6.1                   25
  1649.  
  1650.  
  1651.  
  1652.  
  1653.  
  1654. XMH(1)                               XMH(1)
  1655.  
  1656.  
  1657.            inserting an additional line in the message header
  1658.            of the form _S_e_n_d_B_r_e_a_k_W_i_d_t_h_: _v_a_l_u_e.  This line will
  1659.            be removed from the header before the  message  is
  1660.            sent.   The  default is 2000 (to allow for sending
  1661.            mail containing source patches).
  1662.  
  1663.  
  1664.        sseennddWWiiddtthh
  1665.            When a message is sent from _x_m_h, lines longer than
  1666.            SSeennddBBrreeaakkWWiiddtthh  characters will be split into mul-
  1667.            tiple lines, each of which is no longer than  this
  1668.            value.    This value may be overridden for a single
  1669.            message by inserting an    additional  line  in  the
  1670.            message header of the form _S_e_n_d_W_i_d_t_h_: _v_a_l_u_e.  This
  1671.            line will be removed from the  header  before  the
  1672.            message is sent.     The default is 72.
  1673.  
  1674.  
  1675.        sshhoowwOOnnIInncc
  1676.            Whether    to automatically show the current message
  1677.            after incorporating new mail.  Default is true.
  1678.  
  1679.  
  1680.        sskkiippCCooppiieedd
  1681.            Whether to skip over messages marked  for  copying
  1682.            when using ``View Next Message'' and ``View Previ-
  1683.            ous Message''.  Default is true.
  1684.  
  1685.  
  1686.        sskkiippDDeelleetteedd
  1687.            Whether to skip over messages marked for     deletion
  1688.            when using ``View Next Message'' and ``View Previ-
  1689.            ous Message''.  Default is true.
  1690.  
  1691.  
  1692.        sskkiippMMoovveedd
  1693.            Whether to skip over messages marked for moving to
  1694.            other folders when using ``View Next Message'' and
  1695.            ``View Previous Message''.  Default is true.
  1696.  
  1697.  
  1698.        ssttiicckkyyMMeennuu
  1699.            If true, when popup command menus  are  used,  the
  1700.            most  recently  selected     entry    will be under the
  1701.            cursor when the menu pops up.  Default  is  false.
  1702.            See the file _c_l_i_e_n_t_s_/_x_m_h_/_X_m_h_._s_a_m_p_l_e for an example
  1703.            of how to  specify  resources  for  popup  command
  1704.            menus.
  1705.  
  1706.  
  1707.        tteemmppDDiirr Directory  for  _x_m_h to store temporary files.  For
  1708.            privacy, a user might want to  change  this  to    a
  1709.            private directory.  Default is ``/tmp''.
  1710.  
  1711.  
  1712.  
  1713.  
  1714. X Version 11           Release 6.1                   26
  1715.  
  1716.  
  1717.  
  1718.  
  1719.  
  1720. XMH(1)                               XMH(1)
  1721.  
  1722.  
  1723.        ttooccGGeeoommeettrryy
  1724.            Initial    geometry  for  main _x_m_h toc and view win-
  1725.            dows.
  1726.  
  1727.  
  1728.        ttooccPPeerrcceennttaaggee
  1729.            The percentage of the main window that is used  to
  1730.            display the Table of Contents.  Default is 33.
  1731.  
  1732.  
  1733.        ttooccWWiiddtthh
  1734.            How  many  characters to generate for each message
  1735.            in a folder's table of contents.     Default is  100.
  1736.            Use  less  if  the geometry of the main _x_m_h window
  1737.            results in the listing being clipped at the  right
  1738.            hand  boundary,    or  if you plan to use _m_h_l a lot,
  1739.            because it will be faster, and the  extra  charac-
  1740.            ters may not be useful.
  1741.  
  1742.  
  1743.        vviieewwGGeeoommeettrryy
  1744.            Initial    geometry  for windows showing a view of a
  1745.            message.
  1746.  
  1747.  
  1748. MMUULLTTIIPPLLEE MMAAIILL DDRROOPPSS
  1749.        Users may need to incorporate  mail  from  multiple  spool
  1750.        files or mail drops.  If incoming mail is forwarded to the
  1751.        _M_H _s_l_o_c_a_l program, it can be sorted as  specified  by  the
  1752.        user  into  multiple incoming mail drops.  Refer to the _M_H
  1753.        man page for _s_l_o_c_a_l to learn how to specify fowarding  and
  1754.        the  automatic sorting of incoming mail in a _._m_a_i_l_d_e_l_i_v_e_r_y
  1755.        file.
  1756.  
  1757.        To inform _x_m_h about the various mail drops, create a  file
  1758.        in  your home directory called _._x_m_h_c_h_e_c_k.  In this file, a
  1759.        mapping between existing folder names and  mail    drops  is
  1760.        created    by  giving a folder name followed by the absolute
  1761.        pathname of the mail drop site, with some white space sep-
  1762.        arating    them,  one  mapping per line.  _x_m_h will read this
  1763.        file whether or not resources are set for notification  of
  1764.        new mail arrival, and will allow incorporation of new mail
  1765.        into any folder with a mail drop.   _x_m_h    will  invoke  _i_n_c
  1766.        with  the _-_f_i_l_e argument, and if _x_m_h has been requested to
  1767.        check for new mail, it will  check  directly,  instead  of
  1768.        using _m_s_g_c_h_k.
  1769.  
  1770.        An  example  of    _._x_m_h_c_h_e_c_k  file     format,  for the folders
  1771.        ``inbox'' and ``xpert'':
  1772.        inbox     /usr/spool/mail/converse
  1773.        xpert     /users/converse/maildrops/xpert
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.  
  1780. X Version 11           Release 6.1                   27
  1781.  
  1782.  
  1783.  
  1784.  
  1785.  
  1786. XMH(1)                               XMH(1)
  1787.  
  1788.  
  1789. AACCTTIIOONNSS AANNDD IINNTTEERRFFAACCEE CCUUSSTTOOMMIIZZAATTIIOONN
  1790.        Because _x_m_h provides action procedures which correspond to
  1791.        command functionality and installs accelerators, users can
  1792.        customize accelerators and new button functionality  in    a
  1793.        private    resource  file.      For examples of specifying cus-
  1794.        tomized         resources,           see      the         file
  1795.        _m_i_t_/_c_l_i_e_n_t_s_/_x_m_h_/_X_m_h_._s_a_m_p_l_e.  To understand the syntax, see
  1796.        the Appendix of the _X _T_o_o_l_k_i_t _I_n_t_r_i_n_s_i_c_s specification  on
  1797.        _T_r_a_n_s_l_a_t_i_o_n  _T_a_b_l_e  _S_y_n_t_a_x, and any general explanation of
  1798.        using and specifying _X resources.   Unpredictable  results
  1799.        can  occur  if  actions are bound to events or widgets for
  1800.        which they were not designed.
  1801.  
  1802.        Here's an example of how to bind actions to your     own  _x_m_h
  1803.        buttons,     and  how to redefine the default accelerators so
  1804.        that the Meta key is not required, in case you don't  have
  1805.        access to the sample file mentioned above.
  1806.  
  1807.        ! To create buttons in the middle of the main window and give them semantics:
  1808.  
  1809.        Xmh*CommandButtonCount:         5
  1810.  
  1811.        Xmh*commandBox.button1.label: Inc
  1812.        Xmh*commandBox.button1.translations: #override\
  1813.         <Btn1Down>,<Btn1Up>: XmhIncorporateNewMail() unset()
  1814.  
  1815.        Xmh*commandBox.button2.label: Compose
  1816.        Xmh*commandBox.button2.translations: #override\
  1817.         <Btn1Down>,<Btn1Up>: XmhComposeMessage() unset()
  1818.  
  1819.        Xmh*commandBox.button3.label: Next
  1820.        Xmh*commandBox.button3.translations: #override\
  1821.         <Btn1Down>,<Btn1Up>: XmhViewNextMessage() unset()
  1822.  
  1823.        Xmh*commandBox.button4.label: Delete
  1824.        Xmh*commandBox.button4.translations: #override\
  1825.         <Btn1Down>,<Btn1Up>: XmhMarkDelete() unset()
  1826.  
  1827.        Xmh*commandBox.button5.label: Commit
  1828.        Xmh*commandBox.button5.translations: #override\
  1829.         <Btn1Down>,<Btn1Up>: XmhCommitChanges() unset()
  1830.  
  1831.        ! To redefine the accelerator bindings to exclude modifier keys,
  1832.        ! and add your own keyboard accelerator for Compose Message:
  1833.  
  1834.        Xmh*tocMenu.accelerators: #override\n\
  1835.         !:<Key>I: XmhIncorporateNewMail()\n\
  1836.         !:<Key>C:       XmhCommitChanges()\n\
  1837.         !:<Key>R: XmhForceRescan()\n\
  1838.         !:<Key>P: XmhPackFolder()\n\
  1839.         !:<Key>S: XmhSortFolder()\n
  1840.        Xmh*messageMenu.accelerators: #override\n\
  1841.         !:<Key>E: XmhComposeMessage()\n\
  1842.         !<Key>space:    XmhViewNextMessage()\n\
  1843.  
  1844.  
  1845.  
  1846. X Version 11           Release 6.1                   28
  1847.  
  1848.  
  1849.  
  1850.  
  1851.  
  1852. XMH(1)                               XMH(1)
  1853.  
  1854.  
  1855.         !:<Key>c: XmhMarkCopy()\n\
  1856.         !:<Key>d: XmhMarkDelete()\n\
  1857.         !:<Key>f: XmhForward()\n\
  1858.         !:<Key>m: XmhMarkMove()\n\
  1859.         !:<Key>n: XmhViewNextMessage()\n\
  1860.         !:<Key>p: XmhViewPreviousMessage()\n\
  1861.         !:<Key>r: XmhReply()\n\
  1862.         !:<Key>u: XmhUnmark()\n
  1863.  
  1864.        _x_m_h provides action procedures which correspond to entries
  1865.        in the command menus; these  are     given    in  the     sections
  1866.        describing  menu     commmands, not here.  In addition to the
  1867.        actions corresponding to     commands  in  the  menus,  these
  1868.        action routines are defined:
  1869.  
  1870.        XXmmhhPPuusshhFFoollddeerr(([_f_o_l_d_e_r_n_a_m_e_, _._._.]))
  1871.          This  action pushes each of its argument(s) onto
  1872.          a stack of foldernames.   If  no  arguments  are
  1873.          given,     the  selected    folder is pushed onto the
  1874.          stack.
  1875.  
  1876.        XXmmhhPPooppFFoollddeerr(())
  1877.          This action pops one foldername from  the  stack
  1878.          and sets the selected folder.
  1879.  
  1880.        XXmmhhPPooppuuppFFoollddeerrMMeennuu(())
  1881.          This action should always be taken when the user
  1882.          selects a folder button.  A folder button repre-
  1883.          sents a folder and zero or more subfolders.  The
  1884.          menu of subfolders is built upon the first  ref-
  1885.          erence,  by  this routine.  If there are no sub-
  1886.          folders, this routine will mark  the  folder  as
  1887.          having no subfolders, and no menu will be built.
  1888.          In that case the menu button emulates    a  toggle
  1889.          button.   When     subfolders  exist, the menu will
  1890.          popup, using the menu button action PopupMenu().
  1891.  
  1892.        XXmmhhSSeettCCuurrrreennttFFoollddeerr(())
  1893.          This  action allows menu buttons to emulate tog-
  1894.          gle buttons  in  the  function     of  selecting    a
  1895.          folder.   This action is for menu button widgets
  1896.          only, and sets the selected folder.
  1897.  
  1898.        XXmmhhLLeeaavveeFFoollddeerrBBuuttttoonn(())
  1899.          This action ensures that the menu button behaves
  1900.          properly  when the user moves the pointer out of
  1901.          the menu button window.
  1902.  
  1903.        XXmmhhPPuusshhSSeeqquueennccee(([_s_e_q_u_e_n_c_e_n_a_m_e_, _._._.]))
  1904.          This action pushes each of  its  arguments  onto
  1905.          the  stack  of     sequence names.  If no arguments
  1906.          are given, the selected sequence is pushed  onto
  1907.          the stack.
  1908.  
  1909.  
  1910.  
  1911.  
  1912. X Version 11           Release 6.1                   29
  1913.  
  1914.  
  1915.  
  1916.  
  1917.  
  1918. XMH(1)                               XMH(1)
  1919.  
  1920.  
  1921.        XXmmhhPPooppSSeeqquueennccee(())
  1922.          This  action  pops  one  sequence  name from the
  1923.          stack of sequence names, which then becomes  the
  1924.          selected sequence.
  1925.  
  1926.        XXmmhhPPrroommppttOOkkaayyAAccttiioonn(())
  1927.          This  action  is equivalent to pressing the okay
  1928.          button in the Create Folder popup.
  1929.  
  1930.        XXmmhhRReellooaaddSSeeqqLLiissttss(())
  1931.          This action rescans the contents of  the  public
  1932.          _M_H sequences for the currently opened folder and
  1933.          updates the sequence menu if necessary.
  1934.  
  1935.        XXmmhhSShheellllCCoommmmaanndd(( _p_a_r_a_m_e_t_e_r [_, _p_a_r_a_m_e_t_e_r]))
  1936.          At least one parameter must be     specified.   The
  1937.          parameters  will  be  concatenated  with a space
  1938.          character separator, into a single  string,  and
  1939.          the  list  of    selected messsages, or if no mes-
  1940.          sages are selected, the current message, will be
  1941.          appended  to  the  string  of    parameters.   The
  1942.          string will be executed as a shell command.  The
  1943.          messages are always given as absolute pathnames.
  1944.          It is an error to cause this action  to  execute
  1945.          when  there are no selected messages and no cur-
  1946.          rent message.
  1947.  
  1948.        XXmmhhCChheecckkFFoorrNNeewwMMaaiill(())
  1949.          This action will check all mail drops    known  to
  1950.          xmh.    If  no    mail drops have been specified by
  1951.          the user either through the _._x_m_h_c_h_e_c_k file or by
  1952.          the  iinniittiiaallIInnccFFiillee  resource,     the  _M_H  command
  1953.          _m_s_g_c_h_k is used to check for new mail, otherwise,
  1954.          _x_m_h checks directly.
  1955.  
  1956.        XXmmhhWWMMPPrroottooccoollss(([wwmm__ddeelleettee__wwiinnddooww] [wwmm__ssaavvee__yyoouurrsseellff])
  1957.          This  action is responsible for participation in
  1958.          window     manager  communication     protocols.    It
  1959.          responds to delete window and save yourself mes-
  1960.          sages.     The user can cause _x_m_h to respond to one
  1961.          or  both  of  these protocols, exactly as if the
  1962.          window manager had made the request, by invoking
  1963.          the action with the appropriate parameters.  The
  1964.          action is insensitive to the case of the  string
  1965.          parameters.    If   the   event  received  is    a
  1966.          ClientMessage event and parameters are     present,
  1967.          at  least  one of the parameters must correspond
  1968.          to the protocol requested by the event     for  the
  1969.          request to be honored by _x_m_h.
  1970.  
  1971.  
  1972. CCUUSSTTOOMMIIZZAATTIIOONN UUSSIINNGG _M_H
  1973.        The initial text displayed in a composition window is gen-
  1974.        erated by executing the    corresponding  _M_H  command;  i.e.
  1975.  
  1976.  
  1977.  
  1978. X Version 11           Release 6.1                   30
  1979.  
  1980.  
  1981.  
  1982.  
  1983.  
  1984. XMH(1)                               XMH(1)
  1985.  
  1986.  
  1987.        _c_o_m_p,  _r_e_p_l, or _f_o_r_w, and therefore message components may
  1988.        be customized as specified for those  commands.     _c_o_m_p  is
  1989.        executed     only  once per invocation of _x_m_h and the message
  1990.        template is re-used for every successive new  composition.
  1991.  
  1992.        _x_m_h  uses  _M_H commands, including _i_n_c, _m_s_g_c_h_k, _c_o_m_p, _s_e_n_d,
  1993.        _r_e_p_l, _f_o_r_w, _r_e_f_i_l_e, _r_m_m, _p_i_c_k, _p_a_c_k, _s_o_r_t, and _s_c_a_n.  Some
  1994.        flags  for  these commands can be specified in the _M_H pro-
  1995.        file; _x_m_h may override  them.   The  application     resource
  1996.        ddeebbuugg  can be set to true to see how _x_m_h uses _M_H commands.
  1997.  
  1998.  
  1999. EENNVVIIRROONNMMEENNTT
  2000.        HOME - users's home directory
  2001.        MH - to get the location of the _M_H profile file
  2002.  
  2003. FFIILLEESS
  2004.        ~/.mh_profile - _M_H profile, used     if  the  MH  environment
  2005.        variable is not set
  2006.        ~/Mail - directory of folders, used if the _M_H profile can-
  2007.        not be found
  2008.        ~/.xmhcheck - optional, for multiple mail drops in cooper-
  2009.        ation with _s_l_o_c_a_l.
  2010.        /usr/local/mh6  -  _M_H  commands,     as  a    last  resort, see
  2011.        mmhhPPaatthh.
  2012.        ~/Mail/<folder>/.xmhcache - _s_c_a_n output in each folder
  2013.        ~/Mail/<folder>/.mh_sequences - sequence     definitions,  in
  2014.        each folder
  2015.        /tmp - temporary files, see tteemmppDDiirr.
  2016.  
  2017. SSEEEE AALLSSOO
  2018.        X(1),  xrdb(1),    X  Toolkit Intrinsics, Athena Widget Set,
  2019.        mh(1), enscript(1)
  2020.        At least one book has been published about _M_H and _x_m_h.
  2021.  
  2022. BBUUGGSS
  2023.        - When the user closes a window,     all  windows  which  are
  2024.        transient for that window should also be closed by _x_m_h.
  2025.        -  When    XXmmhhUUsseeAAssCCoommppoossiittiioonn  and  XXmmhhVViieewwUUsseeAAssCCoommppoossiittiioonn
  2026.        operate on messages in  the  DDrraaffttssFFoollddeerr,  _x_m_h    disallows
  2027.        editing    of  the     composition  if the same message is also
  2028.        being viewed in another window.
  2029.        - Occasionally after committing changes, the table of con-
  2030.        tents  will  appear  to be completely blank when there are
  2031.        actually messages present.  When this happens,  refreshing
  2032.        the display, or typing Control-L in the table of contents,
  2033.        will often cause the correct listing to appear.     If  this
  2034.        doesn't work, force a rescan of the folder.
  2035.        -   Should  recognize  and  use    the  ``unseen''     message-
  2036.        sequence.
  2037.        - Should determine by itself if the user     hasn't     used  _M_H
  2038.        before,    and  offer  to create the .mh_profile, instead of
  2039.        hanging on inc.
  2040.        - A  few     commands  are    missing     (rename  folder,  resend
  2041.  
  2042.  
  2043.  
  2044. X Version 11           Release 6.1                   31
  2045.  
  2046.  
  2047.  
  2048.  
  2049.  
  2050. XMH(1)                               XMH(1)
  2051.  
  2052.  
  2053.        message).
  2054.        -   WM_DELETE_WINDOW  protocol  doesn't    work  right  when
  2055.        requesting deletion of the first toc and view, while  try-
  2056.        ing to keep other _x_m_h windows around.
  2057.        - Doesn't support annotations when replying to messages.
  2058.        - Doesn't allow folders to be shared without write permis-
  2059.        sion.
  2060.        - Doesn't recognize private sequences.
  2061.        - _M_H will report that the  _._m_h___s_e_q_u_e_n_c_e_s     file  is  poorly
  2062.        formatted  if  any  sequence  definition     in  a particular
  2063.        folder contains more than _B_U_F_S_I_Z characters.  _x_m_h tries to
  2064.        capture    these  messages and display them when they occur,
  2065.        but it cannot correct the problem.
  2066.        - Should save a    temporary  checkpoint  file  rather  than
  2067.        requiring  changes  to  be  committed  in the non-shutdown
  2068.        case.
  2069.  
  2070. AAUUTTHHOORR
  2071.        Terry Weissman, formerly of Digital Western Research Labo-
  2072.        ratory
  2073.        Donna Converse, MIT X Consortium
  2074.  
  2075.  
  2076.  
  2077.  
  2078.  
  2079.  
  2080.  
  2081.  
  2082.  
  2083.  
  2084.  
  2085.  
  2086.  
  2087.  
  2088.  
  2089.  
  2090.  
  2091.  
  2092.  
  2093.  
  2094.  
  2095.  
  2096.  
  2097.  
  2098.  
  2099.  
  2100.  
  2101.  
  2102.  
  2103.  
  2104.  
  2105.  
  2106.  
  2107.  
  2108.  
  2109.  
  2110. X Version 11           Release 6.1                   32
  2111.  
  2112.  
  2113.