Ticket #3710: don't parse "window-state-char" and "window-close-char" as colors.
[midnight-commander.git] / misc / mc.ext.in
blob92f908b6e6ebd797c521d51ce2acd5e25d9ec91f
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.lz
139 shell/.tar.lz
140         Open=%cd %p/utar://
141         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz
143 # .tar.lz4, .tlz4
144 regex/\.t(ar\.lz4|lz4)$
145         Open=%cd %p/utar://
146         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
148 # .tar.xz, .txz
149 regex/\.t(ar\.xz|xz)$
150         Open=%cd %p/utar://
151         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
153 # .tar.F - used in QNX
154 shell/.tar.F
155         # Open=%cd %p/utar://
156         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
158 # .qpr/.qpk - QNX Neutrino package installer files
159 regex/\.qp[rk]$
160         Open=%cd %p/utar://
161         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
163 # tar
164 shell/i/.tar
165         Open=%cd %p/utar://
166         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
168 # lha
169 type/^LHa\ .*archive
170         Open=%cd %p/ulha://
171         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
173 # arj
174 regex/i/\.a(rj|[0-9][0-9])$
175         Open=%cd %p/uarj://
176         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
178 # cab
179 shell/i/.cab
180         Open=%cd %p/ucab://
181         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
183 # ha
184 shell/i/.ha
185         Open=%cd %p/uha://
186         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
188 # rar
189 regex/i/\.r(ar|[0-9][0-9])$
190         Open=%cd %p/urar://
191         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
193 # ALZip
194 shell/i/.alz
195         Open=%cd %p/ualz://
196         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
198 # cpio
199 shell/.cpio.Z
200         Open=%cd %p/ucpio://
201         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
203 shell/.cpio.lz
204         Open=%cd %p/ucpio://
205         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz
207 shell/.cpio.lz4
208         Open=%cd %p/ucpio://
209         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz4
211 shell/.cpio.xz
212         Open=%cd %p/ucpio://
213         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
215 shell/.cpio.gz
216         Open=%cd %p/ucpio://
217         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
219 shell/i/.cpio
220         Open=%cd %p/ucpio://
221         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
223 # initrd
224 regex/^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
225         Open=%cd %p/ucpio://
226         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
228 # 7zip archives (they are not man pages)
229 shell/i/.7z
230         Open=%cd %p/u7z://
231         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
233 # patch
234 regex/\.(diff|patch)(\.bz2)$
235         Open=%cd %p/patchfs://
236         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
238 regex/\.(diff|patch)(\.(gz|Z))$
239         Open=%cd %p/patchfs://
240         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
242 regex/\.(diff|patch)(\.xz)$
243     Open=%cd %p/patchfs://
244     View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
246 # ls-lR
247 regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
248         Open=%cd %p/lslR://
250 # trpm
251 shell/.trpm
252         Open=%cd %p/trpm://
253         View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
255 # RPM packages (SuSE uses *.spm for source packages)
256 regex/\.(src\.rpm|spm)$
257         Open=%cd %p/rpm://
258         View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
260 shell/.rpm
261         Open=%cd %p/rpm://
262         View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
264 # deb
265 regex/\.u?deb$
266         Open=%cd %p/deb://
267         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
269 # dpkg
270 shell/.debd
271         Open=%cd %p/debd://
272         View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
274 # apt
275 shell/.deba
276         Open=%cd %p/deba://
277         View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
279 # ISO9660
280 shell/i/.iso
281         Open=%cd %p/iso9660://
282         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
285 regex/\.(diff|patch)$
286         Open=%cd %p/patchfs://
287         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
289 # ar library
290 regex/\.s?a$
291         Open=%cd %p/uar://
292         #Open=%view{ascii} ar tv %f
293         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
295 # gplib
296 shell/i/.lib
297         Open=%cd %p/ulib://
298         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
301 # Mailboxes
302 type/^ASCII\ mail\ text
303         Open=%cd %p/mailfs://
306 ### Sources ###
308 # C/C++
309 regex/i/\.(c|cc|cpp)$
310         Include=editor
312 # C/C++ header
313 regex/i/\.(h|hh|hpp)$
314         Include=editor
316 # Fortran
317 shell/i/.f
318         Include=editor
320 # Assembler
321 regex/i/\.(s|asm)$
322         Include=editor
324 include/editor
325         Open=%var{EDITOR:vi} %f
327 # .so libraries
328 regex/\.(so|so\.[0-9\.]*)$
329         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
331 # Object
332 type/^ELF
333         #Open=%var{PAGER:more} %f
334         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
336 ### Documentation ###
338 # Texinfo
339 #regex/\.(te?xi|texinfo)$
341 # GNU Info page
342 type/^Info\ text
343         Open=@EXTHELPERSDIR@/text.sh open info
345 shell/.info
346         Open=@EXTHELPERSDIR@/text.sh open info
348 # Exception: .3gp are video files not manual pages
349 shell/i/.3gp
350         Include=video
352 # Manual page
353 regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
354         Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
355         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
357 # Perl pod page
358 shell/.pod
359         Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
360         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
362 # Troff with me macros.
363 # Exception - "read.me" is not a nroff file.
364 shell/read.me
365         Open=
366         View=
368 shell/.me
369         Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
370         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
372 # Troff with ms macros.
373 shell/.ms
374         Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
375         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
377 # Manual page - compressed
378 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
379         Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
380         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
382 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
383         Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
384         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
386 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
387         Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
388         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
390 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
391         Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
392         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
394 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
395         Open=@EXTHELPERSDIR@/text.sh open man.lz4 %var{PAGER:more}
396         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz4 %var{PAGER:more}
398 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
399         Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
400         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
402 regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
403         Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
404         View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
406 # CHM
407 shell/i/.chm
408         Open=@EXTHELPERSDIR@/text.sh open chm
410 ### Images ###
412 type/^GIF
413         Include=image
415 type/^JPEG
416         View=%view{ascii} @EXTHELPERSDIR@/image.sh view jpeg
417         Include=image
419 type/^PC\ bitmap
420         Include=image
422 type/^PNG
423         Include=image
425 type/^JNG
426         Include=image
428 type/^MNG
429         Include=image
431 type/^TIFF
432         Include=image
434 type/^PBM
435         Include=image
437 type/^PGM
438         Include=image
440 type/^PPM
441         Include=image
443 type/^Netpbm
444         Include=image
446 shell/.xcf
447         Open=@EXTHELPERSDIR@/image.sh open xcf
449 shell/.xbm
450         Open=@EXTHELPERSDIR@/image.sh open xbm
452 shell/.xpm
453         Include=image
454         View=@EXTHELPERSDIR@/image.sh view xpm %f
456 shell/.ico
457         Include=image
459 shell/i/.svg
460         View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
461         Open=@EXTHELPERSDIR@/image.sh open svg
463 include/image
464         Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
465         View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
468 ### Sound files ###
470 regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
471         Open=@EXTHELPERSDIR@/sound.sh open common
473 regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
474         Open=@EXTHELPERSDIR@/sound.sh open mod
476 shell/i/.waw22
477         Open=@EXTHELPERSDIR@/sound.sh open wav22
479 shell/i/.mp3
480         Open=@EXTHELPERSDIR@/sound.sh open mp3
481         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
483 regex/i/\.og[gax]$
484         Open=@EXTHELPERSDIR@/sound.sh open ogg
485         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
487 regex/i/\.(spx|flac)$
488         Open=@EXTHELPERSDIR@/sound.sh open common
490 regex/i/\.(midi?|rmid?)$
491         Open=@EXTHELPERSDIR@/sound.sh open midi
493 shell/i/.wma
494         Open=@EXTHELPERSDIR@/sound.sh open wma
495         View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
498 ### Play lists ###
500 regex/i/\.(m3u|pls)$
501         Open=@EXTHELPERSDIR@/sound.sh open playlist
504 ### Video ###
506 shell/i/.avi
507         Include=video
509 regex/i/\.as[fx]$
510         Include=video
512 shell/i/.divx
513         Include=video
515 shell/i/.mkv
516         Include=video
518 regex/i/\.(mov|qt)$
519         Include=video
521 regex/i/\.(mp4|m4v|mpe?g)$
522         Include=video
524 # MPEG-2 TS container + H.264 codec
525 shell/i/.mts
526         Include=video
528 shell/i/.ts
529         Include=video
531 shell/i/.vob
532         Include=video
534 shell/i/.wmv
535         Include=video
537 regex/i/\.fl[icv]$
538         Include=video
540 shell/i/.ogv
541         Include=video
543 regex/i/\.ra?m$
544         Open=@EXTHELPERSDIR@/video.sh open ram
546 # WebM
547 shell/i/.webm
548     Include=video
550 type/WebM
551     Include=video
553 include/video
554         Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
555         View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
558 ### Documents ###
560 # Postscript
561 type/^PostScript
562         Open=@EXTHELPERSDIR@/doc.sh open ps
563         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
565 # PDF
566 type/^PDF
567         Open=@EXTHELPERSDIR@/doc.sh open pdf
568         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
570 # html
571 regex/i/\.html?$
572         Open=@EXTHELPERSDIR@/web.sh open html
573         View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
575 # StarOffice 5.2
576 shell/.sdw
577         Open=@EXTHELPERSDIR@/doc.sh open ooffice
579 # StarOffice 6 and OpenOffice.org formats
580 regex/i/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
581         Open=@EXTHELPERSDIR@/doc.sh open ooffice
582         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
584 # AbiWord
585 shell/.abw
586         Open=@EXTHELPERSDIR@/doc.sh open abw
588 # Gnumeric
589 shell/i/.gnumeric
590         Open=@EXTHELPERSDIR@/doc.sh open gnumeric
592 # Microsoft Word Document
593 regex/i/\.(do[ct]|wri)$
594         Open=@EXTHELPERSDIR@/doc.sh open msdoc
595         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
596 type/^Microsoft\ Word
597         Open=@EXTHELPERSDIR@/doc.sh open msdoc
598         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
600 # RTF document
601 shell/i/.rtf
602         Open=@EXTHELPERSDIR@/doc.sh open msdoc
604 # Microsoft Excel Worksheet
605 regex/i/\.xl[sw]$
606         Open=@EXTHELPERSDIR@/doc.sh open msxls
607         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
608 type/^Microsoft\ Excel
609         Open=@EXTHELPERSDIR@/doc.sh open msxls
610         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
612 regex/i/\.(ppt|pps)$
613         Open=@EXTHELPERSDIR@/doc.sh open msppt
614         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
616 # Use OpenOffice.org to open any MS Office documents
617 type/^Microsoft\ Office\ Document
618         Open=@EXTHELPERSDIR@/doc.sh open ooffice
620 # Framemaker
621 type/^FrameMaker
622         Open=@EXTHELPERSDIR@/doc.sh open framemaker
624 # DVI
625 shell/i/.dvi
626         Open=@EXTHELPERSDIR@/doc.sh open dvi
627         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
629 # TeX
630 shell/i/.tex
631         Include=editor
633 # DjVu
634 regex/i/\.djvu?$
635         Open=@EXTHELPERSDIR@/doc.sh open djvu
636         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
638 # Comic Books
639 regex/i/\.cb[zr]$
640         Open=@EXTHELPERSDIR@/doc.sh open comic
642 # Epub & mobi
643 regex/i/\.(epub|mobi)$
644         Open=@EXTHELPERSDIR@/doc.sh open epub
645         View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
648 ### Miscellaneous ###
650 # Compiled Java classes
651 shell/.class
652         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
654 # Makefile
655 regex/^[Mm]akefile$
656         Open=make -f %f %{Enter parameters}
658 # Imakefile
659 shell/Imakefile
660         Open=xmkmf -a
662 # Makefile.PL (MakeMaker)
663 regex/^Makefile\.(PL|pl)$
664         Open=%var{PERL:perl} %f
666 # sqlite3.db
667 type/^SQLite 3.x database
668         Open=@EXTHELPERSDIR@/misc.sh open sqlite
669         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
671 # dbf
672 shell/i/.dbf
673         Open=@EXTHELPERSDIR@/misc.sh open dbf
674         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
676 # REXX script
677 regex/\.(rexx?|cmd)$
678        Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
680 # Disk images for Commodore computers (VIC20, C64, C128)
681 shell/i/.d64
682         Open=%cd %p/uc1541://
683         View=%view{ascii} c1541 %f -list
684         Extract=c1541 %f -extract
686 # Glade, a user interface designer for GTK+ and GNOME
687 shell/i/.glade
688         Open=@EXTHELPERSDIR@/misc.sh open glade
690 # Gettext Catalogs
691 regex/\.g?mo$
692         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
694 # po
695 shell/.po
696         Open=@EXTHELPERSDIR@/misc.sh open po
698 # lyx
699 shell/i/.lyx
700         Open=@EXTHELPERSDIR@/misc.sh open lyx
701         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
703 # torrent
704 shell/i/.torrent
705         View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
707 ### Plain compressed files ###
709 # ace
710 shell/i/.ace
711         Open=%cd %p/uace://
712         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
713         Extract=unace x %f
715 # arc
716 shell/i/.arc
717         Open=%cd %p/uarc://
718         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
719         Extract=arc x %f '*'
720         Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
722 # zip
723 shell/i/.zip
724         Open=%cd %p/uzip://
725         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
727 # zip
728 type/i/^zip\ archive
729         Open=%cd %p/uzip://
730         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
732 # jar(zip)
733 type/i/^Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
734         Open=%cd %p/uzip://
735         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
737 # zoo
738 shell/i/.zoo
739         Open=%cd %p/uzoo://
740         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
742 # gzip
743 type/^gzip
744         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
745         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
747 regex/\.(gz|Z)$
748         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
750 # bzip2
751 type/^bzip2
752         Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
753         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
755 regex/\.bz2?$
756         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
758 # bzip
759 type/^bzip
760         Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
761         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
763 # compress
764 type/^compress
765         Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
766         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
768 # lz
769 regex/\.lz$
770         Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
771         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
773 # lz
774 type/^LZIP
775         Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
776         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
778 # lz4
779 regex/\.lz4$
780         Open=@EXTHELPERSDIR@/archive.sh view lz4 %var{PAGER:more}
781         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz4
783 # lzma
784 regex/\.lzma$
785         Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
786         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
788 # xz
789 regex/\.xz$
790         Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
791         View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
793 # Parity Archive
794 type/^Parity\ Archive\ Volume\ Set
795         Open=@EXTHELPERSDIR@/archive.sh open par2
797 ### Default ###
799 # Default target for anything not described above
800 default/*
801         Open=
802         View=
805 ### EOF ###