Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread John P Verel
On 07/10/02 14:52 -0400, Mark J. Reed wrote: Mutt should hang around and do nothing until AbiWord exits, so > you should be able to just append a "!rm -f ~/tmp/foo.doc\n" > to your macro. . . Arrrggh! Forgot the "!" Finished product looks like this and works just fine. macro attach a "\cu~

Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread Rocco Rutte
Hi, * Mark J. Reed [02-07-10 21:14:29 +0200] wrote: > On Wed, Jul 10, 2002 at 02:46:02PM -0400, John P Verel wrote: > > This seems trivial, but I can't get the macro to do this. If I do rm -f > > foo.doc, I get dumped into my editor. I also can't figure out how to > > a) have AbiWord execute

Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread Mark J. Reed
On Wed, Jul 10, 2002 at 02:46:02PM -0400, John P Verel wrote: > > I got this to work: > > > macro attach a "\cu~/tmp/foo.doc\n!AbiWord ~/tmp/foo.doc\n" > > > Time for lunch. After lunch, I'll amend the macro to delete the temp > > file. > This seems trivial, but I can't get the macro to do thi

Re: Problem piping *.doc attachment to AbiWord: Deleting the temp file

2002-07-10 Thread John P Verel
On 07/10/02 12:23 -0400, John P Verel wrote: > Time for lunch. After lunch, I'll amend the macro to delete the temp > file. This seems trivial, but I can't get the macro to do this. If I do rm -f foo.doc, I get dumped into my editor. I also can't figure out how to a) have AbiWord execute and

Re: Problem piping *.doc attachment to AbiWord.

2002-07-10 Thread Mark J. Reed
On Wed, Jul 10, 2002 at 12:23:35PM -0400, John P Verel wrote: > On 07/10/02 11:37 -0400, Mark J. Reed wrote: > > > macro attach a s/tmp/foo.doc\r!abiword/tmp/foo.doc\r > > > Almost. Sorry. My version worked fine on my system. > I got this to work: > > macro attach a "\cu~/tmp/foo.do

Re: Problem piping *.doc attachment to AbiWord.

2002-07-10 Thread John P Verel
On 07/10/02 11:37 -0400, Mark J. Reed wrote: > macro attach a s/tmp/foo.doc\r!abiword/tmp/foo.doc\r > Almost. I got this to work: macro attach a "\cu~/tmp/foo.doc\n!AbiWord ~/tmp/foo.doc\n" Without ^U, the original name of the attachment was being appended to foo.doc. The is just in

Re: Problem piping *.doc attachment to AbiWord.

2002-07-10 Thread Mark J. Reed
On Wed, Jul 10, 2002 at 11:30:09AM -0400, John P Verel wrote: > > s filename > > !abiword filename > > Yep, that works fine. Just looking for a shortcut. I suppose one could > construct a macro to do the above, right? Sure, something like this should do the trick: macro

Re: Problem piping *.doc attachment to AbiWord.

2002-07-10 Thread John P Verel
On 07/10/02 10:51 -0400, Mark J. Reed wrote: Like you, I have antiword set up for everyday .doc reading, and fire up > AbiWord when antiword isn't enough. But I just save the attachment and > then run abiword on it: > > s filename > !abiword filename Yep, that works fine. Just

Re: Problem piping *.doc attachment to AbiWord.

2002-07-10 Thread Mark J. Reed
On Wed, Jul 10, 2002 at 10:40:16AM -0400, John P Verel wrote: > I have antiword set up as my mailcap entry for viewing MSWord docs and > it works great (thanks Sven :). What I'd also like to do, from time to > time, is pipe a *.doc to AbiWord. The problem is that piping and opening attachments