X-Git-Url: http://git.marmaro.de/?p=mmh;a=blobdiff_plain;f=etc%2Fmhn.defaults.sh;h=e3fa2fd9724418239dafd664d073ea5ed9fa0207;hp=7de7ca68d5c4abe1aa2a411e96c9ae39110379c8;hb=c0a38419e027e400b370db10086bcb8a3c981ce7;hpb=5ea88cec12b303551f6bda0d78f4ec989bffe130 diff --git a/etc/mhn.defaults.sh b/etc/mhn.defaults.sh index 7de7ca6..e3fa2fd 100755 --- a/etc/mhn.defaults.sh +++ b/etc/mhn.defaults.sh @@ -126,6 +126,15 @@ if [ ! -z "$PGM" ]; then echo "mhshow-show-application/x-ivs: %p$PGM -o '%F'" >> $TMP fi +# I'd like to check if netscape is available and use it preferentially to lynx, +# but only once I've added a new %-escape that makes more permanent temp files, +# so netscape -remote can be used (without -remote you get a complaint dialog +# that another netscape is already running and certain things can't be done). +PGM="`$SEARCHPROG $SEARCHPATH lynx`" +if [ ! -z "$PGM" ]; then + echo "mhshow-show-text/html: %p$PGM -force_html '%F'" >> $TMP +fi + PGM="`$SEARCHPROG $SEARCHPATH richtext`" if [ ! -z "$PGM" ]; then echo "mhshow-show-text/richtext: %p$PGM -p '%F'" >> $TMP