home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.mail.mh
- Path: sparky!uunet!mcsun!sunic!ericom!eos.ericsson.se!etxmesa
- From: etxmesa@eos.ericsson.se (Michael Salmon)
- Subject: Re: Using ReplyInsertFilter
- Message-ID: <1992Aug27.071342.4224@ericsson.se>
- Sender: news@ericsson.se
- Nntp-Posting-Host: eos6c02.ericsson.se
- Reply-To: etxmesa@eos.ericsson.se (Michael Salmon)
- Organization: Ericsson Telecom AB
- References: <BtLvs7.EKv.2@cs.cmu.edu>
- Date: Thu, 27 Aug 1992 07:13:42 GMT
- Lines: 37
-
- In article <BtLvs7.EKv.2@cs.cmu.edu>, bobski+@CS.CMU.EDU (Robert Olszewski) writes:
- |> I'm trying to set up XMH so that I can use the INSERT button
- |> in the reply window to place a copy of the original message in
- |> the body of the new message with ">" in front of all the lines.
- |> I currently have it set up so that by selecting REPLY, the original
- |> message is *always* copied to the new one. I'd like to be able to
- |> choose whether or not to do this when replying, hence the change.
- |>
- |> Just to see if I could get it to work, I tried to set the switch
- |> from the command line as follows:
- |>
- |> xmh -xrm '*ReplyInsertFilter: /usr/misc/.mh/lib/mhl -form filter'
- |>
- |> That didn't work. I also tried to set the associated value in my .Xdefaults
- |> file, but that did not work either.
- |>
- |> Yes, I did read the FAQ post, but that did not help.
- |>
- |> Suggestions?
-
- I can't explain why your filter doesn't work but here is mine:
-
- Xmh.ReplyInsertFilter: sed -e '1,/^ *$/d' -e 's/^/|> /'
-
- The first part deletes all lines till the first blank one, which has so
- far only deleted headers, and then lines have "|> " prepended.
-
- --
-
- Michael Salmon
-
- #include <standard.disclaimer>
- #include <witty.saying>
- #include <fancy.pseudo.graphics>
-
- Ericsson Telecom AB
- Stockholm
-