/usr/share/doc/exmh/misc/exmhwrapper is in exmh 1:2.8.0-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | #!/bin/sh
displayfile=$HOME/.exmh/.display
if [ -e $displayfile ] ; then
display=`cat $displayfile`
if [ "$display" != "" ]; then
/usr/bin/wish -f -display $display <<EOF
catch { send exmh { Exmh_Done 1 } } err
exit 0
EOF
fi
fi
[ -z "$HOSTNAME" ] && HOSTNAME=`hostname`
if echo $DISPLAY | grep --quiet '^:'; then
DISPLAY="$HOSTNAME$DISPLAY"
fi
echo $DISPLAY > $displayfile
exmh
rm $displayfile
exit 0
|