Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!cis.ohio-state.edu!ucbvax!UUNET.UU.NET!ziegast From: ziegast@UUNET.UU.NET (Eric Ziegast) Newsgroups: comp.mail.mh Subject: Re: how to include signature? Message-ID: <9106110626.AA02758@rodan.UU.NET> Date: 11 Jun 91 06:26:20 GMT References: <91161.222210CHANGJ@QUCDN.QueensU.CA> Sender: daemon@ucbvax.BERKELEY.EDU Distribution: world Organization: The Internet Lines: 44 news-server.csri.toronto.edu!qucdn!changj@uunet.UU.NET writes: > Can anybody tell me how to include signature in mh automatically? > What I mean is not signature at 'from' line,but at the end of the mail? There are several ways. 1) The MH way. In my Mail directory, I have two files that make my include my signature into the format of the message. Here they are: ~/Mail/components: To: cc: Subject: -------- -- Eric W. Ziegast Jr Postmaster - UUNET Technologies ziegast@uunet.uu.net postmaster@uunet.uu.net ~/Mail/replcomps body:component="> ",compwidth=2 :-- :Eric W. Ziegast Jr Postmaster - UUNET Technologies :ziegast@uunet.uu.net postmaster@uunet.uu.net In my ~/.mh_profile I have an entry: repl: -filter replfmt When I use comp, my signature is already there along with my headers. When I use repl, the mhl program takes the body of the letter I'm replying to, prepends '> ' to each line and then adds my signature at the end (look at this message). 2) Using your editor. If you use vi, you can use something like: map S :r ~/.signature to load your signature out of a file (.signature) every time you hit [Shift-S]. 3) Use your windowing system. I know that xterm under X-Windows can can provide key mappings for the utterly lazy. -- Eric W. Ziegast Jr Postmaster - UUNET Technologies ziegast@uunet.uu.net postmaster@uunet.uu.net