Subject: Re: automatically include '--' with signature?

From: Nancy McGough <[email-masked]>
Date: 3 Sep 1996 12:27:50 -0400

[email-masked] (Mike Brudenell) writes:
>Of course, you could take a copy of your normal "--"-less signature into a
>separate file and add the "--".  Pine can then be configured (in the Setup
>Configuration screen) to use this alternative file.  (It only *defaults*
>to a file called ".signature" in your home directory (for UNIX Pine).)

Yes, this is what I do.  I use .signature for most programs and .sig--
for pine.  Here's a script I use to edit my sig, which I call `editsig':

  #! /bin/sh
  # The above line means that this is a Bourne shell script.
  
  # Filename: editsig
  # Author: Nancy McGough <[email-masked]>
  # Last Update: 09 September 1994

  $EDITOR $HOME/.signature
  
  sed -e '1i\
  -- ' $HOME/.signature > $HOME/.sig--
  
  chmod +r $HOME/.signature $HOME/.sig--
  
  cat $HOME/.signature $HOME/.sig--
  
Enjoy,
Nancy  
-- 
<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<*<
            @..@            Nancy McGough           /\_/\
           (----)           Infinite Ink           ( o.o )
          ( >__< )    http://www.jazzie.com/ii/     > ~ <

---

From: Nancy McGough <[email-masked]>
Date: 3 Sep 1996 21:31:20 -0400

>  #! /bin/sh

If you decide to use my `editsig' script, this first line needs 
to start in column 1 and *not* indented like I posted it.  I.e.,
the first line should look like this:

#! /bin/sh

Sorry if the way I posted it was confusing.

  -Nancy

---

From: David L Miller <[email-masked]>
Date: Wed, 4 Sep 1996 11:32:45 -0700

On 27 Aug 1996, Georg Schwarz wrote:

> Can I configure pine to automatically include a '--' ´line before the
> signature (if there is one) short of explicitly including the '--' line
> into my signature file?`

> for pine.  Here's a script I use to edit my sig, which I call `editsig':
[omitted for brevity]

Another way to add a signature with "-- " prepended is to configure
the following script as a sending-filter:

	#!/bin/csh
	cat
	echo "-- "
	cat ~/.signature
	
You will also want to unset the "signature-file" in the setup/Config
screen.  If you select the compose-send-offers-first-filter feature,
it will automatically be added by default when you send each message.
It would be trivial to extend this script to add random sigs, etc.
Note that this will always add the sig at the bottom of the message
(even forwarded messages)  regardless of the signature-at-bottom
feature setting. 

--DLM

|\ |  |\/|  David L. Miller    [email-masked]  (206) 685-6240
|/ |_ |  |  Software Engineer, Pine Development Team   (206) 685-4045 (FAX)
University of Washington, Networks & Distributed Computing, Box 354841
4545 15th Ave NE, Seattle WA 98105, USA