🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #166

Help with auto-processing of messages?

#166
From: G. T. Samson
Date: Mon, 28 Aug 1989 20:57
26 lines
1660 bytes
Hi there.  I've finally figured out a proper way to use the
"pick" command (from inside a script file), but for the life
of me, I can't figure out how to get this script file to
execute automatically!

What I'm trying to do is to toss out certain mail, move other
mail to separate mailboxes for later perusal, etc. - all the
things that the "pick" command does best.  Now, how do I get
this to happen every time that mush starts up?  I know that I
shouldn't put it in the .mushrc file, as no messages have yet
been read in when that's executed... but I even tried to bind
the command that I want to run to a key, and it wouldn't let
me pass an argument.

Now, I have a feeling that I'm just going about this the wrong
way, so could someone kind please E-MAIL me a hint about this?
I have no idea what to do from here, and I can't seem to get
a printout of the mush man page...

Any help much appreciated!

-- 
Name: Gregory T. Samson, the Evil MicroWizard [and once An Insane Man]
Nets: ARPA: gts@tardis.harvard.edu UUCP: ...cmcl2!hombre!dasys1!gts
      ALSO: hombre!dasys1!gts@cmcl2.nyu.edu OR: dasys1!gts@masa.com
Quote: "You've made my day, and now you have to sleep in it." - TMBG
Technical Details
Message-ID: <10569@dasys1.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!yale!cmcl2!dasys1!gts

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!yale!cmcl2!dasys1!gts
From: gts@dasys1.UUCP (G. T. Samson)
Newsgroups: comp.mail.mush
Subject: Help with auto-processing of messages?
Keywords: auto-executing script files?
Message-ID: <10569@dasys1.UUCP>
Date: 28 Aug 89 20:57:41 GMT
Reply-To: dasys1!gts@cmcl2.nyu.edu (G. T. Samson)
Distribution: usa
Organization: MicroWizardry's Haven
Lines: 26