(file_op_context_create_ui): apply callback to the "Abort" button
[midnight-commander.git] / misc / mc.ext.ini.in
blob68978736bd4367a34ebf3ce134a8f5498f2da72b
1 # Midnight Commander 4.0 extension file
3 # Warning: The structure of this file has been completely changed with the version 4.0!
5 # All lines starting with # or empty lines are ignored.
7 # IMPORTANT: mc scans this file only upon first use or after editing it using the
8 # mc "Edit extension file" command (F9-c-e). If you edit this file in any other way
9 # while mc is running, you will need to press F9-c-e and exit the editor for your
10 # changes to take effect, or exit mc and start it again.
12 # Section name can be anything with following exceptions:
13 # there are two reserved section names:
14 # mc.ext.ini
15 # Default
16 # special name pattern:
17 # Include/xxxxx
18 # See below for more details.
20 # Section [mc.ext.ini] is mandatory. It contains file metadata.
21 # "Version" parameter is mandatory. It contains the file format version.
23 # Section [Default] is optional. It is applied only if no other match was found.
25 # Sections like [Include/xxxx] can be referenced as "Include=xxxx" from other sections.
26 # Section [Include/xxxx] can be located before or after sections that point to it.
28 # Sections are processed from top to bottom, thus the order is important.
29 # Multiple sections with the same name are allowed, they are merged together.
30 # Sections may contain the same key multiple times; the last entry wins.
32 # [Default] should be a catch-all action and come last.
34 # A section describing a file can contain following keys:
36 # File descriptions:
38 # Directory
39 # Matches any directory matching regular expression.
40 # Always case sensitive.
41 # This key has the highest priority over other keys. If this key is present,
42 # other keys are ignored.
44 # Type
45 # Matches files if `file %f` matches regular expression
46 # (the "filename:" part is removed from `file %f` output).
47 # Ignored if the "file" utility isn't used (not found during the configure step
48 # or disabled in the ini-file).
50 # TypeIgnoreCase [true|false]
51 # Defines whether the Type value is case sensitive or not.
52 # If absent, Type is case sensitive.
54 # Regex
55 # An extended regular expression
56 # Please note that we are using the PCRE library and thus \\| matches
57 # the literal | and | has a special meaning (or), and () have a special meaning
58 # and \\( \\) stand for literal ( ).
60 # An unescaped backslash \ is handled as invalid escape sequences in glib = 2.77.3 and
61 # glib >= 2.79 (https://gitlab.gnome.org/GNOME/glib/-/issues/3094), therefore backslash
62 # must be escaped.
64 # Example:
65 # Regex=\\.t(ar\\.lzma|lz)$
66 # matches *.tar.lzma or *.tlz.
68 # RegexIgnoreCase [true|false]
69 # Defines whether the Regex value is case sensitive or not.
70 # If absent, Regex is case sensitive.
72 # Shell
73 # Describes an extension when starting with a dot (no wildcards).
75 # Example:
76 # Shell=.tar
77 # matches *.tar.
79 # If it doesn't start with a dot, it matches only a file of that name.
81 # If both keys Regex and Shell are in the same section, Regex is used
82 # and Shell is ignored.
84 # ShellIgnoreCase [true|false]
85 # Defines whether the Shell value is case sensitive or not.
86 # If absent, Shell is case sensitive.
88 # Include
89 # Reference to another section.
91 # Example:
92 # Include=video
93 # points to the [Include/video] section.
95 # Commands:
97 # Open
98 # Execute the command if the user presses Enter or doubleclicks it.
100 # View
101 # Execute the command if the user presses F3.
103 # Edit
104 # Execute the command if the user presses F4.
106 # All commands are ignored if the section contains the Include key.
108 # Command is any one-line shell command, with the following substitutions:
110 # %%
111 # The % character
113 # %p
114 # Name of the current file without the path.
115 # Also provided to the external application as MC_EXT_BASENAME environment variable.
117 # %f
118 # Name of the current file. Unlike %p, if the file is located on a non-local
119 # virtual filesystem, that is either tarfs or ftpfs, then the file will be
120 # temporarily copied into a local directory and %f will be the full path
121 # to this local temporary file.
122 # If you don't want to get a local copy and want to get the virtual fs path
123 # (like /ftp://ftp.cvut.cz/pub/hungry/xword), then use %d/%p instead of %f.
124 # Also provided to the external application as MC_EXT_FILENAME environment variable.
126 # %d
127 # Name of the current directory without the trailing slash (`pwd`).
128 # Also provided to the external application as MC_EXT_CURRENTDIR environment variable.
130 # %s
131 # "Selected files", that is space separated list of tagged files if any or the name
132 # of the current file.
133 # Also provided to the external application as MC_EXT_SELECTED environment variable.
135 # %t
136 # List of the tagged files.
137 # Also provided to the external application as MC_EXT_ONLYTAGGED environment variable.
139 # %u
140 # List of the tagged files (they will be untaged after the command is executed).
142 # (If the letter following the % is uppercase, then it refers to the opposite panel.
143 # But you shouldn't have to use it in this file.)
145 # %cd
146 # The rest is a path mc should change into (cd won't work, since it's a child process).
147 # %cd handles even vfs names.
149 # %view
150 # The command output will be piped into mc's internal file viewer. If you use
151 # only %view and no command, the viewer will load %f file instead (that is no piping,
152 # which is the difference to %view cat %f).
154 # %view may be directly followed by {} with one or more of the following
155 # separated by commas:
156 # ascii (ascii mode)
157 # hex (hex mode),
158 # nroff (color highlighting for text using escape sequences),
159 # unform (no highlighting for nroff sequences)
161 # %var{VAR:default}
162 # This macro will expand to the value of the VAR variable in the environment if it's
163 # set, otherwise the default value will be used. This is similar to the Bourne shell
164 # ${VAR-default} construct.
166 # Section can contain both Type and Regex or Type and Shell keys. In this case
167 # they are handled as an AND condition.
169 # Example:
170 # Shell=.3gp
171 # Type=^ISO Media.*3GPP
173 # matches *.3gp files for which `file` output is a line starting with "ISO Media"
174 # and containing "3GPP".
176 # If there are more than one keys with the same name in a section, the last key will be used.
179 # Any new entries you want to add are always welcome if they are useful on more than one
180 # system. You can post your modifications as tickets at www.midnight-commander.org.
183 ### Changes ###
185 # Reorganization: 2012-03-07 Slava Zanko <slavazanko@gmail.com>
186 # 2021-03-28 Andrew Borodin <aborodin@vmail.ru>
187 # 2021-08-24 Tomas Szepe <szepe@pinerecords.com>
188 # 2022-09-11 Andrew Borodin <aborodin@vmail.ru>: port to INI format.
190 [mc.ext.ini]
191 Version=4.0
193 ### GIT Repo ###
194 [gitfs changeset]
195 Regex=^\\[git\\]
196 Open=%cd %p/changesetfs://
197 View=%cd %p/patchsetfs://
199 ### Archives ###
200 # Since we use "file -z", we should use Regex and Shell first, then Type.
203 ######### Files by name (Regex and Shell) #########
205 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z
206 [tar.gzip]
207 Regex=\\.t([gp]?z|ar\\.g?[zZ])$
208 Include=tar.gz
210 [ipk]
211 Shell=.ipk
212 Include=tar.gz
214 [gem]
215 Shell=.gem
216 Include=tar.gz
218 [tar.bzip]
219 Shell=.tar.bz
220 # Open=%cd %p/utar://
221 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip
223 [tar.bzip2]
224 Regex=\\.t(ar\\.bz2|bz2?|b2)$
225 Open=%cd %p/utar://
226 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip2
228 # .tar.lzma, .tlz
229 [tar.lzma]
230 Regex=\\.t(ar\\.lzma|lz)$
231 Open=%cd %p/utar://
232 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzma
234 [tar.lz]
235 Shell=.tar.lz
236 Open=%cd %p/utar://
237 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz
239 # .tar.lz4, .tlz4
240 [tar.lz4]
241 Regex=\\.t(ar\\.lz4|lz4)$
242 Open=%cd %p/utar://
243 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
245 # .tar.lzo, .tzo
246 [tar.lzo]
247 Regex=\\.t(ar\\.lzo|zo)$
248 Open=%cd %p/utar://
249 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzo
251 # .tar.xz, .txz
252 [tar.xz]
253 Regex=\\.t(ar\\.xz|xz)$
254 Open=%cd %p/utar://
255 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
257 # .tar.zst, .tzst
258 [tar.zst]
259 Regex=\\.t(ar\\.zst|zst)$
260 Open=%cd %p/utar://
261 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.zst
263 # .tar.F - used on QNX
264 [tar.F]
265 Shell=.tar.F
266 # Open=%cd %p/utar://
267 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
269 # .qpr/.qpk - QNX Neutrino package installer files
270 [tar.qpr]
271 Regex=\\.qp[rk]$
272 Open=%cd %p/utar://
273 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
275 [tar]
276 Shell=.tar
277 ShellIgnoreCase=true
278 Open=%cd %p/utar://
279 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
281 [arj]
282 Regex=\\.a(rj|[0-9][0-9])$
283 RegexIgnoreCase=true
284 Open=%cd %p/uarj://
285 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
287 [cab]
288 Shell=.cab
289 ShellIgnoreCase=true
290 Open=%cd %p/ucab://
291 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
293 [ha]
294 Shell=.ha
295 ShellIgnoreCase=true
296 Open=%cd %p/uha://
297 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
299 [rar]
300 Regex=\\.r(ar|[0-9][0-9])$
301 RegexIgnoreCase=true
302 Open=%cd %p/urar://
303 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
305 # ALZip
306 [alz]
307 Shell=.alz
308 ShellIgnoreCase=true
309 Open=%cd %p/ualz://
310 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
312 [cpio.Z]
313 Shell=.cpio.Z
314 Open=%cd %p/ucpio://
315 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
317 [cpio.lz]
318 Shell=.cpio.lz
319 Open=%cd %p/ucpio://
320 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz
322 [cpio.lz4]
323 Shell=.cpio.lz4
324 Open=%cd %p/ucpio://
325 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz4
327 [cpio.lzo]
328 Shell=.cpio.lzo
329 Open=%cd %p/ucpio://
330 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lzo
332 [cpio.xz]
333 Shell=.cpio.xz
334 Open=%cd %p/ucpio://
335 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
337 [cpio.zst]
338 Shell=.cpio.zst
339 Open=%cd %p/ucpio://
340 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.zst
342 [cpio.gz]
343 Shell=.cpio.gz
344 Open=%cd %p/ucpio://
345 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
347 [cpio]
348 Shell=.cpio
349 ShellIgnoreCase=true
350 Include=cpio
352 [initrd]
353 Regex=^(initramfs.*\\.img|initrd(-.+)?\\.img(-.+)?)$
354 Include=cpio
356 [7zip]
357 Shell=.7z
358 ShellIgnoreCase=true
359 Open=%cd %p/u7z://
360 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
362 [patch]
363 Regex=\\.(diff|patch)$
364 Open=%cd %p/patchfs://
365 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
367 [patch.gz]
368 Regex=\\.(diff|patch)\\.(gz|Z)$
369 Open=%cd %p/patchfs://
370 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
372 [patch.bz2]
373 Regex=\\.(diff|patch)\\.bz2$
374 Open=%cd %p/patchfs://
375 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
377 [patch.xz]
378 Regex=\\.(diff|patch)\\.xz$
379 Open=%cd %p/patchfs://
380 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
382 [patch.zst]
383 Regex=\\.(diff|patch)\\.zst$
384 Open=%cd %p/patchfs://
385 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
387 [ls-lR]
388 Regex=(^|\\.)ls-?lR(\\.gz|Z|bz2)$
389 Open=%cd %p/lslR://
391 [trpm]
392 Shell=.trpm
393 Open=%cd %p/trpm://
394 View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
396 # RPM packages (SuSE uses *.spm for source packages)
397 [src.rpm]
398 Regex=\\.(src\\.rpm|spm)$
399 Open=%cd %p/rpm://
400 View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
402 [rpm]
403 Shell=.rpm
404 Open=%cd %p/rpm://
405 View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
407 [deb]
408 Regex=\\.u?deb$
409 Open=%cd %p/deb://
410 View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
412 [dpkg]
413 Shell=.debd
414 Open=%cd %p/debd://
415 View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
417 [apt]
418 Shell=.deba
419 Open=%cd %p/deba://
420 Ciew=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
422 [ISO9660]
423 Shell=.iso
424 ShellIgnoreCase=true
425 Open=%cd %p/iso9660://
426 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
428 [ar]
429 Regex=\\.s?a$
430 Open=%cd %p/uar://
431 #Open=%view{ascii} ar tv %f
432 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
434 [gplib]
435 Shell=.lib
436 ShellIgnoreCase=true
437 Open=%cd %p/ulib://
438 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
440 ### Sources ###
442 [C/C++]
443 Regex=\\.(c|cc|cpp|cxx|c\\+\\+)$
444 RegexIgnoreCase=true
445 Include=editor
447 [C/C++ header]
448 Regex=\\.(h|hh|hpp|hxx|h\\+\\+)$
449 RegexIgnoreCase=true
450 Include=editor
452 [Fortran]
453 Shell=.f
454 ShellIgnoreCase=true
455 Include=editor
457 [Assembler]
458 Regex=\\.(s|asm)$
459 RegexIgnoreCase=true
460 Include=editor
462 [Typescript]
463 Shell=.ts
464 ShellIgnoreCase=true
465 Type=^Java source
466 Include=editor
468 # .so libraries
469 [so]
470 Regex=\\.(so|so\\.[0-9\\.]*)$
471 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
473 # .dylib libraries
474 [dylib]
475 Regex=\\.(dylib|dylib\\.[0-9\\.]*)$
476 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dylib
479 ### Documentation ###
481 #[Texinfo]
482 #Regex=\\.(te?xi|texinfo)$
484 [info-by-shell]
485 Shell=.info
486 Open=@EXTHELPERSDIR@/text.sh open info
488 # Exception: .3gp are video files, not manual pages
489 [3gp]
490 Shell=.3gp
491 ShellIgnoreCase=true
492 Type=^ISO Media.*3GPP
493 Include=video
495 # Troff with me macros.
496 # Exception - "read.me" is not a nroff file.
497 [read.me]
498 Shell=read.me
499 Open=
500 View=
502 [troff]
503 Shell=.me
504 Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
505 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
507 [roff with ms macros]
508 Shell=.ms
509 Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
510 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
512 # Manual page
514 [man.lz]
515 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz$
516 Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
517 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
519 [man.lz4]
520 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lz4$
521 Open=@EXTHELPERSDIR@/text.sh open man.lz4 %var{PAGER:more}
522 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz4 %var{PAGER:more}
524 [man.lzma]
525 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzma$
526 Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
527 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
529 [man.lzo]
530 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.lzo$
531 Open=@EXTHELPERSDIR@/text.sh open man.lzo %var{PAGER:more}
532 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzo %var{PAGER:more}
534 [man.xz]
535 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.xz$
536 Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
537 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
539 [man.zst]
540 Regex=([^0-9]|^[^\\.]*)\\.([1-9][A-Za-z]*|[ln])\\.zst$
541 Open=@EXTHELPERSDIR@/text.sh open man.zst %var{PAGER:more}
542 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.zst %var{PAGER:more}
544 # Perl pod page
545 [pod]
546 Shell=.pod
547 Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
548 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
550 [chm]
551 Shell=.chm
552 ShellIgnoreCase=true
553 Open=@EXTHELPERSDIR@/text.sh open chm
555 ### Images ###
557 [xcf]
558 Shell=.xcf
559 Open=@EXTHELPERSDIR@/image.sh open xcf
561 [xbm]
562 Shell=.xbm
563 Open=@EXTHELPERSDIR@/image.sh open xbm
565 [xpm]
566 Shell=.xpm
567 Include=image
569 [ico]
570 Shell=.ico
571 Include=image
573 [svg]
574 Shell=.svg
575 ShellIgnoreCase=true
576 View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
577 Open=@EXTHELPERSDIR@/image.sh open svg
579 [webp]
580 Shell=.webp
581 View=%view{ascii} @EXTHELPERSDIR@/image.sh view webp
582 Open=@EXTHELPERSDIR@/image.sh open webp
584 [avif]
585 Shell=.avif
586 View=%view{ascii} @EXTHELPERSDIR@/image.sh view avif
587 Open=@EXTHELPERSDIR@/image.sh open avif
589 ### Sound files ###
591 [sound]
592 Regex=\\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$
593 RegexIgnoreCase=true
594 Open=@EXTHELPERSDIR@/sound.sh open common
595 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
597 [mod]
598 Regex=\\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
599 RegexIgnoreCase=true
600 Open=@EXTHELPERSDIR@/sound.sh open mod
602 [wav22]
603 Shell=.waw22
604 ShellIgnoreCase=true
605 Open=@EXTHELPERSDIR@/sound.sh open wav22
607 [mp3]
608 Shell=.mp3
609 ShellIgnoreCase=true
610 Open=@EXTHELPERSDIR@/sound.sh open mp3
611 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
613 [ogg]
614 Regex=\\.og[gax]$
615 RegexIgnoreCase=true
616 Open=@EXTHELPERSDIR@/sound.sh open ogg
617 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
619 [opus]
620 Shell=.opus
621 ShellIgnoreCase=true
622 Open=@EXTHELPERSDIR@/sound.sh open opus
623 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view opus
625 [midi]
626 Regex=\\.(midi?|rmid?)$
627 RegexIgnoreCase=true
628 Open=@EXTHELPERSDIR@/sound.sh open midi
630 [wma]
631 Shell=.wma
632 ShellIgnoreCase=true
633 Open=@EXTHELPERSDIR@/sound.sh open wma
634 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
636 # Play list
637 [playlist]
638 Regex=\\.(m3u|pls)$
639 RegexIgnoreCase=true
640 Open=@EXTHELPERSDIR@/sound.sh open playlist
643 ### Video ###
645 [avi]
646 Shell=.avi
647 ShellIgnoreCase=true
648 Include=video
650 [asf]
651 Regex=\\.as[fx]$
652 RegexIgnoreCase=true
653 Include=video
655 [divx]
656 Shell=.divx
657 ShellIgnoreCase=true
658 Include=video
660 [mkv]
661 Shell=.mkv
662 ShellIgnoreCase=true
663 Include=video
665 [mov]
666 Regex=\\.(mov|qt)$
667 RegexIgnoreCase=true
668 Include=video
670 [mp4]
671 Regex=\\.(mp4|m4v|mpe?g)$
672 RegexIgnoreCase=true
673 Include=video
675 # MPEG-2 TS container + H.264 codec
676 [mts]
677 Shell=.mts
678 ShellIgnoreCase=true
679 Include=video
681 [ts]
682 Shell=.ts
683 ShellIgnoreCase=true
684 Include=video
686 [bob]
687 Shell=.vob
688 ShellIgnoreCase=true
689 Include=video
691 [wmv]
692 Shell=.wmv
693 ShellIgnoreCase=true
694 Include=video
696 [fli]
697 Regex=\\.fl[icv]$
698 RegexIgnoreCase=true
699 Include=video
701 [ogv]
702 Shell=.ogv
703 ShellIgnoreCase=true
704 Include=video
706 [realaudio]
707 Regex=\\.ra?m$
708 RegexIgnoreCase=true
709 Open=@EXTHELPERSDIR@/video.sh open ram
711 [webm-by-shell]
712 Shell=.webm
713 ShellIgnoreCase=true
714 Include=video
717 ### Documents ###
719 [html]
720 Regex=\\.html?$
721 RegexIgnoreCase=true
722 Open=@EXTHELPERSDIR@/web.sh open html
723 View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
725 [StarOffice-5.2]
726 Shell=.sdw
727 ShellIgnoreCase=true
728 Open=@EXTHELPERSDIR@/doc.sh open ooffice
730 # StarOffice 6 and OpenOffice.org formats
731 [OpenOffice.org]
732 Regex=\\.(odt|fodt|ott|sxw|stw|ods|fods|ots|sxc|stc|odp|fodp|otp|sxi|sti|odg|fodg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
733 RegexIgnoreCase=true
734 Open=@EXTHELPERSDIR@/doc.sh open ooffice
735 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
737 [AbiWord]
738 Shell=.abw
739 ShellIgnoreCase=true
740 Open=@EXTHELPERSDIR@/doc.sh open abw
742 [Gnumeric]
743 Shell=.gnumeric
744 ShellIgnoreCase=true
745 Open=@EXTHELPERSDIR@/doc.sh open gnumeric
747 [rtf]
748 Shell=.rtf
749 ShellIgnoreCase=true
750 Open=@EXTHELPERSDIR@/doc.sh open msdoc
752 # Microsoft Word Document
753 [msdoc-by-shell]
754 Regex=\\.(do[ct]|wri|docx)$
755 RegexIgnoreCase=true
756 Open=@EXTHELPERSDIR@/doc.sh open msdoc
757 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
759 # Microsoft Excel Worksheet
760 [msxls-by-shell]
761 Regex=\\.(xl[sw]|xlsx)$
762 RegexIgnoreCase=true
763 Open=@EXTHELPERSDIR@/doc.sh open msxls
764 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
766 # Microsoft PowerPoint Presentation
767 [msppt]
768 Regex=\\.(pp[ts]|pptx)$
769 RegexIgnoreCase=true
770 Open=@EXTHELPERSDIR@/doc.sh open msppt
771 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
773 [dvi]
774 Shell=.dvi
775 ShellIgnoreCase=true
776 Open=@EXTHELPERSDIR@/doc.sh open dvi
777 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
779 [tex]
780 Shell=.tex
781 ShellIgnoreCase=true
782 Include=editor
784 [markdown]
785 Regex=\\.mk?d$
786 RegexIgnoreCase=true
787 Include=editor
789 [djvu]
790 Regex=\\.djvu?$
791 RegexIgnoreCase=true
792 Open=@EXTHELPERSDIR@/doc.sh open djvu
793 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
795 # Comic Books
796 [cbr]
797 Regex=\\.cb[zr]$
798 RegexIgnoreCase=true
799 Open=@EXTHELPERSDIR@/doc.sh open comic
801 # Epup, mobi, fb2
802 [ebook]
803 Regex=\\.(epub|mobi|fb2)$
804 RegexIgnoreCase=true
805 Open=@EXTHELPERSDIR@/doc.sh open ebook
806 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ebook
809 ### Miscellaneous ###
811 # Compiled Java classes
812 [javaclass]
813 Shell=.class
814 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
816 [Imakefile]
817 Shell=Imakefile
818 Open=xmkmf -a
820 # Makefile.PL (MakeMaker)
821 [Makefile.pl]
822 Regex=^Makefile\\.(PL|pl)$
823 Open=%var{PERL:perl} %f
825 [Makefile]
826 Regex=^[Mm]akefile$
827 Open=make -f %f %{Enter parameters}
829 [dbf]
830 Shell=.dbf
831 ShellIgnoreCase=true
832 Open=@EXTHELPERSDIR@/misc.sh open dbf
833 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
835 # REXX script
836 [rexx]
837 Regex=\\.(rexx?|cmd)$
838 Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
840 # Disk images for Commodore computers (VIC20, C64, C128)
841 [d64]
842 Shell=.d64
843 ShellIgnoreCase=true
844 Open=%cd %p/uc1541://
845 View=%view{ascii} c1541 %f -list
847 # Glade, a user interface designer for GTK+ and GNOME
848 [glade]
849 Shell=.glade
850 ShellIgnoreCase=true
851 Open=@EXTHELPERSDIR@/misc.sh open glade
853 # Gettext Catalogs
854 [mo]
855 Regex=\\.g?mo$
856 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
858 [po]
859 Shell=.po
860 Open=@EXTHELPERSDIR@/misc.sh open po
862 [lyx]
863 Shell=.lyx
864 ShellIgnoreCase=true
865 Open=@EXTHELPERSDIR@/misc.sh open lyx
866 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
868 [torrent]
869 Shell=.torrent
870 ShellIgnoreCase=true
871 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
874 ### Plain compressed files ###
876 [ace]
877 Shell=.ace
878 ShellIgnoreCase=true
879 Open=%cd %p/uace://
880 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
882 [arc]
883 Shell=.arc
884 ShellIgnoreCase=true
885 Open=%cd %p/uarc://
886 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
888 [zip-by-shell]
889 Shell=.zip
890 ShellIgnoreCase=true
891 Open=%cd %p/uzip://
892 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
894 [zoo]
895 Shell=.zoo
896 ShellIgnoreCase=true
897 Open=%cd %p/uzoo://
898 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
900 [lz4]
901 Shell=.lz4
902 ShellIgnoreCase=true
903 Open=@EXTHELPERSDIR@/archive.sh view lz4 %var{PAGER:more}
904 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz4
906 [lzo]
907 Shell=.lzo
908 ShellIgnoreCase=true
909 Open=@EXTHELPERSDIR@/archive.sh view lzo %var{PAGER:more}
910 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzo
912 [wim]
913 Shell=.wim
914 ShellIgnoreCase=true
915 Open=%cd %p/uwim://
916 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view wim
919 ######### Files by Type #########
921 ### Archives ###
923 [mailbox]
924 Type=^ASCII mail text
925 Open=%cd %p/mailfs://
928 ### Sources ###
930 # Object
931 [elf]
932 Type=^ELF
933 #Open=%var{PAGER:more} %f
934 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
936 [Mach-O]
937 Type=^Mach-O
938 #Open=%var{PAGER:more} %f
939 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dylib
941 ### Documentation ###
943 # GNU Info page
944 [info-by-type]
945 Type=^Info text
946 Open=@EXTHELPERSDIR@/text.sh open info
948 # Manual page - compressed
949 [troff.gz]
950 Type=troff.*gzip compressed
951 Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
952 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
954 [troff.bzip]
955 Type=troff.*bzip compressed
956 Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
957 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
959 [troff.bzip2]
960 Type=troff.*bzip2 compressed
961 Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
962 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
964 # Manual page
965 [man]
966 Type=troff or preprocessor input
967 Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
968 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
971 ### Images ###
973 [gif]
974 Type=^GIF
975 Include=image
977 [jpeg]
978 Type=^JPEG
979 Include=image
981 [bitmap]
982 Type=^PC bitmap
983 Include=image
985 [png]
986 Type=^PNG
987 Include=image
989 [jng]
990 Type=^JNG
991 Include=image
993 [mng]
994 Type=^MNG
995 Include=image
997 [tiff]
998 Type=^TIFF
999 Include=image
1001 [rbm]
1002 Type=^PBM
1003 Include=image
1005 [pgm]
1006 Type=^PGM
1007 Include=image
1009 [ppm]
1010 Type=^PPM
1011 Include=image
1013 [netpbm]
1014 Type=^Netpbm
1015 Include=image
1018 ### Video ###
1020 [webm-by-type]
1021 Type=WebM
1022 Include=video
1025 ### Documents ###
1027 [postscript]
1028 Type=^PostScript
1029 Open=@EXTHELPERSDIR@/doc.sh open ps
1030 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
1032 [pdf]
1033 Type=^PDF
1034 Open=@EXTHELPERSDIR@/doc.sh open pdf
1035 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
1037 # Microsoft Word Document
1038 [msdoc-by-type]
1039 Type=^Microsoft Word
1040 Open=@EXTHELPERSDIR@/doc.sh open msdoc
1041 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
1043 # Microsoft Excel Worksheet
1044 [msxls-by-type]
1045 Type=^Microsoft Excel
1046 Open=@EXTHELPERSDIR@/doc.sh open msxls
1047 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
1049 # Use OpenOffice.org/LibreOffice to open any MS Office documents
1050 [mso-doc-1]
1051 Type=^Microsoft Office Document
1052 Open=@EXTHELPERSDIR@/doc.sh open ooffice
1054 [mso-doc-2]
1055 Type=^Microsoft OOXML
1056 Open=@EXTHELPERSDIR@/doc.sh open ooffice
1058 [framemaker]
1059 Type=^FrameMaker
1060 Open=@EXTHELPERSDIR@/doc.sh open framemaker
1063 ### Miscellaneous ###
1065 [sqlite3.db]
1066 Type=^SQLite 3.x database
1067 Open=@EXTHELPERSDIR@/misc.sh open sqlite
1068 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
1071 ### Plain compressed files ###
1073 [gzip]
1074 Type=\\(gzip compressed
1075 Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
1076 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
1078 [bzip]
1079 Type=\\(bzip compressed
1080 Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
1081 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
1083 [bzip2]
1084 Type=\\(bzip2 compressed
1085 Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
1086 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
1088 [compress]
1089 Type=\\(compress'd
1090 Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
1091 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
1093 [lz]
1094 Type=\\(lzip compressed
1095 Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
1096 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
1098 [lzma]
1099 Type=\\(LZMA compressed
1100 Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
1101 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
1103 [xz]
1104 Type=\\(XZ compressed
1105 Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
1106 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
1108 [zstd]
1109 Type=\\(Zstandard compressed
1110 Open=@EXTHELPERSDIR@/archive.sh view zst %var{PAGER:more}
1111 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
1113 [zip-by-type]
1114 Type=\\(Zip archive
1115 Open=%cd %p/uzip://
1116 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
1118 [jar]
1119 Type=\\(Java (Jar file|archive) data \\((zip|JAR)\\)\\)
1120 TypeIgnoreCase=true
1121 Open=%cd %p/uzip://
1122 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
1124 [lha]
1125 Type=^LHa .*archive
1126 Open=%cd %p/ulha://
1127 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
1129 [pak]
1130 Type=^PAK .*archive
1131 Open=%cd %p/unar://
1132 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view pak
1134 # Parity Archive
1135 [par2]
1136 Type=^Parity Archive Volume Set
1137 Open=@EXTHELPERSDIR@/archive.sh open par2
1140 ######### Includes #########
1141 # Includes should be at end of the bindings
1143 [Include/tar.gz]
1144 Open=%cd %p/utar://
1145 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.gz
1147 [Include/cpio]
1148 Open=%cd %p/ucpio://
1149 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
1151 [Include/editor]
1152 Open=%var{EDITOR:vi} %f
1154 [Include/image]
1155 Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
1156 View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
1158 [Include/video]
1159 Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
1160 View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
1163 ######### Default #########
1165 # Default target for anything not described above
1166 [Default]
1167 Open=
1168 View=
1170 ### EOF ###