+ echo "mhshow-show-application/pdf: %l$PGM %F" >> $TMP
+else
+ PGM=`$SEARCHPROG "$SEARCHPATH" okular`
+ if [ ! -z "$PGM" ]; then
+ echo "mhshow-show-application/pdf: %l$PGM %F" >> $TMP
+ else
+ PGM=`$SEARCHPROG "$SEARCHPATH" evince`
+ if [ ! -z "$PGM" ]; then
+ echo "mhshow-show-application/pdf: %l$PGM %F" >> $TMP
+ else
+ PGM=`$SEARCHPROG "$SEARCHPATH" xpdf`
+ if [ ! -z "$PGM" ]; then
+ echo "mhshow-show-application/pdf: %l$PGM %F" >> $TMP
+ else
+ PGM=`$SEARCHPROG "$SEARCHPATH" gv`
+ if [ ! -z "$PGM" ]; then
+ echo "mhshow-show-application/pdf: %l$PGM %F" >> $TMP
+ fi
+ fi
+ fi
+ fi
+fi
+
+echo "mhshow-show-text/calendar: mhical -infile %F" >> $TMP
+echo "mhshow-show-application/ics: mhical -infile %F" >> $TMP
+echo "mhfixmsg-format-text/calendar: mhical -infile %F" >> $TMP
+echo "mhfixmsg-format-application/ics: mhical -infile %F" >> $TMP
+
+PGM=`$SEARCHPROG "$SEARCHPATH" ivs_replay`
+if [ ! -z "$PGM" ]; then
+ echo "mhshow-show-application/x-ivs: %l$PGM -o %F" >> $TMP