[comp.mail.mh] MH & Filenames

sjohn@GYPSY.HAC.COM (Sherie Johnson) (03/12/91)

MH-Users,

	I have a question, just out of curiosity, about an MH operation.  It
appears that MH puts a '#' sign infront of file names being sent a mail. For
example, if I use MH to compose a message, the message is name #draft.  If
I already have a file created that I wish to send as mail (say for example
this file is named "lucky"), MH will send the file and rename this file to
"#lucky".  What is the significance, if any, with the "#" sign? Is this MH's
way of saying that the mail was processed?  
	
Just curious,

Sherie

jromine@buckaroo.ics.uci.edu (John Romine) (03/14/91)

sjohn@GYPSY.HAC.COM (Sherie Johnson) writes:
>It appears that MH puts a '#' sign infront of file names being sent a mail.
>What is the significance, if any, with the "#" sign? Is this MH's
>way of saying that the mail was processed?

Yes.  Most sites use a prefix character to denote scratch files which
are removed each night, and MH follows this convention.  You should
build MH to use the prefix character your system uses for scratch
files.  Other popular choices for this character are comma and underscore.
--
John Romine

allbery@NCoast.ORG (Brandon S. Allbery KB8JRR) (03/18/91)

As quoted from <9103120020.AA00618@gypsy.HAC.COM> by sjohn@GYPSY.HAC.COM (Sherie Johnson):
+---------------
| 	I have a question, just out of curiosity, about an MH operation.  It
| appears that MH puts a '#' sign infront of file names being sent a mail. For
+---------------

Mh rmm's a draft file after sending it successfully.  The default rmm action
is to rename it by placing a "#" in front of the name (locally, we put "," in
front of it instead, so this can be changed).  This allows you to delete a
bunch of messages and be able to recover them until overwritten by another rmm
or until you clean them up ("find $HOME/Mail -type f -name "#*" -print |
xargs /bin/rm").

++Brandon
-- 
Me: Brandon S. Allbery			    Ham: KB8JRR on 2m, 220, 440, 1200
Internet: allbery@NCoast.ORG		(QRT on HF until local problems fixed)
America OnLine: KB8JRR // Delphi: ALLBERY   AMPR: kb8jrr.AmPR.ORG [44.70.4.88]
uunet!usenet.ins.cwru.edu!ncoast!allbery          KB8JRR @ WA8BXN.OH