aboutsummaryrefslogtreecommitdiff
path: root/bin/mim.mi5
blob: edef958693cad9b05794512c43f158fe928b395d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# Open up Mutt to a new message starting with input
self=mim

<%
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