🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1976

Re: How do I get a signature line at the bottom?

#1976
From: Jerry Peek
Date: Tue, 13 Feb 1990 07:07
46 lines
2133 bytes
Ronald Guilmette <long-address@tut.cis.ohio-state.EDU> wrote:
> Please excuse my total ignorance, but how can I get MH to append some set
> of say 3-4 lines at the end of every message that I send?

One easy way is to put the signature in your draft skeleton files, named
"components", "replcomps" and "forwcomps" (don't do it to "distcomps").
If you don't already have these files in the MH directory on your account,
you can copy the standard files from the system directory.  Its name is
something like /usr/local/lib/mh (it could be different on your system).

For instance, make your "components" file look like this (but don't indent it):

    To:
    Cc:
    Subject:
    --------

    --Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
      jdpeek@rodan.acs.syr.edu, JDPEEK@SUNRISE.BITNET        +1 315 443-3995

Then, tell "prompter" (the default program that MH uses to make a draft
message) to let you type the body of your message before the signature lines.
To do that, put this line in the .mh_profile file (in your home directory):

	prompter: -prepend

Here's what will happen when you send a message:

    $ comp
    To: whoever
    Cc: 
    Subject: Whatever

    --------Enter initial text

    This is the body of my message.  I'm typing it on the terminal now.
    Blah, blah.  Now I press RETURN and CONTROL-d; here comes the signature:

    --Jerry Peek; Syracuse University Academic Computing Services; Syracuse, NY
      jdpeek@rodan.acs.syr.edu, JDPEEK@SUNRISE.BITNET        +1 315 443-3995
    --------

    What now? p
    $

There are other ways, but this one seems the easiest to me.
Technical Details
Message-ID: <9002130607.AA26958@rodan.acs.syr.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!RODAN.ACS.SYR.EDU!jdpeek
References: <25D78BE4.246@paris.ics.uci.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!tut.cis.ohio-state.edu!ucbvax!RODAN.ACS.SYR.EDU!jdpeek
From: jdpeek@RODAN.ACS.SYR.EDU (Jerry Peek)
Newsgroups: comp.mail.mh
Subject: Re: How do I get a signature line at the bottom?
Message-ID: <9002130607.AA26958@rodan.acs.syr.edu>
Date: 13 Feb 90 07:07:06 GMT
References: <25D78BE4.246@paris.ics.uci.edu>
Sender: daemon@ucbvax.BERKELEY.EDU
Organization: The Internet
Lines: 46