home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / mail / mush / 331 < prev    next >
Encoding:
Text File  |  1992-09-09  |  2.4 KB  |  67 lines

  1. Newsgroups: comp.mail.mush
  2. Path: sparky!uunet!cs.utexas.edu!sun-barr!decwrl!deccrl!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
  3. From: bart@zigzag.UUCP (Bart Schaefer)
  4. Subject: Re: Forwarded mail
  5. Message-ID: <9209090833.ZM16587@zigzag>
  6. Sender: daemon@athena.mit.edu (Mr Background)
  7. Reply-To: bart@zigzag.z-code.com
  8. Organization: The Internet
  9. References: <rez@yoyo.cc.monash.edu.au>
  10. Date: Wed, 9 Sep 1992 15:33:57 GMT
  11. Lines: 54
  12.  
  13. On Sep 9,  5:41am, Anestis Kozakis <rez@yoyo.cc.monash.edu.au> wrote:
  14. } Subject: Forwarded mail
  15. }
  16. } How do I forward mail I get from one person to another person?
  17.  
  18. There are a whole bunch of ways ... suppose you want to forward message
  19. number 11:
  20.  
  21.       11  N  one-person@mush-user.edu  Sep  9, (37/1663) "Forwarding mail"
  22.     Msg 11 of 101: mail -f 11 another-person
  23.            ^^^^^^^^^^^^^^^^^^^^^^^^^
  24. That sends the message right away, without giving you a chance to add
  25. anything, so it looks to another-person as if the message came directly
  26. from one-person.  If you want to add something, you can do this:
  27.  
  28.     Msg 11 of 101: mail -e -f 11 another-person
  29.            ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  30. The -e means "edit", and it puts you in your editor (vi) with message 11
  31. already in the file.
  32.  
  33. Or you can do this:
  34.  
  35.     Msg 11 of 101: mail another-person
  36.     To: another-person
  37.     Subject: Hi, I'm forwarding a message
  38.  
  39.     ~f 11
  40.     ^^^^^
  41. The ~f command reads the message you want to forward into the one you are
  42. sending.  You can then use ~v to go into vi to edit it.  If instead you
  43. want to include the message with indentation at the beginning of each line,
  44. like I did with yours, you can use:
  45.  
  46.     ~i 11
  47.  
  48. The ~i (for "include") command looks at the pre_indent_str, indent_str,
  49. and post_indent_str variables to format the included text.
  50.  
  51. And of course there's a way to do this from the mush shell prompt, too:
  52.  
  53.     Msg 11 of 101: mail -i 11 another-person
  54.            ^^^^^^^^^^^^^^^^^^^^^^^^^
  55.  
  56. } i.e someone sends me mail and I want to send it to another person
  57. } without having to save the mail and exiting mush, and then typing 
  58. } mush <username> and doing a :-r in vi (like I currently am...).
  59.  
  60. You never have to exit from mush to do anything that you could do when
  61. using mush from your sh or csh prompt.  The "SH" in "MUSH" stands for
  62. "shell".
  63.  
  64. -- 
  65. Bart Schaefer                                     schaefer@zigzag.z-code.com
  66. Z-Code Software Corp.                             schaefer@z-code.com
  67.