[comp.mail.mh] Forewarding & mh

stripes@wam.UMD.EDU (06/27/89)

Hi, I'm haveing problems createing a filter file that does exactly what I
want.  I've gotten fairly close, but not quite.  
I want to include the text of an old message in with my new message, and I want
a single ">" charactor in front of each line (just like the F command in rn).
The closest I have gotten is this filter:
:
body:component=">",compwidth=1,offset=0,length=80,overflowtext="}"

Which is *very* close to what I want, the first line is great, I get
">what they said", but for every other line I get " >what they said",
(there is a space before the arrow for every line but the first)
I have changed all the variables I could think of that would effect it,
but no dice.  I also have written a shell script that will give the proper
style, but I don't know any "clean" way to get mh to use it.  So I'm looking
for either a way to get the filter to properly insert the arrows, or to
get repl to include text after processing it with a shell script.
(I use raw mh, as well as dxmail when I'm an an X display, so an alias for
repl isn't exactly what I want...)
Someone else has probbly aready done this before, so if you know how please let
me know.  I will summrise anything sent to me if it is any diffrent from what
gets posted.  Thanks world...
-- 
           stripes@wam.umd.edu          "Security for Unix is like
      Josh_Osborne@Real_World,The          Mutitasking for MS-DOS"
      "The dyslexic porgramer"                  - Kevin Lockwood
            Be pleasant no matter how much it hurts.
                -- Kirk, "Elaan of Troyius," stardate 4372.5.

stripes@wam.UMD.EDU (06/28/89)

Well, I got two replys to my message, and since at least one fixes the
problem I'm not in need of more :-)  Here is a summary...
(Oh, and if somehow you missed the original question it was "I can
almost get rn style quote attributation, but not quite; how do I fix
what I have?")

The first was from Tim Theisen <tim@cs.wisc.edu>
>I too had a similar problem with repl.  I found a bug in mh.  This has
>been reported to the proper people.  Here is my replfilter:
>
>body:component="> ",width=10000
>
>Hope this helps,   ...Tim
>
>Tim Theisen             Department of Computer Sciences
>tim@cs.wisc.edu         University of Wisconsin-Madison
>uwvax!tim               1210 West Dayton Street
>(608)262-0438           Madison, WI   53706
He also included a patch to the mh bug he mentoned.  I'm assumeing that
he posted it to the net, but I'll hold on to it for a few days and
send them to the net if that's a bogus assumption...   (Is it poor net
style to re-post anothers patches?)

The other reply was from gregg.g.wonderly@att.com, he said
>Use compwidth=0.  I don't know why, but it works.
>
>-----
>gregg.g.wonderly@att.com   (AT&T bell laboratories)
So now my filter looks like this:
:
body:component=">",compwidth=0,offset=0,length=80,overflowtext="}"
-- 
           stripes@wam.umd.edu          "Security for Unix is like
      Josh_Osborne@Real_World,The          Mutitasking for MS-DOS"
      "The dyslexic porgramer"                  - Kevin Lockwood
    "You arn't at collage to make their life easy"  - Mark L. Osborne