🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mush
Article #601

Re: Save excursions for mush?

#601
From: Dan Heller
Date: Fri, 16 Nov 1990 17:57
23 lines
1295 bytes
In article <1990Nov16.080151.6729@fts1.uucp> michael@fts1.uucp (Michael Richardson) writes:
> >>   I often find myself doing a lot of 
> >>    set savrec=$record; 
> >>    set record=blah;
> >>    mail -lotsOfNeatOptions
> >>    set record=$savrec
> >
> >build your own command:
> >
> >cmd foo "set saverec=$record; set record=blah; mail \!*; set record=$saverec"
> 
>   Sorry, I should have been more explicit: I want to use this in my macros. 

No problem.  Now that you have the cmd, just include it in a macro:

bind-macro * [line-mode]foo\n

(use something other than * if you want)
--
dan
----------------------------------------------------
O'Reilly && Associates   argv@sun.com / argv@ora.com
Opinions expressed reflect those of the author only.
Technical Details
Message-ID: <2951@exodus.Eng.Sun.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!argv
References: <1990Nov12.024506.13412@fts1.uucp> <2867@exodus.Eng.Sun.COM> <1990Nov16.080151.6729@fts1.uucp>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!argv
From: argv@turnpike.Eng.Sun.COM (Dan Heller)
Newsgroups: comp.mail.mush
Subject: Re: Save excursions for mush?
Keywords: mush save_excursions
Message-ID: <2951@exodus.Eng.Sun.COM>
Date: 16 Nov 90 17:57:45 GMT
References: <1990Nov12.024506.13412@fts1.uucp> <2867@exodus.Eng.Sun.COM> <1990Nov16.080151.6729@fts1.uucp>
Sender: news@exodus.Eng.Sun.COM
Distribution: comp
Organization: O'Reilly && Associates
Lines: 23