mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +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}
|
||||
|
||||
# Manual page - compressed
|
||||
type/^(ASCII )?troff.*gzip compressed
|
||||
type/troff.*gzip compressed
|
||||
Open=@EXTHELPERSDIR@/text.sh open 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}
|
||||
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}
|
||||
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
|
||||
|
||||
# Manual page
|
||||
type/^(ASCII )?troff
|
||||
type/troff or preprocessor input
|
||||
Open=@EXTHELPERSDIR@/text.sh open 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$
|
||||
Open=@EXTHELPERSDIR@/text.sh open 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}
|
||||
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
|
||||
shell/i/.chm
|
||||
Open=@EXTHELPERSDIR@/text.sh open chm
|
||||
|
Loading…
Reference in New Issue
Block a user