]> diplodocus.org Git - nmh/blobdiff - etc/mhn.defaults.sh
Added mhfixmsg to nmh man page.
[nmh] / etc / mhn.defaults.sh
index a65918bb58e6366eb2f07325d0831fea561590f9..cff0e702d43cef63bb47535344f9a99be681a412 100755 (executable)
@@ -9,7 +9,7 @@
 if [ -n "$1" ]; then
     SEARCHPATH=$1
 else
-    SEARCHPATH="$PATH:/usr/demo/SOUND"
+    SEARCHPATH="$PATH"
 fi
 
 # If a search program is passed to the script, we
@@ -270,16 +270,16 @@ EOF
 PGM="`$SEARCHPROG $SEARCHPATH w3m`"
 if [ ! -z "$PGM" ]; then
     echo 'mhshow-show-text/html: charset=%{charset}; '"\
-%p$PGM"' ${charset:+-I "$charset"} -T text/html %F' >> $TMP
+%p$PGM"' -dump ${charset:+-I "$charset"} -T text/html %F' >> $TMP
 else
     PGM="`$SEARCHPROG $SEARCHPATH lynx`"
     if [ ! -z "$PGM" ]; then
        echo 'mhshow-show-text/html: charset=%{charset}; '"\
-%p$PGM"' -force-html ${charset:+--assume_charset "$charset"} %F' >> $TMP
+%p$PGM"' -child -dump -force-html ${charset:+--assume_charset "$charset"} %F' >> $TMP
     else
       PGM="`$SEARCHPROG $SEARCHPATH elinks`"
       if [ ! -z "$PGM" ]; then
-          echo "mhshow-show-text/html: $PGM -force-html \
+          echo "mhshow-show-text/html: $PGM -dump -force-html \
 -eval 'set document.browse.margin_width = 0' %F" >> $TMP
       fi
     fi