home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Spezial / SPEZIAL2_97.zip / SPEZIAL2_97.iso / ANWEND / ONLINE / ELM23-2 / ELM23-2.ZIP / manuals / Ref.doc < prev    next >
Text File  |  1994-04-24  |  96KB  |  1,981 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.  
  11.  
  12.  
  13.  
  14.  
  15.  
  16.  
  17.  
  18.  
  19.                                TThhee EEllmm RReeffeerreennccee GGuuiiddee
  20.  
  21.  
  22.  
  23.                         _A _c_o_m_p_r_e_h_e_n_s_i_v_e _l_i_s_t _o_f _a_l_l _c_o_m_m_a_n_d_s_,
  24.                        _o_p_t_i_o_n_s _a_n_d _s_u_c_h _t_o _t_h_e EEllmm _m_a_i_l _s_y_s_t_e_m
  25.  
  26.  
  27.                                      Dave Taylor
  28.  
  29.                             Hewlett-Packard Laboratories
  30.                                  1501 Page Mill Road
  31.                                     Palo Alto CA
  32.                                         94304
  33.  
  34.  
  35.  
  36.                     email: taylor@hplabs.HP.COM or hplabs!taylor
  37.  
  38.  
  39.  
  40.           >>> Elm is now in the public trust. Bug reports, comments, etc. to: <<<
  41.  
  42.                                     Syd Weinstein
  43.                                Datacomp Systems, Inc.
  44.                                    3837 Byron Road
  45.                           Huntingdon Valley, PA 19006-2320
  46.  
  47.                           email: elm@DSI.COM  or  dsinc!elm
  48.  
  49.  
  50.  
  51.                        ((CC)) Copyright 1986, 1987 by Dave Taylor
  52.             ((CC)) Copyright 1988, 1989, 1990 by The USENET Community Trust
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78.                                TThhee EEllmm RReeffeerreennccee GGuuiiddee
  79.  
  80.                                     (Version 2.3)
  81.  
  82.  
  83.                                      Dave Taylor
  84.                             Hewlett-Packard Laboratories
  85.                                  1501 Page Mill Road
  86.                                     Palo Alto CA
  87.                                         94304
  88.  
  89.                     email: taylor@hplabs.HP.COM or hplabs!taylor
  90.  
  91.  
  92.           >>>  Elm  is now in the public trust. Bug reports, comments, etc.
  93.                                        to: <<<
  94.  
  95.                                     Syd Weinstein
  96.                                Datacomp Systems, Inc.
  97.                                    3837 Byron Road
  98.                           Huntingdon Valley, PA 19006-2320
  99.  
  100.                           email: elm@DSI.COM  or  dsinc!elm
  101.  
  102.  
  103.                                      May 1, 1990
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.           11..  IInnttrroodduuccttiioonn
  111.  
  112.           There are many parts to a complex software  system  and  TThhee  EEllmm
  113.           MMaaiill  SSyysstteemm  is no different.  This document describes fully all
  114.           the options available in the mailer, including the  command  line
  115.           options,  the  commands  (in considerably more detail than in _T_h_e
  116.           _E_l_m _U_s_e_r_s _G_u_i_d_e) and the _._e_l_m_/_e_l_m_r_c file.
  117.  
  118.           To be more explicit, this document covers: a  discussion  of  the
  119.           _._e_l_m_/_e_l_m_r_c  file, command line options of _e_l_m, outgoing mail pro-
  120.           cessing, responses of various commands, mail archive folders, the
  121.           Alias  system, system aliases etc, more on the EEllmm utilities, and
  122.           a section for expert mail users.
  123.  
  124.           Without any further ado, then, let's get this show on the  road!!
  125.  
  126.  
  127.  
  128.  
  129.           Elm Reference Guide                                   Version 2.3
  130.  
  131.  
  132.  
  133.  
  134.  
  135.           Elm Reference Guide                                   Version 2.3
  136.  
  137.  
  138.  
  139.           22..  TThhee ..eellmm//eellmmrrcc FFiillee
  140.  
  141.           Elm,  like  lots  of other software on the UnixTM system, has the
  142.           ability to automatically read in a configuration file at each in-
  143.           vocation.   The  file must be called _e_l_m_r_c and reside in the _._e_l_m
  144.           directory located in your home directory.  It can have any of the
  145.           entries  below, in any order.  If you are missing any entries, or
  146.           if you don't have an _._e_l_m_/_e_l_m_r_c file, the default values  (listed
  147.           below for each option) will be used.  Note that those options be-
  148.           low designated with * can be altered using elm via  the  o)ptions
  149.           screen.   Also  note that when you save a new _._e_l_m_/_e_l_m_r_c file via
  150.           the `>' command of the options screen, it will be (re)created in-
  151.           cluding even those options that have default values.
  152.  
  153.  
  154.           SSttrriinngg VVaarriiaabblleess
  155.  
  156.  
  157.           alternatives
  158.                     This  is  a list of other machine/username combinations
  159.                     that you receive mail from (forwarded).  This  is  used
  160.                     when  the _g_r_o_u_p _r_e_p_l_y feature is invoked to ensure that
  161.                     you don't send yourself a copy of the outbound message.
  162.                     (The default is a list of no alternatives.)
  163.  
  164.  
  165.           calendar* This  is  used in conjunction with the `<' _s_c_a_n _m_e_s_s_a_g_e
  166.                     _f_o_r _c_a_l_e_n_d_a_r _e_n_t_r_i_e_s command, as the file to append any
  167.                     found calendar entries to.  (The default is _c_a_l_e_n_d_a_r in
  168.                     your home directory.)
  169.  
  170.  
  171.           editor*   The editor to use when typing in new mail.  If you  se-
  172.                     lect ``none'' or ``builtin'' you'll get a Berkeley Mail
  173.                     style interface for all mail that doesn't already  have
  174.                     text  in the buffer (e.g. a reply, mail with a ``signa-
  175.                     ture'', etc).  (The default is to use the value of $ED-
  176.                     ITOR  in  your  current environment, and if not set, an
  177.                     editor selected by the person who  configured  _e_l_m  for
  178.                     your system.)
  179.  
  180.  
  181.           escape    The  character  used  with  the ``builtin'' editor (see
  182.                     above) to escape from text entry to  input  a  command.
  183.                     When  a line begins with this character, the editor in-
  184.                     terprets it as a command rather than as  text  to  add.
  185.                     (The default is ``~''.)
  186.  
  187.  
  188.           fullname* This  is  the  name the mailer will use in messages you
  189.                     send.  It is highly recommended that you use your  full
  190.                     name and nothing strange or unusual, as that can appear
  191.                     extremely rude to people receiving your mail.  (The de-
  192.                     fault is to use the ``gcos'' field from the _/_e_t_c_/_p_a_s_s_w_d
  193.  
  194.  
  195.           May 1, 1990                   Page 2
  196.  
  197.  
  198.  
  199.  
  200.  
  201.           Elm Reference Guide                                   Version 2.3
  202.  
  203.  
  204.  
  205.                     file on systems that  use  this  field  to  store  full
  206.                     names,  and  to  use  the contents of _._f_u_l_l_n_a_m_e in your
  207.                     home directory on other systems.)
  208.  
  209.  
  210.           maildir*  This is your folder  directory.   When  you  specify  a
  211.                     folder name beginning with the `='  metacharacter1,  it
  212.                     stands for this directory name.  That is, if you save a
  213.                     message to folder _=_s_t_u_f_f the `=' will  be  expanded  to
  214.                     the  current value of _m_a_i_l_d_i_r.  (The default is the di-
  215.                     rectory _M_a_i_l in your home directory.)
  216.  
  217.  
  218.           tmpdir*   Use this if you want to define your own  directory  for
  219.                     the  temporary file Elm creates while running.  This is
  220.                     only necessary if using the system temporary  directory
  221.                     could  cause problems, such as when not all NFS clients
  222.                     mount the common temporary directory, or when the  tem-
  223.                     porary  directory is prone to being cleared periodical-
  224.                     ly.  The default entry of the system temporary directo-
  225.                     ry is normally ok.
  226.  
  227.  
  228.           pager     This  is  the  program  to be used to display messages.
  229.                     You can specify ``builtin'' or the name of any standard
  230.                     pager.   If  you  use  ``builtin+'', each screenfull of
  231.                     displayed message is ``paged'' from  the  top  of  your
  232.                     screen  with  a  title  line,  while ``builtin'' simply
  233.                     ``scrolls  up''  subsequent  screenfulls  once  it  has
  234.                     ``paged'' the first screenfull.  (The default is to use
  235.                     the value of $PAGER in your current environment, and if
  236.                     not  set, a pager selected by the person who configured
  237.                     _e_l_m for your system, quite likely ``builtin+''.)
  238.  
  239.  
  240.           attribution
  241.                     When you _f_o_r_w_a_r_d a message or _r_e_p_l_y to it, you can  op-
  242.                     tionally  attribute the quoted text to its original au-
  243.                     thor.  Defining the attribution string here allows  you
  244.                     to  indicate the form that the attribution should take.
  245.                     The sequence `%s' in the attribution will  be  replaced
  246.                     by the name of the original author.  Examples are:
  247.                               aattttrriibbuuttiioonn == AAccccoorrddiinngg ttoo %%ss::
  248.                               aattttrriibbuuttiioonn == %%ss wwrriitteess::
  249.  
  250.  
  251.           prefix    When you _r_e_p_l_y to a message or _f_o_r_w_a_r_d a message to an-
  252.                     other person, you can optionally include  the  original
  253.                     message.   Defining the prefix value here allows you to
  254.                     indicate what the prefix of each included  line  should
  255.  
  256.           __________
  257.           1.  Note  that  `%'  and  `+'  are  synonymous with `='
  258.           throughout _e_l_m
  259.  
  260.  
  261.           May 1, 1990                   Page 3
  262.  
  263.  
  264.  
  265.  
  266.  
  267.           Elm Reference Guide                                   Version 2.3
  268.  
  269.  
  270.  
  271.                     be.  (The default is ``> '' and is standard in the Unix
  272.                     community.)
  273.  
  274.  
  275.           print*    This is the command used for printing messages.   There
  276.                     are  two possible formats for it, either a command that
  277.                     can have a filename affixed to (as a suffix) before be-
  278.                     ing  executed,  or  a  string  that  contains the meta-
  279.                     sequence `%s' which will be replaced by the name of the
  280.                     file before being executed.  Examples of each are:
  281.                               pprriinntt == pprriinntt --ffoorrmmffeeeedd
  282.                               pprriinntt == pprr %%ss || llpprr
  283.                     (The  default  is  set by the person who configured _e_l_m
  284.                     for your system.)
  285.  
  286.  
  287.           receivedmail
  288.                     This is the folder to which incoming mail is saved  af-
  289.                     ter  you've  read  it.  When you answer _n_o (`n') to the
  290.                     ``keep unread  messages  in  your  incoming  mailbox?''
  291.                     prompt  or  _y_e_s  (`y')  to the ``store read messages in
  292.                     your "received" folder?'', this is where  the  messages
  293.                     go.   (The  default  is  "=received", that is, a folder
  294.                     called _r_e_c_e_i_v_e_d in your _m_a_i_l_d_i_r directory).
  295.  
  296.  
  297.           sentmail* This is the folder to which a copy of outgoing mail  is
  298.                     automatically  saved.   This  will  only be done if the
  299.                     _c_o_p_y flag is turned on (see below).  Also note that  if
  300.                     the  _s_a_v_e_n_a_m_e  feature (see below) is enabled then this
  301.                     folder may be ignored since the program may save  to  a
  302.                     folder  that has the same name as the login of the per-
  303.                     son you're sending to.  Whether or not a copy is saved,
  304.                     and  to what folder, can be changed just prior to send-
  305.                     ing a message, see below.   (The  default  is  "=sent",
  306.                     that  is, a folder called _s_e_n_t in your _m_a_i_l_d_i_r directo-
  307.                     ry).
  308.  
  309.  
  310.           shell     This defines the shell to use when doing ``!''  escapes
  311.                     and  such.   (The default is to use the value of $SHELL
  312.                     in your current environment, and if not  set,  a  shell
  313.                     selected by the person who configured _e_l_m for your sys-
  314.                     tem.)
  315.  
  316.  
  317.           signature This file, if defined, will be  automatically  appended
  318.                     to  all  outbound  mail  before  the editor is invoked.
  319.                     Furthermore, if you'd like a  different  ``.signature''
  320.                     file  for  _l_o_c_a_l mail and _r_e_m_o_t_e mail (remote being via
  321.                     other hosts), you can alternatively  define  two  vari-
  322.                     ables,  _l_o_c_a_l_s_i_g_n_a_t_u_r_e and _r_e_m_o_t_e_s_i_g_n_a_t_u_r_e, to have the
  323.                     same functionality.  (The default  is  "localsignature"
  324.                     and "remotesignature" in your home directory.)
  325.  
  326.  
  327.           May 1, 1990                   Page 4
  328.  
  329.  
  330.  
  331.  
  332.  
  333.           Elm Reference Guide                                   Version 2.3
  334.  
  335.  
  336.  
  337.           sortby*   You can have your folder sorted by any of the following
  338.                     ways:
  339.  
  340.                     from      This will sort according to whom each message
  341.                     is _f_r_o_m.
  342.  
  343.                     lines     This  will  sort  _s_h_o_r_t_e_s_t to _l_o_n_g_e_s_t by mes-
  344.                     sage.
  345.  
  346.                     mailbox   This will leave the  messages  in  the  order
  347.                     found in the folder.
  348.  
  349.                     received  This  will  sort  _l_e_a_s_t  _r_e_c_e_n_t_l_y _r_e_c_e_i_v_e_d to
  350.                     _m_o_s_t _r_e_c_e_n_t_l_y _r_e_c_e_i_v_e_d.
  351.  
  352.                     sent      This will sort _l_e_a_s_t _r_e_c_e_n_t_l_y  _s_e_n_t  to  _m_o_s_t
  353.                     _r_e_c_e_n_t_l_y _s_e_n_t.
  354.  
  355.                     status    This  will  sort  by  priority,  action, new,
  356.                     tagged, then deleted.
  357.  
  358.                     subject   This will sort according to  the  _s_u_b_j_e_c_t  of
  359.                     each message.
  360.  
  361.                     Each  of  these fields can also optionally be prepended
  362.                     with the sequence ``reverse-'' to reverse the order  of
  363.                     the  sort.  This doesn't imply anything about the order
  364.                     of the message in the folder itself  and  affects  only
  365.                     their order on the index screen.  (The default is _m_a_i_l_-
  366.                     _b_o_x order.)
  367.  
  368.  
  369.           weedout   When specifying this option, you can list headers  that
  370.                     you  _d_o_n_'_t  want  to see when you are displaying a mes-
  371.                     sage.  This list can continue for as many lines as  de-
  372.                     sired,  as long as the continued lines all have leading
  373.                     indentation.  (The default is  ``Received:''  and  oth-
  374.                     ers.)
  375.  
  376.           NNuummeerriicc VVaarriiaabblleess
  377.  
  378.  
  379.           bounceback
  380.                     This  is  a hop count threshold value and allows you to
  381.                     set up the mailer so that when you send mail more  than
  382.                     _n  machines away, it'll automatically include a ``Cc:''
  383.                     to you through the remote machine.   In  practice  this
  384.                     should  be  very  rarely  used.  (Note: this refuses to
  385.                     bounce mail off an Internet address.  The default is to
  386.                     have it set to zero, which disables the function)
  387.  
  388.  
  389.           timeout   On  more  advanced  systems,  it's nice to start up the
  390.                     mailer in a window and let it sit in background  unless
  391.  
  392.  
  393.           May 1, 1990                   Page 5
  394.  
  395.  
  396.  
  397.  
  398.  
  399.           Elm Reference Guide                                   Version 2.3
  400.  
  401.  
  402.  
  403.                     new mail arrives (see _w_n_e_w_m_a_i_l for another window based
  404.                     program) at which point it can be  brought  up  to  the
  405.                     forefront  of  the  system  and read.  In this case, it
  406.                     would be quite convenient to have the mailer internally
  407.                     resynchronize  every  so  often.  This option specifies
  408.                     the number of seconds that this occurs.
  409.  
  410.                     This is also useful for normal terminals,  for  example
  411.                     you  can  leave _e_l_m running at night (I usually do) and
  412.                     when you come in in the morning it'll be all  ready  to
  413.                     read your mail!
  414.  
  415.                     (The  default  is a 300 second (5 minute) timeout peri-
  416.                     od).
  417.  
  418.  
  419.           userlevel*
  420.                     This is what the program uses to determine the relative
  421.                     level of sophistication of the user -- the values are 0
  422.                     for a new user (the default), 1  for  someone  familiar
  423.                     with  _e_l_m  user, and 2 for experts.  Some advanced fea-
  424.                     tures are hidden from novice users, while  experts  get
  425.                     less verbose prompt messages.
  426.  
  427.           BBoooolleeaann VVaarriiaabblleess
  428.  
  429.  
  430.           alwaysdelete
  431.                     When set, this changes the default answer of the prompt
  432.                     ``Delete messages?'' to the indicated value.  (The  de-
  433.                     fault  is to have the answer be _N_o (i.e. alwaysdelete =
  434.                     OFF).)
  435.  
  436.  
  437.           alwaysstore
  438.                     This sets the default answer on the ``store  read  mail
  439.                     in  "received"  folder'' prompt to the value indicated.
  440.                     (The default is to have the default answer be _N_o (i.e.,
  441.                     alwaysstore = OFF).)
  442.  
  443.  
  444.           alwayskeep
  445.                     This  sets the default answer on the ``keep unread mail
  446.                     in incoming mailbox'' However, if you  answered  _N_o  to
  447.                     the ``store read mail in "received" folder'' it is pre-
  448.                     sumed that you'd also want to keep your unread mail  in
  449.                     the  incoming mailbox, too, and the value of alwayskeep
  450.                     is ignored.  (The default is to have the default answer
  451.                     be _Y_e_s (i.e., alwayskeep = ON).)
  452.  
  453.  
  454.           arrow*    Sometimes  you  are  forced  to use a slow, or ``dumb''
  455.                     terminal.  In this case, you can force the current mes-
  456.                     sage  pointer to be the ``->'' sequence rather than the
  457.  
  458.  
  459.           May 1, 1990                   Page 6
  460.  
  461.  
  462.  
  463.  
  464.  
  465.           Elm Reference Guide                                   Version 2.3
  466.  
  467.  
  468.  
  469.                     inverse bar.  (Note that this is overridden by the sim-
  470.                     ilar  `-a'  command  line option, see below.)  (The de-
  471.                     fault is OFF.)
  472.  
  473.  
  474.           ask       This allows you to  tell  the  _e_l_m  system  that  you'd
  475.                     rather not be asked ``Delete Mail?'' and such each time
  476.                     you quit, resynchronize a folder or change folders, and
  477.                     instead  it  should  just  use  the values of ``always-
  478.                     delete'', ``alwaysstore'',  and  ``awayskeep''  without
  479.                     prompting.   (Note  that  when you quit _e_l_m, if you use
  480.                     `Q' instead of `q', you will never be  questioned,  re-
  481.                     gardless of how you have _a_s_k set.)  (The default is ON,
  482.                     i.e. to ask the questions.)
  483.  
  484.  
  485.           askcc     If turned off, this will allow you to send mail without
  486.                     being presented the ``Copies to:'' prompt for each mes-
  487.                     sage. This still allows you to explicitly  include  ad-
  488.                     dresses  in  the  ``cc''  list via either ``~c'' in the
  489.                     builtin editor, or via using the header  editor.   (The
  490.                     default is ON, i.e. to ask about copies.)
  491.  
  492.  
  493.           autocopy  If  turned on, this will automatically copy the text of
  494.                     each message being replied to  into  the  edit  buffer.
  495.                     Otherwise  you  will be prompted as to whether you want
  496.                     the message included in yours. (See the  _p_r_e_f_i_x  option
  497.                     above.)  (The default is OFF.)
  498.  
  499.  
  500.           copy      This, in combination with the _s_e_n_t_m_a_i_l folder, will al-
  501.                     low you to have silent copies of all outgoing mail made
  502.                     on  the  outbound step.  Whether a copy is saved and to
  503.                     which folder can be set prior to sending a message, see
  504.                     below.  (The default is OFF.)
  505.  
  506.  
  507.           forcename This,  in combination with the _s_a_v_e_n_a_m_e option, governs
  508.                     how a copy of an outgoing message will be saved.   (See
  509.                     _s_a_v_e_n_a_m_e below for details.)  (The default is OFF.)
  510.  
  511.  
  512.           keep      The  mail  system  has a habit of deleting folders when
  513.                     you've removed everything from them.  With this  option
  514.                     turned  on,  it will instead preserve them as zero-byte
  515.                     files.  This option does not  apply  to  your  incoming
  516.                     mailbox.  (The default is OFF.)
  517.  
  518.  
  519.           keypad    If  on, this tells _e_l_m that you have an HP terminal and
  520.                     enables the <NEXT>,  <PREV>,  <HOME>  and  <SHIFT-HOME>
  521.                     keys.  (The default is OFF.)
  522.  
  523.  
  524.  
  525.           May 1, 1990                   Page 7
  526.  
  527.  
  528.  
  529.  
  530.  
  531.           Elm Reference Guide                                   Version 2.3
  532.  
  533.  
  534.  
  535.           menu*     If  turned  off,  this will inhibit the Menu display on
  536.                     all of the screen  displays  within  the  _e_l_m  program.
  537.                     (Note  that this is overridden by the similar `-m' com-
  538.                     mand line option, see below.)  (The default is ON.)
  539.  
  540.  
  541.           names*    If turned off, the primary recipients' address is  dis-
  542.                     played  on  your  screen with their full names when you
  543.                     send a message.  Otherwise, only  the  full  names  are
  544.                     given.  (The default is ON.)
  545.  
  546.  
  547.           movepage  If  this is enabled then commands that move through the
  548.                     folder by  pages  (the  `+',  `-',  <right-arrow>,  and
  549.                     <left-arrow>  keys)  will also move the current message
  550.                     pointer to the top of that page of messages.   If  this
  551.                     is turned off then moving through the pages doesn't al-
  552.                     ter the current message pointer location.  (The default
  553.                     is OFF.)
  554.  
  555.  
  556.           noheader  This  boolean  flag tells the mailer not to include the
  557.                     headers of messages when copying a message into a  file
  558.                     buffer  for replying to or forwarding.  (The default is
  559.                     ON.)
  560.  
  561.  
  562.           promptafter
  563.                     If this flag is ON and you use an external pager,  when
  564.                     the  pager  exits,  you  will be prompted for a command
  565.                     rather than returned directly to the index screen.   If
  566.                     the  external pager you are using exits when it reaches
  567.                     end of file (i.e. end of the message), you should  have
  568.                     this  flag  ON,  otherwise  the last screen of the dis-
  569.                     played message will not be held but instead be  immedi-
  570.                     ately  replaced  by  the index screen.  If the external
  571.                     pager you are using does not exit until you command  it
  572.                     to exit, you have a choice.  If you usually want to see
  573.                     the index screen before issuing a command,  having  the
  574.                     flag  OFF  will cut down out the extra keystroke needed
  575.                     to return to the index screen.  If  you  usually  don't
  576.                     need to see the index screen to before issuing the next
  577.                     command, having the flag ON will allow you  to  proceed
  578.                     with  your  next command without having to wait for the
  579.                     redrawing of the index screen.  (The default is ON.)
  580.  
  581.  
  582.           pointnew  If this is turned on, the mailer will be  automatically
  583.                     pointing  to  the first new message in your folder when
  584.                     started, instead of at message #1.  This will  only  be
  585.                     effective  for the incoming mailbox since other folders
  586.                     are not expected to have `new' mail.  (The  default  is
  587.                     ON.)
  588.  
  589.  
  590.  
  591.           May 1, 1990                   Page 8
  592.  
  593.  
  594.  
  595.  
  596.  
  597.           Elm Reference Guide                                   Version 2.3
  598.  
  599.  
  600.  
  601.           resolve   This  is  a  boolean flag that defines the behaviour of
  602.                     the program for such actions as deletion, saving a mes-
  603.                     sage  and  so  on.   Specifically, with this option en-
  604.                     abled, as soon as mail  is  `dealt  with'  the  program
  605.                     moves you to the next message in the folder, with dele-
  606.                     tion, undeletion, saving a  message  and  forwarding  a
  607.                     message all being treated as dealing with email in this
  608.                     manner.  (The default is ON.)
  609.  
  610.  
  611.           savename  One of the problems with  electronic  mail  systems  is
  612.                     that  one  tends  to  get  very  large, one-dimensional
  613.                     (flat) files that contain lots of completely  unrelated
  614.                     mail.  If this option is turned on, _e_l_m will use a more
  615.                     intelligent algorithm -- on  incoming  mail,  when  you
  616.                     _s_a_v_e  or  _c_o_p_y  it,  the  default  mailbox  to  save to
  617.                     (changeable by pressing anything other than <return> of
  618.                     course)  is a folder that is the _l_o_g_i_n _n_a_m_e of the per-
  619.                     son who sent you the message.  Similarly, when  sending
  620.                     mail  out,  instead  of  just  blindly saving it to the
  621.                     _s_e_n_t_m_a_i_l folder, _e_l_m will save it to a folder  that  is
  622.                     the  login  name  of  the  person who is to receive the
  623.                     mail2.
  624.  
  625.                     If _f_o_r_c_e_n_a_m_e is off (see above), the copy will be saved
  626.                     to that folder only if the folder already  exists.   In
  627.                     practice,  this  means  that  important people that you
  628.                     communicate with (those that  you  tend  to  save  mail
  629.                     from)  have folders that are actually _a _r_e_c_o_r_d_e_d _l_o_g _o_f
  630.                     _t_h_e _d_i_s_c_u_s_s_i_o_n _i_n  _b_o_t_h  _d_i_r_e_c_t_i_o_n_s  and  those  others
  631.                     (random mailings) are all stuffed in the _s_e_n_t_m_a_i_l fold-
  632.                     er for easy perusal and removal.
  633.  
  634.                     Otherwise, if you always want to save copies of  outgo-
  635.                     ing  messages  in  separate  folders by recipient login
  636.                     name, you'll want to set _f_o_r_c_e_n_a_m_e to on.  (The default
  637.                     for _s_a_v_e_n_a_m_e is ON.)
  638.  
  639.  
  640.           sigdashes If  on, this tells _e_l_m that you wish to follow the con-
  641.                     vention of prefixing your signature with  newline  dash
  642.                     dash  blank  newline.  This will be placed in your mes-
  643.                     sage before your signature file.  If off, the signature
  644.                     file  is  placed  at the end of the message without any
  645.                     prefix.
  646.  
  647.  
  648.           softkeys  If on, this tells _e_l_m that you have an HP terminal with
  649.                     the  HP  2622 function key protocol and that you'd like
  650.                     to have them available  while  in  the  program.   (The
  651.  
  652.           __________
  653.           2. When sending to a group, it's  saved  to  the  first
  654.           person in the list only.
  655.  
  656.  
  657.           May 1, 1990                   Page 9
  658.  
  659.  
  660.  
  661.  
  662.  
  663.           Elm Reference Guide                                   Version 2.3
  664.  
  665.  
  666.  
  667.                     default is OFF.)
  668.  
  669.  
  670.           titles    This  flag  allows you to have the first line of a mes-
  671.                     sage titled with:
  672.  
  673.                      MMeessssaaggee _N_/_M ffrroomm _u_s_e_r_n_a_m_e           _d_a_t_e aatt _t_i_m_e
  674.  
  675.                     where all the information has been previously extracted
  676.                     from  the  message.   This  is especially useful if you
  677.                     weed out all the headers of each message with  a  large
  678.                     `weedout' list...  (The default is ON.)
  679.  
  680.  
  681.           warnings  The  mailer  likes  to warn you when you send mail to a
  682.                     machine that cannot be directly accessed.  In some sit-
  683.                     uations,  however, the system is set up so that mail is
  684.                     automatically forwarded to another machine  that  might
  685.                     then have better connections.  Setting this flag to OFF
  686.                     will allow you to effectively shut off all the  warning
  687.                     messages.  Use of this flag requires support of the uu-
  688.                     name command on your system.  Without this command, the
  689.                     flag will be cleared to OFF automatically. (The default
  690.                     is ON.)
  691.  
  692.  
  693.           weed      This is a boolean flag that, in  combination  with  the
  694.                     ``weedout''  list,  allows you to custom define the set
  695.                     of headers you would like to not have  displayed  while
  696.                     reading messages.  (The default is ON.)
  697.  
  698.           One more thing: the format for each of the lines is:
  699.                vvaarriiaabbllee == vvaalluuee
  700.           and for boolean variables, _v_a_l_u_e can be `ON' or `OFF' only.
  701.  
  702.           For  a  better  idea  of how this all works, here's my _._e_l_m_/_e_l_m_r_c
  703.           file.  While looking through it, notice that you can have lots of
  704.           comments  and  blank  lines for readability and that you can also
  705.           use `shell variables' and the `~' metacharacter for your home di-
  706.           rectory,  and  they  are expanded accordingly when read in by the
  707.           mailer.  (Note that this was automatically saved by the _e_l_m  pro-
  708.           gram on the fly from the o)ptions screen)
  709.             ##
  710.             ## ..eellmm//eellmmrrcc -- ooppttiioonnss ffiillee ffoorr tthhee EELLMM mmaaiill ssyysstteemm
  711.             ##
  712.             ## SSaavveedd aauuttoommaattiiccaallllyy bbyy EELLMM 22..22 ffoorr DDaavvee TTaayylloorr
  713.             ##
  714.  
  715.             ## FFoorr yyeess//nnoo sseettttiinnggss wwiitthh ??,, OONN mmeeaannss yyeess,, OOFFFF mmeeaannss nnoo
  716.  
  717.             ## wwhheerree ttoo ssaavvee ccaalleennddaarr eennttrriieess
  718.             ccaalleennddaarr == ~~//..AAggeennddaa
  719.  
  720.             ## wwhhaatt eeddiittoorr ttoo uussee ((""nnoonnee"" mmeeaannss ssiimmuullaattee BBeerrkkeelleeyy MMaaiill))
  721.  
  722.  
  723.           May 1, 1990                  Page 10
  724.  
  725.  
  726.  
  727.  
  728.  
  729.           Elm Reference Guide                                   Version 2.3
  730.  
  731.  
  732.  
  733.             eeddiittoorr == nnoonnee
  734.  
  735.             ## tthhee cchhaarraacctteerr ttoo uussee iinn tthhee bbuuiillttiinn eeddiittoorr ffoorr eenntteerriinngg ccoommmmaannddss
  736.             eessccaappee == ~~
  737.  
  738.             ## tthhee ffuullll uusseerr nnaammee ffoorr oouuttbboouunndd mmaaiill
  739.             ffuullllnnaammee == DDaavvee TTaayylloorr
  740.  
  741.             ## wwhheerree ttoo ssaavvee rreecceeiivveedd mmeessssaaggeess ttoo,, ddeeffaauulltt ffiillee iiss ""==rreecceeiivveedd""
  742.             rreecceeiivveeddmmaaiill == $$HHOOMMEE//MMaaiill//rreecceeiivveedd
  743.  
  744.             ## wwhheerree ttoo ssaavvee mmyy mmaaiill ttoo,, ddeeffaauulltt ddiirreeccttoorryy iiss ""MMaaiill""
  745.             mmaaiillddiirr == //uusseerrss//ttaayylloorr//MMaaiill
  746.  
  747.             ## pprrooggrraamm ttoo uussee ffoorr ddiissppllaayyiinngg mmeessssaaggeess ((''bbuuiillttiinn'' iiss rreeccoommmmeennddeedd))
  748.             ppaaggeerr == bbuuiillttiinn
  749.  
  750.             ## pprreeffiixx sseeqquueennccee ffoorr iinnddeennttiinngg iinncclluuddeedd mmeessssaaggee tteexxtt iinn oouuttggooiinngg mmeessssaaggeess......
  751.             pprreeffiixx == >>__
  752.  
  753.             ## hhooww ttoo pprriinntt aa mmeessssaaggee ((''%%ss'' iiss tthhee ffiilleennaammee))
  754.             pprriinntt == llpprr --PPllww22 %%ss
  755.  
  756.             ## wwhheerree ttoo ssaavvee ccooppiieess ooff oouuttggooiinngg mmaaiill ttoo,, ddeeffaauulltt ffiillee iiss ""==sseenntt""
  757.             sseennttmmaaiill == //uusseerrss//ttaayylloorr//MMaaiill//mmaaiill..sseenntt
  758.  
  759.             ## tthhee sshheellll ttoo uussee ffoorr sshheellll eessccaappeess
  760.             sshheellll == //bbiinn//ccsshh
  761.  
  762.             ## llooccaall ""..ssiiggnnaattuurree"" ffiillee ttoo aappppeenndd ttoo aapppprroopprriiaattee mmeessssaaggeess......
  763.             llooccaallssiiggnnaattuurree == llooccaallssiigg
  764.  
  765.             ## rreemmoottee ""..ssiiggnnaattuurree"" ffiillee ttoo aappppeenndd ttoo aapppprroopprriiaattee mmeessssaaggeess......
  766.             rreemmootteessiiggnnaattuurree ==  rreemmootteessiigg
  767.  
  768.             ## ddoo wwee wwaanntt ddaasshheess aabboovvee ssiiggnnaattuurreess?? ((NNeewwss 22..1111 ccoommppaattiibbiilliittyy aanndd ccoonnvveennttiioonn))
  769.             ssiiggddaasshheess == OONN
  770.  
  771.             ## hhooww ttoo ssoorrtt ffoollddeerrss,, ""MMaaiillbbooxx"" bbyy ddeeffaauulltt
  772.             ssoorrttbbyy == RReevveerrssee--RReecceeiivveedd
  773.  
  774.             ## sshhoouulldd tthhee ddeeffaauulltt bbee ttoo ddeelleettee mmeessssaaggeess wwee''vvee mmaarrkkeedd ffoorr ddeelleettiioonn??
  775.             aallwwaayyssddeelleettee == OONN
  776.  
  777.             ## sshhoouulldd tthhee ddeeffaauulltt bbee ttoo ssttoorree rreeaadd mmeessssaaggeess ttoo tthhee ""rreecceeiivveedd"" ffoollddeerr??
  778.             aallwwaayyssssttoorree == OONN
  779.  
  780.             ## sshhoouulldd tthhee ddeeffaauulltt bbee ttoo kkeeeepp uunnrreeaadd mmeessssaaggeess iinn tthhee iinnccoommiinngg mmaaiillbbooxx??
  781.             aallwwaayysskkeeeepp == OONN
  782.  
  783.             ## sshhoouulldd wwee uussee tthhee ""-->>"" rraatthheerr tthhaann tthhee iinnvveerrssee vviiddeeoo bbaarr??
  784.             aarrrrooww == OOFFFF
  785.  
  786.             ## sshhoouulldd tthhee mmeessssaaggee ddiissppoossiittiioonn qquueessttiioonnss bbee ddiissppllaayyeedd((OONN)) oorr
  787.  
  788.  
  789.           May 1, 1990                  Page 11
  790.  
  791.  
  792.  
  793.  
  794.  
  795.           Elm Reference Guide                                   Version 2.3
  796.  
  797.  
  798.  
  799.             ## aauuttoo--aannsswweerreedd((OOFFFF)) wwiitthh tthhee ddeeffaauulltt aannsswweerrss wwhheenn wwee rreessyynncc oorr cchhaannggee ffoollddeerrss??
  800.             aasskk == OONN
  801.  
  802.             ## wwoouulldd yyoouu lliikkee ttoo bbee aasskkeedd ffoorr CCaarrbboonn--CCooppiieess iinnffoorrmmaattiioonn eeaacchh mmssgg??
  803.             aasskkcccc == OONN
  804.  
  805.             ## aauuttoommaattiiccaallllyy ccooppyy mmeessssaaggee bbeeiinngg rreepplliieedd ttoo iinnttoo bbuuffffeerr??
  806.             aauuttooccooppyy == OOFFFF
  807.  
  808.             ## tthhrreesshhoolldd ffoorr bboouunncciinngg ccooppiieess ooff rreemmoottee uuuuccpp mmeessssaaggeess......
  809.             ## zzeerroo == ddiissaabbllee ffuunnccttiioonn..
  810.             bboouunncceebbaacckk == 00
  811.  
  812.             ## ssaavvee aa ccooppyy ooff aallll oouuttbboouunndd mmeessssaaggeess??
  813.             ccooppyy == OONN
  814.  
  815.             ## ddoo wwee wwaanntt ttoo bbee aabbllee ttoo mmaaiill oouutt AATT&&TT MMaaiill FFoorrmmss??
  816.             ffoorrmmss == OOFFFF
  817.  
  818.             ## sshhoouulldd wwee kkeeeepp ffoollddeerrss ffrroomm wwhhiicchh aallll mmeessssaaggeess aarree ddeelleetteedd??
  819.             kkeeeeppeemmppttyy == OOFFFF
  820.  
  821.             ## wwee''rree rruunnnniinngg oonn aann HHPP tteerrmmiinnaall aanndd wwaanntt HHOOMMEE,, PPRREEVV,, NNEEXXTT,, eettcc......
  822.             kkeeyyppaadd == OOFFFF
  823.  
  824.             ## sshhoouulldd wwee ddiissppllaayy tthhee tthhrreeee--lliinnee ''mmiinnii'' mmeennuu??
  825.             mmeennuu == OONN
  826.  
  827.             ## wwhheenn uussiinngg tthhee ppaaggee ccoommmmaannddss ((++ -- <<NNEEXXTT>> <<PPRREEVV>>)) cchhaannggee tthhee ccuurrrreenntt
  828.             ## mmeessssaaggee ppooiinntteerr......??
  829.             mmoovveeppaaggee == OONN
  830.  
  831.             ## jjuusstt sshhooww tthhee nnaammeess wwhheenn eexxppaannddiinngg aalliiaasseess??
  832.             nnaammeess == OONN
  833.  
  834.             ## wwhheenn mmeessssaaggeess aarree ccooppiieedd iinnttoo tthhee oouuttbboouunndd bbuuffffeerr,, ddoonn''tt iinncclluuddee hheeaaddeerrss??
  835.             nnoohheeaaddeerr == OONN
  836.  
  837.             ## ssttaarrtt uupp bbyy ppooiinnttiinngg ttoo tthhee ffiirrsstt nneeww mmeessssaaggee rreecceeiivveedd,, iiff ppoossssiibbllee??
  838.             ppooiinnttnneeww == OONN
  839.  
  840.             ## pprroommpptt ffoorr aa ccoommmmaanndd aafftteerr tthhee eexxtteerrnnaall ppaaggeerr eexxiittss??
  841.             pprroommppttaafftteerr == OONN
  842.  
  843.             ## eemmuullaattee tthhee mmaaiillxx mmeessssaaggee iinnccrreemmeenntt mmooddee ((oonnllyy iinnccrreemmeenntt aafftteerr ssoommeetthhiinngg
  844.             ## hhaass bbeeeenn ''ddoonnee'' ttoo aa mmeessssaaggee,, eeiitthheerr ssaavveedd oorr ddeelleetteedd,, aass ooppppoosseedd ttoo
  845.             ## ssiimmppllyy eeaacchh ttiimmee ssoommeetthhiinngg iiss ttoouucchheedd))??
  846.             rreessoollvvee == OONN
  847.  
  848.             ## ssaavvee mmeessssaaggeess,, iinnccoommiinngg aanndd oouuttbboouunndd,, bbyy llooggiinn nnaammee ooff sseennddeerr//rreecciippiieenntt??
  849.             ssaavveennaammee == OONN
  850.  
  851.             ## ssaavvee oouuttbboouunndd mmeessssaaggeess bbyy llooggiinn nnaammee ooff sseennddeerr//rreecciippiieenntt eevveenn iiff tthhee
  852.             ## aassssoocciiaatteedd ffoollddeerr ddooeessnn''tt aallrreeaaddyy eexxiisstt??
  853.  
  854.  
  855.           May 1, 1990                  Page 12
  856.  
  857.  
  858.  
  859.  
  860.  
  861.           Elm Reference Guide                                   Version 2.3
  862.  
  863.  
  864.  
  865.             ffoorrcceennaammee == OOFFFF
  866.  
  867.             ## aarree wwee rruunnnniinngg oonn aann HHPP tteerrmmiinnaall aanndd wwaanntt HHOOMMEE,, PPRREEVV,, NNEEXXTT,, eettcc......??
  868.             ## ((tthhiiss iimmpplliieess ""kkeeyyppaadd==OONN"" ttoooo))
  869.             ssooffttkkeeyyss == OOFFFF
  870.  
  871.             ## sseett tthhee mmaaiinn pprroommpptt ttiimmeeoouutt ffoorr rreessyynncchhiinngg......
  872.             ttiimmeeoouutt == 6600
  873.  
  874.             ## ddiissppllaayy mmeessssaaggee ttiittllee wwhheenn ddiissppllaayyiinngg ppaaggeess ooff mmeessssaaggee??
  875.             ttiittlleess == OONN
  876.  
  877.             ## aarree wwee ggoooodd aatt iitt??  00==bbeeggiinnnneerr,, 11==iinntteerrmmeeddiiaattee,, 22++ == eexxppeerrtt!!
  878.             uusseerrlleevveell == 22
  879.  
  880.             ## tteellll uuss aabboouutt aaddddrreesssseess ttoo mmaacchhiinneess wwee ccaann''tt ddiirreeccttllyy ggeett ttoo??
  881.             wwaarrnniinnggss == OOFFFF
  882.  
  883.             ## eennaabbllee tthhee wweeeeddoouutt lliisstt ttoo bbee rreeaadd??
  884.             wweeeedd == OONN
  885.  
  886.             ## wwhhaatt hheeaaddeerrss II DDOONN''TT wwaanntt ttoo sseeee,, eevveerr..
  887.             wweeeeddoouutt == ""PPaatthh::"" ""VViiaa::"" ""SSeenntt::"" ""DDaattee"" ""SSttaattuuss::"" ""OOrriiggiinnaall"" ""PPhhaassee""
  888.                       ""SSuubbjjeecctt::"" ""FFrruuiitt"" ""SSuunn"" ""LLaatt"" ""BBuuzzzzwwoorrdd"" ""RReettuurrnn"" ""PPoosstteedd""
  889.                       ""TTeelleepphhoonnee"" ""PPoossttaall--AAddddrreessss"" ""OOrriiggiinn"" ""XX--SSeenntt--BByy--NNmmaaiill--VV"" ""RReesseenntt""
  890.                       ""XX--LLooccaattiioonn"" ""SSoouurrccee"" ""MMoooodd"" ""NNeeuurroonn"" ""LLiibbiiddoo"" ""TToo::"" ""XX--MMaaiilleerr::""
  891.                       ""FFuullll--NNaammee::"" ""XX--HHPPMMAAIILL"" ""CCcc::"" ""cccc::"" ""MMmmddff"" ""NNeettwwoorrkk--"" ""RReeaallllyy--""
  892.                       ""SSeennddeerr::"" ""PPoosstt"" ""MMeessssaaggee--"" ""RReellaayy--"" ""AArrttiiccllee--"" ""LLiinneess::""
  893.                       ""AApppprroovveedd::"" ""XXrreeff::"" ""OOrrggaanniizzaattiioonn::"" ""**eenndd--ooff--uusseerr--hheeaaddeerrss**""
  894.  
  895.             ## aalltteerrnnaattiivvee aaddddrreesssseess tthhaatt II ccoouulldd rreecceeiivvee mmaaiill ffrroomm ((uussuuaallllyy aa
  896.             ## ffoorrwwaarrddiinngg mmaaiillbbooxx)) aanndd ddoonn''tt wwaanntt ttoo hhaavvee lliisstteedd......
  897.             aalltteerrnnaattiivveess == hhppllaabbss!!ttaayylloorr  hhppllddaatt!!ttaayylloorr  ttaayylloorr@@hhppllaabbss  ttaayylloorr%%hhppllddaatt
  898.  
  899.  
  900.           33..  TThhee CCoommmmaanndd LLiinnee OOppttiioonnss
  901.  
  902.           There  are  a  number of command line options to the _e_l_m program,
  903.           with only one that needs to be remembered:  ``-?''or  ``-h''  for
  904.           help.
  905.  
  906.           The flags are:
  907.  
  908.  
  909.              -a    Arrow.  This allows you to have the ``->'' arrow pointer
  910.                    rather than the inverse bar.  This can also  be  set  in
  911.                    the  _._e_l_m_/_e_l_m_r_c  file  -- check the boolean variable _a_r_-
  912.                    _r_o_w).
  913.  
  914.  
  915.              -c    Check only.  This is useful for expanding aliases  with-
  916.                    out  sending any mail.  The invocation is similar to in-
  917.                    voking _e_l_m in send-only mode: eellmm --cc  _l_i_s_t_-_o_f_-_a_l_i_a_s_e_s
  918.  
  919.  
  920.  
  921.           May 1, 1990                  Page 13
  922.  
  923.  
  924.  
  925.  
  926.  
  927.           Elm Reference Guide                                   Version 2.3
  928.  
  929.  
  930.  
  931.              -d _n  Set debug level to _n.  Useful for debugging the _e_l_m pro-
  932.                    gram, this option will create a file in your home direc-
  933.                    tory called _E_L_M_:_d_e_b_u_g_._i_n_f_o, then output a running log of
  934.                    what  is  going  on  with the program.  Level _n can be 1
  935.                    through 11, where the higher numbers generate more  out-
  936.                    put.   This  option  might be disabled by the the person
  937.                    who configured _e_l_m for your system.
  938.  
  939.  
  940.              -f _f_o_l_d_e_r
  941.                    Folder.  Read specified folder rather than  the  default
  942.                    incoming  mailbox.   Note  that  you  can  use  the same
  943.                    metacharacters (e.g. `=') as  when  you  _c_h_a_n_g_e  _f_o_l_d_e_r_s
  944.                    from  within the program.  You can also use the same ab-
  945.                    breviatory symbols (`!', `>' and `<'), but  remember  to
  946.                    ``single  quote'' them in case they have special meaning
  947.                    in the shell you use.
  948.  
  949.  
  950.              -h or -?
  951.                    Help.  Gives a short list of all these options  and  ex-
  952.                    its.
  953.  
  954.  
  955.              -k    Keypad  --  This option, when used, lets the _e_l_m program
  956.                    know that you're on an HP terminal, and it can then  in-
  957.                    terpret  the  <PREV>,  <NEXT>  and <HOME>/<SHIFT>-<HOME>
  958.                    keys accordingly.  If you are not on an HP terminal,  it
  959.                    is recommended that you do NOT use this option. (See the
  960.                    _k_e_y_p_a_d option in the _._e_l_m_/_e_l_m_r_c section.)
  961.  
  962.  
  963.              -K    Keypad + softkeys.  The _e_l_m mailer can use the HP  soft-
  964.                    keys  as  an  alternative form of input.  If you specify
  965.                    this option be sure that you're on an HP  terminal  that
  966.                    can  accept the standard 2622 terminal escape sequences!
  967.                    (See the _s_o_f_t_k_e_y_s option in the _._e_l_m_/_e_l_m_r_c  section  for
  968.                    more information.)
  969.  
  970.  
  971.              -m    Inhibit  display of the 3-line menu when using the mail-
  972.                    er.  This, of course, gives you three more message head-
  973.                    ers  per page instead.  (See also the mmeennuu option in the
  974.                    _._e_l_m_/_e_l_m_r_c section.)
  975.  
  976.  
  977.              -s _s_u_b_j_e_c_t
  978.                    In send-only and batch mode, this is how to indicate the
  979.                    subject  of  the resulting message.  Please see the sec-
  980.                    tion on ``Non-Interactive Uses of Elm'' in _T_h_e _E_l_m _U_s_e_r_s
  981.                    _G_u_i_d_e for more information.
  982.  
  983.  
  984.  
  985.  
  986.  
  987.           May 1, 1990                  Page 14
  988.  
  989.  
  990.  
  991.  
  992.  
  993.           Elm Reference Guide                                   Version 2.3
  994.  
  995.  
  996.  
  997.              -z    Zero.   This  causes the mailer not to be started if you
  998.                    don't have any mail.   This emulates  the  behaviour  of
  999.                    programs like _B_e_r_k_e_l_e_y _M_a_i_l.
  1000.  
  1001.           All  the  above  flags default to reasonable options, so there is
  1002.           usually no need to use them.  Furthermore, the  most  used  flags
  1003.           are available through the _._e_l_m_/_e_l_m_r_c file.  See above.
  1004.  
  1005.  
  1006.           44..  SSppeecciiaall OOuuttggooiinngg MMaaiill PPrroocceessssiinngg
  1007.  
  1008.           There are a few extra features that the mailer offers on outgoing
  1009.           mail that are worthy of mention:
  1010.  
  1011.           The first, and probably the most exciting feature3, is the abili-
  1012.           ty to send _e_n_c_r_y_p_t_e_d mail! To do this is extremely  simple:   You
  1013.           need  merely  to  have  two key lines [[eennccooddee]] and [[cclleeaarr]] in the
  1014.           message body.
  1015.  
  1016.           Consider the following outgoing message:
  1017.                JJooee,,
  1018.                RReemmeemmbbeerr tthhaatt ttaallkk wwee hhaadd aabboouutt AAmmyy??  WWeellll,, II ttaallkkeedd ttoo mmyy mmaannaaggeerr
  1019.                aabboouutt iitt aanndd hhee ssaaiidd......
  1020.                uuhhhh......bbeetttteerr eennccrryypptt tthhiiss......tthhee uussuuaall ``kkeeyy''......
  1021.                [[eennccooddee]]
  1022.                HHee ssaaiidd tthhaatt AAmmyy wwaass hhaavviinngg ffaammiillyy pprroobblleemmss aanndd tthhaatt iitt hhaadd bbeeeenn
  1023.                aaffffeeccttiinngg hheerr wwoorrkk..
  1024.                GGiivveenn tthhiiss,, II wweenntt aanndd ttaallkkeedd ttoo hheerr,, aanndd ttoolldd hheerr II wwaass ssoorrrryy ffoorr
  1025.                ggeettttiinngg aannggrryy..  SShhee ssaaiidd tthhaatt sshhee uunnddeerrssttoooodd..
  1026.                WWee''rree ffrriieennddss aaggaaiinn!!!!
  1027.                [[cclleeaarr]]
  1028.                EExxcciittiinngg ssttuuffff,, eehh??
  1029.                                              MMiikkee
  1030.           While this is obviously quite readable while being typed into the
  1031.           editor,  as  soon  as  the  message is confirmed as wanting to be
  1032.           sent, the _e_l_m mailer prompts with:
  1033.                EEnntteerr eennccrryyppttiioonn kkeeyy:: @@
  1034.           and accepts a key (a series of  8  or  less  characters)  without
  1035.           echoing  them  to  the  screen.  After entry, it will ask for the
  1036.           same key again to confirm it, then *poof*  it  will  encrypt  and
  1037.           send the mail.
  1038.  
  1039.           If  you  have the _c_o_p_y option enabled, the program will save your
  1040.           copy of the message encrypted too.  (This is to ensure the priva-
  1041.           cy and security of your mail archive, too.)
  1042.  
  1043.           If  the  mailer  doesn't ask for the encryption key, it's because
  1044.           you don't have the [[eennccooddee]] entered as the first 8 characters  of
  1045.  
  1046.           __________
  1047.           3. Unfortunately, at  many  non-US  sites,  it's  quite
  1048.           probable  that  you  won't  be able to use this feature
  1049.           since you won't have the _c_r_y_p_t_(_) library available  due
  1050.           to licensing restrictions.
  1051.  
  1052.  
  1053.           May 1, 1990                  Page 15
  1054.  
  1055.  
  1056.  
  1057.  
  1058.  
  1059.           Elm Reference Guide                                   Version 2.3
  1060.  
  1061.  
  1062.  
  1063.           the line.  It MUST be so for this to work!!
  1064.  
  1065.           On the other end, a person receiving this mail (they must also be
  1066.           using _e_l_m to receive it, since this mailer has a  unique  encryp-
  1067.           tion  program)  will  be reading the message and then suddenly be
  1068.           prompted:
  1069.                EEnntteerr ddeeccrryyppttiioonn kkeeyy:: @@
  1070.           and will again be asked to re-enter it to confirm.   The  program
  1071.           will then on-the-fly decrypt the mail and display each line as it
  1072.           is decoded.  The [[cclleeaarr]] line signifies that the block to encrypt
  1073.           is done.
  1074.  
  1075.           Note that it is not possible currently to _p_i_p_e or _p_r_i_n_t encrypted
  1076.           mail.
  1077.  
  1078.  
  1079.           The other option on outgoing mail is the ability to specify  what
  1080.           section  of  the message you want to have archived (assuming _c_o_p_y
  1081.           is enabled) and what section you don't.  This is most useful  for
  1082.           sending out source file listings and so on.
  1083.  
  1084.           To  indicate  the  end of the section that should be saved in the
  1085.           archive, you need merely to have the line
  1086.                [[nnoossaavvee]]
  1087.           or
  1088.                [[nnoo ssaavvee]]
  1089.           appear by itself on a line.  This will be removed from the outgo-
  1090.           ing  mail,  and will indicate the last line of the message in the
  1091.           saved mail.  Other than this, the saved mail is identical to  the
  1092.           outgoing mail.
  1093.  
  1094.  
  1095.           55..  CCuussttoommiizzeedd hheeaaddeerr lliinneess
  1096.  
  1097.           The  mailer  provides  a facility for including customized header
  1098.           lines in the messages you send.  If you have  an  _._e_l_m_/_e_l_m_h_e_a_d_e_r_s
  1099.           file,  the mailer will include its contents immediately after the
  1100.           regular headers of all outbound  mail.  The mailer  supports  use
  1101.           of  the  backquote  convention  in  this  file.  Here's a typical
  1102.           _._e_l_m_/_e_l_m_h_e_a_d_e_r_s file.
  1103.             OOrrggaanniizzaattiioonn:: HHeewwlleetttt--PPaacckkaarrdd LLaabboorraattoorriieess
  1104.             PPhhoonnee:: ((441155))--555555--11223344
  1105.             OOppeerraattiinngg SSyysstteemm:: ``uunnaammee --ssrrvv``
  1106.           These lines will appear after all other header lines in the  mes-
  1107.           sage.
  1108.  
  1109.  
  1110.           66..  CCoommmmaannddss
  1111.  
  1112.  
  1113.           This section will discuss each command in the _e_l_m program in more
  1114.           detail than above, including the prompts the user can expect upon
  1115.           executing the command, the meaning of different options, etc.
  1116.  
  1117.  
  1118.  
  1119.           May 1, 1990                  Page 16
  1120.  
  1121.  
  1122.  
  1123.  
  1124.  
  1125.           Elm Reference Guide                                   Version 2.3
  1126.  
  1127.  
  1128.  
  1129.              ?     Help.  This command used once puts you in the _h_e_l_p mode,
  1130.                    where any key you press will result in  a  one-line  de-
  1131.                    scription  of the key.  Pressed again at this point will
  1132.                    produce a two page summary listing each  command  avail-
  1133.                    able.   <escape> or `.' will leave the help mode and re-
  1134.                    turn you to the main menu level.
  1135.  
  1136.  
  1137.              <space>
  1138.                    Display the current  message.   <space>  is  useful  for
  1139.                    reading through a mail folder.  When issued from the in-
  1140.                    dex screen, it will display the first screen of the cur-
  1141.                    rent  message; and then when issued while in the builtin
  1142.                    pager, it will page through the message to the end;  and
  1143.                    then  when  issued  at the end of a message (with either
  1144.                    the builtin pager or an external pager), it will display
  1145.                    the  first  screen  of  the  next message not marked for
  1146.                    deletion.
  1147.  
  1148.  
  1149.              <return>
  1150.                    Display the current message.  <return> behaves  somewhat
  1151.                    differently  from  <space>.   When  issued  while in the
  1152.                    builtin pager, it will scroll the current  message  for-
  1153.                    ward one line, and then when issued at the end of a mes-
  1154.                    sage (with either  the  builtin  pager  or  an  external
  1155.                    pager),  it  will  redisplay the first screen of the the
  1156.                    _c_u_r_r_e_n_t message.  The latter is useful in case you  have
  1157.                    issued  a  non-pager  command while in the builtin pager
  1158.                    and want to restart the display of the current  message.
  1159.  
  1160.  
  1161.              !     Shell.   This  allows you to send a command to the shell
  1162.                    without leaving the program.
  1163.  
  1164.  
  1165.              |     Pipe.  This command allows you to pipe the current  mes-
  1166.                    sage or the set of _t_a_g_g_e_d messages through other filters
  1167.                    as you desire.  The shell used for  the  entire  command
  1168.                    will  be  either  the  one  specified in your _._e_l_m_/_e_l_m_r_c
  1169.                    file, or the default shell (see above).
  1170.  
  1171.  
  1172.                    Pattern match.  This command, on the top  level,  allows
  1173.                    the  user  to  search  through  all the _f_r_o_m and _s_u_b_j_e_c_t
  1174.                    lines of the current folder starting at the current mes-
  1175.                    sage and continuing through the end.  If the first char-
  1176.                    acter of the pattern is a `/', then the program will try
  1177.                    to  match  the specified pattern against _a_n_y line in the
  1178.                    folder.  Again, this works from one  after  the  current
  1179.                    message  through the end.  Both searches are case insen-
  1180.                    sitive.
  1181.  
  1182.  
  1183.  
  1184.  
  1185.           May 1, 1990                  Page 17
  1186.  
  1187.  
  1188.  
  1189.  
  1190.  
  1191.           Elm Reference Guide                                   Version 2.3
  1192.  
  1193.  
  1194.  
  1195.              - or <left>
  1196.                    Display the next page of the message index.
  1197.  
  1198.  
  1199.              + or <right>
  1200.                    Display the previous page of the message index.
  1201.  
  1202.  
  1203.              <number><return>
  1204.                    Specify new current message.  When you type in any digit
  1205.                    key _e_l_m will prompt ``Set current to : n'', where `n' is
  1206.                    the digit entered.  Enter the full number and  terminate
  1207.                    with  <return>.   Note that changing the current message
  1208.                    to a message not on the current page of headers will re-
  1209.                    sult in a new page being displayed.
  1210.  
  1211.  
  1212.              <     Scan  message for calendar entries.  A rather novel fea-
  1213.                    ture of the _e_l_m mailer is the ability  to  automatically
  1214.                    incorporate calendar/agenda information from a mail mes-
  1215.                    sage into the users calendar file.  This is  done  quite
  1216.                    simply; any line that has the pattern
  1217.  
  1218.                         -> _c_a_l_e_n_d_a_r _e_n_t_r_y
  1219.  
  1220.                    will  be  automatically added to the users _c_a_l_e_n_d_a_r file
  1221.                    (see the _c_a_l_e_n_d_a_r option of the _._e_l_m_/_e_l_m_r_c file) if  the
  1222.                    `<' command is used.
  1223.  
  1224.                    For example, let's say we had a message with the text:
  1225.  
  1226.                         RReeggaarrddlleessss  ooff  tthhaatt  mmeeeettiinngg,,  hheerree''ss  tthhee sseemmiinnaarr
  1227.                    ssttuuffff::
  1228.                         -->> 88//0033 33::0000ppmm:: AAII SSeemmiinnaarr wwiitthh IIrraa GGoollddsstteeiinn ooff HHPP
  1229.                    LLaabbss
  1230.  
  1231.                    then using the `<' command would add the line:
  1232.  
  1233.                         88//0033  33::0000ppmm::  AAII  SSeemmiinnaarr wwiitthh IIrraa GGoollddsstteeiinn ooff HHPP
  1234.                    LLaabbss
  1235.  
  1236.                    to the users _c_a_l_e_n_d_a_r file.
  1237.  
  1238.  
  1239.              a     Alias.  The alias system is a way by which more  complex
  1240.                    mail  addresses can be shortened for the mail user.  For
  1241.                    example:
  1242.                         jjooee,, bblleeuu   ==  JJooee BBlleeuu  ==   jjooee@@hhppffccllaa..SSSSOO..HHPP..CCOOMM
  1243.                    which allows mail to `joe' or `bleu' with the system ex-
  1244.                    panding  the  address properly.  As is obvious, this not
  1245.                    only saves remembering complex addresses, it also allows
  1246.                    the  address  to  be optimized to go through the minimum
  1247.                    number of machines without anyone having to be  informed
  1248.                    of  the change.  A more detailed discussion can be found
  1249.  
  1250.  
  1251.           May 1, 1990                  Page 18
  1252.  
  1253.  
  1254.  
  1255.  
  1256.  
  1257.           Elm Reference Guide                                   Version 2.3
  1258.  
  1259.  
  1260.  
  1261.                    in either the section entitled _T_h_e _A_l_i_a_s _S_y_s_t_e_m in  this
  1262.                    document or _T_h_e _E_l_m _A_l_i_a_s _S_y_s_t_e_m _U_s_e_r_s _G_u_i_d_e.
  1263.  
  1264.  
  1265.              b     Bounce  mail.   This ``remails'' mail to someone else in
  1266.                    such a way as to make the return  address  the  original
  1267.                    sender  rather  than you.  (The _f_o_r_w_a_r_d command is simi-
  1268.                    lar, but it makes the return address _y_o_u rather than the
  1269.                    original sender.)
  1270.  
  1271.  
  1272.              C     Copy to folder.  This command copies the current message
  1273.                    or set of tagged messages to a folder.  If there is any-
  1274.                    thing  in  the  folder currently the message or messages
  1275.                    are appended to the end, otherwise the folder is created
  1276.                    containing  only  the  newly copied message.  The prompt
  1277.                    for this command is `Copy to folder: '.  A  response  of
  1278.                    <return> cancels the command and returns the user to the
  1279.                    system prompt.  The usual  filename  metacharacters  are
  1280.                    available, too.  That is, this command expands filenames
  1281.                    with `~' being your home directory and  `='  being  your
  1282.                    _m_a_i_l_d_i_r directory, if defined.  This command also allows
  1283.                    you to use `>' for your _r_e_c_e_i_v_e_d_m_a_i_l folder and `<'  for
  1284.                    your  _s_e_n_t_m_a_i_l  folder.   You  can also enter `?' at the
  1285.                    prompt to list the names of your folders.
  1286.  
  1287.  
  1288.              c     Change folder.  Specifying this command allows the  user
  1289.                    to change the folder that is currently being read.  This
  1290.                    is intended for perusal and reply to previously archived
  1291.                    messages.   The prompt is `Name of new folder: ' and en-
  1292.                    tering <return> cancels the operation, while entering  a
  1293.                    filename causes the program to read that file as the new
  1294.                    folder, if possible.   This  command  expands  filenames
  1295.                    with  `~'  being  your home directory and `=' being your
  1296.                    _m_a_i_l_d_i_r directory, if defined.  This command also allows
  1297.                    you to use `!' as an abbreviation for you incoming mail-
  1298.                    box, `>' for your _r_e_c_e_i_v_e_d_m_a_i_l folder, and `<' for  your
  1299.                    _s_e_n_t_m_a_i_l  folder.   You can also enter `?' at the prompt
  1300.                    to list the names of your folders.
  1301.  
  1302.  
  1303.              d, u  Delete and Undelete.  Neither of these two commands have
  1304.                    any prompts and indicate their action by either adding a
  1305.                    `D' to the current message index entry (indicating dele-
  1306.                    tion  pending)  or removing the `D' (indicating that the
  1307.                    message isn't set for deletion).
  1308.  
  1309.  
  1310.              <control>-D
  1311.                    This command allows you to easily mark for deletion  all
  1312.                    messages  that  have  a  specific  pattern.  After <con-
  1313.                    trol>-D is pressed, the  program  will  prompt  for  the
  1314.                    string  to  match  (currently it only matches either the
  1315.  
  1316.  
  1317.           May 1, 1990                  Page 19
  1318.  
  1319.  
  1320.  
  1321.  
  1322.  
  1323.           Elm Reference Guide                                   Version 2.3
  1324.  
  1325.  
  1326.  
  1327.                    _f_r_o_m or _s_u_b_j_e_c_t lines of the message).
  1328.  
  1329.  
  1330.              <control>-U
  1331.                    This is the direct opposite command to the  previous  --
  1332.                    all  messages  that match the specified pattern can have
  1333.                    any mark for deletion removed by using this command.
  1334.  
  1335.  
  1336.              e     Edit mailbox.  This allows you  to  modify  the  current
  1337.                    mail  file at a single keystroke.  This is mostly useful
  1338.                    for editing down messages before saving them.  Modifying
  1339.                    headers  should  be  done  with extreme caution, as they
  1340.                    contain routing information and other  vital  stuff  for
  1341.                    full functionality.
  1342.  
  1343.  
  1344.              f     Forward.  Allows the user to forward the current message
  1345.                    to another user.  This copies the message into the  edit
  1346.                    buffer and allows the user to add their own message too.
  1347.                    The prompt is `Forward to:' and will expand an alias  if
  1348.                    entered.  (See also _b_o_u_n_c_e, above.)
  1349.  
  1350.                    Elm  will ask you if you want to edit the message before
  1351.                    sending it.  If you answer `yes', Elm will prepend  your
  1352.                    prefix  string  to each line of the message, and let you
  1353.                    edit the result.  If you do not want the  prefix  string
  1354.                    on  each line, answer `no'; you will have another chance
  1355.                    to edit the message when you get  to  the  `send'  menu.
  1356.                    (See also the `elmrc' section, under _p_r_e_f_i_x.)
  1357.  
  1358.  
  1359.              g     Group  reply.  Identical to _r_e_p_l_y below, except that the
  1360.                    response is mailed to _a_l_l  _r_e_c_i_p_i_e_n_t_s  of  the  original
  1361.                    message  (except yourself -- see the _a_l_t_e_r_n_a_t_i_v_e_s option
  1362.                    for your _._e_l_m_/_e_l_m_r_c file above).
  1363.  
  1364.  
  1365.              h     Display the current message  with  all  headers  intact.
  1366.                    When  you display a message with other commands, certain
  1367.                    header lines are formatted and others discarded (accord-
  1368.                    ing  to the _w_e_e_d_l_i_s_t parameter in your _._e_l_m_/_e_l_m_r_c file).
  1369.  
  1370.  
  1371.              i     Return to the index screen, when issued in  the  builtin
  1372.                    pager  or  at  the  end  of  a  message (with either the
  1373.                    builtin pager or an external pager).
  1374.  
  1375.  
  1376.              j or <down>, k or <up>
  1377.                    These four keys work similarly to what they would do  in
  1378.                    _v_i  or  any  of the other (precious few) screen oriented
  1379.                    programs.  The `j' and <down> keys move the current mes-
  1380.                    sage  pointer down to the next message skipping over any
  1381.  
  1382.  
  1383.           May 1, 1990                  Page 20
  1384.  
  1385.  
  1386.  
  1387.  
  1388.  
  1389.           Elm Reference Guide                                   Version 2.3
  1390.  
  1391.  
  1392.  
  1393.                    marked deleted (going to the next page  if  needed)  and
  1394.                    the  `k'  and <up> keys move the current message pointer
  1395.                    back to the previous message skipping  over  any  marked
  1396.                    deleted (also changing pages if needed)
  1397.  
  1398.  
  1399.              J,  K  These two keys work similarly to their lower case coun-
  1400.                    terparts, except that they don't skip over deleted  mes-
  1401.                    sages.
  1402.  
  1403.  
  1404.              l     Limit.   This  feature allows you to specify a subset of
  1405.                    the existing messages to be dealt  with.   For  example,
  1406.                    let's  say we had a folder with four hundred messages in
  1407.                    it, about four or five  different  subjects.   We  could
  1408.                    then  limit  what  we're dealing with by using the _l_i_m_i_t
  1409.                    command.  Pressing `l' would result in the prompt:
  1410.                         CCrriitteerriiaa::
  1411.                    to which we could answer ssuubbjjeecctt _s_t_r_i_n_g, ffrroomm _s_t_r_i_n_g  or
  1412.                    ttoo  _s_t_r_i_n_g.   In  our example, we could use ssuubbjjeecctt pprroo--
  1413.                    ggrraammmmiinngg as a criteria for selection.  Once we've limit-
  1414.                    ed  our  selections  down,  the screen will be rewritten
  1415.                    with just the selected messages and the  top  line  will
  1416.                    change to have a message like:
  1417.                     FFoollddeerr iiss ""==eellmm"" wwiitthh 9922 sshhoowwnn oouutt ooff 112244 [[EEllmm 22..22]]
  1418.                    We can further limit selections by entering further cri-
  1419.                    teria, each time using the _l_i_m_i_t option again.
  1420.  
  1421.                    To clear all the criteria and get back to the  `regular'
  1422.                    display,  simply enter _a_l_l as the limiting criteria.  It
  1423.                    should be noted that the selection based on ``to'' isn't
  1424.                    fully implemented for this version, so it is recommended
  1425.                    that users stay with ``subject'' and ``from'' as the ba-
  1426.                    sis for their criteria.
  1427.  
  1428.  
  1429.              m     Mail.   Send  mail to a specified user.  The prompt that
  1430.                    is associated with this command is  `Send  mail  to  :'.
  1431.                    Entering an alias name results in the full address being
  1432.                    rewritten in parenthesis immediately.   This  prompt  is
  1433.                    followed  by  `Subject:'  which allows the user to title
  1434.                    their note.  The final field is `Copies to: ', which al-
  1435.                    lows  other  people specified to receive "carbon copies"
  1436.                    of the message.  (See the _a_s_k_c_c option of the _._e_l_m_/_e_l_m_r_c
  1437.                    file  above.)   Upon entering all three items the editor
  1438.                    is invoked and the message can be composed.
  1439.  
  1440.  
  1441.              n     Next message that is not marked deleted: useful for dis-
  1442.                    playing  successive  messages  in a folder.  When issued
  1443.                    from the index screen, it displays the current  message,
  1444.                    and  then  when  issued while in the builtin pager or at
  1445.                    the end of a message (with either the builtin  pager  or
  1446.                    an  external pager), it will display the first screen of
  1447.  
  1448.  
  1449.           May 1, 1990                  Page 21
  1450.  
  1451.  
  1452.  
  1453.  
  1454.  
  1455.           Elm Reference Guide                                   Version 2.3
  1456.  
  1457.  
  1458.  
  1459.                    the next message not marked for deletion.
  1460.  
  1461.  
  1462.              o     Options.  This full-screen display allows you  to  alter
  1463.                    the  settings  of  a number of parameters, including the
  1464.                    current sorting method, the method  of  printing  files,
  1465.                    the calendar file, the save file, and so on.  It's self-
  1466.                    documenting (where have you heard _t_h_a_t before?) so isn't
  1467.                    explained in too much detail here.
  1468.  
  1469.  
  1470.              p     Print.  This allows you to print out the current message
  1471.                    or the tagged messages to a previously defined  printer.
  1472.                    (See  the section on the _._e_l_m_/_e_l_m_r_c discussing the _p_r_i_n_t
  1473.                    variable.)
  1474.  
  1475.  
  1476.              q     Quit.  If you in the pager, you are returned to the  in-
  1477.                    dex  screen.  If  you are on the index screen, _e_l_m quits
  1478.                    altogether.  However, if you have the  option  _a_s_k  set,
  1479.                    _e_l_m  first  prompts  you for the disposition of the mes-
  1480.                    sages in the current folder.  If any messages are marked
  1481.                    for  deletion, it will ask if you want them deleted.  If
  1482.                    the current folder is your incoming  mailbox,  you  will
  1483.                    also  be asked if read messages should be stored in your
  1484.                    _r_e_c_e_i_v_e_d_m_a_i_l folder, and if unread  messages  should  be
  1485.                    kept  in  the  incoming mailbox.  The default answers to
  1486.                    these questions are set by the  _._e_l_m_/_e_l_m_r_c  options  _a_l_-
  1487.                    _w_a_y_s_d_e_l_e_t_e,  _a_l_w_a_y_s_s_t_o_r_e,  and  _a_l_w_a_y_s_k_e_e_p.  However, if
  1488.                    you elect to not store your  read  messages  (i.e.  keep
  1489.                    them)  it  is presumed you want to keep your unread mes-
  1490.                    sages, too.
  1491.  
  1492.  
  1493.              Q     Quick quit.  This behaves similar to the `q' command ex-
  1494.                    cept that you are never prompted for answers to the mes-
  1495.                    sage disposition questions.  _E_l_m will  dispose  of  mes-
  1496.                    sages  according  to the values you have set for _a_l_w_a_y_s_-
  1497.                    _d_e_l_e_t_e, _a_l_w_a_y_s_s_t_o_r_e, and _a_l_w_a_y_s_k_e_e_p in  your  _._e_l_m_/_e_l_m_r_c
  1498.                    file.
  1499.  
  1500.  
  1501.              r     Reply.   Reply to the sender of the current message.  If
  1502.                    the _a_u_t_o_c_o_p_y flag is OFF in your  _._e_l_m_/_e_l_m_r_c  file,  the
  1503.                    program will prompt ``Copy message? (y/n)'' to which the
  1504.                    user can specify whether a copy of the source message is
  1505.                    to  be  copied  into the edit buffer, or not.  If copied
  1506.                    in, all lines from the message are  prepended  with  the
  1507.                    _p_r_e_f_i_x  character  sequence specified in your _._e_l_m_/_e_l_m_r_c
  1508.                    file.
  1509.  
  1510.  
  1511.              s     Save to folder.  This command is like  the  `copy'  com-
  1512.                    mand,  except  that  the  saved  messages are marked for
  1513.  
  1514.  
  1515.           May 1, 1990                  Page 22
  1516.  
  1517.  
  1518.  
  1519.  
  1520.  
  1521.           Elm Reference Guide                                   Version 2.3
  1522.  
  1523.  
  1524.  
  1525.                    deletion, and that if you are saving  just  the  current
  1526.                    message,  the current message pointer is incremented af-
  1527.                    terwards (see the _r_e_s_o_l_v_e option in the _._e_l_m_/_e_l_m_r_c  file
  1528.                    above).   This command expands folder names with `~' be-
  1529.                    ing your home directory and `=' being your  _m_a_i_l_d_i_r  di-
  1530.                    rectory,  if  defined.   This command also allows you to
  1531.                    use `>' for your _r_e_c_e_i_v_e_d_m_a_i_l folder and  `<'  for  your
  1532.                    _s_e_n_t_m_a_i_l folder.
  1533.  
  1534.  
  1535.              t     Tag.  Tag the current message for a later operation4.
  1536.  
  1537.  
  1538.              <control>-T
  1539.                    Tag  all  messages  containing  the  specified  pattern.
  1540.                    Since _t_a_g_g_i_n_g messages can occur on screens  other  than
  1541.                    the one being viewed, the _e_l_m system will first check to
  1542.                    see if any messages are currently _t_a_g_g_e_d and ask you  if
  1543.                    you'd  like  to remove those tags.  After that, it will,
  1544.                    similar to the _<_c_o_n_t_r_o_l_>_-_D function, prompt for  a  pat-
  1545.                    tern  to  match  and then mark for deletion all messages
  1546.                    that contain the (case insensitive)  pattern  in  either
  1547.                    the _f_r_o_m or _s_u_b_j_e_c_t lines.
  1548.  
  1549.  
  1550.              x     Exit.   This  leaves  _e_l_m  discarding any changes to the
  1551.                    mailbox.  If  changes  are  pending  (such  as  messages
  1552.                    marked  for  deletion)  a prompt is made to confirm dis-
  1553.                    carding the changes.   If  confirmed,  no  messages  are
  1554.                    deleted  and  the  statuses  of  messages are unchanged.
  1555.                    That is, any messages that were new will remain new  in-
  1556.                    stead  of being noted as old, and any messages that were
  1557.                    read for the first time will be again noted as unread.
  1558.  
  1559.  
  1560.              X     Exit immediately.  This leaves _e_l_m in the quickest  pos-
  1561.                    sible manner without even prompting about discarding the
  1562.                    changes to the mailbox.  No messages are deleted and the
  1563.                    statuses  of  messages are unchanged.  That is, any mes-
  1564.                    sages that were new will remain  new  instead  of  being
  1565.                    noted  as  old,  and any messages that were read for the
  1566.                    first time will be again noted as unread.
  1567.  
  1568.  
  1569.           When you are about to send of a message under the _f_o_r_w_a_r_d,  _m_a_i_l,
  1570.           or  _r_e_p_l_y commands (see above), a small menu of the following op-
  1571.           tions appears:
  1572.  
  1573.  
  1574.              c     Specify folder for saving a copy to.  This allows you to
  1575.                    override  the  _c_o_p_y,  _f_o_r_c_e_n_a_m_e  and _s_a_v_e_n_a_m_e options of
  1576.  
  1577.           __________
  1578.           4. Currently only _p_i_p_e, _p_r_i_n_t, and _s_a_v_e support this.
  1579.  
  1580.  
  1581.           May 1, 1990                  Page 23
  1582.  
  1583.  
  1584.  
  1585.  
  1586.  
  1587.           Elm Reference Guide                                   Version 2.3
  1588.  
  1589.  
  1590.  
  1591.                    your _._e_l_m_/_e_l_m_r_c file.  It prompts you for  the  name  of
  1592.                    the folder where a copy of the outgoing message is to be
  1593.                    saved.  The default displayed is taken from those  three
  1594.                    _._e_l_m_/_e_l_m_r_c options and can be changed.  This command al-
  1595.                    so allows you to use `>' for  your  _r_e_c_e_i_v_e_d_m_a_i_l  folder
  1596.                    and  `<'  for  your  _s_e_n_t_m_a_i_l  folder,  and `=?' to mean
  1597.                    ``conditionally save by name'' and `=' to mean  ``uncon-
  1598.                    ditionally  save  by  name''.  (See  the _s_a_v_e_n_a_m_e option
  1599.                    above for details on saving by name.)  (Since you  could
  1600.                    next  enter  the _e_d_i_t _h_e_a_d_e_r_s command and change the re-
  1601.                    cipients of your message, the name of the  folder  under
  1602.                    the  two ``save by name'' options is not established un-
  1603.                    til you enter the _s_e_n_d command.)  You can also enter `?'
  1604.                    at the prompt to list the names of your folders.
  1605.  
  1606.  
  1607.              f     Forget.   This  gets  you  out  of sending a message you
  1608.                    started. If you are in send-only mode,  the  message  is
  1609.                    saved to the file _C_a_n_c_e_l_l_e_d_._m_a_i_l in your home directory.
  1610.                    Otherwise it can be restored at the next _f_o_r_w_a_r_d,  _m_a_i_l,
  1611.                    or  _r_e_p_l_y command during the current session of _e_l_m. Af-
  1612.                    ter issuing one of those commands you will  be  prompted
  1613.                    with ``Recall last kept message?''
  1614.  
  1615.  
  1616.              e     Edit  message (or form).  Entering this command will al-
  1617.                    low you to edit the text of your message or form.
  1618.  
  1619.  
  1620.              h     Edit headers.  This puts you  into  the  _h_e_a_d_e_r  _e_d_i_t_i_n_g
  1621.                    _m_o_d_e, whereby you can edit to any of the various headers
  1622.                    of your message.  Like the options  screen,  it's  self-
  1623.                    documenting,  so  it  isn't explained in too much detail
  1624.                    here.
  1625.  
  1626.  
  1627.              m     Make form.  This converts the message  you  have  edited
  1628.                    into a form.  (See _T_h_e _E_l_m _F_o_r_m_s _M_o_d_e _G_u_i_d_e for more de-
  1629.                    tails.)
  1630.  
  1631.  
  1632.              s     Send.  This sends the message as is without any  further
  1633.                    ado.
  1634.  
  1635.  
  1636.           77..  UUssiinngg EEllmm wwiitthh ````eeddiittoorr == nnoonnee''''
  1637.  
  1638.           The _E_l_m program also supports a builtin editor for simple message
  1639.           composition that is very (very) similar to the simple line editor
  1640.           available from the _B_e_r_k_e_l_e_y _M_a_i_l system.
  1641.  
  1642.           To  access it, you need merely to specify ``_e_d_i_t_o_r_=_n_o_n_e'' in your
  1643.           _._e_l_m_/_e_l_m_r_c file.  With that, any messages  to  be  composed  that
  1644.           don't  already  have  text  in the buffer (e.g. no reply with the
  1645.  
  1646.  
  1647.           May 1, 1990                  Page 24
  1648.  
  1649.  
  1650.  
  1651.  
  1652.  
  1653.           Elm Reference Guide                                   Version 2.3
  1654.  
  1655.  
  1656.  
  1657.           text included, etc), will use this editor.
  1658.  
  1659.           From the builtin editor, the following options are available  for
  1660.           use.   Each command here is prefixed with a `~'.  You can specify
  1661.           a different ``escape'' character in your _._e_l_m_/_e_l_m_r_c file, if  you
  1662.           desire (see above).
  1663.  
  1664.  
  1665.  
  1666.             ~? Print a brief help menu.
  1667.  
  1668.  
  1669.             ~b Change the Blind-Carbon-Copy list.
  1670.  
  1671.  
  1672.             ~c Change the Carbon-Copy list.
  1673.  
  1674.  
  1675.             ~e Invoke the Emacs editor on the message, if possible.
  1676.  
  1677.  
  1678.             ~f Add the specified message or current message.
  1679.  
  1680.  
  1681.             ~h Change all the available headers (To, Cc, Bcc, and Subject).
  1682.  
  1683.  
  1684.             ~m Same as `~f', but with the current `prefix'.
  1685.  
  1686.  
  1687.             ~o Invoke a user specified editor on the message.
  1688.  
  1689.  
  1690.             ~p Print out the message as typed in so far.
  1691.  
  1692.  
  1693.             ~r Include (read in) the contents of the specified file.
  1694.  
  1695.  
  1696.             ~s Change the Subject line.
  1697.  
  1698.  
  1699.             ~t Change the To list.
  1700.  
  1701.  
  1702.             ~v Invoke the Vi visual editor on the message.
  1703.  
  1704.  
  1705.             ~< Execute the specified unix command, entering the  output  of
  1706.                the  command  into  the editor buffer upon completion.  (For
  1707.                example ``~< who'' will include the output of the  _w_h_o  com-
  1708.                mand in your message.)
  1709.  
  1710.  
  1711.  
  1712.  
  1713.           May 1, 1990                  Page 25
  1714.  
  1715.  
  1716.  
  1717.  
  1718.  
  1719.           Elm Reference Guide                                   Version 2.3
  1720.  
  1721.  
  1722.  
  1723.             ~! Execute  a  unix command if one is given (as in ``~!ls'') or
  1724.                give the user a shell (either from their  shell  setting  in
  1725.                their _._e_l_m_/_e_l_m_r_c file or the default).
  1726.  
  1727.  
  1728.             ~~ Add a line prefixed by a single `~' character.
  1729.  
  1730.           A  useful  note  is  that  the  `~f' and `~m' commands invoke the
  1731.           _r_e_a_d_m_s_g command, so you can pass parameters along too.  For exam-
  1732.           ple,  if  we  wanted  to  include a message from Joe, without any
  1733.           headers, prefixed, we could use:
  1734.                ~m -n Joe
  1735.           to accomplish the task.
  1736.  
  1737.           To learn more about how they work, try 'em!
  1738.  
  1739.  
  1740.           88..  TThhee AAlliiaass SSyysstteemm
  1741.  
  1742.           As mentioned previously, there exists in the _e_l_m system a set  of
  1743.           aliases that associate an arbitrary word (such as a persons name)
  1744.           to a complex address or group.  The advantages are readily appar-
  1745.           ent; rather than remembering an address of the form:
  1746.                hhoosstt11!!hhoosstt22!! ...... !!hhoossttNN!!uusseerr
  1747.           the user merely has to remember a single word.
  1748.  
  1749.           Two alias tables are available for a each user within _e_l_m, namely
  1750.           the system alias file and the  user's  alias  file.   The  system
  1751.           alias  file  is created and maintained (by the system administra-
  1752.           tor) by editing the file _S_Y_S_T_E_M___A_L_I_A_S_E_S as defined in  the  `sys-
  1753.           defs.h'  file  (see _T_h_e _E_l_m _C_o_n_f_i_g_u_r_a_t_i_o_n _G_u_i_d_e) and as described
  1754.           in the documentation with the _n_e_w_a_l_i_a_s command, then running  the
  1755.           _n_e_w_a_l_i_a_s program.
  1756.  
  1757.           An  individual  user  can  also have an alias file which works in
  1758.           conjunction with the system aliases.  To do this, they need mere-
  1759.           ly  to peruse the documentation for the _n_e_w_a_l_i_a_s command and cre-
  1760.           ate a file as indicated therein.  After  executing  the  program,
  1761.           the aliases will be available for using from within _e_l_m.
  1762.  
  1763.           Please  refer to _T_h_e _E_l_m _A_l_i_a_s _U_s_e_r_s _G_u_i_d_e for more helpful hints
  1764.           and so on.
  1765.  
  1766.  
  1767.           Within _e_l_m, however, the alias system acts as an entirely differ-
  1768.           ent  program, with it's own commands and own mini-menu.  The menu
  1769.           replaces the standard mini-menu with:
  1770.  
  1771.  
  1772.  
  1773.  
  1774.  
  1775.  
  1776.  
  1777.  
  1778.  
  1779.           May 1, 1990                  Page 26
  1780.  
  1781.  
  1782.  
  1783.  
  1784.  
  1785.           Elm Reference Guide                                   Version 2.3
  1786.  
  1787.  
  1788.  
  1789.                ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  1790.  
  1791.                                         AAlliiaass ccoommmmaannddss
  1792.  
  1793.                aa))lliiaass ccuurrrreenntt mmeessssaaggee,, dd))eelleettee aann aalliiaass,, cchheecckk aa pp))eerrssoonn oorr ss))yysstteemm,,
  1794.                       ll))iisstt eexxiissttiinngg aalliiaasseess,, mm))aakkee nneeww aalliiaass oorr rr))eettuurrnn
  1795.  
  1796.  
  1797.                AAlliiaass:: @@
  1798.                ----------------------------------------------------------------------------------------------------------------------------------------------------------------
  1799.  
  1800.  
  1801.           The commands are:
  1802.  
  1803.  
  1804.             a  Alias current message.  This allows the user  to  create  an
  1805.                alias  that has the return address of the current message as
  1806.                the address field of the alias.  It  prompts  for  a  unique
  1807.                alias  name.    Important note: when you alias an address in
  1808.                this fashion, the mailer will try to minimize the amount  it
  1809.                needs to store by iteratively comparing machine names in the
  1810.                path with the machines in the pathalias database.   Once  it
  1811.                finds  an  entry  the  address  will be saved at that point.
  1812.                For further information, please see  _T_h_e  _E_l_m  _A_l_i_a_s  _S_y_s_t_e_m
  1813.                _U_s_e_r_s _G_u_i_d_e.
  1814.  
  1815.  
  1816.             d  Delete an existing alias.  This allows the user to delete an
  1817.                alias the user has previously  made.   It  prompts  for  the
  1818.                alias  name,  and  displays the alias information, if found,
  1819.                and then prompts for confirmation to delete.
  1820.  
  1821.  
  1822.             l  List all existing aliases.  This simply lists all the alias-
  1823.                es you have previously made.
  1824.  
  1825.  
  1826.             m  Make  user  alias.  This will prompt for a unique alias name
  1827.                and then for an address.  The information provided  will  be
  1828.                added     to     your     individual    aliases.text    file
  1829.                (_$_H_O_M_E_/_._e_l_m_/_a_l_i_a_s_e_s_._t_e_x_t) and then added to the database.
  1830.  
  1831.  
  1832.             p  Check personal alias.  This is a simple way of checking what
  1833.                is  in  the  alias database -- it prompts for an alias name,
  1834.                and returns the address associated with that name or the er-
  1835.                ror message `alias not found' as appropriate.
  1836.  
  1837.  
  1838.             r  Return.  Return to the main level of the _e_l_m program.
  1839.  
  1840.  
  1841.             s  Check  system  alias.   If you're not sure that your machine
  1842.                can talk to another machine, you can  use  this  command  to
  1843.  
  1844.  
  1845.           May 1, 1990                  Page 27
  1846.  
  1847.  
  1848.  
  1849.  
  1850.  
  1851.           Elm Reference Guide                                   Version 2.3
  1852.  
  1853.  
  1854.  
  1855.                either  find  the appropriate route or find that you're cor-
  1856.                rect in your suspicions and it is indeed unknown!
  1857.  
  1858.  
  1859.           99..  WWhhiillee WWee''rree TTaallkkiinngg AAlliiaasseess......
  1860.  
  1861.           Another feature worthy of discussion,  since  it's  been  getting
  1862.           lots  of veiled references throughout this document, is the host-
  1863.           path  file.   This  is  implemented  using  the  uucp   pathalias
  1864.           database, with a file containing lines with the format:
  1865.                _h_o_s_t_n_a_m_e        _a_d_d_r_e_s_s!!%%ss
  1866.             or
  1867.                _h_o_s_t_n_a_m_e        %%ss@@_h_o_s_t_n_a_m_e
  1868.           The  actual  details  of the file are located in _T_h_e _A_l_i_a_s _S_y_s_t_e_m
  1869.           _U_s_e_r_s _G_u_i_d_e.
  1870.  
  1871.           Anyway, to use them is quite simple...when specifying the address
  1872.           of  someone, you can either have an alias for them already, reply
  1873.           to their message, or use the system alias feature!
  1874.  
  1875.           Enough hype, right?  Okay...to use this feature, you  specify  an
  1876.           address  by either "machine!person" ignoring if your specific ma-
  1877.           chine can talk directly to the machine specified, or, if you pre-
  1878.           fer  the  Internet addressing scheme, "person@machine".  When you
  1879.           enter the address as specified, the mailer  will  quickly  search
  1880.           through  the pathalias database file and expand the specified ad-
  1881.           dress to be a legitimate routing address.
  1882.  
  1883.           What's really nice about this is that the address that we're  go-
  1884.           ing to send to can be either on ARPA, CSNET, BITNET, uucp, or any
  1885.           other network.  The method of specifying the basic address is the
  1886.           same regardless!
  1887.  
  1888.           For  example,  mail to me could be sent as either "hplabs!taylor"
  1889.           or "taylor@hplabs".  _e_l_m will expand them both in the same manner
  1890.           and include a ``route'' to the machine _h_p_l_a_b_s, if needed.
  1891.  
  1892.           For those sites with the domains database installed, you can also
  1893.           mail to users on domain based systems by simply specifying  their
  1894.           name, the machine they receive mail on and a full domain specifi-
  1895.           cation.
  1896.  
  1897.           For example, say you have a friend Maurice who reads mail on JOE-
  1898.           VAX in the Mailnet world.  You could mail to him by using the ad-
  1899.           dress "Maurice@JOEVAX.MAILNET" and your system  will  expand  the
  1900.           address correctly.
  1901.  
  1902.  
  1903.           1100..  EExxppeerrtt MMaaiill UUsseerrss aanndd DDeebbuuggggiinngg tthhee MMaaiilleerr
  1904.  
  1905.           There  are some additional facilities available in the _e_l_m mailer
  1906.           for those people who are knowledgeable about mail  protocols,  or
  1907.           trying to debug/track down a problem.
  1908.  
  1909.  
  1910.  
  1911.           May 1, 1990                  Page 28
  1912.  
  1913.  
  1914.  
  1915.  
  1916.  
  1917.           Elm Reference Guide                                   Version 2.3
  1918.  
  1919.  
  1920.  
  1921.           The `h' _h_e_a_d_e_r_s command at the outermost level of the mailer will
  1922.           display the current message ignoring the current setting  of  the
  1923.           `weed'  option.   This  is most useful for answering questions of
  1924.           the form "I wonder what this guy put in his  header?"  and  such.
  1925.           This  command  does  not  show  up on the mini-menu because it is
  1926.           somewhat esoteric, but it does appear on the `?' help screen (can
  1927.           you find it there, though?).
  1928.  
  1929.           The  `@' command at the outermost level of the mailer will output
  1930.           a screen of debugging information, including the number of  lines
  1931.           and offsets of each of the messages in the current mailbox.
  1932.  
  1933.           The `#' command at the outermost level of the mailer will display
  1934.           the entire stored `record structure' for the current message.
  1935.  
  1936.           The `%' command will display the full computed return address  of
  1937.           the current message.
  1938.  
  1939.           Starting  up  _e_l_m  with  the "-d" debug option will create a file
  1940.           called _E_L_M_:_d_e_b_u_g_._i_n_f_o in your home directory and contain a wealth
  1941.           of  useful information (to me, at least!) to aid in tracking down
  1942.           what errors are occurring and why.
  1943.  
  1944.  
  1945.           If there are any problems with the mailer,  please try to  recre-
  1946.           ate  the error with the debug option enabled and set to the high-
  1947.           est level (11) before sending defect reports my way.
  1948.  
  1949.  
  1950.  
  1951.           One final note: all error names reported by the program are docu-
  1952.           mented in the AT&T System V Interface Definition Reference Manual
  1953.           in _e_r_r_n_o(2).
  1954.  
  1955.  
  1956.  
  1957.  
  1958.  
  1959.  
  1960.  
  1961.  
  1962.  
  1963.  
  1964.  
  1965.  
  1966.  
  1967.  
  1968.  
  1969.  
  1970.  
  1971.  
  1972.  
  1973.  
  1974.  
  1975.  
  1976.  
  1977.           May 1, 1990                  Page 29
  1978.  
  1979.  
  1980.  
  1981.