New Yarf Request (Re: New Yarn Request)

From: Tim Myddleten (hello-yarners@see.my.sig)
Date: Fri, 14 Mar 1997 16:07:22 -0500

Thu, 13 Mar 1997 00:01:41 -0800, cthulhu@usa.net (Jusi Sunchoz) wrote:
> Yarf! bug report? Why is there a blank line after the 'From:' line
> Yarf! replaces?

It's not a blank line, it's just spaces up to the end of the line of
your "place holder" to pad it out. To eliminate this you must make the
address in your yarn CONFIG file the exact same length as your
replacement strings in the Yarf.cfg... i also find this EXTREMELY
annoying... but not quite extremely annoying enough to do anything
about it...

WHy is this? Becuase Yarf is a stooooooopid program. (-: It was just
an extremely fast-and-dirty hack... it doesn't actually load your
entire message it simply OVER-WRITES your From: field... and if
there's extra space... then it just writes spaces until the end of the
line because it has to get rid of them somehow and can't "delete"
them, the way that it's hacked together.

Yarf just sucks the header into memory and does the simplest of
"searches" on it... therefore your suggestion #1 would be impossible
for Yarf without a serious rewrite. Your suggestion #2 would be
easier... the easiest way would be to have a more sophisticated yarf
config file that allows for multiple random possible replacement
strings for each match.

But i've been meaning to put wild-card searching abilities into the
search routine for a long time now and still haven't done that... so
don't hold your breath. (-: It is and remains an extremely crude
hack.. sigh.

-- 
 ..,.,.,,..,...,.,.,.,.,.,.,,,,.,.,.,...,.,.,..,.,,.,..,..,.,..,.,,.,.
  Tim Moddletyn =-= with love and tomato sandwiches =-= x @ veX . net
  -=-= read Alice in Wonderland by Lewis Carroll many many times =-=-                                         
 `'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^`'^
   * March 14th * International Day of Large Toes
    Yarn/2 Bells & Whistles Page: http://www.vex.net/~x/bells2.phtml