Tweak sources for --with-x/--without-x option.
[midnight-commander.git] / misc / mc.ext.in
blob1e00f90f8fde10013bf8b91ca1fbee393fa257e5
1 # Midnight Commander 3.0 extension file
2 # Warning: Structure of this file has changed completely with version 3.0
4 # All lines starting with # or empty lines are thrown away.
5 # Lines starting in the first column should have following format:
7 # keyword/descNL, i.e. everything after keyword/ until new line is desc
9 # keyword can be:
11 #    shell (desc is, when starting with a dot, any extension (no wildcars),
12 #          i.e. matches all the files *desc . Example: .tar matches *.tar;
13 #          if it doesn't start with a dot, it matches only a file of that name)
15 #    shell/i (desc is, when starting with a dot, any extension (no wildcars),
16 #          The same as shell but with case insensitive.
18 #    regex (desc is an extended regular expression)
19 #          Please note that we are using the GNU regex library and thus
20 #          \| matches the literal | and | has special meaning (or) and
21 #          () have special meaning and \( \) stand for literal ( ).
23 #    regex/i (desc is an extended regular expression)
24 #          The same as regex but with case insensitive.
26 #    type  (file matches this if `file %f` matches regular expression desc
27 #          (the filename: part from `file %f` is removed))
29 #    type/i (file matches this if `file %f` matches regular expression desc)
30 #          The same as type but with case insensitive.
32 #    directory (matches any directory matching regular expression desc)
34 #    include (matches an include directive)
36 #    default (matches any file no matter what desc is)
38 # Other lines should start with a space or tab and should be in the format:
40 # keyword=commandNL (with no spaces around =), where keyword should be:
42 #    Open (if the user presses Enter or doubleclicks it),
44 #    View (F3), Edit (F4)
46 #    Include is the keyword used to add any further entries from an include/
47 #    section
49 # command is any one-line shell command, with the following substitutions:
51 # %% -> % character
52 # %p -> name of the current file (without path, but pwd is its path).
53 #       Also provided to external application as MC_EXT_BASENAME
54 #       global variable
55 # %f -> name of the current file. Unlike %p, if file is located on a
56 #       non-local virtual filesystem, i.e. either tarfs or ftpfs,
57 #       then the file will be temporarily copied into a local directory
58 #       and %f will be the full path to this local temporal file.
59 #       If you don't want to get a local copy and want to get the
60 #       virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then
61 #       use %d/%p instead of %f.
62 #       Also provided to external application as MC_EXT_FILENAME
63 #       global variable
64 # %d -> name of the current directory (pwd, without trailing slash)
65 #       Also provided to external application as MC_EXT_CURRENTDIR
66 #       global variable
67 # %s -> "selected files", i.e. space separated list of tagged files if any
68 #       or name of the current file.
69 #       Also provided to external application as MC_EXT_SELECTED
70 #       global variable
71 # %t -> list of tagged files
72 #       Also provided to external application as MC_EXT_ONLYTAGGED
73 #       global variable
74 # %u -> list of tagged files (they'll be untaged after the command)
76 # (If these 6 letters are in uppercase, they refer to the other panel.
77 # But you shouldn't have to use it in this file.)
80 # %cd -> the rest is a path mc should change into (cd won't work, since it's
81 #       a child process).  %cd handles even vfs names.
83 # %view -> the command you type will be piped into mc's internal file viewer
84 #       if you type only the %view and no command, viewer will load %f file
85 #       instead (i.e. no piping, so it is different to %view cat %f)
86 #       %view may be directly followed by {} with a list of any of
87 #       ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for
88 #       text using backspace for bold and underscore) and unform
89 #       (no highlighting for nroff sequences) separated by commas.
91 # %var -> You use it like this: %var{VAR:default}.  This macro will expand
92 #       to the value of the VAR variable in the environment if it's set
93 #       otherwise the value in default will be used.  This is similar to
94 #       the Bourne shell ${VAR-default} construct.
96 # Rules are applied from top to bottom, thus the order is important.
97 # If some actions are missing, search continues as if this target didn't
98 # match (i.e. if a file matches the first and second entry and View action
99 # is missing in the first one, then on pressing F3 the View action from
100 # the second entry will be used. default should catch all the actions.
102 # Any new entries you develop for you are always welcome if they are
103 # useful on more than one system.  You can post your modifications
104 # as tickets at www.midnight-commander.org
107 ### Changes ###
109 # Reorganization: 2012-03-07 Slava Zanko <slavazanko@gmail.com>
112 ### GIT Repo ###
113 # gitfs changeset
114 regex/^\[git\]
115         Open=%cd %p/changesetfs://
116         View=%cd %p/patchsetfs://
118 ### Archives ###
120 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem, .war
121 regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$|\.gem$|\.war$
122         Open=%cd %p/utar://
123         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.gz
125 shell/.tar.bz
126         # Open=%cd %p/utar://
127         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip
129 regex/\.t(ar\.bz2|bz2?|b2)$
130         Open=%cd %p/utar://
131         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip2
133 # .tar.lzma, .tlz
134 regex/\.t(ar\.lzma|lz)$
135         Open=%cd %p/utar://
136         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzma
138 # .tar.xz, .txz
139 regex/\.t(ar\.xz|xz)$
140         Open=%cd %p/utar://
141         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
143 # .tar.F - used in QNX
144 shell/.tar.F
145         # Open=%cd %p/utar://
146         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
148 # .qpr/.qpk - QNX Neutrino package installer files
149 regex/\.qp[rk]$
150         Open=%cd %p/utar://
151         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
153 # tar
154 shell/i/.tar
155         Open=%cd %p/utar://
156         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
158 # lha
159 type/^LHa\ .*archive
160         Open=%cd %p/ulha://
161         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
163 # arj
164 regex/i/\.a(rj|[0-9][0-9])$
165         Open=%cd %p/uarj://
166         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
168 # cab
169 shell/i/.cab
170         Open=%cd %p/ucab://
171         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
173 # ha
174 shell/i/.ha
175         Open=%cd %p/uha://
176         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
178 # rar
179 regex/i/\.r(ar|[0-9][0-9])$
180         Open=%cd %p/urar://
181         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
183 # ALZip
184 shell/i/.alz
185         Open=%cd %p/ualz://
186         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
188 # cpio
189 shell/.cpio.Z
190         Open=%cd %p/ucpio://
191         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
193 shell/.cpio.xz
194         Open=%cd %p/ucpio://
195         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
197 shell/.cpio.gz
198         Open=%cd %p/ucpio://
199         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
201 shell/i/.cpio
202         Open=%cd %p/ucpio://
203         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
205 # 7zip archives (they are not man pages)
206 shell/i/.7z
207         Open=%cd %p/u7z://
208         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
210 # patch
211 regex/\.(diff|patch)(\.bz2)$
212         Open=%cd %p/patchfs://
213         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
215 regex/\.(diff|patch)(\.(gz|Z))$
216         Open=%cd %p/patchfs://
217         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
219 # ls-lR
220 regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
221         Open=%cd %p/lslR://
223 # trpm
224 shell/.trpm
225         Open=%cd %p/trpm://
226         View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
228 # RPM packages (SuSE uses *.spm for source packages)
229 regex/\.(src\.rpm|spm)$
230         Open=%cd %p/rpm://
231         View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
233 shell/.rpm
234         Open=%cd %p/rpm://
235         View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
237 # deb
238 regex/\.u?deb$
239         Open=%cd %p/deb://
240         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
242 # dpkg
243 shell/.debd
244         Open=%cd %p/debd://
245         View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
247 # apt
248 shell/.deba
249         Open=%cd %p/deba://
250         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
252 # ISO9660
253 shell/i/.iso
254         Open=%cd %p/iso9660://
255         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
258 regex/\.(diff|patch)$
259         Open=%cd %p/patchfs://
260         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
262 # ar library
263 regex/\.s?a$
264         Open=%cd %p/uar://
265         #Open=%view{ascii} ar tv %f
266         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
268 # gplib
269 shell/i/.lib
270         Open=%cd %p/ulib://
271         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
274 # Mailboxes
275 type/^ASCII\ mail\ text
276         Open=%cd %p/mailfs://
279 ### Sources ###
281 # C/C++
282 regex/i/\.(c|cc|cpp)$
283         Include=editor
285 # C/C++ header
286 regex/i/\.(h|hh|hpp)$
287         Include=editor
289 # Fortran
290 shell/i/.f
291         Include=editor
293 # Assembler
294 regex/i/\.(s|asm)$
295         Include=editor
297 include/editor
298         Open=%var{EDITOR:vi} %f
300 # .so libraries
301 regex/\.(so|so\.[0-9\.]*)$
302         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
304 # Object
305 type/^ELF
306         #Open=%var{PAGER:more} %f
307         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
309 ### Documentation ###
311 # Texinfo
312 #regex/\.(te?xi|texinfo)$
314 # GNU Info page
315 type/^Info\ text
316         Open=@EXTHELPERSDIR@/text.sh open info
318 shell/.info
319         Open=@EXTHELPERSDIR@/text.sh open info
321 # Exception: .3gp are video files not manual pages
322 shell/i/.3gp
323         Include=video
325 # Manual page
326 regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
327         Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
328         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
330 # Perl pod page
331 shell/.pod
332         Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
333         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
335 # Troff with me macros.
336 # Exception - "read.me" is not a nroff file.
337 shell/read.me
338         Open=
339         View=
341 shell/.me
342         Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
343         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
345 # Troff with ms macros.
346 shell/.ms
347         Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
348         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
350 # Manual page - compressed
351 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
352         Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
353         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
355 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
356         Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
357         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
359 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
360         Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
361         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
363 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
364         Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
365         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
367 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
368         Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
369         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
371 # CHM
372 shell/i/.chm
373         Open=@EXTHELPERSDIR@/text.sh open chm
375 ### Images ###
377 type/^GIF
378         Include=image
380 type/^JPEG
381         View=%view{ascii} @EXTHELPERSDIR@/image.sh view jpeg
382         Include=image
384 type/^PC\ bitmap
385         Include=image
387 type/^PNG
388         Include=image
390 type/^JNG
391         Include=image
393 type/^MNG
394         Include=image
396 type/^TIFF
397         Include=image
399 type/^PBM
400         Include=image
402 type/^PGM
403         Include=image
405 type/^PPM
406         Include=image
408 type/^Netpbm
409         Include=image
411 shell/.xcf
412         Open=@EXTHELPERSDIR@/image.sh open xcf
414 shell/.xbm
415         Open=@EXTHELPERSDIR@/image.sh open xbm
417 shell/.xpm
418         Include=image
419         View=@EXTHELPERSDIR@/image.sh view xpm %f
421 shell/.ico
422         Include=image
424 shell/i/.svg
425         View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
426         Open=@EXTHELPERSDIR@/image.sh open svg
428 include/image
429         Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
430         View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
433 ### Sound files ###
435 regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
436         Open=@EXTHELPERSDIR@/sound.sh open common
438 regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
439         Open=@EXTHELPERSDIR@/sound.sh open mod
441 shell/i/.waw22
442         Open=@EXTHELPERSDIR@/sound.sh open wav22
444 shell/i/.mp3
445         Open=@EXTHELPERSDIR@/sound.sh open mp3
446         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
448 regex/i/\.og[gax]$
449         Open=@EXTHELPERSDIR@/sound.sh open ogg
450         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
452 regex/i/\.(spx|flac)$
453         Open=@EXTHELPERSDIR@/sound.sh open common
455 regex/i/\.(midi?|rmid?)$
456         Open=@EXTHELPERSDIR@/sound.sh open midi
458 shell/i/.wma
459         Open=@EXTHELPERSDIR@/sound.sh open wma
460         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
463 ### Play lists ###
465 regex/i/\.(m3u|pls)$
466         Open=@EXTHELPERSDIR@/sound.sh open playlist
469 ### Video ###
471 shell/i/.avi
472         Include=video
474 regex/i/\.as[fx]$
475         Include=video
477 shell/i/.divx
478         Include=video
480 shell/i/.mkv
481         Include=video
483 regex/i/\.(mov|qt)$
484         Include=video
486 regex/i/\.(mp4|m4v|mpe?g)$
487         Include=video
489 # MPEG-2 TS container + H.264 codec
490 shell/i/.mts
491         Include=video
493 shell/i/.ts
494         Include=video
496 shell/i/.vob
497         Include=video
499 shell/i/.wmv
500         Include=video
502 regex/i/\.fl[icv]$
503         Include=video
505 shell/i/.ogv
506         Include=video
508 regex/i/\.ra?m$
509         Open=@EXTHELPERSDIR@/video.sh open ram
511 # WebM
512 shell/i/.webm
513     Include=video
515 type/WebM
516     Include=video
518 include/video
519         Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
520         View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
523 ### Documents ###
525 # Postscript
526 type/^PostScript
527         Open=@EXTHELPERSDIR@/doc.sh open ps
528         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
530 # PDF
531 type/^PDF
532         Open=@EXTHELPERSDIR@/doc.sh open pdf
533         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
535 # html
536 regex/i/\.html?$
537         Open=@EXTHELPERSDIR@/web.sh open html
538         View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
540 # StarOffice 5.2
541 shell/.sdw
542         Open=@EXTHELPERSDIR@/doc.sh open ooffice
544 # StarOffice 6 and OpenOffice.org formats
545 regex/i/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
546         Open=@EXTHELPERSDIR@/doc.sh open ooffice
547         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
549 # AbiWord
550 shell/.abw
551         Open=@EXTHELPERSDIR@/doc.sh open abw
553 # Gnumeric
554 shell/i/.gnumeric
555         Open=@EXTHELPERSDIR@/doc.sh open gnumeric
557 # Microsoft Word Document
558 regex/i/\.(do[ct]|wri)$
559         Open=@EXTHELPERSDIR@/doc.sh open msdoc
560         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
561 type/^Microsoft\ Word
562         Open=@EXTHELPERSDIR@/doc.sh open msdoc
563         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
565 # RTF document
566 shell/i/.rtf
567         Open=@EXTHELPERSDIR@/doc.sh open msdoc
569 # Microsoft Excel Worksheet
570 regex/i/\.xl[sw]$
571         Open=@EXTHELPERSDIR@/doc.sh open msxls
572         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
573 type/^Microsoft\ Excel
574         Open=@EXTHELPERSDIR@/doc.sh open msxls
575         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
577 regex/i/\.(ppt|pps)$
578         Open=@EXTHELPERSDIR@/doc.sh open msppt
579         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
581 # Use OpenOffice.org to open any MS Office documents
582 type/^Microsoft\ Office\ Document
583         Open=@EXTHELPERSDIR@/doc.sh open ooffice
585 # Framemaker
586 type/^FrameMaker
587         Open=@EXTHELPERSDIR@/doc.sh open framemaker
589 # DVI
590 shell/i/.dvi
591         Open=@EXTHELPERSDIR@/doc.sh open dvi
592         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
594 # TeX
595 shell/i/.tex
596         Include=editor
598 # DjVu
599 regex/i/\.djvu?$
600         Open=@EXTHELPERSDIR@/doc.sh open djvu
601         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
603 # Comic Books
604 regex/i/\.cb[zr]$
605         Open=@EXTHELPERSDIR@/doc.sh open comic
607 # Epub
608 shell/i/.epub
609         Open=@EXTHELPERSDIR@/doc.sh open epub
610         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
613 ### Miscellaneous ###
615 # Compiled Java classes
616 shell/.class
617         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
619 # Makefile
620 regex/[Mm]akefile$
621         Open=make -f %f %{Enter parameters}
623 # Imakefile
624 shell/Imakefile
625         Open=@EXTHELPERSDIR@/misc.sh open imakefile
627 # Makefile.PL (MakeMaker)
628 regex/^Makefile.(PL|pl)$
629         Open=%var{PERL:perl} %f
631 # sqlite3.db
632 type/^SQLite 3.x database
633         Open=@EXTHELPERSDIR@/misc.sh open sqlite
634         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
636 # dbf
637 shell/i/.dbf
638         Open=@EXTHELPERSDIR@/misc.sh open dbf
639         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
641 # REXX script
642 regex/\.(rexx?|cmd)$
643        Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
645 # Disk images for Commodore computers (VIC20, C64, C128)
646 shell/i/.d64
647         Open=%cd %p/uc1541://
648         View=%view{ascii} c1541 %f -list
649         Extract=c1541 %f -extract
651 # Glade, a user interface designer for GTK+ and GNOME
652 shell/i/.glade
653         Open=@EXTHELPERSDIR@/misc.sh open glade
655 # Gettext Catalogs
656 shell/.mo
657         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
659 # lyx
660 shell/i/.lyx
661         Open=@EXTHELPERSDIR@/misc.sh open lyx
662         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
664 # torrent
665 shell/i/.torrent
666         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
668 ### Plain compressed files ###
670 # ace
671 shell/i/.ace
672         Open=%cd %p/uace://
673         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
674         Extract=unace x %f
676 # arc
677 shell/i/.arc
678         Open=%cd %p/uarc://
679         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
680         Extract=arc x %f '*'
681         Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
683 # zip
684 type/i/^zip\ archive
685         Open=%cd %p/uzip://
686         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
688 # zoo
689 shell/i/.zoo
690         Open=%cd %p/uzoo://
691         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
693 # gzip
694 type/^gzip
695         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
696         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
698 regex/\.(gz|Z)$
699         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
701 # bzip2
702 type/^bzip2
703         Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
704         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
706 regex/\.bz2?$
707         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
709 # bzip
710 type/^bzip
711         Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
712         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
714 # compress
715 type/^compress
716         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
717         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
719 # lzma
720 regex/\.lzma$
721         Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
722         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
724 # xz
725 regex/\.xz$
726         Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
727         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
729 # Parity Archive
730 type/^Parity\ Archive\ Volume\ Set
731         Open=@EXTHELPERSDIR@/archive.sh open par2
733 ### Default ###
735 # Default target for anything not described above
736 default/*
737         Open=
738         View=
741 ### EOF ###