38 unpacker
=`get_unpacker ${filetype}`
42 case "${MC_EXT_CURRENTDIR}"/"${MC_EXT_FILENAME}" in
44 cat "${MC_EXT_FILENAME}"
47 { zsoelim
"${MC_EXT_FILENAME}" 2>/dev/null || cat "${MC_EXT_FILENAME}"; } | nroff @MAN_FLAGS@ @MANDOC@
52 pod2man "${MC_EXT_FILENAME}" | nroff @MAN_FLAGS@ @MANDOC@
55 nroff @MAN_FLAGS@ -me "${MC_EXT_FILENAME}"
58 nroff @MAN_FLAGS@ -ms "${MC_EXT_FILENAME}"
60 man.gz|man.bz|man.bz2|man.lzma|man.xz)
61 case "${MC_EXT_CURRENTDIR}"/"${MC_EXT_FILENAME}" in
66 ${unpacker} ${filename} | nroff @MAN_FLAGS@ @MANDOC@
79 unpacker=`get_unpacker ${filetype}`
83 info -f "${MC_EXT_FILENAME}"
86 case "${MC_EXT_CURRENTDIR}"/"${MC_EXT_FILENAME}" in
88 cat "${MC_EXT_FILENAME}"
91 { zsoelim "${MC_EXT_FILENAME}" 2>/dev/null || cat "${MC_EXT_FILENAME}"; } | \
92 nroff @MAN_FLAGS@ @MANDOC@
97 pod2man
"${MC_EXT_FILENAME}" | nroff @MAN_FLAGS@ @MANDOC@ |
${pager}
100 nroff @MAN_FLAGS@
-me "${MC_EXT_FILENAME}" |
${pager}
103 nroff @MAN_FLAGS@
-ms "${MC_EXT_FILENAME}" |
${pager}
105 man.gz|man.bz|man.bz2|man.lzma|man.xz
)
106 case "${MC_EXT_CURRENTDIR}"/"${MC_EXT_FILENAME}" in
108 ${unpacker} "${MC_EXT_FILENAME}"
111 ${unpacker} "${MC_EXT_FILENAME}" | nroff @MAN_FLAGS@ @MANDOC@
116 which kchmviewer
> /dev
/null
2>&1 && (kchmviewer
"${MC_EXT_FILENAME}" &) ||
(xchm
"${MC_EXT_FILENAME}" &)
125 do_view_action
"${filetype}" "${pager}"
128 xdg-open
"${MC_EXT_FILENAME}" 2>/dev
/null || \
129 do_open_action
"${filetype}" "${pager}"