Path: 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: <3232@exodus.Eng.Sun.COM> Date: 21 Nov 90 07:15:43 GMT References: <2867@exodus.Eng.Sun.COM> <1990Nov16.080151.6729@fts1.uucp> <2951@exodus.Eng.Sun.COM> <1990Nov20.171312.1734@fts.ocug.on.ca> Sender: news@exodus.Eng.Sun.COM Distribution: comp Organization: O'Reilly && Associates Lines: 21 In article michael@fts.ocug.on.ca (Michael Richardson) writes: > In article argv@turnpike.Eng.Sun.COM (Dan Heller) writes: > >> >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: > > Curses! I never use that mode. > Sorry. I mean I want to do: > 'cmd foo "save-excusion 'blah-command'"' We seem to be going around in circles. Suffice to say that whatever you want done -can- be done. the first thing to do is figure out what it is that you want to do! :-) However, you seem to be getting the hang of it, so I'll let you go on your own. -- dan ---------------------------------------------------- O'Reilly && Associates argv@sun.com / argv@ora.com Opinions expressed reflect those of the author only.