]> diplodocus.org Git - nmh/commitdiff
use %l uniformly on all the text-mode browser display strings
authorPaul Fox <pgf@foxharp.boston.ma.us>
Sat, 14 Feb 2015 16:36:24 +0000 (11:36 -0500)
committerPaul Fox <pgf@foxharp.boston.ma.us>
Sat, 14 Feb 2015 16:36:24 +0000 (11:36 -0500)
otherwise behavior changes depending on which browser was present
when nmh is configured/installed.

etc/mhn.defaults.sh

index 2f7ddaf..6828c36 100755 (executable)
@@ -279,7 +279,7 @@ expand | sed -e 's/^   //' -e 's/  *$//'" >> $TMP
     else
         PGM=`$SEARCHPROG "$SEARCHPATH" elinks`
         if [ ! -z "$PGM" ]; then
-            echo "mhshow-show-text/html: $PGM -dump -force-html \
+            echo "mhshow-show-text/html: %l$PGM -dump -force-html \
 -eval 'set document.browse.margin_width = 0' %F" >> $TMP
             echo "mhfixmsg-format-text/html: $PGM -dump -force-html \
 -no-numbering -eval 'set document.browse.margin_width = 0' %F" >> $TMP