home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.mh
- Path: sparky!uunet!ukma!wupost!usc!snorkelwacker.mit.edu!world!ora.com!jerry
- From: jerry@ora.com (Jerry Peek)
- Subject: Re: Forward filter that fills in Subject field
- Message-ID: <Btsupq.M4L@ora.com>
- Organization: O'Reilly & Associates, Inc.
- References: <DISSER.92Aug28153149@metaphor.engin.umich.edu>
- Date: Sun, 30 Aug 1992 13:56:13 GMT
- Lines: 47
-
- In article <DISSER.92Aug28153149@metaphor.engin.umich.edu> disser@engin.umich.edu (David Disser) writes:
- > Is it possible to make either a filter or formfile that will automatically
- > fill in the Subject field of the message to be composed? I want to be able
- > to quickly (ie, no editing) forward a message to some one and have a
- > subject field a la "FWD: <orig subject>" filled in for me. Ideas?
-
- The program you really want might be "dist". But if you need to add
- text to the forwarded message, dist probably isn't what you want.
-
- I heard a rumor that some day "repl" and "forw" might be combined into
- a program that could do that, and more. But it was just a rumor.
- (John, is there any truth to that rumor? ;-)) For now, you can use repl
- to forward your messages -- as long as you want to forward just *one*
- message at a time (forw can forward more than one).
-
- If you've got a copy of the "MH & xmh" Nutshell Handbook, read Section
- 9.3.3 for details. The idea is to make a link or alias to "repl"
- that executes this command:
-
- repl -form xxxcomps -filter xxxfilt
-
- Where xxxcomps is a components file something like this:
-
- To:
- cc:
- %<{subject}Subject: FWD: %{subject}\n%>\
- --------
-
- and xxxfilt looks like this:
-
- width=10000
- :
- :----- Forwarded Message
- :
- extras:nocomponent
- :
- body:nocomponent
- :
- :----- End of Forwarded Message
-
- The xxxcomps file grabs a copy of the subject line from the original
- message. The xxxfilt file copies the original message as-is, with no
- reformatting (unless a line is more than 10,000 characters wide).
- The forwarded message won't be "dash-munged" as RFC 934 requires...
- but hey, who cares about standards? :-)
- --
- Jerry Peek, O'Reilly & Associates, jerry@ora.com, (617)354-5800
-