diff options
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/mim.mi5 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/mim.mi5 b/bin/mim.mi5 new file mode 100755 index 00000000..1c04e185 --- /dev/null +++ b/bin/mim.mi5 @@ -0,0 +1,12 @@ +# Open up Mutt to a new message starting with input + +<% +include(`include/mktd.m4') +%> + +# Direct all input (stdin and files) into a tempfile +tf=$td/out +cat -- "${@:--}" > "$tf" || exit + +# Run Mutt on the tempfile, showing it the TTY for its input +mutt -i "$tf" < /dev/tty |