home *** CD-ROM | disk | FTP | other *** search
/ ProfitPress Mega CDROM2 …eeware (MSDOS)(1992)(Eng) / ProfitPress-MegaCDROM2.B6I / MISC / NETWORK / PCELM301.ZIP / PCELM.MAN < prev    next >
Encoding:
Text File  |  1992-01-04  |  39.9 KB  |  962 lines

  1. PCElm 3.01 - Installation and User Manual
  2.  
  3.  
  4. 0) Files
  5. 1) About PCElm and where and how to get it
  6. 2) History and Version Numbers
  7. 3) Installation
  8.     3.1 Configuration File
  9.     3.2 Environment Variables
  10.     3.3 Other Files
  11.     3.4 Starting PCElm
  12. 4) Using PCElm
  13. 5) Troubleshooting
  14. 6) Notes for interfacing with UUCP
  15. 7) Languages
  16. 8) Credits
  17. 9) The Future
  18.  
  19.  
  20. 0) Files
  21.     This package contains the following files:
  22.  
  23.     Name            Description
  24.     ----------------------------------------------------------------
  25.     !README         A plea to read the manual _before_ using PCElm
  26.     ALIAS           Example alias file
  27.     MARVIN   SIG    Example signature file
  28.     PCELM    RC     PCElm configuration file
  29.     PCELM    DEU    PCElm message file, german language
  30.     PCELM    ENG    PCElm message file, english language
  31.     PCELM    MAN    PCElm installation and user manual
  32.     PCELM    EXE    PCElm executable
  33.  
  34.  
  35. 1) About PCElm and where and how to get it
  36.     PCElm is a mail user agent (UA) with a user interface closely
  37.     modeled after the USENET ELM. To avoid confusion, we would like to
  38.     mention that PCElm and USENET ELM are *not* related.
  39.  
  40.     PCElm is intended to be used as a drop-in replacement for BM when
  41.     using the KA9Q NOS package or as a replacement for mail.exe when
  42.     using UUPC. It can also be used for other mailsystems, as all relevant
  43.     things for compatibility with MTA's (Message Transfer Agents) are
  44.     configurable.
  45.  
  46.     Hilights:
  47.     PCElm has a nice user interface, with easy to learn and easy to use
  48.     commands. UN*X users will already be familiar with the more important
  49.     commands. It can be made to work with just about every mail system
  50.     there is for PC's, as PCElm makes no assumptions at all about the
  51.     underlying network software. Finally, PCElm is multilingual; you can
  52.     make all messages appear in your favorite language. Message files
  53.     for English and German currently exist.
  54.  
  55.     PCElm in hamradio mode creates text- and workfiles directly usable
  56.     by NET or NOS for distribution with SMTP. In UUCP mode, PCElm
  57.     execs a uucp mailer (usually rmail.exe) to feed mail to your
  58.     uucp program. Since there are many uucp programs for PCs out there,
  59.     it is up to you to find the right way to exec the mailer (See the
  60.     discussion on the uucpcall parameter below). As our knowledge
  61.     of UUPC, WAFFLE etc. is limited, we can't help there.
  62.  
  63.     PCElm is Copyright (C) 1988,89,90,91,92 by Wolfgang Siebeck and
  64.     Martin Freiss.
  65.  
  66.     The executable pcelm.exe may be freely copied and distributed, provided
  67.     that all files in this package are distributed with it and provided that
  68.     the copyright notices are retained. No money may be charged for copying
  69.     PCElm. A license is given to use PCElm for an unlimited time in
  70.     non-commercial environments.
  71.  
  72.     No warranty, expressed or implied, is given that PCElm does what you
  73.     think it does. The usual disclaimers apply: It works for us.
  74.  
  75.     Should you want or need support in setting up PCElm beyond the scope
  76.     of this manual, want us to include special features in PCElm, want
  77.     to include PCElm with your product or otherwise use PCElm in a
  78.     commercial environment (i.e. make money out of people using PCElm),
  79.     contact us.
  80.  
  81.     If you need support from us, we would request that you register PCElm
  82.     with us for a fee of 10$ or the equivalent amount in your favorite
  83.     currency (20 DM or 6 british pounds at current rates). No checks or MO's
  84.     please; exchange fees for foreign currency checks are more than 10$
  85.     over here. Cash in an airmail letter is preferred.
  86.     A (rather nice) printed manual is available from Wolfgang Siebeck to
  87.     registered users for an additional fee of $7.
  88.     Registered users will get advance notice of bug fixes and new releases
  89.     if we know their email address.
  90.  
  91.     If you don't need support, we wouldn't complain about a donation
  92.     either :-)
  93.  
  94.     If you would like the source code (C, with Turbo C 2.0((C) Borland) or
  95.     later versions, Borland C++ recommended), the fee is 30$.
  96.       The rationale behind this is that support costs us both time and money
  97.     (as you might know, Germany has the highest postal and telephone charges
  98.     in the world). 2 Emails of 5 KB length to overseas already eat up the
  99.     10$.
  100.  
  101.     We can be reached at
  102.  
  103.     Wolfgang Siebeck        -or-    Martin Freiss
  104.     Rosstr. 38-40                   Muehlenfloessstr. 60
  105.     D-W 5100 Aachen                 D-W 4792 Bad Lippspringe
  106.     Germany                         Germany
  107.  
  108.     Email:
  109.     siebeck@infoac.rmi.de           freiss.pad@sni.de
  110.  
  111.     Email is preferred.
  112.  
  113.     Bug reports are welcome if they are complete, i.e. please specify
  114.     all configuration parameters, your hardware, version of NOS or uucp
  115.     software, and send an excerpt of the mailbox you are having trouble
  116.     with if necessary. We can't fix bugs we can't reproduce.
  117.     Suggestions for enhancements to PCElm are of course also welcome.
  118.  
  119. 2) History and Version Numbers
  120.  
  121.     PCElm was originally based on BM, Bdales Mailer, by Barksdale Garbee II,
  122.     N3EUA, version 3.0, reworked by Gerard van der Grinten, PA0GRI,
  123.     Phil Karn, KA9Q, and Dave Trulli, NN2Z. BM at that time was a UNIX mail
  124.     lookalike with a restricted set of commands.
  125.  
  126.     Someday in early 1988, Martin added a reply-include-old-message command
  127.     to BM, and later that year, with the advent of Turbo C 1.5, Wolfgang
  128.     Siebeck devised the user interface modeled after Dave Taylor's ELM.
  129.     Creeping featurism then set in, and more and more capabilities were
  130.     added, until all resemblances to BM ceased to exist. This mailer
  131.     was then renamed to PCElm.
  132.  
  133.     The version number went to 1.9 in middle 1989 and stopped there.
  134.     We had no real use for PCElm any more then, as we both had bigger
  135.     computers than PCs to play around with at that time :-).
  136.     PCElm at this time had never been officially distributed, we just gave
  137.     some copies to friends in Germany and the Netherlands.
  138.  
  139.     Imagine our surprise, when, in 1990, mail began to trickle in from
  140.     PCElm users in Britain and the US and it developed that there was a
  141.     large user community.
  142.     In late 1990 Kelvin Hill, G1EMM, took over development of PCElm, as
  143.     we did not have time to develop PCElm further.
  144.  
  145.     Sadly, Kelvin dropped development in early 1991 due to work
  146.     pressure. At that time, he had developed versions 2.0 to 2.2 and
  147.     distributed them. Unluckily enough, we don't know what's in these
  148.     versions. Rumour has it that Kelvin intended to incorporate a news
  149.     reader for use with KA9Q NOS's NNTP capabilities, but to our
  150.     knowledge this did not happen.
  151.  
  152.     PCElm 3.0 was then written in August 1991, again by Wolfgang Siebeck
  153.     and Martin Freiss. PCElm 3.0 is the 'official' son of PCElm 1.9a.
  154.     We hope that this will end the version number confusion regarding
  155.     PCElm.
  156.  
  157. 3) Installation
  158.  
  159.     First, set the environment variable HOME to point to the directory
  160.     where PCElm's configuration file and alias file reside.
  161.     This environment variable is mandatory! PCElm will not start up
  162.     without it (see also 3.2, environment variables).
  163.     Example:
  164.     set HOME=d:\usr\marvin
  165.  
  166.     'CD' to your home directory, if you are not already there.
  167.     Then, select the language you want to use by copying or renaming the
  168.     appropriate message file to 'pcelm.msg'. The message files 'pcelm.eng'
  169.     (English) and 'pcelm.deu' (German) are included in this distribution.
  170.     Example:
  171.     cd \usr\marvin
  172.     copy pcelm.eng pcelm.msg
  173.  
  174.     For this manual, we assume that you are using the English language.
  175.     If you want to use another language, read chapter 7 first, which
  176.     discusses setups for foreign languages in more detail.
  177.  
  178.     3.1 Configuration File
  179.     ----------------------
  180.     PCElm needs to know a lot of things about your MTA and your computer
  181.     to function properly.
  182.  
  183.     You need to configure PCElm's configuration file, pcelm.rc, before
  184.     starting PCElm for the first time. DO NOT USE THE EXAMPLE pcelm.rc
  185.     DISTRIBUTED IN THIS PACKAGE AS-IS. Edit it first with an ASCII-Editor
  186.     of your choice.
  187.  
  188.     pcelm.rc is a pure ASCII-file. Lines that start with a hash '#' or
  189.     empty lines are regarded as comments.
  190.  
  191.     Other lines are of the form <keyword><blank><information>. The
  192.     keywords that PCElm knows about are explained in detail below.
  193.     Note that ASCII space is used as a delimiter; if you need to include
  194.     a space in the information field, you can put double quotes '"'
  195.     around it. If (for whatever reason) you need to insert control
  196.     characters into a line, write them as escaped decimals (i.e.
  197.     \001 would be Ctrl-A). Some more escapes PCElm knows about are
  198.     \n, newline, \r, carriage return, \\ backslash, and \t, tab.
  199.     Note that PCElm likes slashes in pathnames, not backslashes, i.e.
  200.     you must write a path like "c:\spool\mail" as "c:/spool/mail".
  201.     Example:
  202.     SOH-UUCP "From "
  203.     Keywords are case insensitive.
  204.     Keyword is one of:
  205.  
  206.     HOST
  207.     ----
  208.     This is the hostname to be used for the hamradio mode. It usually
  209.     is your callsign followed by .ampr.org, as in "dg5kx.ampr.org"
  210.     Example:
  211.     host dg5kx.ampr.org
  212.  
  213.     UUCPHOST
  214.     --------
  215.     This is the hostname to be used for uucp mode. Note: traditional
  216.     uucp hostnames need to be unique, so know what you are doing here.
  217.     This is usually either your hostname followed by .uucp as in
  218.     "dg5kx.uucp" or a fully qualified domain name (FQDN) as in
  219.     "dg5kx.rmi.de".
  220.     Example:
  221.     uucphost dg5kx.uucp
  222.  
  223.     USER
  224.     ----
  225.     This is the name of your mailbox. It usually is your username (login)
  226.     at this system. (Note that this puts an 8 character length restriction
  227.     on your username, as MessDOS can't handle more characters).
  228.     If this entry is commented out, the value of the environment variable
  229.     'mailbox' is used.
  230.     Example:
  231.     user marvin
  232.  
  233.     FULLNAME
  234.     --------
  235.     Your real life name belongs here. This is so that other people can see
  236.     who you really are, even if your username is 'gandalf' or 'blackadder'.
  237.     (No disrespect meant if you are really called Gandalf).
  238.     If this entry is commented out, the value of the environment variable
  239.     'name' is used.
  240.     Example:
  241.     fullname "Martin W Freiss"
  242.  
  243.     REPLY
  244.     -----
  245.     Use this if you want replies to your messages to go to another machine
  246.     or if you are on a network where headers are mangled so badly people
  247.     can't reply to you otherwise. If you aren't sure, set it to your
  248.     own email address.
  249.     Example:
  250.     reply freiss.pad@sni.de
  251.  
  252.     ZONE
  253.     ----
  254.     The timezone you are living in. Should be 3 characters, not more, not less.
  255.     There is an ISO standard for time zone names if memory serves me correctly,
  256.     but the ISO number escapes me.
  257.     Example:
  258.     zone MET
  259.  
  260.     MAXLET
  261.     ------
  262.     The maximum number of messages that may be in a mailbox at once.
  263.     Decrease this number if you are short on memory. PCElm startup will slow
  264.     down considerably if have a huge mailbox; on the other hand I doubt
  265.     anybody can find his way around 300 messages in a single mailbox.
  266.     Example:
  267.     maxlet 300
  268.  
  269.     EDIT
  270.     ----
  271.     The filename of your favorite editor goes here, This should be a small
  272.     editor capable of producing true ASCII files (if possible with no
  273.     Control-Z at the end, though PCElm tries to zap Ctrl-Z's if it sees them).
  274.     What I'm trying to convey here is that Word for Windows ((C) Microsoft)
  275.     is not the sort of thing you want to put here.
  276.     If this entry is commented out, the value of the environment variable
  277.     'editor' is used.
  278.     If you don't have an editor handy (edlin doesn't count :-)), try
  279.     builtin+
  280.     as editor. This is a small full screen editor that is hardcoded into
  281.     PCElm. Nothing fancy, and it still has some raw edges, but it works.
  282.     See end of chapter 4 for a brief discussion of the commands the
  283.     editor understands.
  284.     Example:
  285.     edit dte
  286.  
  287.     SMTP
  288.     ----
  289.     This is where you put the directory where your mailboxes reside. All
  290.     mailboxes, i.e. both the hamradio and uucp mailboxes should be in one
  291.     directory.
  292.     If this entry is commented out, the value of the environment variable
  293.     'maildir' is used.
  294.     (Don't worry about the curious name SMTP. It's called that way for
  295.     historical reasons and compatibility with BM).
  296.     Example:
  297.     smtp c:/spool/mail
  298.  
  299.     QUEUEDIR
  300.     --------
  301.     This is where you put the directory where outgoing mail gets queued up.
  302.     Typically, this is called /spool/mqueue or something like that. This is
  303.     for hamradio mode only; in UUCP mode, the exterior mailer determines
  304.     where it queues mail.
  305.     Example:
  306.     queuedir c:/spool/mqueue
  307.  
  308.     VIDEO
  309.     -----
  310.     Put a 1 here if you want direct writes into video ram, which is fast
  311.     but tends to confuse CGAs and not-so-very-compatible PCs. A 0 will
  312.     do all video updates through the BIOS, which is painfully slow.
  313.     Example:
  314.     video 1
  315.  
  316.     SOH-UUCP
  317.     --------
  318.     This is a sequence of words that tell PCElm that a new message begins.
  319.     Uh.. message delimiter is the word I was looking for. Usually "From ",
  320.     but may be anything at all if you are using weird mailers.
  321.     If you have MMDF-style mailboxes (like in UUPC/extended), use the special
  322.     keyword mmdf; otherwise, "From " (note the blank) or "Received "
  323.     usually work.
  324.     Example:
  325.     SOH-UUCP "From "
  326.     ( or, if you are using UUPC/extended,
  327.     SOH-UUCP mmdf                )
  328.  
  329.     SOH-HAM
  330.     -------
  331.     See above, but for ham radio.
  332.     Example:
  333.     SOH-ham "From "
  334.  
  335.     HAM-EXT
  336.     -------
  337.     Extension for amateur radio
  338.     The file extension your mailbox file has goes here. A mailbox is
  339.     constructed from your username with the extension defined here appended to
  340.     it. Note that even if your mailbox has no extension, you still need
  341.     to define the dot "." as extension ! The dot is mandatory.
  342.     Example:
  343.     ham-ext ".txt"
  344.  
  345.     UUCP-EXT
  346.     --------
  347.     Extension for UUCP
  348.     See above, but for uucp.
  349.     UUPC usually has no extension, so we just define the dot as extension.
  350.     Example:
  351.     uucp-ext "."
  352.  
  353.     START
  354.     -----
  355.     Startmode for PCElm. If Startmode is "uucp", PCElm will start in
  356.     uucp mode; anything else will cause PCElm to start in hamradio mode.
  357.     Example:
  358.     START hamradio
  359.  
  360.     COLORS
  361.     ------
  362.     Define various colours for display:
  363.     The numbers below are hexadecimal numbers defining a foreground and
  364.     background colour for various scenarios. The routine determining the
  365.     colours is quite simpleminded, so please don't use spaces here.
  366.  
  367.     If you are confused as to what to enter here, either leave it alone
  368.     or consult an IBM PC programming manual as to how these numbers are
  369.     arrived at.
  370.  
  371.     The color codes are as follows:
  372.  
  373.       Background    |    Foreground
  374.     ---------------------------------
  375.     0   0   0   1   |   1   1   1   1 ---> 0x1f ---> Bright white on blue
  376.     ---------------------------------
  377.     B   R   G   B   |   I   R   G   B
  378.     L   E   R   L   |   N   E   R   L
  379.     I   D   E   U   |   T   D   E   U
  380.     N       E   E   |   E       E   E
  381.     K       N       |   N       N
  382.  
  383.     This will definitely get more comfortable to configure in a later version
  384.     of PCElm.
  385.  
  386.     Values are: normal screen, bold, more prompt, default at exit,
  387.     selection bar.
  388.  
  389.     Example:
  390.     COLORS 1f,4f,2f,07,6f
  391.  
  392.     UUCPCALL
  393.     --------
  394.     Format of uucp command
  395.     Supported macros are:
  396.     $   filename containing message header and body
  397.     %   name of recipient
  398.     &   subject of message (you shouldn't need this)
  399.  
  400.     PCElm constructs the workfiles and messagefiles that KA9Q NET and NOS
  401.     needs by itself, but execs an exterior mailer in uucp mode so that
  402.     headers peculiar to your particular implementation of uucp (or whatever)
  403.     can be written. The exterior mailer is usually called rmail.exe or
  404.     mail.exe. The macros $, & and % are expanded _once_, they may not occur
  405.     multiple times in this line.
  406.     For my version of UUPC (quite old), the following line works.
  407.     Example:
  408.     uucpcall "rmail % < $"
  409.  
  410.     or, try
  411.  
  412.     uucpcall "rmail -f $ %"
  413.  
  414.     for UUPC/extended newer versions. This works with UUPC/extended 1.11k
  415.     and foregoes the need for a temporary file (should be a little bit
  416.     faster).
  417.  
  418.     SEQUENCE
  419.     --------
  420.     Name of sequence file.
  421.     This is the file where the numbers for message id's are stored.
  422.     It is located in the mail spool directory.
  423.     Example:
  424.     sequence sequence.seq
  425.  
  426.     PRINT
  427.     -----
  428.     Name of print device.
  429.     Put the device name of your line printer here, e.g. LPT1, LPT2 or
  430.     LPT3. If you want to connect a serial printer, use 'mode' (the DOS
  431.     command) to tie a serial port to a LPT device.
  432.     Example:
  433.     print lpt1
  434.  
  435.     WEEDOUT
  436.     -------
  437.     Headerlines to hide.
  438.     A weedout list is a list of headerlines that you don't want to see
  439.     when mail is displayed. It is annoying to get mail with 2 lines of text
  440.     and 60 lines of header; using weedout you can shrink the displayed
  441.     headers to just a few lines or nothing at all.
  442.     Put the beginning of the headerline(s) after the weedout directive,
  443.     and remember you need to quote the weedout list if there are spaces
  444.     in it!
  445.     Example:
  446.     weedout "Reply-To: Message-Id: From: To: Subject: Received: From\32"
  447.  
  448.     With this example, you just get to see the Date: line, Status: line
  449.     and X- headerlines if present.
  450.  
  451.  
  452.     3.2 Environment Variables
  453.     -------------------------
  454.     The environment variable HOME is mandatory. It must be set to the
  455.     directory where the configuration file pcelm.rc resides. The alias
  456.     file for mail aliases is also expected in the HOME directory.
  457.     At the DOS prompt, type "set home=<your_home_directory>" or include
  458.     that line in your autoexec.bat.
  459.     Example:
  460.     set home=d:\usr\marvin
  461.  
  462.     As you may have noticed in 3.1, PCElm can also take some configuration
  463.     parameters from environment variables. This is for backwards compatibility
  464.     with older versions of PCElm. If a configuration parameter is specified
  465.     both in an environment variable and in pcelm.rc, pcelm.rc wins.
  466.  
  467.     3.3 Other Files
  468.     ---------------
  469.     PCElm currently knows about three other files:
  470.  
  471.     ALIAS
  472.     -----
  473.     You can define aliases for often-used mail addresses, so that you need
  474.     not type the complete email address all the time. This is especially
  475.     convenient for mailings to a group of recipients.
  476.  
  477.     The alias file is called 'alias' and resides in your HOME directory.
  478.  
  479.     Lines in the alias file beginning with a hash '#' are taken to be comments.
  480.     All other lines have the format
  481.     <alias> <1st recipient> <2nd recipient> ...
  482.  
  483.     Example:
  484.     # This is my alias file
  485.     hikaru dg2kk@dg2kk.ampr.org
  486.     marvin marvin@dg5kx.ampr.org
  487.     martin freiss.pad@sni.de
  488.     andrew andrew@omega.uucp
  489.     #
  490.     broadcast dg2kk@dg2kk.ampr.org siebeck@infoac.rmi.de rmohr@infoac.rmi.de
  491.  
  492.     Note that aliases may not extend over more than one line. Maximum line
  493.     length is 127 characters. Aliases are not resolved recursively, i.e.
  494.     the recipient may not be yet another alias.
  495.  
  496.     SIGNATURE
  497.     ---------
  498.     A signature is automatically appended to your mails, if a signature
  499.     file is present. The signature file must be in your HOME directory
  500.     and has the name <username>.sig; i.e. if your username (see USER
  501.     in pcelm.rc) is marvin, the signature file is called marvin.sig .
  502.         There is no length restriction on signatures; however signatures
  503.     longer than 4 lines are generally frowned upon.
  504.  
  505.     The signature, if present, should contain your name and email address.
  506.  
  507.     PCELM.MSG
  508.     ---------
  509.     This is the message file. If you are installing a language other than
  510.     English, be sure to read chapter 7.
  511.     As detailed at the beginning of chapter 3, copy one of the supplied
  512.     message files pcelm.eng or pcelm.deu to pcelm.msg.
  513.     The message file must be in the HOME directory. Note that this makes
  514.     it possible for each user to use PCElm in his native language.
  515.  
  516.  
  517.     3.4 Starting PCElm
  518.     ------------------
  519.     Now you are ready to start PCElm. Run it on a copy of your mailbox
  520.     first, so that you won't lose your mail if something goes wrong.
  521.     Just type pcelm to start, no commandline arguments are necessary.
  522.  
  523.  
  524. 4) Using PCElm
  525.  
  526.     Though PCElm is written for interactive use, you can also use it to
  527.     send mail from batch files or from the command line.
  528.     Type
  529.     pcelm <recipient> <subject> < filename
  530.     or
  531.     type filename | pcelm <recipient> <subject>
  532.     to send mail from the command line, e.g.
  533.     pcelm freiss.pad@sni.de "Hi there!" < mymail
  534.  
  535.     If you omit the subject, PCElm will generate a subject line of
  536.     'No subject specified'.
  537.  
  538.  
  539.     Normally, you'll want to use PCElm interactively. The rest of this
  540.     chapter explains the commands PCElm understands.
  541.  
  542.     When PCElm starts up, it displays a status line at the top. Below that,
  543.     up to 10 messages are displayed in the index, giving from left to right
  544.     the message state (Read or Unread, Tagged, Deleted), the message number,
  545.     the sender of the mail, the date the mail was sent, the length of the
  546.     mail in Bytes and the subject line of the mail.
  547.     The subject line is truncated to fit on the screen.
  548.  
  549.     In the lower half of the screen, 4 lines list some of the more often
  550.     used commands. You type commands by pressing the highlighted letter
  551.     at the Command: prompt.
  552.  
  553.     Error messages (hopefully there aren't any) are displayed on the
  554.     bottom line.
  555.  
  556.     * Note that the 'Q' and 'X' keys have exchanged their meanings
  557.     * from previouses releases.
  558.  
  559.     A short overview of the commands available:
  560.  
  561.     Up Arrow, Down Arrow, Page Up, Page Down, Home, End
  562.         These keys move the 'select'-bar one message up, down, one page
  563.         (= 10 messages) up, one page down, to the first message, to
  564.         the last message in your mailbox.
  565.  
  566.     Return
  567.         Displays the message you have currently selected. More on
  568.         display commands below.
  569.  
  570.     +   Tag. Mark a mail for saving, deleting or forwarding.
  571.  
  572.     -   Untag. Delete a previous tag.
  573.  
  574.     F1  Function Key F1 displays a help page which lists all commands
  575.         and a short explanation of what they do.
  576.  
  577.     F2  Function Key F2 toggles the video display mode
  578.         (VRAM or BIOS writes to update the screen).
  579.  
  580.     DEL Delete the selected mail or all tagged mails.
  581.  
  582.     INS Undelete the selected mail.
  583.  
  584.     a   About PCElm. A page of text giving the version and the authors'
  585.         names. Just an ego-fix for us :-)
  586.  
  587.     A   Alias editing. Drops you into a small full-screen editor, where
  588.         you can edit your alias file. If you did not have an alias file
  589.         before, it is created for you. You can of course also use other
  590.         editors to edit the alias file.
  591.  
  592.     c   Change mailbox. This allows you to change your user id without
  593.         leaving PCElm. For example, ham radio operators often have
  594.         their first name as username and their call sign as another
  595.         username. This is probably less useful in uucp.
  596.         You will be prompted for a new fullname to match your new user
  597.         id and you are prompted for a new hostname.
  598.  
  599.     C   Colour. Toggles from the user selected colours to default colours
  600.         to default monochrome display.
  601.  
  602.     d   Delete the selected mail or all tagged mails.
  603.  
  604.     F   Freshen the mailbox. Mails marked for deletion will be deleted,
  605.         new mail that has arrived in the meantime is processed and your
  606.         mailbox is displayed anew.
  607.  
  608.     f   Forward the selected (or all tagged) mails to another user.
  609.         You will be prompted for the recipient of the forwarded mail
  610.         and for the subject line; the subject line defaults to the
  611.         original subject with (fwd) appended to it.
  612.  
  613.     l   List unsent mails. Shows what files there are in the mail queue
  614.         directory and who sent them to whom. It also gives you a chance
  615.         to kill them (last chance to zap a mail if you mistakenly sent
  616.         it). This currently works only in hamradio mode (will work in uucp
  617.         mode in the next version).
  618.  
  619.     m   Send mail. You will be prompted for the recipient of the mail
  620.         and the subject, after which you are dropped into the editor.
  621.         More on editor commands below.
  622.         You can specify multiple recipients delimited by blanks at the
  623.         'Mail to:' prompt. If you do, a Cc: (Carbon Copy) line will
  624.         automatically be generated.
  625.  
  626.     n   Next unread. Moves the select-bar to the next unread mail.
  627.  
  628.     p   Paint. Redraw the screen if it got corrupted.
  629.  
  630.     P   Print. Prints all tagged mails or the hilighted mail on a line
  631.         printer. If 'print.com' of DOS is loaded, PCElm will queue the
  632.         print job to 'print', so you can go on reading mail while your
  633.         tagged mails are printed in the background.
  634.         If 'print' is not loaded, PCElm will print the mails on the device
  635.         specified in the configuration file (parameter 'print').
  636.  
  637.     Q   Quit. Quits from PCElm, saving all changes to your mailbox.
  638.  
  639.     r   Reply to a mail. You are dropped into the editor to compose your
  640.         reply; after you are finished, mail is sent to the originator of
  641.         the mail with a subject line of "Re: <original subject>".
  642.  
  643.     R   Reply to a mail. Same as above, but the original mail is included
  644.         in your reply. This helps the recipient to understand what your
  645.         reply is all about.
  646.  
  647.     s   Save the selected mail (or all tagged mails) to a file. You will
  648.         be prompted for a filename, in which the message complete with
  649.         header will be saved.
  650.  
  651.     S   change Start Of Header (SOH). This changes the 'magic word' PCElm
  652.         looks for to determine the beginning of a mail. All sort of strange
  653.         things may happen if you set a wrong SOH; be warned that you may
  654.         destroy your mailbox if you fool around with this and then use
  655.         a command that saves your mailbox to disk. 'S' is for experimenting
  656.         and for use with mailboxes from foreign MTA's; for everyday use,
  657.         you should set the SOH from the pcelm.rc file using the SOH-HAM
  658.         and SOH-UUCP parameters.
  659.         (The special keyword 'mmdf' causes the new SOH to be a line of
  660.         Control-A's, as needed by MMDF and UUPC/extended).
  661.         You must do a 'c'hange mailbox for the new SOH to take effect.
  662.  
  663.     t   Transmit from file. You will be prompted for the recipient of
  664.         the mail, the subject, and the filename to transmit.
  665.         Note that usually MTAs can only send pure ASCII files, binary files
  666.         have to be encoded first.
  667.  
  668.     T   Toggle mailsystem. PCElm can handle 2 mailsystems, UUCP (Unix to
  669.         Unix CoPy) and hamradio (for use with KA9Q NOS).
  670.         When you want to switch mailsystems, hitting 'T' will prompt you
  671.         for a new username, new fullname and a new hostname, since
  672.         hostnames in the hamradio community (Example: dg5kx.ampr.org)
  673.         and UUCP community (Example: atreju.rmi.de) sometimes differ.
  674.  
  675.     u   Undelete the selected mail.
  676.  
  677.     w   Write the selected mail (or all tagged mails) to a file. You will
  678.         be prompted for a filename, in which the message will be saved
  679.         without the header.
  680.  
  681.     X   Exit. Exits from PCElm immediately, without updating your mailbox.
  682.  
  683.  
  684.     When you are prompted for new values for (for example) your fullname,
  685.     PCElm pops up a window to do this. You can then either hit return,
  686.     thus accepting the default value displayed or enter a new value.
  687.     When the new value begins with a dollar sign, it is taken to
  688.     be an environment variable (e.g. if you have an environment variable
  689.     MYNAME=beeblebrox, entering $MYNAME here causes beeblebrox to be taken
  690.     as the new value).
  691.  
  692.  
  693.     Editor Commands
  694.     ---------------
  695.     When writing mail, PCElm drops you into a very simplistic line editor
  696.     of its own. This editor is useful for writing short notes, but
  697.     for longer mails you should use another editor of your choice.
  698.     This editor must be able to take the name of a file to edit
  699.     as its one and only commandline argument (something like
  700.     "edit mail.txt" must work), and it must be able to create
  701.     pure ASCII files. If at all possible, use an editor that does
  702.     not terminate files with Control-Z.
  703.  
  704.     Commands understood by the line editor:
  705.     Commands begin with a dot '.' in the first column of a line. A dot
  706.     elsewhere in the text has no special meaning.
  707.  
  708.     .?      Help. Shows available commands.
  709.     .e      Start the editor defined in pcelm.rc.
  710.     .p      Print the message you have typed so far.
  711.     .q      Quit. Aborts the mail.
  712.     .r file Reads the file "file" into the message buffer. If "file"
  713.             contains wildcards (i.e. '*' or '?'), you will be shown
  714.             a list of files matching your command.
  715.     .m num  Inserts the mail number "num" into the message buffer.
  716.     ..      Put a dot in the first column of a line.
  717.     .       End message.
  718.  
  719.  
  720.     PCElm also sports a builtin full screen editor, which is selected
  721.     if either no editor was defined in pcelm.rc and the environment
  722.     variable EDITOR is not set or if you selected 'builtin+' as editor
  723.     in pcelm.rc.
  724.     This editor is included as 'editor of last resort'. It is definitely
  725.     not perfect yet, but we liked it so much we included it.
  726.  
  727.     Commands understood by the fullscreen editor:
  728.     Arrow keys, Pg Up, Pg Dn, Home, End
  729.             those work as you would expect and move you around in the text.
  730.     Alt-D   delete line
  731.     Alt-F   find a string
  732.     Alt-L   set left margin
  733.     Alt-N   insert line.
  734.     Alt-Q   quit, saving text.
  735.     Alt-R   set right margin
  736.     Alt-T   set tab size.
  737.     Alt-W   toggle word wrapping.
  738.     Alt-X   quit _without_ saving text.
  739.     Bsp     (backspace) delete character left from cursor.
  740.     Del     delete character under cursor.
  741.     F1      help screen
  742.  
  743.     Quirks:
  744.     Maximum linelength is 160 characters.
  745.     The bottom line on the screen is sometimes duplicated if you are scrolling;
  746.     this affects only the screen though, the text is ok.
  747.  
  748.     If you are using the builtin full screen editor and are annoyed at its
  749.     lack of functionality or bugs, tough :-). The simple fix is to use another
  750.     editor.
  751.  
  752.     Display Commands
  753.     ----------------
  754.     When reading a mail, PCElm normally displays the mail one page at a
  755.     time.
  756.  
  757.     The following keys have special meanings:
  758.  
  759.     Return  one line forward
  760.  
  761.     q       quit to menu
  762.  
  763.     /       Search. You are prompted for a string to search for. The
  764.             searching routine remembers the last item you searched for,
  765.             so you can just press Return on subsequent invocations of '/'.
  766.  
  767. 5) Troubleshooting
  768.     Some of the things that can (and will, Murphy being what he is)
  769.     go wrong and proposed solutions:
  770.  
  771.     Problem:
  772.     PCElm says 'New mail has arrived' and beeps, though there is no
  773.     new mail.
  774.  
  775.     Solution:
  776.     You probably edited your mailbox with an editor once, and now there
  777.     is a Control-Z at the end of it. This means that the mailbox file
  778.     is now one character longer than all the single mails added up, so
  779.     PCElm concludes that a new mail must have arrived in the meantime.
  780.     Using a proper editor, zap the Control-Z.
  781.  
  782.     Problem:
  783.     PCElm stubbornly says 'No Mail!', although you have verified there
  784.     _is_ mail.
  785.  
  786.     Solution:
  787.     1) The mail directory is configured wrong (check parameter SMTP in
  788.        pcelm.rc)
  789.     2) Your username is not what you think it is (check NAME in pcelm.rc)
  790.     3) The extension for your mailbox file is incorrect (check HAM-EXT
  791.         and UUCP-EXT in pcelm.rc)
  792.     4) The Start-Of-Header (SOH) is wrong, and PCElm therefore can't
  793.        parse mail headers correctly (check SOH-HAM and SOH-UUCP).
  794.  
  795.     Problem:
  796.     Mails have parts of their header missing or have parts of the header
  797.     at the _end_ of the mailbody or generally look strange.
  798.  
  799.     Solution:
  800.     The Start-Of-Header (SOH) is wrong, and PCElm therefore can't
  801.     parse mail headers correctly (check SOH-HAM and SOH-UUCP).
  802.  
  803.     Problem:
  804.     Reading mail is ok, but I can't send UUCP mail.
  805.  
  806.     Solution:
  807.     1) Check the uucpcall parameter in pcelm.rc. Verify that this commandline
  808.        works by typing it in at the DOS prompt, expanding the ! and % macros
  809.        by hand. For example, send a mail to yourself this way. If this
  810.        doesn't work, check if the uucp mailer (mail.exe or rmail.exe) is
  811.        in the path, and if the commandline is correct for your mailer
  812.        (consult your uucp documentation for this).
  813.     2) There may not be enough memory left to execute the mailer under
  814.        PCElm. Get rid of some TSR programs or decrease the MAXLET
  815.        parameter in pcelm.rc and try again.
  816.  
  817.     Problem:
  818.     When writing mail, my favorite editor does not start up when using
  819.     the .e comand.
  820.  
  821.     Solution:
  822.     The editor is either not in the path or there is not enough memory left
  823.     to start the editor. Check the path and/or get rid of some TSR programs
  824.     or decrease the MAXLET parameter in pcelm.rc and try again.
  825.  
  826.     Problem:
  827.     When writing mail, the original mail is not included when using an
  828.     exterior editor when using the 'R' command and/or everything typed
  829.     in the editor is lost.
  830.  
  831.     Solution:
  832.     PCElm needs an editor that can take a filename to edit as a commandline
  833.     argument. Check if this works by typing "<your_editor> filename" at
  834.     the DOS prompt.
  835.     Check if your editor is a pure ASCII editor. If you use a text
  836.     processing system, maybe it starts up in document mode and thus uses
  837.     a non-ASCII document representation.
  838.  
  839. 6) Notes for interfacing PCElm with UUCP programs
  840.     Since this seems to be the most difficult thing to set up, some notes
  841.     on how PCElm feeds mail to UUCP.
  842.  
  843.     PCElm is basically a User Agent. It needs another program to actually
  844.     _do_ something with the mail generated by PCElm; in uucp mode, PCElm
  845.     executes a uucp mailer to do the hard work. This mailer is usually
  846.     called 'rmail.exe'; note the 'usually', your mailer might have a
  847.     different name.
  848.  
  849.     PCElm requires that the mailer be in the path; that the mailer
  850.     accepts as argument the uucp address of the recipient and that
  851.     there is some way to get the mail into the mailer, either by
  852.     specifying the file containing the mailbody on the command line
  853.     or by feeding it to the mailer via input redirection.
  854.  
  855.     The mailer must be able to paste the header lines and the mailbody
  856.     created by PCElm to the headers it generates itself _without_
  857.     mangling them and without inserting an empty line between its own header
  858.     lines and the header supplied by PCElm.
  859.     PCElm generates the From:, To:, Subject: and Message-Id: lines itself
  860.     and feeds mail to the mailer in standard UUCP format.
  861.  
  862.     Why execute an exterior mailer at all?
  863.     The rationale behind this is that (due to the many different types
  864.     and versions of uucp software out there) it is nigh impossible to
  865.     use all the features of the MTA directly from PCElm. Only your
  866.     uucp mailer knows if you can do path aliasing and what headers are
  867.     necessary for your particular network.
  868.     On the other hand, we still want to have at least the mandatory header
  869.     lines even if the mailer is real stupid and can't generate them itself.
  870.  
  871.  
  872.     Reading mail:
  873.     It seems that new versions of UUPC use MMDF style mailboxes, i.e.
  874.     mails are separated by Control-A's. Whether or not this is a cool
  875.     thing to do is a matter of opinion. Anyway, PCElm can handle this;
  876.     use the special keyword mmdf in the SOH-UUCP parameter line
  877.     in pcelm.rc to switch PCElm into MMDF mode.
  878.     (i.e., the line in pcelm.rc should read
  879.     SOH-UUCP mmdf
  880.     ).
  881.  
  882. 7) Languages
  883.     PCElm can be configured to speak other languages than English. This
  884.     is possible because all messages displayed on the screen are contained
  885.     in a seperate message file, 'pcelm.msg'. Currently, message files
  886.     in English ('pcelm.eng') and German ('pcelm.deu') exist - if you
  887.     create your own message file in another language, be sure to send
  888.     it to us, so that we can include it (with proper credit) in the next
  889.     distribution.
  890.     The appropriate message file must be copied (or renamed) to 'pcelm.msg'
  891.     before using PCElm.
  892.  
  893.     The message file has the following format:
  894.     Empty lines and lines starting with a hash '#' are ignored.
  895.     Other lines have the form
  896.     <number>:<text>, for example
  897.     150:"This is a line"
  898.  
  899.     Never change the message number - PCElm uses this number to be able
  900.     to display the right message at the right time.
  901.     You can change the text in quotes to your liking, but be warned that
  902.     PCElm displays all and every message just as it appears in the message
  903.     file. If you do something wrong, you will end up with a fancy-looking
  904.     display. Keep a copy of the original message file for safety's sake.
  905.  
  906.     You can use escaped decimals in the message file (e.g. \\32 is ' ') as
  907.     described in chapter 3.1.
  908.  
  909.     You can also change the keys that are used as command keys in the main
  910.     menu - message 83 holds all keys (except function keys) that work.
  911.     This is a good thing if you want to keep the commands intuitive;
  912.     'c' for 'change mailbox' is good to remember in English, but (for example)
  913.     a German user would want 'W' for 'Wechsele Postfach' as a hotkey.
  914.  
  915.     If you create a message file in a new language, we would like to have
  916.     it and to include it (with proper credit given) in a future release
  917.     of PCElm.
  918.  
  919.     This manual is for the English version of PCElm. Foreign language versions
  920.     use different hotkeys for most of the commands. At the time of this
  921.     writing, this manual exists only in English, but you should be able
  922.     to figure out which keys do what from the help screen (press F1 to
  923.     see the help screen, regardless of what language you have configured).
  924.     Initial setup is the same for all versions of PCElm however.
  925.  
  926.  
  927. 8) Credits
  928.     We would like to thank Dave Taylor for programming the original ELM
  929.     and for the idea for the user interface used both in ELM and PCElm.
  930.     Thanks to Syd Weinstein, coordinator of the USENET ELM, for his
  931.     good work.
  932.     Thanks to Barksdale Garbee II, N3EUA, Gerard van der Grinten, PA0GRI,
  933.     Phil Karn, KA9Q, and Dave Trulli, NN2Z, for creating BM.
  934.  
  935.     Thanks to Andrew Hardie, ash@omega.uucp, who suffered through the
  936.     early beta versions and wins grand prize in bug-finding :-).
  937.  
  938.     We would also like to point out that PCElm is (apart from the idea
  939.     for the user interface) not in any way derived from or connected
  940.     with ELM. If you are using USENET news, the group comp.mail.elm
  941.     is NOT the place to ask questions about PCElm.
  942.  
  943. 9) The Future
  944.     Just some things that _might_ be incorporated in PCElm in a future
  945.     release and some that won't be:
  946.  
  947.     - News reading. PCElm already can be used with notes, as notes uses
  948.         a mailbox-like structure to store news articles. A news mode
  949.         for PCElm could be implemented, and it would be nice for use
  950.         with NNTP in NOS. A lot of work though. (If you are not familiar
  951.         with notes, notes is a news system that predates bnews and cnews
  952.         and is now practically extinct. News uses another (more efficient)
  953.         way of storing articles and thus has another interface to the
  954.         user agent than notes).
  955.  
  956.     - a Windows 3.0 aware PCElm. Ask Wolfgang Siebeck (siebeck@infoac.rmi.de)
  957.         for details. A beta version exists.
  958.  
  959.     - a version of PCElm for OS/2. PCElm _might_ run under OS/2 in the
  960.         DOS window; I have no way of finding out.
  961.  
  962.