no not while vi is open...I mean I am in mutt. I run a macro, asks me
some questions, and passes it right to vi....
well i guess even further is, what are ppl doing when they say they have
soemthing that is being passed through a script....could it be the other
way, the script asking them????
even further on this issue..., i guess I could just make a script and
have it echo to /var/qmail/bin/qmail-inject ???
On Thu, Aug 17, 2000 at 09:17:03AM -0400, Michael Soulier muttered:
| On Wed, Aug 16, 2000 at 10:49:31PM -0700, Jason Helfman wrote:
| > If i were to make a perl script to ask me some questions, and store the
| > information.. Would I be able to pass this to vi and send from mutt?
|
| If you mean while Vi is open, yes.
|
| :r!<command>
|
| will read in the output from <command>.
|
| :2,10!<command>
|
| will pipe lines 2-10 inclusive to <command>, and replace them with the
| output.
|
| Mike
|
| --
| Michael P. Soulier, 1Z22, SKY Tel: 613-765-4699 (ESN: 39-54699)
| Optical Networks, Nortel Networks, SDE Pegasus
| "...the word HACK is used as a verb to indicate a massive amount
| of nerd-like effort." -Harley Hahn, A Student's Guide to UNIX
| Nortel Linux User's Group Ottawa: (internal) http://nlug.ca.nortel.com:8080
--
/Jason G Helfman
"At any given moment, you may find the ticket to the circus that has always
been in your possession."
Fingerprint: 6A32 3774 E390 33B5 8C96 2AA1 2BF4 BD71 35A1 C149
GnuPG http://www.gnupg.org Get Private! 1024D/35A1C149