--- mc-4.8.7/misc/ext.d/doc.sh.in.pdf 2013-01-04 22:19:53.391909241 -0500 +++ mc-4.8.7/misc/ext.d/doc.sh.in 2013-01-04 22:20:46.660679426 -0500 @@ -100,6 +100,8 @@ pdf) if [ ! -n "$DISPLAY" ]; then pdftotext -layout -nopgbrk "${MC_EXT_FILENAME}" - | ${PAGER:-more} + elif which okular > /dev/null 2>&1; then + (okular "${MC_EXT_FILENAME}" &) elif see > /dev/null 2>&1; then (see "${MC_EXT_FILENAME}" &) else