Ticket #2820: Typo fix 'oofice' -> ooffice
[midnight-commander.git] / misc / mc.ext.in
blobb2181135ecc8c3aa0b32135513c73d285202b723
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 #    regex (desc is an extended regular expression)
16 #          Please note that we are using the GNU regex library and thus
17 #          \| matches the literal | and | has special meaning (or) and
18 #          () have special meaning and \( \) stand for literal ( ).
20 #    type  (file matches this if `file %f` matches regular expression desc
21 #          (the filename: part from `file %f` is removed))
23 #    directory (matches any directory matching regular expression desc)
25 #    include (matches an include directive)
27 #    default (matches any file no matter what desc is)
29 # Other lines should start with a space or tab and should be in the format:
31 # keyword=commandNL (with no spaces around =), where keyword should be:
33 #    Open (if the user presses Enter or doubleclicks it),
35 #    View (F3), Edit (F4)
37 #    Include is the keyword used to add any further entries from an include/
38 #    section
40 # command is any one-line shell command, with the following substitutions:
42 # %% -> % character
43 # %p -> name of the current file (without path, but pwd is its path).
44 #       Also provided to external application as MC_EXT_BASENAME
45 #       global variable
46 # %f -> name of the current file. Unlike %p, if file is located on a
47 #       non-local virtual filesystem, i.e. either tarfs or ftpfs,
48 #       then the file will be temporarily copied into a local directory
49 #       and %f will be the full path to this local temporal file.
50 #       If you don't want to get a local copy and want to get the
51 #       virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then
52 #       use %d/%p instead of %f.
53 #       Also provided to external application as MC_EXT_FILENAME
54 #       global variable
55 # %d -> name of the current directory (pwd, without trailing slash)
56 #       Also provided to external application as MC_EXT_CURRENTDIR
57 #       global variable
58 # %s -> "selected files", i.e. space separated list of tagged files if any
59 #       or name of the current file.
60 #       Also provided to external application as MC_EXT_SELECTED
61 #       global variable
62 # %t -> list of tagged files
63 #       Also provided to external application as MC_EXT_ONLYTAGGED
64 #       global variable
65 # %u -> list of tagged files (they'll be untaged after the command)
67 # (If these 6 letters are in uppercase, they refer to the other panel.
68 # But you shouldn't have to use it in this file.)
71 # %cd -> the rest is a path mc should change into (cd won't work, since it's
72 #       a child process).  %cd handles even vfs names.
74 # %view -> the command you type will be piped into mc's internal file viewer
75 #       if you type only the %view and no command, viewer will load %f file
76 #       instead (i.e. no piping, so it is different to %view cat %f)
77 #       %view may be directly followed by {} with a list of any of
78 #       ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for
79 #       text using backspace for bold and underscore) and unform
80 #       (no highlighting for nroff sequences) separated by commas.
82 # %var -> You use it like this: %var{VAR:default}.  This macro will expand
83 #       to the value of the VAR variable in the environment if it's set
84 #       otherwise the value in default will be used.  This is similar to
85 #       the Bourne shell ${VAR-default} construct.
87 # Rules are applied from top to bottom, thus the order is important.
88 # If some actions are missing, search continues as if this target didn't
89 # match (i.e. if a file matches the first and second entry and View action
90 # is missing in the first one, then on pressing F3 the View action from
91 # the second entry will be used. default should catch all the actions.
93 # Any new entries you develop for you are always welcome if they are
94 # useful on more than one system.  You can post your modifications
95 # as tickets at www.midnight-commander.org
98 ### Changes ###
100 # Reorganization: 2000-05-01 Michal Svec <rebel@penguin.cz>
103 ### TODO ###
105 # Postscript    Open: ps2svga [gs -DEVICE=jpeg|zgv or something]
106 # Images                asciiview
108 # All X Apps    [Nothing/Warning] if no DISPLAY
109 # Not found     [Default/Warning]
110 # Empty Output  [Default/Warning]
111 # Edit:         CopyOut+EDIT+CopyIn
112 # Security      Check gzip/bzip EDIT (mktemp)
114 # Maybe:        Open/XOpen/GOpen/KOpen/... for Console/X/GNOME/KDE/etc.
117 ### GIT Repo ###
118 # gitfs changeset
119 regex/^\[git\]
120         Open=%cd %p/changesetfs://
121         View=%cd %p/patchsetfs://
123 ### Archives ###
125 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk
126 regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk|\.gem$
127         Open=%cd %p/utar://
128         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.gz
130 regex/\.tar\.bz$
131         # Open=%cd %p/utar://
132         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip
134 regex/\.t(ar\.bz2|bz2?|b2)$
135         Open=%cd %p/utar://
136         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip2
138 # .tar.lzma, .tlz
139 regex/\.t(ar\.lzma|lz)$
140         Open=%cd %p/utar://
141         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzma
143 # .tar.xz, .txz
144 regex/\.t(ar\.xz|xz)$
145         Open=%cd %p/utar://
146         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
148 # .tar.F - used in QNX
149 regex/\.tar\.F$
150         # Open=%cd %p/utar://
151         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
153 # .qpr/.qpk - QNX Neutrino package installer files
154 regex/\.(qp[rk])$
155         Open=%cd %p/utar://
156         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
158 # tar
159 regex/\.(tar|TAR)$
160         Open=%cd %p/utar://
161         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
163 # lha
164 type/^LHa\ .*archive
165         Open=%cd %p/ulha://
166         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
168 # arj
169 regex/\.a(rj|[0-9][0-9])$
170         Open=%cd %p/uarj://
171         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
173 # cab
174 regex/\.([cC][aA][bB])$
175         Open=%cd %p/ucab://
176         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
178 # ha
179 regex/\.([Hh][Aa])$
180         Open=%cd %p/uha://
181         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
183 # rar
184 regex/\.[rR]([aA][rR]|[0-9][0-9])$
185         Open=%cd %p/urar://
186         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
188 # ALZip
189 regex/\.(alz|ALZ)$
190         Open=%cd %p/ualz://
191         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
193 # cpio
194 shell/.cpio.Z
195         Open=%cd %p/ucpio://
196         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
198 shell/.cpio.xz
199         Open=%cd %p/ucpio://
200         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
202 shell/.cpio.gz
203         Open=%cd %p/ucpio://
204         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
206 shell/.cpio
207         Open=%cd %p/ucpio://
208         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
210 # 7zip archives (they are not man pages)
211 regex/\.(7z|7Z)$
212         Open=%cd %p/u7z://
213         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
215 # patch
216 regex/\.(diff|patch)(\.bz2)$
217         Open=%cd %p/patchfs://
218         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
220 regex/\.(diff|patch)(\.(gz|Z))$
221         Open=%cd %p/patchfs://
222         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
224 # ls-lR
225 regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
226         Open=%cd %p/lslR://
228 # trpm
229 regex/\.trpm$
230         Open=%cd %p/trpm://
231         View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
233 # RPM packages (SuSE uses *.spm for source packages)
234 regex/\.(src\.rpm|spm)$
235         Open=%cd %p/rpm://
236         View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
238 regex/\.rpm$
239         Open=%cd %p/rpm://
240         View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
242 # deb
243 regex/\.u?deb$
244         Open=%cd %p/deb://
245         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
247 # dpkg
248 shell/.debd
249         Open=%cd %p/debd://
250         View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
252 # apt
253 shell/.deba
254         Open=%cd %p/deba://
255         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
257 # ISO9660
258 regex/\.([iI][sS][oO])$
259         Open=%cd %p/iso9660://
260         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
263 regex/\.(diff|patch)$
264         Open=%cd %p/patchfs://
265         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
267 # ar library
268 regex/\.s?a$
269         Open=%cd %p/uar://
270         #Open=%view{ascii} ar tv %f
271         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
273 # gplib
274 regex/\.([Ll][Ii][Bb])$
275         Open=%cd %p/ulib://
276         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
279 # Mailboxes
280 type/^ASCII\ mail\ text
281         Open=%cd %p/mailfs://
284 ### Sources ###
286 # C
287 shell/.c
288         Include=editor
290 # Fortran
291 shell/.f
292         Include=editor
294 # Header
295 regex/\.(h|hpp)$
296         Include=editor
298 # Asm
299 shell/.s
300         Include=editor
302 # C++
303 regex/\.(C|cc|cpp)$
304         Include=editor
306 include/editor
307         Open=%var{EDITOR:vi} %f
309 # .so libraries
310 regex/\.(so|so\.[0-9\.]*)$
311         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
313 # Object
314 type/^ELF
315         #Open=%var{PAGER:more} %f
316         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
318 ### Documentation ###
320 # Texinfo
321 #regex/\.(te?xi|texinfo)$
323 # GNU Info page
324 type/^Info\ text
325         Open=@EXTHELPERSDIR@/text.sh open info
327 shell/.info
328         Open=@EXTHELPERSDIR@/text.sh open info
330 # Exception: .3gp are video files not manual pages
331 regex/\.(3[gG][pP])$
332         Include=video
334 # Manual page
335 regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
336         Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
337         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
339 # Perl pod page
340 shell/.pod
341         Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
342         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
344 # Troff with me macros.
345 # Exception - "read.me" is not a nroff file.
346 shell/read.me
347         Open=
348         View=
350 shell/.me
351         Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
352         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
354 # Troff with ms macros.
355 shell/.ms
356         Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
357         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
359 # Manual page - compressed
360 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
361         Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
362         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
364 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
365         Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
366         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
368 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
369         Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
370         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
372 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
373         Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
374         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
376 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
377         Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
378         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
380 # CHM
381 regex/\.(chm|CHM)$
382         Open=@EXTHELPERSDIR@/text.sh open chm
384 ### Images ###
386 type/^GIF
387         Include=image
389 type/^JPEG
390         View=%view{ascii} @EXTHELPERSDIR@/image.sh view jpeg
391         Include=image
393 type/^PC\ bitmap
394         Include=image
396 type/^PNG
397         Include=image
399 type/^TIFF
400         Include=image
402 type/^PBM
403         Include=image
405 type/^PGM
406         Include=image
408 type/^PPM
409         Include=image
411 type/^Netpbm
412         Include=image
414 shell/.xcf
415         Open=@EXTHELPERSDIR@/image.sh open xcf
417 shell/.xbm
418         Open=@EXTHELPERSDIR@/image.sh open xbm
420 shell/.xpm
421         Include=image
422         View=@EXTHELPERSDIR@/image.sh view xpm %f
424 shell/.ico
425         Include=image
427 include/image
428         Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
429         View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
432 ### Sound files ###
434 regex/\.([wW][aA][vV]|[sS][nN][dD]|[vV][oO][cC]|[aA][uU]|[sS][mM][pP]|[aA][iI][fF][fF]|[sS][nN][dD])$
435         Open=@EXTHELPERSDIR@/sound.sh open common
437 regex/\.([mM][oO][dD]|[sS]3[mM]|[xX][mM]|[iI][tT]|[mM][tT][mM]|669|[sS][tT][mM]|[uU][lL][tT]|[fF][aA][rR])$
438         Open=@EXTHELPERSDIR@/sound.sh open mod
440 regex/\.([wW][aA][wW]22)$
441         Open=@EXTHELPERSDIR@/sound.sh open wav22
443 regex/\.([mM][pP]3)$
444         Open=@EXTHELPERSDIR@/sound.sh open mp3
445         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
447 regex/\.([oO][gG][gG|aA|vV|xX])$
448         Open=@EXTHELPERSDIR@/sound.sh open ogg
449         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
451 regex/\.([sS][pP][xX]|[fF][lL][aA][cC])$
452         Open=@EXTHELPERSDIR@/sound.sh open common
454 regex/\.([mM][iI][dD][iI]?|[rR][mM][iI][dD]?)$
455         Open=@EXTHELPERSDIR@/sound.sh open midi
457 regex/\.([wW][mM][aA])$
458         Open=@EXTHELPERSDIR@/sound.sh open wma
459         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
462 ### Play lists ###
464 regex/\.([mM]3[uU]|[pP][lL][sS])$
465         Open=@EXTHELPERSDIR@/sound.sh open playlist
468 ### Video ###
470 regex/\.([aA][vV][iI])$
471         Include=video
473 regex/\.([aA][sS][fFxX])$
474         Include=video
476 regex/\.([dD][iI][vV][xX])$
477         Include=video
479 regex/\.([mM][kK][vV])$
480         Include=video
482 regex/\.([mM][oO][vV]|[qQ][tT])$
483         Include=video
485 regex/\.([mM][pP]4|[mM]4[vV]|[mM][pP][eE]?[gG])$
486         Include=video
488 # MPEG-2 TS container + H.264 codec
489 regex/\.([mM][tT][sS])$
490         Include=video
492 regex/\.([tT][sS])$
493         Include=video
495 regex/\.([vV][oO][bB])$
496         Include=video
498 regex/\.([wW][mM][vV])$
499         Include=video
501 regex/\.([fF][lL][iIcCvV])$
502         Include=video
504 regex/\.([oO][gG][mM])$
505         Include=video
507 regex/\.([rR][aA]?[mM])$
508         Open=@EXTHELPERSDIR@/video.sh open ram
510 # WebM
511 regex/\.([wW][eE][bB][mM])$
512     Include=video
514 type/WebM
515     Include=video
517 include/video
518         Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
521 ### Documents ###
523 # Postscript
524 type/^PostScript
525         Open=@EXTHELPERSDIR@/doc.sh open ps
526         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
528 # PDF
529 type/^PDF
530         Open=@EXTHELPERSDIR@/doc.sh open pdf
531         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
533 # html
534 regex/\.([hH][tT][mM][lL]?)$
535         Open=@EXTHELPERSDIR@/web.sh open html
536         View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
538 # StarOffice 5.2
539 shell/.sdw
540         Open=@EXTHELPERSDIR@/doc.sh open ooffice
542 # StarOffice 6 and OpenOffice.org formats
543 regex/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
544         Open=@EXTHELPERSDIR@/doc.sh open ooffice
545         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
547 # AbiWord
548 shell/.abw
549         Open=@EXTHELPERSDIR@/doc.sh open abw
551 # Microsoft Word Document
552 regex/\.([Dd][oO][cCtT]|[Ww][rR][iI])$
553         Open=@EXTHELPERSDIR@/doc.sh open msdoc
554         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
555 type/^Microsoft\ Word
556         Open=@EXTHELPERSDIR@/doc.sh open msdoc
557         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
559 # RTF document
560 regex/\.([rR][tT][fF])$
561         Open=@EXTHELPERSDIR@/doc.sh open msdoc
563 # Microsoft Excel Worksheet
564 regex/\.([xX][lL][sSwW])$
565         Open=@EXTHELPERSDIR@/doc.sh open msxls
566         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
567 type/^Microsoft\ Excel
568         Open=@EXTHELPERSDIR@/doc.sh open msxls
569         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
571 # Use OpenOffice.org to open any MS Office documents
572 type/^Microsoft\ Office\ Document
573         Open=@EXTHELPERSDIR@/doc.sh open ooffice
575 # Framemaker
576 type/^FrameMaker
577         Open=@EXTHELPERSDIR@/doc.sh open framemaker
579 # DVI
580 regex/\.([dD][vV][iI])$
581         Open=@EXTHELPERSDIR@/doc.sh open dvi
582         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
584 # TeX
585 regex/\.([Tt][Ee][Xx])$
586         Include=editor
588 # DjVu
589 regex/\.(djvu?|DJVU?)$
590         Open=@EXTHELPERSDIR@/doc.sh open djvu
591         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
593 ### Miscellaneous ###
595 # Makefile
596 regex/[Mm]akefile$
597         Open=make -f %f %{Enter parameters}
599 # Imakefile
600 shell/Imakefile
601         Open=@EXTHELPERSDIR@/misc.sh open imakefile
603 # Makefile.PL (MakeMaker)
604 regex/^Makefile.(PL|pl)$
605         Open=%var{PERL:perl} %f
607 # dbf
608 regex/\.([dD][bB][fF])$
609         Open=%view{ascii} @EXTHELPERSDIR@/misc.sh open dbf
610         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
612 # REXX script
613 regex/\.(rexx?|cmd)$
614        Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
616 # Disk images for Commodore computers (VIC20, C64, C128)
617 regex/\.(d64|D64)$
618         Open=%cd %p/uc1541://
619         View=%view{ascii} c1541 %f -list
620         Extract=c1541 %f -extract
622 # Glade, a user interface designer for GTK+ and GNOME
623 regex/\.([Gg][Ll][Aa][Dd][Ee])$
624         Open=@EXTHELPERSDIR@/misc.sh open glade
626 # Gettext Catalogs
627 shell/.mo
628         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
630 # lyx
631 regex/\.(lyx|LYX)$
632         Open=@EXTHELPERSDIR@/misc.sh open lyx
633         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
635 # torrent
636 regex/\.([tT][oO][rR][rR][eE][nN][tT])$
637         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
639 ### Plain compressed files ###
641 # ace
642 regex/\.(ace|ACE)$
643         Open=%cd %p/uace://
644         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
645         Extract=unace x %f
647 # arc
648 regex/\.(arc|ARC)$
649         Open=%cd %p/uarc://
650         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
651         Extract=arc x %f '*'
652         Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
654 # zip
655 type/^([Zz][Ii][Pp])\ archive
656         Open=%cd %p/uzip://
657         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
659 # zoo
660 regex/\.([Zz][Oo][Oo])$
661         Open=%cd %p/uzoo://
662         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
664 # gzip
665 type/^gzip
666         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
667         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
669 regex/\.(gz|Z)$
670         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
672 # bzip2
673 type/^bzip2
674         Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
675         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
677 regex/\.bz2?$
678         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
680 # bzip
681 type/^bzip
682         Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
683         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
685 # compress
686 type/^compress
687         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
688         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
690 # lzma
691 regex/\.lzma$
692         Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
693         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
695 # xz
696 regex/\.xz$
697         Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
698         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
700 ### Default ###
702 # Default target for anything not described above
703 default/*
704         Open=
705         View=
708 ### EOF ###