Update hints translations from Transifex
[midnight-commander.git] / misc / mc.ext.ini.in
blob87dc1d2f4a120f8723f164eb78bb5aa1c6816d98
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 as before as after sections that point to it.
28 # Sections are processed from top to bottom, thus the order is important.
29 # If there are more than one sections with the same name in this file, the first
30 # section will be used.
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 in a section,
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 # Example:
61 # Regex=\.t(ar\.lzma|lz)$
62 # matches *.tar.lzma or *.tlz.
64 # RegexIgnoreCase [true|false]
65 # Defines whether the Regex value is case sensitive or not.
66 # If absent, Regex is case sensitive.
68 # Shell
69 # Describes an extension when starting with a dot (no wildcards).
71 # Example:
72 # Shell=.tar
73 # matches *.tar.
75 # If it doesn't start with a dot, it matches only a file of that name.
77 # If both keys Regex and Shell are in the same section, Regex is used
78 # and Shell is ignored.
80 # ShellIgnoreCase [true|false]
81 # Defines whether the Shell value is case sensitive or not.
82 # If absent, Shell is case sensitive.
84 # Include
85 # Reference to another section.
87 # Example:
88 # Include=video
89 # points to the [Include/video] section.
91 # Commands:
93 # Open
94 # Execute the command if the user presses Enter or doubleclicks it.
96 # View
97 # Execute the command if the user presses F3.
99 # Edit
100 # Execute the command if the user presses F4.
102 # All commands are ignored if the section contains the Include key.
104 # Command is any one-line shell command, with the following substitutions:
106 # %%
107 # The % character
109 # %p
110 # Name of the current file without the path.
111 # Also provided to the external application as MC_EXT_BASENAME environment variable.
113 # %f
114 # Name of the current file. Unlike %p, if the file is located on a non-local
115 # virtual filesystem, that is either tarfs or ftpfs, then the file will be
116 # temporarily copied into a local directory and %f will be the full path
117 # to this local temporary file.
118 # If you don't want to get a local copy and want to get the virtual fs path
119 # (like /ftp://ftp.cvut.cz/pub/hungry/xword), then use %d/%p instead of %f.
120 # Also provided to the external application as MC_EXT_FILENAME environment variable.
122 # %d
123 # Name of the current directory without the trailing slash (`pwd`).
124 # Also provided to the external application as MC_EXT_CURRENTDIR environment variable.
126 # %s
127 # "Selected files", that is space separated list of tagged files if any or the name
128 # of the current file.
129 # Also provided to the external application as MC_EXT_SELECTED environment variable.
131 # %t
132 # List of the tagged files.
133 # Also provided to the external application as MC_EXT_ONLYTAGGED environment variable.
135 # %u
136 # List of the tagged files (they will be untaged after the command is executed).
138 # (If the letter following the % is uppercase, then it refers to the opposite panel.
139 # But you shouldn't have to use it in this file.)
141 # %cd
142 # The rest is a path mc should change into (cd won't work, since it's a child process).
143 # %cd handles even vfs names.
145 # %view
146 # The command output will be piped into mc's internal file viewer. If you use
147 # only %view and no command, the viewer will load %f file instead (that is no piping,
148 # which is the difference to %view cat %f).
150 # %view may be directly followed by {} with one or more of the following
151 # separated by commas:
152 # ascii (ascii mode)
153 # hex (hex mode),
154 # nroff (color highlighting for text using escape sequences),
155 # unform (no highlighting for nroff sequences)
157 # %var{VAR:default}
158 # This macro will expand to the value of the VAR variable in the environment if it's
159 # set, otherwise the default value will be used. This is similar to the Bourne shell
160 # ${VAR-default} construct.
162 # Section can contain both Type and Regex or Type and Shell keys. In this case
163 # they are handled as an AND condition.
165 # Example:
166 # Shell=.3gp
167 # Type=^ISO Media.*3GPP
169 # matches *.3gp files for which `file` output is a line starting with "ISO Media"
170 # and containing "3GPP".
172 # If there are more than one keys with the same name in a section, the last key will be used.
175 # Any new entries you want to add are always welcome if they are useful on more than one
176 # system. You can post your modifications as tickets at www.midnight-commander.org.
179 ### Changes ###
181 # Reorganization: 2012-03-07 Slava Zanko <slavazanko@gmail.com>
182 # 2021-03-28 Andrew Borodin <aborodin@vmail.ru>
183 # 2021-08-24 Tomas Szepe <szepe@pinerecords.com>
184 # 2022-09-11 Andrew Borodin <aborodin@vmail.ru>: port to INI format.
186 [mc.ext.ini]
187 Version=4.0
189 ### GIT Repo ###
190 [gitfs changeset]
191 Regex=^\[git\]
192 Open=%cd %p/changesetfs://
193 View=%cd %p/patchsetfs://
195 ### Archives ###
196 # Since we use "file -z", we should use Regex and Shell first, then Type.
199 ######### Files by name (Regex and Shell) #########
201 # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z
202 [tar.gzip]
203 Regex=\.t([gp]?z|ar\.g?[zZ])$
204 Include=tar.gz
206 [ipk]
207 Shell=.ipk
208 Include=tar.gz
210 [gem]
211 Shell=.gem
212 Include=tar.gz
214 [tar.bzip]
215 Shell=.tar.bz
216 # Open=%cd %p/utar://
217 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip
219 [tar.bzip2]
220 Regex=\.t(ar\.bz2|bz2?|b2)$
221 Open=%cd %p/utar://
222 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip2
224 # .tar.lzma, .tlz
225 [tar.lzma]
226 Regex=\.t(ar\.lzma|lz)$
227 Open=%cd %p/utar://
228 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzma
230 [tar.lz]
231 Shell=.tar.lz
232 Open=%cd %p/utar://
233 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz
235 # .tar.lz4, .tlz4
236 [tar.lz4]
237 Regex=\.t(ar\.lz4|lz4)$
238 Open=%cd %p/utar://
239 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
241 # .tar.xz, .txz
242 [tar.xz]
243 Regex=\.t(ar\.xz|xz)$
244 Open=%cd %p/utar://
245 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
247 # .tar.zst, .tzst
248 [tar.zst]
249 Regex=\.t(ar\.zst|zst)$
250 Open=%cd %p/utar://
251 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.zst
253 # .tar.F - used on QNX
254 [tar.F]
255 Shell=.tar.F
256 # Open=%cd %p/utar://
257 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
259 # .qpr/.qpk - QNX Neutrino package installer files
260 [tar.qpr]
261 Regex=\.qp[rk]$
262 Open=%cd %p/utar://
263 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
265 [tar]
266 Shell=.tar
267 ShellIgnoreCase=true
268 Open=%cd %p/utar://
269 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
271 [arj]
272 Regex=\.a(rj|[0-9][0-9])$
273 RegexIgnoreCase=true
274 Open=%cd %p/uarj://
275 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
277 [cab]
278 Shell=.cab
279 ShellIgnoreCase=true
280 Open=%cd %p/ucab://
281 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
283 [ha]
284 Shell=.ha
285 ShellIgnoreCase=true
286 Open=%cd %p/uha://
287 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
289 [rar]
290 Regex=\.r(ar|[0-9][0-9])$
291 RegexIgnoreCase=true
292 Open=%cd %p/urar://
293 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
295 # ALZip
296 [alz]
297 Shell=.alz
298 ShellIgnoreCase=true
299 Open=%cd %p/ualz://
300 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
302 [cpio.Z]
303 Shell=.cpio.Z
304 Open=%cd %p/ucpio://
305 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
307 [cpio.lz]
308 Shell=.cpio.lz
309 Open=%cd %p/ucpio://
310 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz
312 [cpio.lz4]
313 Shell=.cpio.lz4
314 Open=%cd %p/ucpio://
315 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz4
317 [cpio.xz]
318 Shell=.cpio.xz
319 Open=%cd %p/ucpio://
320 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
322 [cpio.zst]
323 Shell=.cpio.zst
324 Open=%cd %p/ucpio://
325 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.zst
327 [cpio.gz]
328 Shell=.cpio.gz
329 Open=%cd %p/ucpio://
330 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
332 [cpio]
333 Shell=.cpio
334 ShellIgnoreCase=true
335 Include=cpio
337 [initrd]
338 Regex=^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
339 Include=cpio
341 [7zip]
342 Shell=.7z
343 ShellIgnoreCase=true
344 Open=%cd %p/u7z://
345 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
347 [patch]
348 Regex=\.(diff|patch)$
349 Open=%cd %p/patchfs://
350 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
352 [patch.gz]
353 Regex=\.(diff|patch)\.(gz|Z)$
354 Open=%cd %p/patchfs://
355 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
357 [patch.bz2]
358 Regex=\.(diff|patch)\.bz2$
359 Open=%cd %p/patchfs://
360 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
362 [patch.xz]
363 Regex=\.(diff|patch)\.xz$
364 Open=%cd %p/patchfs://
365 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
367 [patch.zst]
368 Regex=\.(diff|patch)\.zst$
369 Open=%cd %p/patchfs://
370 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
372 [ls-lR]
373 Regex=(^|\.)ls-?lR(\.gz|Z|bz2)$
374 Open=%cd %p/lslR://
376 [trpm]
377 Shell=.trpm
378 Open=%cd %p/trpm://
379 View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
381 # RPM packages (SuSE uses *.spm for source packages)
382 [src.rpm]
383 Regex=\.(src\.rpm|spm)$
384 Open=%cd %p/rpm://
385 View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
387 [rpm]
388 Shell=.rpm
389 Open=%cd %p/rpm://
390 View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
392 [deb]
393 Regex=\.u?deb$
394 Open=%cd %p/deb://
395 View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
397 [dpkg]
398 Shell=.debd
399 Open=%cd %p/debd://
400 View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
402 [apt]
403 Shell=.deba
404 Open=%cd %p/deba://
405 Ciew=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
407 [ISO9660]
408 Shell=.iso
409 ShellIgnoreCase=true
410 Open=%cd %p/iso9660://
411 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
413 [ar]
414 Regex=\.s?a$
415 Open=%cd %p/uar://
416 #Open=%view{ascii} ar tv %f
417 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
419 [gplib]
420 Shell=.lib
421 ShellIgnoreCase=true
422 Open=%cd %p/ulib://
423 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
425 ### Sources ###
427 [C/C++]
428 Regex=\.(c|cc|cpp|cxx|c\+\+)$
429 RegexIgnoreCase=true
430 Include=editor
432 [C/C++ header]
433 Regex=\.(h|hh|hpp|hxx|h\+\+)$
434 RegexIgnoreCase=true
435 Include=editor
437 [Fortran]
438 Shell=.f
439 ShellIgnoreCase=true
440 Include=editor
442 [Assembler]
443 Regex=\.(s|asm)$
444 RegexIgnoreCase=true
445 Include=editor
447 [Typescript]
448 Shell=.ts
449 ShellIgnoreCase=true
450 Type=^Java source
451 Include=editor
453 # .so libraries
454 [so]
455 Regex=\.(so|so\.[0-9\.]*)$
456 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
458 # .dylib libraries
459 [dylib]
460 Regex=\.(dylib|dylib\.[0-9\.]*)$
461 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dylib
464 ### Documentation ###
466 #[Texinfo]
467 #Regex=\.(te?xi|texinfo)$
469 [info-by-shell]
470 Shell=.info
471 Open=@EXTHELPERSDIR@/text.sh open info
473 # Exception: .3gp are video files, not manual pages
474 [3gp]
475 Shell=.3gp
476 ShellIgnoreCase=true
477 Type=^ISO Media.*3GPP
478 Include=video
480 # Troff with me macros.
481 # Exception - "read.me" is not a nroff file.
482 [read.me]
483 Shell=read.me
484 Open=
485 View=
487 [troff]
488 Shell=.me
489 Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
490 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
492 [roff with ms macros]
493 Shell=.ms
494 Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
495 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
497 # Manual page
499 [man.lz]
500 Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
501 Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
502 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
504 [man.lz4]
505 Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
506 Open=@EXTHELPERSDIR@/text.sh open man.lz4 %var{PAGER:more}
507 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz4 %var{PAGER:more}
509 [man.lzma]
510 Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
511 Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
512 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
514 [man.xz]
515 Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
516 Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
517 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
519 [man.zst]
520 Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
521 Open=@EXTHELPERSDIR@/text.sh open man.zst %var{PAGER:more}
522 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.zst %var{PAGER:more}
524 # Perl pod page
525 [pod]
526 Shell=.pod
527 Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
528 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
530 [chm]
531 Shell=.chm
532 ShellIgnoreCase=true
533 Open=@EXTHELPERSDIR@/text.sh open chm
535 ### Images ###
537 [xcf]
538 Shell=.xcf
539 Open=@EXTHELPERSDIR@/image.sh open xcf
541 [xbm]
542 Shell=.xbm
543 Open=@EXTHELPERSDIR@/image.sh open xbm
545 [xpm]
546 Shell=.xpm
547 Include=image
549 [ico]
550 Shell=.ico
551 Include=image
553 [svg]
554 Shell=.svg
555 ShellIgnoreCase=true
556 View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
557 Open=@EXTHELPERSDIR@/image.sh open svg
560 ### Sound files ###
562 [sound]
563 Regex=\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$
564 RegexIgnoreCase=true
565 Open=@EXTHELPERSDIR@/sound.sh open common
566 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view common
568 [mod]
569 Regex=\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
570 RegexIgnoreCase=true
571 Open=@EXTHELPERSDIR@/sound.sh open mod
573 [wav22]
574 Shell=.waw22
575 ShellIgnoreCase=true
576 Open=@EXTHELPERSDIR@/sound.sh open wav22
578 [mp3]
579 Shell=.mp3
580 ShellIgnoreCase=true
581 Open=@EXTHELPERSDIR@/sound.sh open mp3
582 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
584 [ogg]
585 Regex=\.og[gax]$
586 RegexIgnoreCase=true
587 Open=@EXTHELPERSDIR@/sound.sh open ogg
588 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
590 [opus]
591 Shell=.opus
592 ShellIgnoreCase=true
593 Open=@EXTHELPERSDIR@/sound.sh open opus
594 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view opus
596 [midi]
597 Regex=\.(midi?|rmid?)$
598 RegexIgnoreCase=true
599 Open=@EXTHELPERSDIR@/sound.sh open midi
601 [wma]
602 Shell=.wma
603 ShellIgnoreCase=true
604 Open=@EXTHELPERSDIR@/sound.sh open wma
605 View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
607 # Play list
608 [playlist]
609 Regex=\.(m3u|pls)$
610 RegexIgnoreCase=true
611 Open=@EXTHELPERSDIR@/sound.sh open playlist
614 ### Video ###
616 [avi]
617 Shell=.avi
618 ShellIgnoreCase=true
619 Include=video
621 [asf]
622 Regex=\.as[fx]$
623 RegexIgnoreCase=true
624 Include=video
626 [divx]
627 Shell=.divx
628 ShellIgnoreCase=true
629 Include=video
631 [mkv]
632 Shell=.mkv
633 ShellIgnoreCase=true
634 Include=video
636 [mov]
637 Regex=\.(mov|qt)$
638 RegexIgnoreCase=true
639 Include=video
641 [mp4]
642 Regex=\.(mp4|m4v|mpe?g)$
643 RegexIgnoreCase=true
644 Include=video
646 # MPEG-2 TS container + H.264 codec
647 [mts]
648 Shell=.mts
649 ShellIgnoreCase=true
650 Include=video
652 [ts]
653 Shell=.ts
654 ShellIgnoreCase=true
655 Include=video
657 [bob]
658 Shell=.vob
659 ShellIgnoreCase=true
660 Include=video
662 [wmv]
663 Shell=.wmv
664 ShellIgnoreCase=true
665 Include=video
667 [fli]
668 Regex=\.fl[icv]$
669 RegexIgnoreCase=true
670 Include=video
672 [ogv]
673 Shell=.ogv
674 ShellIgnoreCase=true
675 Include=video
677 [realaudio]
678 Regex=\.ra?m$
679 RegexIgnoreCase=true
680 Open=@EXTHELPERSDIR@/video.sh open ram
682 [webm-by-shell]
683 Shell=.webm
684 ShellIgnoreCase=true
685 Include=video
688 ### Documents ###
690 [html]
691 Regex=\.html?$
692 RegexIgnoreCase=true
693 Open=@EXTHELPERSDIR@/web.sh open html
694 View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
696 [StarOffice-5.2]
697 Shell=.sdw
698 ShellIgnoreCase=true
699 Open=@EXTHELPERSDIR@/doc.sh open ooffice
701 # StarOffice 6 and OpenOffice.org formats
702 [OpenOffice.org]
703 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)$
704 RegexIgnoreCase=true
705 Open=@EXTHELPERSDIR@/doc.sh open ooffice
706 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
708 [AbiWord]
709 Shell=.abw
710 ShellIgnoreCase=true
711 Open=@EXTHELPERSDIR@/doc.sh open abw
713 [Gnumeric]
714 Shell=.gnumeric
715 ShellIgnoreCase=true
716 Open=@EXTHELPERSDIR@/doc.sh open gnumeric
718 [rtf]
719 Shell=.rtf
720 ShellIgnoreCase=true
721 Open=@EXTHELPERSDIR@/doc.sh open msdoc
723 # Microsoft Word Document
724 [msdoc-by-shell]
725 Regex=\.(do[ct]|wri|docx)$
726 RegexIgnoreCase=true
727 Open=@EXTHELPERSDIR@/doc.sh open msdoc
728 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
730 # Microsoft Excel Worksheet
731 [msxls-by-shell]
732 Regex=\.(xl[sw]|xlsx)$
733 RegexIgnoreCase=true
734 Open=@EXTHELPERSDIR@/doc.sh open msxls
735 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
737 # Microsoft PowerPoint Presentation
738 [msppt]
739 Regex=\.(pp[ts]|pptx)$
740 RegexIgnoreCase=true
741 Open=@EXTHELPERSDIR@/doc.sh open msppt
742 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
744 [dvi]
745 Shell=.dvi
746 ShellIgnoreCase=true
747 Open=@EXTHELPERSDIR@/doc.sh open dvi
748 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
750 [tex]
751 Shell=.tex
752 ShellIgnoreCase=true
753 Include=editor
755 [markdown]
756 Regex=\.mk?d$
757 RegexIgnoreCase=true
758 Include=editor
760 [djvu]
761 Regex=\.djvu?$
762 RegexIgnoreCase=true
763 Open=@EXTHELPERSDIR@/doc.sh open djvu
764 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
766 # Comic Books
767 [cbr]
768 Regex=\.cb[zr]$
769 RegexIgnoreCase=true
770 Open=@EXTHELPERSDIR@/doc.sh open comic
772 # Epup, mobi, fb2
773 [ebook]
774 Regex=\.(epub|mobi|fb2)$
775 RegexIgnoreCase=true
776 Open=@EXTHELPERSDIR@/doc.sh open ebook
777 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ebook
780 ### Miscellaneous ###
782 # Compiled Java classes
783 [javaclass]
784 Shell=.class
785 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
787 [Imakefile]
788 Shell=Imakefile
789 Open=xmkmf -a
791 # Makefile.PL (MakeMaker)
792 [Makefile.pl]
793 Regex=^Makefile\.(PL|pl)$
794 Open=%var{PERL:perl} %f
796 [Makefile]
797 Regex=^[Mm]akefile
798 Open=make -f %f %{Enter parameters}
800 [dbf]
801 Shell=.dbf
802 ShellIgnoreCase=true
803 Open=@EXTHELPERSDIR@/misc.sh open dbf
804 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
806 # REXX script
807 [rexx]
808 Regex=\.(rexx?|cmd)$
809 Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
811 # Disk images for Commodore computers (VIC20, C64, C128)
812 [d64]
813 Shell=.d64
814 ShellIgnoreCase=true
815 Open=%cd %p/uc1541://
816 View=%view{ascii} c1541 %f -list
818 # Glade, a user interface designer for GTK+ and GNOME
819 [glade]
820 Shell=.glade
821 ShellIgnoreCase=true
822 Open=@EXTHELPERSDIR@/misc.sh open glade
824 # Gettext Catalogs
825 [mo]
826 Regex=.g?mo$
827 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
829 [po]
830 Shell=.po
831 Open=@EXTHELPERSDIR@/misc.sh open po
833 [lyx]
834 Shell=.lyx
835 ShellIgnoreCase=true
836 Open=@EXTHELPERSDIR@/misc.sh open lyx
837 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
839 [torrent]
840 Shell=.torrent
841 ShellIgnoreCase=true
842 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
845 ### Plain compressed files ###
847 [ace]
848 Shell=.ace
849 ShellIgnoreCase=true
850 Open=%cd %p/uace://
851 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
853 [arc]
854 Shell=.arc
855 ShellIgnoreCase=true
856 Open=%cd %p/uarc://
857 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
859 [zip-by-shell]
860 Shell=.zip
861 ShellIgnoreCase=true
862 Open=%cd %p/uzip://
863 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
865 [zoo]
866 Shell=.zoo
867 ShellIgnoreCase=true
868 Open=%cd %p/uzoo://
869 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
871 [lz4]
872 Shell=.lz4
873 ShellIgnoreCase=true
874 Open=@EXTHELPERSDIR@/archive.sh view lz4 %var{PAGER:more}
875 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz4
877 [wim]
878 Shell=.wim
879 ShellIgnoreCase=true
880 Open=%cd %p/uwim://
881 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view wim
884 ######### Files by Type #########
886 ### Archives ###
888 [mailbox]
889 Type=^ASCII\ mail\ text
890 Open=%cd %p/mailfs://
893 ### Sources ###
895 # Object
896 [elf]
897 Type=^ELF
898 #Open=%var{PAGER:more} %f
899 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
901 [Mach-O]
902 Type=^Mach-O
903 #Open=%var{PAGER:more} %f
904 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dylib
906 ### Documentation ###
908 # GNU Info page
909 [info-by-type]
910 Type=^Info\ text
911 Open=@EXTHELPERSDIR@/text.sh open info
913 # Manual page - compressed
914 [troff.gz]
915 Type=troff.*gzip compressed
916 Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
917 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
919 [troff.bzip]
920 Type=troff.*bzip compressed
921 Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
922 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
924 [troff.bzip2]
925 Type=troff.*bzip2 compressed
926 Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
927 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
929 # Manual page
930 [man]
931 Type=troff or preprocessor input
932 Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
933 View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
936 ### Images ###
938 [gif]
939 Type=^GIF
940 Include=image
942 [jpeg]
943 Type=^JPEG
944 Include=image
946 [bitmap]
947 Type=^PC\ bitmap
948 Include=image
950 [png]
951 Type=^PNG
952 Include=image
954 [jng]
955 Type=^JNG
956 Include=image
958 [mng]
959 Type=^MNG
960 Include=image
962 [tiff]
963 Type=^TIFF
964 Include=image
966 [rbm]
967 Type=^PBM
968 Include=image
970 [pgm]
971 Type=^PGM
972 Include=image
974 [ppm]
975 Type=^PPM
976 Include=image
978 [netpbm]
979 Type=^Netpbm
980 Include=image
983 ### Video ###
985 [webm-by-type]
986 Type=WebM
987 Include=video
990 ### Documents ###
992 [postscript]
993 Type=^PostScript
994 Open=@EXTHELPERSDIR@/doc.sh open ps
995 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
997 [pdf]
998 Type=^PDF
999 Open=@EXTHELPERSDIR@/doc.sh open pdf
1000 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
1002 # Microsoft Word Document
1003 [msdoc-by-type]
1004 Type=^Microsoft\ Word
1005 Open=@EXTHELPERSDIR@/doc.sh open msdoc
1006 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
1008 # Microsoft Excel Worksheet
1009 [msxls-by-type]
1010 Type=^Microsoft\ Excel
1011 Open=@EXTHELPERSDIR@/doc.sh open msxls
1012 View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
1014 # Use OpenOffice.org/LibreOffice to open any MS Office documents
1015 [mso-doc-1]
1016 Type=^Microsoft\ Office\ Document
1017 Open=@EXTHELPERSDIR@/doc.sh open ooffice
1019 [mso-doc-2]
1020 Type=^Microsoft\ OOXML
1021 Open=@EXTHELPERSDIR@/doc.sh open ooffice
1023 [framemaker]
1024 Type=^FrameMaker
1025 Open=@EXTHELPERSDIR@/doc.sh open framemaker
1028 ### Miscellaneous ###
1030 [sqlite3.db]
1031 Type=^SQLite 3.x database
1032 Open=@EXTHELPERSDIR@/misc.sh open sqlite
1033 View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
1036 ### Plain compressed files ###
1038 [gzip]
1039 Type=\(gzip compressed
1040 Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
1041 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
1043 [bzip]
1044 Type=\(bzip compressed
1045 Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
1046 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
1048 [bzip2]
1049 Type=\(bzip2 compressed
1050 Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
1051 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
1053 [compress]
1054 Type=\(compress'd
1055 Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
1056 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
1058 [lz]
1059 Type=\(lzip compressed
1060 Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
1061 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
1063 [lzma]
1064 Type=\(LZMA compressed
1065 Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
1066 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
1068 [xz]
1069 Type=\(XZ compressed
1070 Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
1071 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
1073 [zstd]
1074 Type=\(Zstandard compressed
1075 Open=@EXTHELPERSDIR@/archive.sh view zst %var{PAGER:more}
1076 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
1078 [zip-by-type]
1079 Type=\(Zip archive
1080 Open=%cd %p/uzip://
1081 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
1083 [jar]
1084 Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
1085 TypeIgnoreCase=true
1086 Open=%cd %p/uzip://
1087 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
1089 [lha]
1090 Type=^LHa\ .*archive
1091 Open=%cd %p/ulha://
1092 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
1094 [pak]
1095 Type=^PAK\ .*archive
1096 Open=%cd %p/unar://
1097 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view pak
1099 # Parity Archive
1100 [par2]
1101 Type=^Parity\ Archive\ Volume\ Set
1102 Open=@EXTHELPERSDIR@/archive.sh open par2
1105 ######### Includes #########
1106 # Includes should be at end of the bindings
1108 [Include/tar.gz]
1109 Open=%cd %p/utar://
1110 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.gz
1112 [Include/cpio]
1113 Open=%cd %p/ucpio://
1114 View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
1116 [Include/editor]
1117 Open=%var{EDITOR:vi} %f
1119 [Include/image]
1120 Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
1121 View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
1123 [Include/video]
1124 Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
1125 View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
1128 ######### Default #########
1130 # Default target for anything not described above
1131 [Default]
1132 Open=
1133 View=
1135 ### EOF ###