home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 5 Edit / 05-Edit.zip / jed098-4.zip / JED / DOC / RMAIL.TXT < prev    next >
Text File  |  1997-02-01  |  4KB  |  97 lines

  1. Information about the JED rmail reader. (Unix only!)
  2.  
  3. Note:  JED's rmail mode is intended for experienced JED users.  It
  4. should not be used by novice users.
  5.  
  6. JED is able to read mail with proper file locking via the standalone
  7. executable `getmail'.  It attempts to lock the spool file through the
  8. `flock' system call, or via a lock file if `flock' is not available.
  9. The latter approach requires that the spool directory be writable.
  10.  
  11. To install rmail, you must first create the executable `getmail'.  After
  12. building JED, simply type `make getmail'.  Move the resulting executable to
  13. JED_ROOT/bin.  Add the following to your .jedrc file:
  14.  
  15.    autoload ("rmail", "rmail");
  16.    add_completion("rmail");
  17.  
  18. Mail is moved (with locking) from the user's mail box file to a
  19. directory $HOME/Mail.  This directory is created if it does not exist.
  20. JED will then parse the new mail and moved individual messages to the
  21. directory $HOME/Mail/NewMail.  Future versions will compress the new
  22. mail.
  23.  
  24. The variable Rmail_Spool_Mailbox_File determines the name of the input
  25. mailbox file.  If this variable is not defined, JED will attempt to
  26. determine the location of the mail box file by looking in
  27. /var/spool/mail.
  28.  
  29. After moving the messages from the user's mail box to the Mail
  30. directory, JED will parse the headers of the new mail and create a
  31. file called $HOME/Mail/NewMail.index.  JED uses this index to manage
  32. files in the NewMail folder. Similar statements apply to new folders.
  33.  
  34. JED will then show a window containing the index.  It may look like:
  35.  
  36.    4 12-Dec  R    Darrel R Hankerson <hanke  OS/2 changes in 0.95?
  37.    5 13-Dec  R    Dominik Wujastyk <D.Wujas  Re: drive letters in JED
  38.    6 13-Dec  R    Darrel R Hankerson <hanke  compiler warnings
  39.    7 13-Dec       "John E. Davis" <davis@pa  [chrism@cs.anu.edu.au: Re: Finding ~user/]
  40.    8 13-Dec FR    HARRIS@soma.tch.harvard.e  Ingrid's FTP
  41.  
  42. The first field is a simple integer which indicates the name of the file
  43. containing the message described by the line.  For example, the first line
  44. above refers to the message in the file $HOME/NewMail/4.
  45. The 3rd field contains flags.  R means that the message was replied to, F
  46. means that it was Forwarded.
  47.  
  48. The arrow keys may be used to move the cursor from one line to another.
  49. Pressing the spacebar will cause the message associated with the line the
  50. cursor is on to be displayed in a second (larger) window.  Use the spacebar
  51. and the DELETE key to scroll through the message.  
  52.  
  53. The following keys are defined:
  54.  
  55.    SPACE     scroll forward or select message
  56.    DELETE    scroll message backward
  57.    DOWN      move to next message (use space to select it)
  58.    UP        move to previous message
  59.    N         move to next Non-deleted message
  60.    P         move to previously Non-deleted message
  61.    D         Tag message for deletion
  62.    X         Really delete tagged messages and resequence folder.
  63.    G         Get newmail
  64.    ESC 1 G   Prompt for a mail box and get new mail from that.
  65.    Q         Quit this folder returning to top level (folder index).
  66.    T         Toggle headers.  By default, JED will hide most of the headers.
  67.                Use this key to unhide them.
  68.    O         Output message to a different folder.  One will be created if
  69.                necessary.
  70.        
  71. Replying and Forwarding use JED's mail facility.  The relevant keys are:
  72.  
  73.    F       Forward message
  74.    R       Reply
  75.    M       mail
  76.    
  77. To actually send the message after composing it. press `ESC-X mail_send' to
  78. actually send it.  See the description of the Mail facility in the JED
  79. documentation for more discussion.  I personally have bound this to a key
  80. via the `mail_hook', i.e., in my .jedrc I have:
  81.  
  82.       define mail_hook()
  83.       {
  84.         local_unsetkey("^C");
  85.         local_setkey("mail_send", "^C^C");
  86.       }
  87.  
  88.  
  89.  
  90.             
  91. Not implemented but will be:
  92.  
  93.    Read compressed email.
  94.    
  95.  
  96.   
  97.