<<< Date Index >>>     <<< Thread Index >>>

Re: Generate Reply / New Mail in new shell session



On 2007-10-04, David Champion <dgc@xxxxxxxxxxxx> wrote:

> Something along these lines might work.  Untested.  It's been years
> since I used xterm, so I'm not sure if the syntax below is correct for
> expressing what xterm should run.  Might need to add sh -c and quoting,
> or somesuch.  Maybe you need some more dressing, but perhaps this will
> get you started.
> 
> If you want this only sometimes, you'll need to macro-fy the muttrc
> bits.
> 
> 
> $ cat external-reply
> #!/bin/sh
> DRAFT="$1"
> # hard-link our own copy of the draft so that mutt can remove original
> ln "$DRAFT" "$DRAFT.tmp"

I don't think that will work.  I think you'll need to copy it.  The 
reason is that mutt overwrites its temporary files with zeros before 
unlinking them.

Regards,
Gary