🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #344

Re: Forwarded mail

#344
From: Bart Schaefer
Date: Wed, 09 Sep 1992 15:33
54 lines
2487 bytes
On Sep 9,  5:41am, Anestis Kozakis <rez@yoyo.cc.monash.edu.au> wrote:
} Subject: Forwarded mail
}
} How do I forward mail I get from one person to another person?

There are a whole bunch of ways ... suppose you want to forward message
number 11:

      11  N  one-person@mush-user.edu  Sep  9, (37/1663) "Forwarding mail"
    Msg 11 of 101: mail -f 11 another-person
		   ^^^^^^^^^^^^^^^^^^^^^^^^^
That sends the message right away, without giving you a chance to add
anything, so it looks to another-person as if the message came directly
from one-person.  If you want to add something, you can do this:

    Msg 11 of 101: mail -e -f 11 another-person
		   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
The -e means "edit", and it puts you in your editor (vi) with message 11
already in the file.

Or you can do this:

    Msg 11 of 101: mail another-person
    To: another-person
    Subject: Hi, I'm forwarding a message

    ~f 11
    ^^^^^
The ~f command reads the message you want to forward into the one you are
sending.  You can then use ~v to go into vi to edit it.  If instead you
want to include the message with indentation at the beginning of each line,
like I did with yours, you can use:

    ~i 11

The ~i (for "include") command looks at the pre_indent_str, indent_str,
and post_indent_str variables to format the included text.

And of course there's a way to do this from the mush shell prompt, too:

    Msg 11 of 101: mail -i 11 another-person
		   ^^^^^^^^^^^^^^^^^^^^^^^^^

} i.e someone sends me mail and I want to send it to another person
} without having to save the mail and exiting mush, and then typing 
} mush <username> and doing a :-r in vi (like I currently am...).

You never have to exit from mush to do anything that you could do when
using mush from your sh or csh prompt.  The "SH" in "MUSH" stands for
"shell".

-- 
Bart Schaefer                                     schaefer@zigzag.z-code.com
Z-Code Software Corp.                             schaefer@z-code.com
Technical Details
Message-ID: <9209090833.ZM16587@zigzag>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!decwrl!deccrl!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
References: <rez@yoyo.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Newsgroups: comp.mail.mush
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!sun-barr!decwrl!deccrl!bloom-beacon!INTERNET!dont-send-mail-to-path-lines
From: bart@zigzag.UUCP (Bart Schaefer)
Subject: Re: Forwarded mail
Message-ID: <9209090833.ZM16587@zigzag>
Sender: daemon@athena.mit.edu (Mr Background)
Reply-To: bart@zigzag.z-code.com
Organization: The Internet
References: <rez@yoyo.cc.monash.edu.au>
Date: Wed, 9 Sep 1992 15:33:57 GMT
Lines: 54