home *** CD-ROM | disk | FTP | other *** search
/ Usenet 1994 October / usenetsourcesnewsgroupsinfomagicoctober1994disk2.iso / misc / volume10 / pcmail2 / part12 / main / tutorial.doc < prev   
Text File  |  1990-01-24  |  26KB  |  859 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.  
  8.  
  9.  
  10.                       PC-MAIL tutorial
  11.  
  12.  
  13.                       Wietse Z. Venema
  14.              Mathematics and Computing Science,
  15.              Eindhoven University of Technology
  16.                  Eindhoven, The Netherlands
  17.  
  18.  
  19.  
  20.  
  21.  
  22.  
  23. 1.  What does this software do for you?
  24.  
  25. This software allows you  to  send  and  receive  electronic
  26. mail.  Once the software has been configured, it can be used
  27. without any knowledge about computer networking.
  28.  
  29. The following summarizes a few features:
  30.  
  31. o    Mail messages can be edited, printed, replied to, sent,
  32.      and received, from within the mail program.
  33.  
  34. o    Messages  can  be  created  with  almost  every   word-
  35.      processing package.
  36.  
  37. o    Almost every command can be selected by pressing a sin-
  38.      gle  key.  There  is a "help" facility that gives brief
  39.      explanations.
  40.  
  41. o    You can set up an "alias" data base to avoid the use of
  42.      the  usually cryptical electronic mail addresses.  This
  43.      facility can also be used to  implement  small  mailing
  44.      lists.
  45.  
  46. o    There is a facility for personalized headers and signa-
  47.      tures.
  48.  
  49. The mail software does not attempt to solve every problem in
  50. this  world.   It is only fair to mention the most important
  51. limitations here:
  52.  
  53. o    Any information other than pure text must be  converted
  54.      to  text  format before you can mail it to someone else
  55.      (for example, programs,  pictures  and  so  on).   For-
  56.      tunately, there exists a lot of software to aid in this
  57.      task.  The people  that  installed  the  mail  software
  58.      should be able to help you out.
  59.  
  60. o    Most electronic mail systems impose an upper  limit  to
  61.  
  62.  
  63.  
  64.                       January 24, 1990
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                            - 2 -
  71.  
  72.  
  73.      the  size  of  a  mail message.  This limit varies from
  74.      about 60 kilobytes to about 100 kilobytes per  message.
  75.      You  will  have  to  break up larger messages; the mail
  76.      software does not do it for you.  Normally, you  should
  77.      not run into this limit.
  78.  
  79. Installation of the mail software is  described  in  various
  80. other  documents.   The  remainder of this document gives an
  81. introduction to the use of the mail software. The  following
  82. gives a summary.
  83.  
  84. Chapter 2, "Starting the program", describes how  to  invoke
  85. the  program,  and  how  to  leave it.  Also gives a general
  86. introduction to the command structure of the program.
  87.  
  88. Chapter 3, "Reading new mail", describes how to take care of
  89. new mail, and what happens once you have read a new message.
  90.  
  91. Chapter 4, "Creating a message", describes how to compose  a
  92. message from scratch, and how to specify its destination.
  93.  
  94. Chapter  5,  "Sending  and   receiving   electronic   mail",
  95. describes  how to exchange messages between your machine and
  96. the rest of the world.  It does not apply if your machine is
  97. connected to a "file server".
  98.  
  99. Chapter 6, "Alias data base", describes the use of the alias
  100. data base, and gives an example of a tiny mailing list.
  101.  
  102. Chapter 7, "Replying to a message", describes how to compose
  103. a reply to message.
  104.  
  105. Chapter 8, "Mailing other files", describes how  to  distri-
  106. bute files via electronic mail.
  107.  
  108. Chapter 9,  "Receiving  encoded  files",  describes  how  to
  109. decode files that have been encoded with e.g. the "uuencode"
  110. or "btoa" programs.
  111.  
  112. 2.  Starting the program
  113.  
  114. Starting the mail program is easy;  just  type  the  command
  115. "mail".   You  should  see  a screen that looks like the one
  116. shown here:
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.  
  130.                       January 24, 1990
  131.  
  132.  
  133.  
  134.  
  135.  
  136.                            - 3 -
  137.  
  138.  
  139.  
  140. Close  File  Setup  Alias  Print  Up  Down  Enter  Help ?
  141. ==========================================================
  142. Create       Create a new message
  143. Work       2 Messages in preparation
  144. New        0 Unread messages
  145. In        30 Messages already read
  146. Out        7 Messages not-yet sent
  147. Sent      20 Messages already sent
  148.  
  149.  
  150. ==========================================================
  151. Select a message category with cursor keys and press ENTER
  152. or select one of the commands in the top line.
  153.  
  154.  
  155. The screen is divided into three horizontal regions:
  156.  
  157. o    The top region shows the commands that can be  selected
  158.      by  pressing  a single key.  Some of these commands are
  159.      selected by pressing a function key with the same  name
  160.      as  the  command;  for example, the Up or Down commands
  161.      are selected by pressing the corresponding  arrow  key.
  162.      Other  commands are selected by typing the first letter
  163.      of that command; for example, the  H  key  selects  the
  164.      "Help"  command;  it  gives a brief description of what
  165.      the other commands do.
  166.  
  167. o    The middle region shows various categories of mail mes-
  168.      sages.   You might think of it as a collection of boxes
  169.      with letters.  For example, the "New" box is  for  mes-
  170.      sages  that  you haven't read yet, and the "Out" box is
  171.      for messages that you wrote, but that have not yet been
  172.      sent  away.   The  program also shows how many messages
  173.      there are within a message category.
  174.  
  175.      A special case is the "Create" box; it is for  messages
  176.      you  are  going  to  write.   Think of it as a box with
  177.      blank sheets of paper.
  178.  
  179. o    The bottom region gives an explanation of what you  are
  180.      supposed  to do when you see this screen.  In this par-
  181.      ticular case, it tells that you can select one  of  the
  182.      message   categories   by  moving  the  cursor  to  the
  183.      appropriate line, and by pressing the "Enter"  key,  or
  184.      that  you can give commands by pressing the appropriate
  185.      key.
  186.  
  187. You can leave most screens by pressing the "C" key. In  par-
  188. ticular,  pressing  that  key while the program displays the
  189. first screen is the preferred way to leave the mail program.
  190.  
  191.  
  192.  
  193.  
  194.  
  195.  
  196.                       January 24, 1990
  197.  
  198.  
  199.  
  200.  
  201.  
  202.                            - 4 -
  203.  
  204.  
  205. 3.  Reading new mail
  206.  
  207. Depending on how the mail software  was  installed  on  your
  208. system, you may have seen a message that "You have new mail"
  209. when you started up the machine. This section describes  how
  210. to deal with new mail.
  211.  
  212. In the display that was described above, move the cursor  to
  213. the  line  with "New" and press the "Enter" key. The program
  214. will present an overview of unread messages that looks  like
  215. the following one:
  216.  
  217. Close  File  Setup  Alias  Print  PgUp  PgDn  Up  Down  Enter  Help ?
  218. =====================================================================
  219.    90  Dec 15 22:18  Wietse Venema "Re: how do I forward a message?"
  220.    63  Dec 11 23:18  Jan Kalisvaart "File server cleanup"
  221.     .
  222.     .
  223.     .
  224. -- end of display --
  225.  
  226.  
  227. =====================================================================
  228. Select a message with the cursor keys and press ENTER
  229. or select one of the commands in the top line.
  230.  
  231.  
  232. The top line of the screen shows a few  more  commands  than
  233. the  screen  described  earlier.  New commands, for example,
  234. are the the PgUp and PgDn commands.  They  are  useful  when
  235. information does not fit in the middle screen region.
  236.  
  237. The middle screen region shows summaries of  mail  messages.
  238. Each  message  is summarized on a single line, and gives the
  239. following information:
  240.  
  241. o    The message sequence number (e.g. 90).   Normally,  you
  242.      do  not  have to remember message sequence numbers, but
  243.      the mail program needs them in  order  to  keep  things
  244.      apart.
  245.  
  246. o    The date of arrival (e.g. Dec 15 22:18).  If a  message
  247.      is  very old, the year will be displayed instead of the
  248.      hours and minutes.
  249.  
  250. o    The sender of the message (e.g. Wietse  Venema).   Usu-
  251.      ally,  the mail program presents a "human" name.  Every
  252.      now and then, however, you may see an  ugly  electronic
  253.      mail address.
  254.  
  255. o    The subject of the message (e.g. "Re:  how do I forward
  256.      a  message?").   This allows you to decide if a message
  257.      is urgent and has to be dealt with right  away,  or  if
  258.      the message can wait till later.
  259.  
  260.  
  261.  
  262.                       January 24, 1990
  263.  
  264.  
  265.  
  266.  
  267.  
  268.                            - 5 -
  269.  
  270.  
  271. After you have moved the cursor to the message you  want  to
  272. read, and have pressed the "Enter" key, the program displays
  273. the selected message.  The following example shows what  the
  274. screen might look like.
  275.  
  276. Close  Delete  Mail  Print  Reply  Save  Work  |  PgUp  PgDn  Up  Down  Help ?
  277. ==============================================================================
  278. Subject: Re: how do I forward a message?
  279. Organization: Eindhoven University of Technology, The Netherlands
  280. From: wietse@wzv.win.tue.nl (Wietse Venema)
  281. To: you
  282.  
  283. Select the message that you wish to forward, and press the "M" (Mail)
  284. key.  The program will ask for a destination. As usual, you can enter
  285. an alias or a real address. This command mails a copy of the message;
  286. it does not change or remove the message itself.
  287.  
  288.                 Greetings,
  289.                                 Wietse Venema
  290. -- end of display --
  291.  
  292. ==============================================================================
  293. (Reading a mail message)
  294.  
  295.  
  296. At this stage you may decide to do nothing with the message;
  297. just  hit  the  "C"  key and the program returns to the last
  298. message-selection screen.  Now that  the  message  has  been
  299. read  it  will no longer show up in an overview of the "New"
  300. category; once a "New" message has been read it goes to  the
  301. "In" category, and remains there until you explicitly delete
  302. it.
  303.  
  304. Hitting the "C" key once more brings us back to  the  begin-
  305. ning of the program.
  306.  
  307. 4.  Creating a message
  308.  
  309. In order to compose  a  message,  move  the  cursor  to  the
  310. "Create  a new message" line in the first screen of the mail
  311. program and press the "Enter" key.  After a few seconds  you
  312. should see the first screens of the same word processor that
  313. you probably also use for  other  activities.   Please  note
  314. that  the  mail  program  has not terminated; as soon as you
  315. exit from the word processor you will  return  back  to  the
  316. mail program.
  317.  
  318. If all is well, your message should begin with a "Subject: "
  319. line.  Depending on how the mail software was set up on your
  320. machine, an "empty" message may already contain one or  more
  321. customized header lines, as well as a customized "signature"
  322. at the end of the message.  The following is an "empty" mes-
  323. sage  as  produced  on  my personal system (the text between
  324. square braces is not part of the  "empty"  message;  I  just
  325.  
  326.  
  327.  
  328.                       January 24, 1990
  329.  
  330.  
  331.  
  332.  
  333.  
  334.                            - 6 -
  335.  
  336.  
  337. added it to clarify things).
  338.  
  339. Subject:  [the subject of this message]
  340. Organization:  Eindhoven University of Technology, The Netherlands
  341.  
  342. [this is where the actual message goes]
  343.  
  344.                                         Wietse Venema
  345.  
  346.  
  347. If your "empty" message contains garbage you should  contact
  348. the people that installed the mail software on your system.
  349.  
  350. The message text that you are about to enter  will  be  only
  351. part of the message that other people will receive; the mail
  352. software automatically prefixes each message with  your  own
  353. electronic mail address, and the current date-.
  354.  
  355. Obviously, further details about the entry of  message  text
  356. depend  on  the  word-processing package that you are using.
  357. Suffice to say that upon exit,  the  word  processor  should
  358. produce  an "ASCII document" file; the people that installed
  359. the mail software on your machine should be able to  provide
  360. more details on this topic.
  361.  
  362. Upon return from the word processor back to  the  mail  pro-
  363. gram,  you  will  see  the  first  few  lines of your newly-
  364. composed message in the middle region of the screen.   There
  365. may be "funny cookies" in your text if you forgot to produce
  366. an "ASCII document"; if that is the case you had better  re-
  367. enter  the  word  processor  (by  pressing  the "E" key) and
  368. correct this mistake.  After this,  your  screen  should  be
  369. something like:
  370.  
  371.  
  372. Close  Delete  Edit  Mail  Print  PgUp  PgDn  Up  Down  Help ?
  373. ==============================================================
  374. Subject: your subject
  375. optional header lines
  376.  
  377. your message
  378. -- end of display --
  379.  
  380.  
  381. ==============================================================
  382. (Reading a message in preparation)
  383.  
  384. _________________________
  385. - Your message will probably be prefixed  with  several
  386. additional  rude  header  lines while it passes through
  387. other machines on the way to its destination. This hap-
  388. pens  outside  the control of the mail software on your
  389. machine.
  390.  
  391.  
  392.  
  393.  
  394.                       January 24, 1990
  395.  
  396.  
  397.  
  398.  
  399.  
  400.                            - 7 -
  401.  
  402.  
  403. What you see on the screen is a close approximation of  what
  404. other  people  will  receive.  If this is the first time you
  405. use electronic mail you may  wish  to  use  the  "PgUp"  and
  406. "PgDn" keys to check things out.
  407.  
  408. Normally, the next step will be to mail the message  to  its
  409. destination,  but  you  may choose any of the other commands
  410. shown in the upper line of the  screen.   For  example,  you
  411. could choose the put the message "on hold"; the mail program
  412. will ask you to give a one-line description so that you  can
  413. easily  find  it  back at a later time (it will be stored in
  414. the category "Messages in preparation").
  415.  
  416. If you choose the "Mail" command, the program  will  respond
  417. with:
  418.  
  419.         Press ESC to cancel. Send message to:
  420.         ?
  421.  
  422.  
  423. You should enter one or more electronic  mail  addresses  or
  424. aliases.   If  what you wrote was just a "test" message, you
  425. might want to mail it to yourself.  There is  nothing  crazy
  426. about  sending mail to yourself; many people do that instead
  427. of littering their rooms  with  notes  on  small  pieces  of
  428. paper.   Aliases are described later on, and are more easily
  429. remembered than real electronic mail addresses.  Your  input
  430. should be terminated by pressing the "Enter" key.
  431.  
  432. After this, the program returns to the  first  screen.   The
  433. message  you  just  "mailed"  will  temporarily  live in the
  434. category "Not-yet sent".  If your machine is connected to  a
  435. "file  server",  it  will  automatically  be  moved  to  the
  436. category "Already sent" within a short period of time.  Oth-
  437. erwise, you should read the next section.
  438.  
  439. 5.  Sending and receiving mail
  440.  
  441. This section describes how to exchange mail messages between
  442. your  machine  and  the rest of the world. This is automati-
  443. cally taken care of if your machine has a direct  connection
  444. to a "file server".
  445.  
  446. If you are not connected to a "file  server",  most  of  the
  447. mail-program  screens  will provide a "Network" command (for
  448. example, the first screen).  All messages that  you  produce
  449. will  stay on your machine, in the message category "Not-yet
  450. sent"", until the mail software has sent them  away  through
  451. the  network.   Also, messages, having your machine as their
  452. destination, will not arrive on your machine until the  mail
  453. software has picked them up through the network.
  454.  
  455. The mail software may have been installed such that  it,  as
  456. soon  as  the  machine  is  turned  on,  automatically makes
  457.  
  458.  
  459.  
  460.                       January 24, 1990
  461.  
  462.  
  463.  
  464.  
  465.  
  466.                            - 8 -
  467.  
  468.  
  469. contact with the network.  In that case, you do not need  to
  470. invoke  the  "Network" command by hand.  It can, however, be
  471. useful if you are expecting urgent mail, or if you  wrote  a
  472. letter that should be sent away right now.
  473.  
  474. The "Network" command is activated by pressing the "N"  key.
  475. The  mail  program  will ask for a network password (the one
  476. given to you by the people that installed the mail  software
  477. on  your machine).  Transferring mail across the network may
  478. take a few minutes.  If all goes well, all messages  in  the
  479. message  category  "Out"  will  have  moved  to the category
  480. "Sent"; in addition, you may have  received  new  mail  that
  481. will show up in the "New" message category.
  482.  
  483. 6.  Alias data base
  484.  
  485. The addresses used in electronic mail are  often  ugly,  and
  486. hard  to remember.  To alleviate this problem, the mail pro-
  487. gram provides an alias data base facility.  This allows  you
  488. to  use  easily-remembered  names instead of mail addresses;
  489. the mail program will automatically replace aliases  by  the
  490. actual  mail  addresses that you have specified in the alias
  491. data base.
  492.  
  493. The following is an example of an alias data base:
  494.  
  495.         wietse  wswietse@lso.win.tue.nl
  496.         jan     wsbujank@win.tue.nl
  497.         staff   wietse jan
  498.  
  499.  
  500. An alias data base has a very  simple  format:   each  alias
  501. definition  consists  of  a  single line of text with two or
  502. more words.  Words may be separated  by  blanks  or  commas.
  503. The  first  word  is  the alias; it will be replaced (by the
  504. words in the remainder of the  line)  if  the  mail  program
  505. finds  the alias in the destination of a mail message.  With
  506. the alias data base shown  above,  the  message  destination
  507. "wietse"  will  be automatically replaced by the destination
  508. "wswietse@lso.win.tue.nl".
  509.  
  510. An interesting property is that an alias may be  defined  in
  511. terms  of  other  aliases;  an  alias  may,  however, not be
  512. defined in terms of itself!  In the above example, the third
  513. line  illustrates  the  definition  of  an alias in terms of
  514. other aliases.  The same line also is an example of  how  to
  515. implement a small mailing list; all messages sent to "staff"
  516. will   be   sent   to   "wswietse@lso.win.tue.nl"   and   to
  517. "wsbujank@win.tue.nl".  Typing the word "staff" certainly is
  518. easier.
  519.  
  520. The mail program is smart enough to eliminate,  after  alias
  521. replacement,  multiple  occurrances of the same destination.
  522. Thus, you do not have to worry about duplicate  destinations
  523.  
  524.  
  525.  
  526.                       January 24, 1990
  527.  
  528.  
  529.  
  530.  
  531.  
  532.                            - 9 -
  533.  
  534.  
  535. if you combine several mailing lists into a bigger one.
  536.  
  537. Most mail-program screens provide the "Alias" command.  This
  538. allows  you to look at the contents of your alias data base,
  539. and to invoke a word processor to make  changes.   The  word
  540. processor  should  save  the alias data base in "ASCII docu-
  541. ment" format, just like ordinary mail messages.
  542.  
  543. It is worth noting that aliases can be defined in any order.
  544. The above example would have worked just as well if the last
  545. entry had been the first one.  Thus, you may  wish  to  keep
  546. the alias data base in sorted order.
  547.  
  548. Finally, a few caveats are in order.  If an alias is defined
  549. more  than  once,  only  the  last  definition will be used.
  550. Although the mail program does not care whether an alias  is
  551. defined  in  upper case or in lower case, it is wise to keep
  552. electronic mail addresses in lower case.
  553.  
  554. 7.  Replying to a message
  555.  
  556. Replying to a mail message is almost the same as creating  a
  557. mail  message  from scratch; the main difference is that you
  558. must specify which message you are replying to.
  559.  
  560. In order to reply to a message, select it  with  the  cursor
  561. keys  and  the "Enter" key, so that the contents of the mes-
  562. sage become visible on the screen.   Pressing  the  "R"  key
  563. executes the reply command.
  564.  
  565. The program will ask you if the reply should include a  copy
  566. of  the  message  being replied to.  Including a copy of the
  567. original message is convenient if the sender  asked  several
  568. questions; both you and the recipient of the message can see
  569. what questions you are actually replying to.   In  order  to
  570. distinguish the text that you write from what the other per-
  571. son wrote, the latter text will be prefixed with a ">" char-
  572. acter at the beginning of each line.
  573.  
  574. After you answered  the  question,  the  mail  program  will
  575. invoke  a  word processing program.  Most of what follows is
  576. the same as when you create an electronic mail message:  the
  577. mail program has not terminated, but is just waiting for you
  578. to finish editing; upon exit, the  word  processing  package
  579. should  produce  an "ASCII document" file; after leaving the
  580. word processing program you will return to the mail program.
  581.  
  582. At this point, your screen should look like this:
  583.  
  584.  
  585.  
  586.  
  587.  
  588.  
  589.  
  590.  
  591.  
  592.                       January 24, 1990
  593.  
  594.  
  595.  
  596.  
  597.  
  598.                            - 10 -
  599.  
  600.  
  601.  
  602. Close  Delete  Edit  Mail  Print  PgUp  PgDn  Up  Down  Help ?
  603. ==============================================================
  604. Subject: Re: The subject of the original message
  605. Other customized header lines may go here
  606.  
  607. >Text taken from the original message is prefixed
  608. >to distinguished it from the text that you wrote.
  609.  
  610. Your text
  611. -- end of display --
  612.  
  613.  
  614. ==============================================================
  615. (Reading a message in preparation)
  616.  
  617.  
  618. In order to send the message, press the "M" key. The program
  619. will respond with:
  620.  
  621.         Press ESC to cancel. Send message to:
  622.         ? some-mail-address
  623.  
  624.  
  625. The mail address shown by the program  was  taken  from  the
  626. original message and should usually be correct.  If you wish
  627. to use that address, just press the "Enter" key.  Otherwise,
  628. the address can be changed in the usual way; you can specify
  629. one or more aliases or electronic mail addresses.
  630.  
  631. After this, the message that you wrote will temporarily live
  632. in  the  message category "Not-yet sent"; if your machine is
  633. connected to a "file server" the message will  automatically
  634. be  moved  to  the message category "Already sent".  If your
  635. machine is not connected to a "file server", read  the  sec-
  636. tion "Sending and receiving mail".
  637.  
  638. 8.  Mailing other files
  639.  
  640. In addition to sending files created with your word  proces-
  641. sor,  the  mail  program  provides  a facility to distribute
  642. copies of other files as well.  This feature is  of  limited
  643. use, however, since it only works well with pure text files;
  644. a file that contains non-textual data, such as a program  or
  645. a  picture, will have to be converted to textual form before
  646. the mail program can handle it.  The mail program can,  how-
  647. ever,  help  you  to find out whether a file is suitable for
  648. mailing.
  649.  
  650. Most screens of the mail program provide  a  "File"  command
  651. that  can  be executed by pressing the "F" key.  After a few
  652. seconds the middle region of the screen should show a  list-
  653. ing  of the current directory.  The top region of the screen
  654. lists the commands that you can execute; the  bottom  region
  655.  
  656.  
  657.  
  658.                       January 24, 1990
  659.  
  660.  
  661.  
  662.  
  663.  
  664.                            - 11 -
  665.  
  666.  
  667. of the screen shows the name of the directory being listed.
  668.  
  669. Close  Print  Save  PgUp  PgDn  Up  Down  Enter  Help ?
  670. ===================================================================
  671. .                        <dir> Dec 28 18:10
  672. ..                       <dir> Dec 27 16:36
  673. alias.c                   3295 Dec 12 22:41
  674. ascf.c                    5315 Dec 23 21:16
  675. call.c                    2282 Nov 30 22:08
  676. cmail.c                   3748 Dec 17 21:22
  677. create.c                  2176 Dec 27 18:28
  678. desk.c                   12435 Dec 27 14:04
  679. deskutil.c                7180 Dec 27 15:29
  680.  .
  681.  .
  682.  .
  683. ===================================================================
  684. To display a file, select it with the cursor keys, then press ENTER
  685. (showing directory: "/usr2/wietse/src/pc-mail/mail")
  686.  
  687.  
  688. You can leave the "File" command at any time by pressing the
  689. "C" key once or twice.
  690.  
  691. With the cursor keys and the PgUP  and  PgDn  keys  you  can
  692. "walk"  through the directory listing.  Pressing the "Enter"
  693. key causes the program to "open" the thing  being  selected.
  694. If you select a directory, the program will display the con-
  695. tents of that directory; if you select a file,  the  program
  696. will display the contents of that file.
  697.  
  698. In order to mail a copy of a file, select that file with the
  699. cursor  and  "Enter"  keys so that its contents are shown on
  700. the screen.  Only if you see a clean  text,  without  "funny
  701. cookies",  the  file  is suitable for mailing.  Pressing the
  702. "M" key executes the "Mail" command.  It will ask for a des-
  703. tination,  which may be one or more aliases or an electronic
  704. mail addresses.  Pressing "Enter" finishes the  "Mail"  com-
  705. mand.   As  usual,  the message will temporarily live in the
  706. message category "Not-yet sent"; if  your  machine  is  con-
  707. nected  to a "file server" the message will automatically be
  708. moved to the  message  category  "Already  sent".   If  your
  709. machine  is  not connected to a "file server", read the sec-
  710. tion "Sending and receiving mail".
  711.  
  712. In order to leave the "File" command you may have  to  press
  713. the "C" key once or twice.
  714.  
  715. 9.  Receiving encoded files
  716.  
  717. Sometimes people send "encoded" files if they  contain  data
  718. that  cannot be sent directly as an electronic mail message.
  719. Encoded files must be processed by a "decoding"  program  in
  720. order to restore the original data.
  721.  
  722.  
  723.  
  724.                       January 24, 1990
  725.  
  726.  
  727.  
  728.  
  729.  
  730.                            - 12 -
  731.  
  732.  
  733. There exist various encoding methods.  Usually,  the  sender
  734. will  provide  some  information  about  the encoding method
  735. used.  In case of doubt, you will have to consult a  techni-
  736. cal person.
  737.  
  738. If a message was encoded with the "uuencode" program it usu-
  739. ally looks like
  740.  
  741. begin 644 tutorial.ms
  742. M7"(@9F]R;6%T('=I=&@@=&AE(&US(&UA8W)O(&QI8G)A<GD*+E1,"E!#+4U!;
  743. M24P@='5T;W)I86P*+D%5"E=I971S92!:+B!696YE;6$*36%T:&5M871I8W,@P
  744. M86YD($-O;7!U=&EN9R!38VEE;F-E+`I%:6YD:&]V96X@56YI=F5R<VET>2!OJ
  745.  .
  746.  .
  747.  .
  748.  
  749.  
  750. In order to restore the original file,  select  the  message
  751. such  that  its contents appear on the screen, and press the
  752. "|" key.  The program will ask for the name of a command:
  753.  
  754.     Press ESC to cancel. Filter through command:
  755.     ?
  756.  
  757.  
  758. At this point, specify the "uudecode" command and press  the
  759. "ENTER" key.
  760.  
  761.     Press ESC to cancel. Filter through command:
  762.     ? uudecode
  763.  
  764.  
  765. This produces, in the current working directory,  a  decoded
  766. file  with the same name as shown in the "begin" line in the
  767. message (in this  particular  example,  the  name  would  be
  768. "tutorial.ms").
  769.  
  770. Another popular encoding program is "btoa". If that  program
  771. has been used, the message looks somewhat like:
  772.  
  773. xbtoa Begin
  774. >Tt;&DfT]'F<GdAFD)e=BOr<'F!,=.@rcK1Ch[@!@<-W#/lYLO:dZg/5tO`m
  775. qQFE;"9=tUpuASu'r@1#_;FD,6&@<?3nF!+n/A0=6XD/aW>Bl7Q+;e'NQDI[
  776. J=9*EcYr:Gp%$;+B2o^BPqa)DeF>&7;6XMBQ&'*DCco0BOr;]ATVTsEbo0%A
  777.  .
  778.  .
  779.  .
  780.  
  781.  
  782. In order to restore the original file,  select  the  message
  783. such  that  its contents appear on the screen, and press the
  784. "|" key.  The program will ask for the name of a command:
  785.  
  786.  
  787.  
  788.  
  789.  
  790.                       January 24, 1990
  791.  
  792.  
  793.  
  794.  
  795.  
  796.                            - 13 -
  797.  
  798.  
  799.  
  800.     Press ESC to cancel. Filter through command:
  801.     ?
  802.  
  803.  
  804. At this point, specify the "atob" command and a  file  name,
  805. and press the "ENTER" key.  For example,
  806.  
  807.     Press ESC to cancel. Filter through command:
  808.     ? atob >abc.def
  809.  
  810.  
  811. The ">" is needed or you will get the decoded data  on  your
  812. screen.   If  all  goes  well, you should now have a decoded
  813. file in your current working directory (in this example, the
  814. name of the file would be "abc.def").
  815.  
  816.  
  817.  
  818.  
  819.  
  820.  
  821.  
  822.  
  823.  
  824.  
  825.  
  826.  
  827.  
  828.  
  829.  
  830.  
  831.  
  832.  
  833.  
  834.  
  835.  
  836.  
  837.  
  838.  
  839.  
  840.  
  841.  
  842.  
  843.  
  844.  
  845.  
  846.  
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.                       January 24, 1990
  857.  
  858.  
  859.