Ticket #2588: cannot set mini-format for "brief" listing type.
[midnight-commander.git] / misc / mc.ext.in
blobb8c0f8747506df03eec0246158ff1c7d9a2ce851
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
121 regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$|\.gem$
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.lz4, .tlz4
139 regex/\.t(ar\.lz4|lz4)$
140         Open=%cd %p/utar://
141         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
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 shell/.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 shell/i/.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/i/\.a(rj|[0-9][0-9])$
170         Open=%cd %p/uarj://
171         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
173 # cab
174 shell/i/.cab
175         Open=%cd %p/ucab://
176         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
178 # ha
179 shell/i/.ha
180         Open=%cd %p/uha://
181         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
183 # rar
184 regex/i/\.r(ar|[0-9][0-9])$
185         Open=%cd %p/urar://
186         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
188 # ALZip
189 shell/i/.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.lz4
199         Open=%cd %p/ucpio://
200         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz4
202 shell/.cpio.xz
203         Open=%cd %p/ucpio://
204         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
206 shell/.cpio.gz
207         Open=%cd %p/ucpio://
208         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
210 shell/i/.cpio
211         Open=%cd %p/ucpio://
212         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
214 # initrd
215 regex/^(initramfs.*\.img|initrd\.img(-.+)?)$
216         Open=%cd %p/ucpio://
218 # 7zip archives (they are not man pages)
219 shell/i/.7z
220         Open=%cd %p/u7z://
221         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
223 # patch
224 regex/\.(diff|patch)(\.bz2)$
225         Open=%cd %p/patchfs://
226         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
228 regex/\.(diff|patch)(\.(gz|Z))$
229         Open=%cd %p/patchfs://
230         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
232 regex/\.(diff|patch)(\.xz)$
233     Open=%cd %p/patchfs://
234     View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
236 # ls-lR
237 regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
238         Open=%cd %p/lslR://
240 # trpm
241 shell/.trpm
242         Open=%cd %p/trpm://
243         View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
245 # RPM packages (SuSE uses *.spm for source packages)
246 regex/\.(src\.rpm|spm)$
247         Open=%cd %p/rpm://
248         View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
250 shell/.rpm
251         Open=%cd %p/rpm://
252         View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
254 # deb
255 regex/\.u?deb$
256         Open=%cd %p/deb://
257         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
259 # dpkg
260 shell/.debd
261         Open=%cd %p/debd://
262         View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
264 # apt
265 shell/.deba
266         Open=%cd %p/deba://
267         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
269 # ISO9660
270 shell/i/.iso
271         Open=%cd %p/iso9660://
272         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
275 regex/\.(diff|patch)$
276         Open=%cd %p/patchfs://
277         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
279 # ar library
280 regex/\.s?a$
281         Open=%cd %p/uar://
282         #Open=%view{ascii} ar tv %f
283         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
285 # gplib
286 shell/i/.lib
287         Open=%cd %p/ulib://
288         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
291 # Mailboxes
292 type/^ASCII\ mail\ text
293         Open=%cd %p/mailfs://
296 ### Sources ###
298 # C/C++
299 regex/i/\.(c|cc|cpp)$
300         Include=editor
302 # C/C++ header
303 regex/i/\.(h|hh|hpp)$
304         Include=editor
306 # Fortran
307 shell/i/.f
308         Include=editor
310 # Assembler
311 regex/i/\.(s|asm)$
312         Include=editor
314 include/editor
315         Open=%var{EDITOR:vi} %f
317 # .so libraries
318 regex/\.(so|so\.[0-9\.]*)$
319         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
321 # Object
322 type/^ELF
323         #Open=%var{PAGER:more} %f
324         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
326 ### Documentation ###
328 # Texinfo
329 #regex/\.(te?xi|texinfo)$
331 # GNU Info page
332 type/^Info\ text
333         Open=@EXTHELPERSDIR@/text.sh open info
335 shell/.info
336         Open=@EXTHELPERSDIR@/text.sh open info
338 # Exception: .3gp are video files not manual pages
339 shell/i/.3gp
340         Include=video
342 # Manual page
343 regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
344         Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
345         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
347 # Perl pod page
348 shell/.pod
349         Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
350         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
352 # Troff with me macros.
353 # Exception - "read.me" is not a nroff file.
354 shell/read.me
355         Open=
356         View=
358 shell/.me
359         Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
360         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
362 # Troff with ms macros.
363 shell/.ms
364         Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
365         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
367 # Manual page - compressed
368 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
369         Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
370         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
372 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
373         Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
374         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
376 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
377         Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
378         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
380 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
381         Open=@EXTHELPERSDIR@/text.sh open man.lz4 %var{PAGER:more}
382         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz4 %var{PAGER:more}
384 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
385         Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
386         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
388 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
389         Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
390         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
392 # CHM
393 shell/i/.chm
394         Open=@EXTHELPERSDIR@/text.sh open chm
396 ### Images ###
398 type/^GIF
399         Include=image
401 type/^JPEG
402         View=%view{ascii} @EXTHELPERSDIR@/image.sh view jpeg
403         Include=image
405 type/^PC\ bitmap
406         Include=image
408 type/^PNG
409         Include=image
411 type/^JNG
412         Include=image
414 type/^MNG
415         Include=image
417 type/^TIFF
418         Include=image
420 type/^PBM
421         Include=image
423 type/^PGM
424         Include=image
426 type/^PPM
427         Include=image
429 type/^Netpbm
430         Include=image
432 shell/.xcf
433         Open=@EXTHELPERSDIR@/image.sh open xcf
435 shell/.xbm
436         Open=@EXTHELPERSDIR@/image.sh open xbm
438 shell/.xpm
439         Include=image
440         View=@EXTHELPERSDIR@/image.sh view xpm %f
442 shell/.ico
443         Include=image
445 shell/i/.svg
446         View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
447         Open=@EXTHELPERSDIR@/image.sh open svg
449 include/image
450         Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
451         View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
454 ### Sound files ###
456 regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
457         Open=@EXTHELPERSDIR@/sound.sh open common
459 regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
460         Open=@EXTHELPERSDIR@/sound.sh open mod
462 shell/i/.waw22
463         Open=@EXTHELPERSDIR@/sound.sh open wav22
465 shell/i/.mp3
466         Open=@EXTHELPERSDIR@/sound.sh open mp3
467         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
469 regex/i/\.og[gax]$
470         Open=@EXTHELPERSDIR@/sound.sh open ogg
471         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
473 regex/i/\.(spx|flac)$
474         Open=@EXTHELPERSDIR@/sound.sh open common
476 regex/i/\.(midi?|rmid?)$
477         Open=@EXTHELPERSDIR@/sound.sh open midi
479 shell/i/.wma
480         Open=@EXTHELPERSDIR@/sound.sh open wma
481         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
484 ### Play lists ###
486 regex/i/\.(m3u|pls)$
487         Open=@EXTHELPERSDIR@/sound.sh open playlist
490 ### Video ###
492 shell/i/.avi
493         Include=video
495 regex/i/\.as[fx]$
496         Include=video
498 shell/i/.divx
499         Include=video
501 shell/i/.mkv
502         Include=video
504 regex/i/\.(mov|qt)$
505         Include=video
507 regex/i/\.(mp4|m4v|mpe?g)$
508         Include=video
510 # MPEG-2 TS container + H.264 codec
511 shell/i/.mts
512         Include=video
514 shell/i/.ts
515         Include=video
517 shell/i/.vob
518         Include=video
520 shell/i/.wmv
521         Include=video
523 regex/i/\.fl[icv]$
524         Include=video
526 shell/i/.ogv
527         Include=video
529 regex/i/\.ra?m$
530         Open=@EXTHELPERSDIR@/video.sh open ram
532 # WebM
533 shell/i/.webm
534     Include=video
536 type/WebM
537     Include=video
539 include/video
540         Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
541         View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
544 ### Documents ###
546 # Postscript
547 type/^PostScript
548         Open=@EXTHELPERSDIR@/doc.sh open ps
549         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
551 # PDF
552 type/^PDF
553         Open=@EXTHELPERSDIR@/doc.sh open pdf
554         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
556 # html
557 regex/i/\.html?$
558         Open=@EXTHELPERSDIR@/web.sh open html
559         View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
561 # StarOffice 5.2
562 shell/.sdw
563         Open=@EXTHELPERSDIR@/doc.sh open ooffice
565 # StarOffice 6 and OpenOffice.org formats
566 regex/i/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
567         Open=@EXTHELPERSDIR@/doc.sh open ooffice
568         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
570 # AbiWord
571 shell/.abw
572         Open=@EXTHELPERSDIR@/doc.sh open abw
574 # Gnumeric
575 shell/i/.gnumeric
576         Open=@EXTHELPERSDIR@/doc.sh open gnumeric
578 # Microsoft Word Document
579 regex/i/\.(do[ct]|wri)$
580         Open=@EXTHELPERSDIR@/doc.sh open msdoc
581         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
582 type/^Microsoft\ Word
583         Open=@EXTHELPERSDIR@/doc.sh open msdoc
584         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
586 # RTF document
587 shell/i/.rtf
588         Open=@EXTHELPERSDIR@/doc.sh open msdoc
590 # Microsoft Excel Worksheet
591 regex/i/\.xl[sw]$
592         Open=@EXTHELPERSDIR@/doc.sh open msxls
593         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
594 type/^Microsoft\ Excel
595         Open=@EXTHELPERSDIR@/doc.sh open msxls
596         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
598 regex/i/\.(ppt|pps)$
599         Open=@EXTHELPERSDIR@/doc.sh open msppt
600         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
602 # Use OpenOffice.org to open any MS Office documents
603 type/^Microsoft\ Office\ Document
604         Open=@EXTHELPERSDIR@/doc.sh open ooffice
606 # Framemaker
607 type/^FrameMaker
608         Open=@EXTHELPERSDIR@/doc.sh open framemaker
610 # DVI
611 shell/i/.dvi
612         Open=@EXTHELPERSDIR@/doc.sh open dvi
613         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
615 # TeX
616 shell/i/.tex
617         Include=editor
619 # DjVu
620 regex/i/\.djvu?$
621         Open=@EXTHELPERSDIR@/doc.sh open djvu
622         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
624 # Comic Books
625 regex/i/\.cb[zr]$
626         Open=@EXTHELPERSDIR@/doc.sh open comic
628 # Epub & mobi
629 regex/i/\.(epub|mobi)$
630         Open=@EXTHELPERSDIR@/doc.sh open epub
631         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
634 ### Miscellaneous ###
636 # Compiled Java classes
637 shell/.class
638         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
640 # Makefile
641 regex/^[Mm]akefile$
642         Open=make -f %f %{Enter parameters}
644 # Imakefile
645 shell/Imakefile
646         Open=xmkmf -a
648 # Makefile.PL (MakeMaker)
649 regex/^Makefile\.(PL|pl)$
650         Open=%var{PERL:perl} %f
652 # sqlite3.db
653 type/^SQLite 3.x database
654         Open=@EXTHELPERSDIR@/misc.sh open sqlite
655         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
657 # dbf
658 shell/i/.dbf
659         Open=@EXTHELPERSDIR@/misc.sh open dbf
660         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
662 # REXX script
663 regex/\.(rexx?|cmd)$
664        Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
666 # Disk images for Commodore computers (VIC20, C64, C128)
667 shell/i/.d64
668         Open=%cd %p/uc1541://
669         View=%view{ascii} c1541 %f -list
670         Extract=c1541 %f -extract
672 # Glade, a user interface designer for GTK+ and GNOME
673 shell/i/.glade
674         Open=@EXTHELPERSDIR@/misc.sh open glade
676 # Gettext Catalogs
677 regex/\.g?mo$
678         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
680 # po
681 shell/.po
682         Open=@EXTHELPERSDIR@/misc.sh open po
684 # lyx
685 shell/i/.lyx
686         Open=@EXTHELPERSDIR@/misc.sh open lyx
687         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
689 # torrent
690 shell/i/.torrent
691         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
693 ### Plain compressed files ###
695 # ace
696 shell/i/.ace
697         Open=%cd %p/uace://
698         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
699         Extract=unace x %f
701 # arc
702 shell/i/.arc
703         Open=%cd %p/uarc://
704         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
705         Extract=arc x %f '*'
706         Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
708 # zip
709 shell/i/.zip
710         Open=%cd %p/uzip://
711         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
713 # zip
714 type/i/^zip\ archive
715         Open=%cd %p/uzip://
716         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
718 # jar(zip)
719 type/i/^Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
720         Open=%cd %p/uzip://
721         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
723 # zoo
724 shell/i/.zoo
725         Open=%cd %p/uzoo://
726         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
728 # gzip
729 type/^gzip
730         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
731         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
733 regex/\.(gz|Z)$
734         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
736 # bzip2
737 type/^bzip2
738         Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
739         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
741 regex/\.bz2?$
742         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
744 # bzip
745 type/^bzip
746         Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
747         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
749 # compress
750 type/^compress
751         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
752         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
754 # lz4
755 regex/\.lz4$
756         Open=@EXTHELPERSDIR@/archive.sh view lz4 %var{PAGER:more}
757         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz4
759 # lzma
760 regex/\.lzma$
761         Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
762         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
764 # xz
765 regex/\.xz$
766         Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
767         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
769 # Parity Archive
770 type/^Parity\ Archive\ Volume\ Set
771         Open=@EXTHELPERSDIR@/archive.sh open par2
773 ### Default ###
775 # Default target for anything not described above
776 default/*
777         Open=
778         View=
781 ### EOF ###