* Eyolf Østrem on Saturday, October 06, 2007 at 14:39:41 +0200
> It didn't quite work for me, still. I may play around with different
> flags and such, but in the end, it isn't really *that* important to
> me. But thanks for the script anyway. 

I was more interested in Screen, but this works here for xterm:


#!/bin/sh
DRAFT="$1"
cp "$DRAFT" "$DRAFT.tmp"
(
    xterm -e "exec mutt -H \"$DRAFT.tmp\""
    sleep 1
    rm -f "$DRAFT.tmp"
) &

exit 0


c
-- 
strangely, i became more bookish
and my home and study meant more to me
as i considered the circumstances of my death
--Iggy Pop, No Shit

Reply via email to