[424] in Zephyr_Comments
[Emanuel 'Jay' Berkenbilt: zephyr signatures]
daemon@ATHENA.MIT.EDU (John T Kohl)
Mon Feb 19 08:38:10 1990
Date: Mon, 19 Feb 90 08:37:52 -0500
From: John T Kohl <jtkohl@ATHENA.MIT.EDU>
To: zephyr-comments@ATHENA.MIT.EDU
more details on using it for examples
------- Forwarded Message
From: qjb@ATHENA.MIT.EDU
Date: Sun, 18 Feb 90 16:36:08 -0500
To: lnp@ATHENA.MIT.EDU
Cc: watchmakers@ATHENA.MIT.EDU
In-Reply-To: lnp@ATHENA.MIT.EDU's message of Sun, 18 Feb 90 15:47:05 -0500 <9002182047.AA05219@tabetha.MIT.EDU>
Subject: zephyr signatures
Under class message, there is a line
fields body signature
After that there is code that does various tampering with the
signature variable.
After it finishes, it sets the variable ftext.
BEFORE the line that sets ftext and after the tampering with
signature; i.e.:
if ($signature =~ "\n$") then
set dummy = rany($signature,"\n")
endif
----->
if ($signature == "") then
set ftext = "From: @bold("+protect($sender)+")"
else
you can insert this code:
set signature = verbatim($signature)
set toolong = ".........." # 10
set toolong = $toolong + $toolong # 20
set toolong = $toolong + $toolong # 40
set toolong = $toolong + "..*" # >= 40
if $signature =~ $toolong then
set signature = "<ridiculously long signature>"
endif
This is from what I sent, but it has $1 replaced by $signature
and no mention of $body.
I believe that this will work.
Jay
------- End Forwarded Message