Re: Mutt viewers in the background / Job control

2003-11-09 Thread Bill Moseley
For the archives: On Sat, Nov 08, 2003 at 04:16:23PM -0800, Bill Moseley wrote: > Common question: how do I make the viewer a child of init so that when > mutt exits it's not a zombie waiting on the viewer or closing mutt > doesn't kill the viewer? Well, one answer would seem a script called mu

Mutt viewers in the background / Job control

2003-11-08 Thread Bill Moseley
I'm using a modification of mutt_bgrun where a .mailcap entry might be: image/png; /home/moseley/bin/mutt_bgrun display '%s'; test=test -n "$DISPLAY" and mutt_bgrun is basically: file=$(mktemp); cp "$2" "$file" ( "$1" "$file"; rm "$file" ) & That allows control to return to mutt while the view