diff --git a/ChangeLog b/ChangeLog index 5c0a37dea..35b9c42d5 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,8 @@ 2005-06-06 Roland Illig * NEWS: Added the differences between pre3 and HEAD. + * lib/mc.ext.in: Added ${PAGER} as fallback if neither lynx nor + links is installed. 2005-05-31 Andrew V. Samoilov diff --git a/lib/mc.ext.in b/lib/mc.ext.in index 1c596eea6..dc5acb779 100644 --- a/lib/mc.ext.in +++ b/lib/mc.ext.in @@ -444,7 +444,7 @@ type/^PDF # html regex/\.([hH][tT][mM][lL]?)$ - Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) >/dev/null 2>&1; else links %f 2>/dev/null || lynx -force_html %f; fi + Open=(if test -n "@X11_WWW@" && test -n "$DISPLAY"; then (@X11_WWW@ file://%d/%p &) 1>&2; else links %f || lynx -force_html %f || ${PAGER:-more} %f; fi) 2>/dev/null View=%view{ascii} lynx -dump -force_html %f # StarOffice 5.2