mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 12:56:51 +03:00
Merge branch '4272_mc.ext_man_pages'
* 4272_mc.ext_man_pages: Ticket #4272: nc.ext: fix recognition of plain and compressed man pages.
This commit is contained in:
commit
6a855b1d1f
@ -373,28 +373,23 @@ shell/.ms
|
|||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
|
||||||
|
|
||||||
# Manual page - compressed
|
# Manual page - compressed
|
||||||
type/^(ASCII )?troff.*gzip compressed
|
type/troff.*gzip compressed
|
||||||
Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
|
||||||
|
|
||||||
type/^(ASCII )?troff.*bzip compressed
|
type/troff.*bzip compressed
|
||||||
Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
|
||||||
|
|
||||||
type/^(ASCII )?troff.*bzip2 compressed
|
type/troff.*bzip2 compressed
|
||||||
Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
|
||||||
|
|
||||||
# Manual page
|
# Manual page
|
||||||
type/^(ASCII )?troff
|
type/troff or preprocessor input
|
||||||
Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
|
||||||
|
|
||||||
# Perl pod page
|
|
||||||
shell/.pod
|
|
||||||
Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
|
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
|
|
||||||
|
|
||||||
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
|
||||||
Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
|
||||||
@ -415,6 +410,11 @@ regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
|
|||||||
Open=@EXTHELPERSDIR@/text.sh open man.zst %var{PAGER:more}
|
Open=@EXTHELPERSDIR@/text.sh open man.zst %var{PAGER:more}
|
||||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.zst %var{PAGER:more}
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.zst %var{PAGER:more}
|
||||||
|
|
||||||
|
# Perl pod page
|
||||||
|
shell/.pod
|
||||||
|
Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
|
||||||
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
|
||||||
|
|
||||||
# CHM
|
# CHM
|
||||||
shell/i/.chm
|
shell/i/.chm
|
||||||
Open=@EXTHELPERSDIR@/text.sh open chm
|
Open=@EXTHELPERSDIR@/text.sh open chm
|
||||||
|
Loading…
Reference in New Issue
Block a user