1 | # Midnight Commander 4.0 extension file |
---|
2 | # |
---|
3 | # Warning: The structure of this file has been completely changed with the version 4.0! |
---|
4 | # |
---|
5 | # All lines starting with # or empty lines are ignoted. |
---|
6 | # |
---|
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. |
---|
11 | # |
---|
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. |
---|
19 | # |
---|
20 | # Section [mc.ext.ini] is mandatory. It contains file metadata. |
---|
21 | # "Version" parameter is mandatory. It contains the file format version. |
---|
22 | # |
---|
23 | # Section [Default] is optional. It is applied only if no other match was found. |
---|
24 | # |
---|
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. |
---|
27 | # |
---|
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. |
---|
31 | # |
---|
32 | # [Default] should be a catch-all action and come last. |
---|
33 | # |
---|
34 | # A section describing a file can contain following keys: |
---|
35 | # |
---|
36 | # File descriptions: |
---|
37 | # |
---|
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. |
---|
43 | # |
---|
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). |
---|
49 | # |
---|
50 | # TypeIgnoreCase [true|false] |
---|
51 | # Defines whether the Type value is case sensitive or not. |
---|
52 | # If absent, Type is case sensitive. |
---|
53 | # |
---|
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 ( ). |
---|
59 | # |
---|
60 | # Example: |
---|
61 | # Regex=\.t(ar\.lzma|lz)$ |
---|
62 | # matches *.tar.lzma or *.tlz. |
---|
63 | # |
---|
64 | # RegexIgnoreCase [true|false] |
---|
65 | # Defines whether the Regex value is case sensitive or not. |
---|
66 | # If absent, Regex is case sensitive. |
---|
67 | # |
---|
68 | # Shell |
---|
69 | # Describes an extension when starting with a dot (no wildcards). |
---|
70 | # |
---|
71 | # Example: |
---|
72 | # Shell=.tar |
---|
73 | # matches *.tar. |
---|
74 | # |
---|
75 | # If it doesn't start with a dot, it matches only a file of that name. |
---|
76 | # |
---|
77 | # If both keys Regex and Shell are in the same section, Regex is used |
---|
78 | # and Shell is ignored. |
---|
79 | # |
---|
80 | # ShellIgnoreCase [true|false] |
---|
81 | # Defines whether the Shell value is case sensitive or not. |
---|
82 | # If absent, Shell is case sensitive. |
---|
83 | # |
---|
84 | # Include |
---|
85 | # Reference to another section. |
---|
86 | # |
---|
87 | # Example: |
---|
88 | # Include=video |
---|
89 | # points to the [Include/video] section. |
---|
90 | # |
---|
91 | # Commands: |
---|
92 | # |
---|
93 | # Open |
---|
94 | # Execute the command if the user presses Enter or doubleclicks it. |
---|
95 | # |
---|
96 | # View |
---|
97 | # Execute the command if the user presses F3. |
---|
98 | # |
---|
99 | # Edit |
---|
100 | # Execute the command if the user presses F4. |
---|
101 | # |
---|
102 | # All commands are ignored if the section contains the Include key. |
---|
103 | # |
---|
104 | # Command is any one-line shell command, with the following substitutions: |
---|
105 | # |
---|
106 | # %% |
---|
107 | # The % character |
---|
108 | # |
---|
109 | # %p |
---|
110 | # Name of the current file without the path. |
---|
111 | # Also provided to the external application as MC_EXT_BASENAME environment variable. |
---|
112 | # |
---|
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. |
---|
121 | # |
---|
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. |
---|
125 | # |
---|
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. |
---|
130 | # |
---|
131 | # %t |
---|
132 | # List of the tagged files. |
---|
133 | # Also provided to the external application as MC_EXT_ONLYTAGGED environment variable. |
---|
134 | # |
---|
135 | # %u |
---|
136 | # List of the tagged files (they will be untaged after the command is executed). |
---|
137 | # |
---|
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.) |
---|
140 | # |
---|
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. |
---|
144 | # |
---|
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). |
---|
149 | # |
---|
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) |
---|
156 | # |
---|
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. |
---|
161 | # |
---|
162 | # Section can contain both Type and Regex or Type and Shell keys. In this case |
---|
163 | # they are handled as an AND condition. |
---|
164 | # |
---|
165 | # Example: |
---|
166 | # Shell=.3gp |
---|
167 | # Type=^ISO Media.*3GPP |
---|
168 | # |
---|
169 | # matches *.3gp files for which `file` output is a line starting with "ISO Media" |
---|
170 | # and containing "3GPP". |
---|
171 | # |
---|
172 | # If there are more than one keys with the same name in a section, the last key will be used. |
---|
173 | # |
---|
174 | # |
---|
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. |
---|
177 | |
---|
178 | |
---|
179 | ### Changes ### |
---|
180 | # |
---|
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. |
---|
185 | |
---|
186 | [mc.ext.ini] |
---|
187 | Version=4.0 |
---|
188 | |
---|
189 | ### GIT Repo ### |
---|
190 | [gitfs changeset] |
---|
191 | Regex=^\[git\] |
---|
192 | Open=%cd %p/changesetfs:// |
---|
193 | View=%cd %p/patchsetfs:// |
---|
194 | |
---|
195 | ### Archives ### |
---|
196 | # Since we use "file -z", we should use Regex and Shell first, then Type. |
---|
197 | |
---|
198 | |
---|
199 | ######### Files by name (Regex and Shell) ######### |
---|
200 | |
---|
201 | # .tgz, .tpz, .tar.gz, .tar.z, .tar.Z |
---|
202 | [tar.gzip] |
---|
203 | Regex=\.t([gp]?z|ar\.g?[zZ])$ |
---|
204 | Include=tar.gz |
---|
205 | |
---|
206 | [ipk] |
---|
207 | Shell=.ipk |
---|
208 | Include=tar.gz |
---|
209 | |
---|
210 | [gem] |
---|
211 | Shell=.gem |
---|
212 | Include=tar.gz |
---|
213 | |
---|
214 | [tar.bzip] |
---|
215 | Shell=.tar.bz |
---|
216 | # Open=%cd %p/utar:// |
---|
217 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip |
---|
218 | |
---|
219 | [tar.bzip2] |
---|
220 | Regex=\.t(ar\.bz2|bz2?|b2)$ |
---|
221 | Open=%cd %p/utar:// |
---|
222 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.bzip2 |
---|
223 | |
---|
224 | # .tar.lzma, .tlz |
---|
225 | [tar.lzma] |
---|
226 | Regex=\.t(ar\.lzma|lz)$ |
---|
227 | Open=%cd %p/utar:// |
---|
228 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lzma |
---|
229 | |
---|
230 | [tar.lz] |
---|
231 | Shell=.tar.lz |
---|
232 | Open=%cd %p/utar:// |
---|
233 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz |
---|
234 | |
---|
235 | # .tar.lz4, .tlz4 |
---|
236 | [tar.lz4] |
---|
237 | Regex=\.t(ar\.lz4|lz4)$ |
---|
238 | Open=%cd %p/utar:// |
---|
239 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.lz4 |
---|
240 | |
---|
241 | # .tar.xz, .txz |
---|
242 | [tar.xz] |
---|
243 | Regex=\.t(ar\.xz|xz)$ |
---|
244 | Open=%cd %p/utar:// |
---|
245 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.xz |
---|
246 | |
---|
247 | # .tar.zst, .tzst |
---|
248 | [tar.zst] |
---|
249 | Regex=\.t(ar\.zst|zst)$ |
---|
250 | Open=%cd %p/utar:// |
---|
251 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.zst |
---|
252 | |
---|
253 | # .tar.F - used on QNX |
---|
254 | [tar.F] |
---|
255 | Shell=.tar.F |
---|
256 | # Open=%cd %p/utar:// |
---|
257 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.F |
---|
258 | |
---|
259 | # .qpr/.qpk - QNX Neutrino package installer files |
---|
260 | [tar.qpr] |
---|
261 | Regex=\.qp[rk]$ |
---|
262 | Open=%cd %p/utar:// |
---|
263 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.qpr |
---|
264 | |
---|
265 | [tar] |
---|
266 | Shell=.tar |
---|
267 | ShellIgnoreCase=true |
---|
268 | Open=%cd %p/utar:// |
---|
269 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar |
---|
270 | |
---|
271 | [arj] |
---|
272 | Regex=\.a(rj|[0-9][0-9])$ |
---|
273 | RegexIgnoreCase=true |
---|
274 | Open=%cd %p/uarj:// |
---|
275 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arj |
---|
276 | |
---|
277 | [cab] |
---|
278 | Shell=.cab |
---|
279 | ShellIgnoreCase=true |
---|
280 | Open=%cd %p/ucab:// |
---|
281 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cab |
---|
282 | |
---|
283 | [ha] |
---|
284 | Shell=.ha |
---|
285 | ShellIgnoreCase=true |
---|
286 | Open=%cd %p/uha:// |
---|
287 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ha |
---|
288 | |
---|
289 | [rar] |
---|
290 | Regex=\.r(ar|[0-9][0-9])$ |
---|
291 | RegexIgnoreCase=true |
---|
292 | Open=%cd %p/urar:// |
---|
293 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view rar |
---|
294 | |
---|
295 | # ALZip |
---|
296 | [alz] |
---|
297 | Shell=.alz |
---|
298 | ShellIgnoreCase=true |
---|
299 | Open=%cd %p/ualz:// |
---|
300 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view alz |
---|
301 | |
---|
302 | [cpio.Z] |
---|
303 | Shell=.cpio.Z |
---|
304 | Open=%cd %p/ucpio:// |
---|
305 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.z |
---|
306 | |
---|
307 | [cpio.lz] |
---|
308 | Shell=.cpio.lz |
---|
309 | Open=%cd %p/ucpio:// |
---|
310 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz |
---|
311 | |
---|
312 | [cpio.lz4] |
---|
313 | Shell=.cpio.lz4 |
---|
314 | Open=%cd %p/ucpio:// |
---|
315 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.lz4 |
---|
316 | |
---|
317 | [cpio.xz] |
---|
318 | Shell=.cpio.xz |
---|
319 | Open=%cd %p/ucpio:// |
---|
320 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.xz |
---|
321 | |
---|
322 | [cpio.zst] |
---|
323 | Shell=.cpio.zst |
---|
324 | Open=%cd %p/ucpio:// |
---|
325 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.zst |
---|
326 | |
---|
327 | [cpio.gz] |
---|
328 | Shell=.cpio.gz |
---|
329 | Open=%cd %p/ucpio:// |
---|
330 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio.gz |
---|
331 | |
---|
332 | [cpio] |
---|
333 | Shell=.cpio |
---|
334 | ShellIgnoreCase=true |
---|
335 | Include=cpio |
---|
336 | |
---|
337 | [initrd] |
---|
338 | Regex=^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$ |
---|
339 | Include=cpio |
---|
340 | |
---|
341 | [7zip] |
---|
342 | Shell=.7z |
---|
343 | ShellIgnoreCase=true |
---|
344 | Open=%cd %p/u7z:// |
---|
345 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view 7z |
---|
346 | |
---|
347 | [patch] |
---|
348 | Regex=\.(diff|patch)$ |
---|
349 | Open=%cd %p/patchfs:// |
---|
350 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view cat |
---|
351 | |
---|
352 | [patch.gz] |
---|
353 | Regex=\.(diff|patch)\.(gz|Z)$ |
---|
354 | Open=%cd %p/patchfs:// |
---|
355 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz |
---|
356 | |
---|
357 | [patch.bz2] |
---|
358 | Regex=\.(diff|patch)\.bz2$ |
---|
359 | Open=%cd %p/patchfs:// |
---|
360 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2 |
---|
361 | |
---|
362 | [patch.xz] |
---|
363 | Regex=\.(diff|patch)\.xz$ |
---|
364 | Open=%cd %p/patchfs:// |
---|
365 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz |
---|
366 | |
---|
367 | [patch.zst] |
---|
368 | Regex=\.(diff|patch)\.zst$ |
---|
369 | Open=%cd %p/patchfs:// |
---|
370 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst |
---|
371 | |
---|
372 | [ls-lR] |
---|
373 | Regex=(^|\.)ls-?lR(\.gz|Z|bz2)$ |
---|
374 | Open=%cd %p/lslR:// |
---|
375 | |
---|
376 | [trpm] |
---|
377 | Shell=.trpm |
---|
378 | Open=%cd %p/trpm:// |
---|
379 | View=%view{ascii} /usr/lib/mc/ext.d/package.sh view trpm |
---|
380 | |
---|
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} /usr/lib/mc/ext.d/package.sh view src.rpm |
---|
386 | |
---|
387 | [rpm] |
---|
388 | Shell=.rpm |
---|
389 | Open=%cd %p/rpm:// |
---|
390 | View=%view{ascii} /usr/lib/mc/ext.d/package.sh view rpm |
---|
391 | |
---|
392 | [deb] |
---|
393 | Regex=\.u?deb$ |
---|
394 | Open=%cd %p/deb:// |
---|
395 | View=%view{ascii} /usr/lib/mc/ext.d/package.sh view deb |
---|
396 | |
---|
397 | [dpkg] |
---|
398 | Shell=.debd |
---|
399 | Open=%cd %p/debd:// |
---|
400 | View=%view{ascii} /usr/lib/mc/ext.d/package.sh view debd |
---|
401 | |
---|
402 | [apt] |
---|
403 | Shell=.deba |
---|
404 | Open=%cd %p/deba:// |
---|
405 | Ciew=%view{ascii} /usr/lib/mc/ext.d/package.sh view deba |
---|
406 | |
---|
407 | [ISO9660] |
---|
408 | Shell=.iso |
---|
409 | ShellIgnoreCase=true |
---|
410 | Open=%cd %p/iso9660:// |
---|
411 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view iso9660 |
---|
412 | |
---|
413 | [ar] |
---|
414 | Regex=\.s?a$ |
---|
415 | Open=%cd %p/uar:// |
---|
416 | #Open=%view{ascii} ar tv %f |
---|
417 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view ar |
---|
418 | |
---|
419 | [gplib] |
---|
420 | Shell=.lib |
---|
421 | ShellIgnoreCase=true |
---|
422 | Open=%cd %p/ulib:// |
---|
423 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view lib |
---|
424 | |
---|
425 | ### Sources ### |
---|
426 | |
---|
427 | [C/C++] |
---|
428 | Regex=\.(c|cc|cpp|cxx|c\+\+)$ |
---|
429 | RegexIgnoreCase=true |
---|
430 | Include=editor |
---|
431 | |
---|
432 | [C/C++ header] |
---|
433 | Regex=\.(h|hh|hpp|hxx|h\+\+)$ |
---|
434 | RegexIgnoreCase=true |
---|
435 | Include=editor |
---|
436 | |
---|
437 | [Fortran] |
---|
438 | Shell=.f |
---|
439 | ShellIgnoreCase=true |
---|
440 | Include=editor |
---|
441 | |
---|
442 | [Assembler] |
---|
443 | Regex=\.(s|asm)$ |
---|
444 | RegexIgnoreCase=true |
---|
445 | Include=editor |
---|
446 | |
---|
447 | [Typescript] |
---|
448 | Shell=.ts |
---|
449 | ShellIgnoreCase=true |
---|
450 | Type=^Java source |
---|
451 | Include=editor |
---|
452 | |
---|
453 | # .so libraries |
---|
454 | [so] |
---|
455 | Regex=\.(so|so\.[0-9\.]*)$ |
---|
456 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view so |
---|
457 | |
---|
458 | |
---|
459 | ### Documentation ### |
---|
460 | |
---|
461 | #[Texinfo] |
---|
462 | #Regex=\.(te?xi|texinfo)$ |
---|
463 | |
---|
464 | [info-by-shell] |
---|
465 | Shell=.info |
---|
466 | Open=/usr/lib/mc/ext.d/text.sh open info |
---|
467 | |
---|
468 | # Exception: .3gp are video files, not manual pages |
---|
469 | [3gp] |
---|
470 | Shell=.3gp |
---|
471 | ShellIgnoreCase=true |
---|
472 | Type=^ISO Media.*3GPP |
---|
473 | Include=video |
---|
474 | |
---|
475 | # Troff with me macros. |
---|
476 | # Exception - "read.me" is not a nroff file. |
---|
477 | [read.me] |
---|
478 | Shell=read.me |
---|
479 | Open= |
---|
480 | View= |
---|
481 | |
---|
482 | [troff] |
---|
483 | Shell=.me |
---|
484 | Open=/usr/lib/mc/ext.d/text.sh open nroff.me %var{PAGER:more} |
---|
485 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view nroff.me %var{PAGER:more} |
---|
486 | |
---|
487 | [roff with ms macros] |
---|
488 | Shell=.ms |
---|
489 | Open=/usr/lib/mc/ext.d/text.sh open nroff.ms %var{PAGER:more} |
---|
490 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view nroff.ms %var{PAGER:more} |
---|
491 | |
---|
492 | # Manual page |
---|
493 | |
---|
494 | [man.lz] |
---|
495 | Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$ |
---|
496 | Open=/usr/lib/mc/ext.d/text.sh open man.lz %var{PAGER:more} |
---|
497 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz %var{PAGER:more} |
---|
498 | |
---|
499 | [man.lz4] |
---|
500 | Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$ |
---|
501 | Open=/usr/lib/mc/ext.d/text.sh open man.lz4 %var{PAGER:more} |
---|
502 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lz4 %var{PAGER:more} |
---|
503 | |
---|
504 | [man.lzma] |
---|
505 | Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$ |
---|
506 | Open=/usr/lib/mc/ext.d/text.sh open man.lzma %var{PAGER:more} |
---|
507 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.lzma %var{PAGER:more} |
---|
508 | |
---|
509 | [man.xz] |
---|
510 | Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$ |
---|
511 | Open=/usr/lib/mc/ext.d/text.sh open man.xz %var{PAGER:more} |
---|
512 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.xz %var{PAGER:more} |
---|
513 | |
---|
514 | [man.zst] |
---|
515 | Regex=([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$ |
---|
516 | Open=/usr/lib/mc/ext.d/text.sh open man.zst %var{PAGER:more} |
---|
517 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.zst %var{PAGER:more} |
---|
518 | |
---|
519 | # Perl pod page |
---|
520 | [pod] |
---|
521 | Shell=.pod |
---|
522 | Open=/usr/lib/mc/ext.d/text.sh open pod %var{PAGER:more} |
---|
523 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view pod %var{PAGER:more} |
---|
524 | |
---|
525 | [chm] |
---|
526 | Shell=.chm |
---|
527 | ShellIgnoreCase=true |
---|
528 | Open=/usr/lib/mc/ext.d/text.sh open chm |
---|
529 | |
---|
530 | ### Images ### |
---|
531 | |
---|
532 | [xcf] |
---|
533 | Shell=.xcf |
---|
534 | Open=/usr/lib/mc/ext.d/image.sh open xcf |
---|
535 | |
---|
536 | [xbm] |
---|
537 | Shell=.xbm |
---|
538 | Open=/usr/lib/mc/ext.d/image.sh open xbm |
---|
539 | |
---|
540 | [xpm] |
---|
541 | Shell=.xpm |
---|
542 | Include=image |
---|
543 | |
---|
544 | [ico] |
---|
545 | Shell=.ico |
---|
546 | Include=image |
---|
547 | |
---|
548 | [svg] |
---|
549 | Shell=.svg |
---|
550 | ShellIgnoreCase=true |
---|
551 | View=%view{ascii} /usr/lib/mc/ext.d/image.sh view svg |
---|
552 | Open=/usr/lib/mc/ext.d/image.sh open svg |
---|
553 | |
---|
554 | |
---|
555 | ### Sound files ### |
---|
556 | |
---|
557 | [sound] |
---|
558 | Regex=\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv|spx|flac)$ |
---|
559 | RegexIgnoreCase=true |
---|
560 | Open=/usr/lib/mc/ext.d/sound.sh open common |
---|
561 | View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view common |
---|
562 | |
---|
563 | [mod] |
---|
564 | Regex=\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$ |
---|
565 | RegexIgnoreCase=true |
---|
566 | Open=/usr/lib/mc/ext.d/sound.sh open mod |
---|
567 | |
---|
568 | [wav22] |
---|
569 | Shell=.waw22 |
---|
570 | ShellIgnoreCase=true |
---|
571 | Open=/usr/lib/mc/ext.d/sound.sh open wav22 |
---|
572 | |
---|
573 | [mp3] |
---|
574 | Shell=.mp3 |
---|
575 | ShellIgnoreCase=true |
---|
576 | Open=/usr/lib/mc/ext.d/sound.sh open mp3 |
---|
577 | View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view mp3 |
---|
578 | |
---|
579 | [ogg] |
---|
580 | Regex=\.og[gax]$ |
---|
581 | RegexIgnoreCase=true |
---|
582 | Open=/usr/lib/mc/ext.d/sound.sh open ogg |
---|
583 | View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view ogg |
---|
584 | |
---|
585 | [opus] |
---|
586 | Shell=.opus |
---|
587 | ShellIgnoreCase=true |
---|
588 | Open=/usr/lib/mc/ext.d/sound.sh open opus |
---|
589 | View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view opus |
---|
590 | |
---|
591 | [midi] |
---|
592 | Regex=\.(midi?|rmid?)$ |
---|
593 | RegexIgnoreCase=true |
---|
594 | Open=/usr/lib/mc/ext.d/sound.sh open midi |
---|
595 | |
---|
596 | [wma] |
---|
597 | Shell=.wma |
---|
598 | ShellIgnoreCase=true |
---|
599 | Open=/usr/lib/mc/ext.d/sound.sh open wma |
---|
600 | View=%view{ascii} /usr/lib/mc/ext.d/sound.sh view wma |
---|
601 | |
---|
602 | # Play list |
---|
603 | [playlist] |
---|
604 | Regex=\.(m3u|pls)$ |
---|
605 | RegexIgnoreCase=true |
---|
606 | Open=/usr/lib/mc/ext.d/sound.sh open playlist |
---|
607 | |
---|
608 | |
---|
609 | ### Video ### |
---|
610 | |
---|
611 | [avi] |
---|
612 | Shell=.avi |
---|
613 | ShellIgnoreCase=true |
---|
614 | Include=video |
---|
615 | |
---|
616 | [asf] |
---|
617 | Regex=\.as[fx]$ |
---|
618 | RegexIgnoreCase=true |
---|
619 | Include=video |
---|
620 | |
---|
621 | [divx] |
---|
622 | Shell=.divx |
---|
623 | ShellIgnoreCase=true |
---|
624 | Include=video |
---|
625 | |
---|
626 | [mkv] |
---|
627 | Shell=.mkv |
---|
628 | ShellIgnoreCase=true |
---|
629 | Include=video |
---|
630 | |
---|
631 | [mov] |
---|
632 | Regex=\.(mov|qt)$ |
---|
633 | RegexIgnoreCase=true |
---|
634 | Include=video |
---|
635 | |
---|
636 | [mp4] |
---|
637 | Regex=\.(mp4|m4v|mpe?g)$ |
---|
638 | RegexIgnoreCase=true |
---|
639 | Include=video |
---|
640 | |
---|
641 | # MPEG-2 TS container + H.264 codec |
---|
642 | [mts] |
---|
643 | Shell=.mts |
---|
644 | ShellIgnoreCase=true |
---|
645 | Include=video |
---|
646 | |
---|
647 | [ts] |
---|
648 | Shell=.ts |
---|
649 | ShellIgnoreCase=true |
---|
650 | Include=video |
---|
651 | |
---|
652 | [bob] |
---|
653 | Shell=.vob |
---|
654 | ShellIgnoreCase=true |
---|
655 | Include=video |
---|
656 | |
---|
657 | [wmv] |
---|
658 | Shell=.wmv |
---|
659 | ShellIgnoreCase=true |
---|
660 | Include=video |
---|
661 | |
---|
662 | [fli] |
---|
663 | Regex=\.fl[icv]$ |
---|
664 | RegexIgnoreCase=true |
---|
665 | Include=video |
---|
666 | |
---|
667 | [ogv] |
---|
668 | Shell=.ogv |
---|
669 | ShellIgnoreCase=true |
---|
670 | Include=video |
---|
671 | |
---|
672 | [realaudio] |
---|
673 | Regex=\.ra?m$ |
---|
674 | RegexIgnoreCase=true |
---|
675 | Open=/usr/lib/mc/ext.d/video.sh open ram |
---|
676 | |
---|
677 | [webm-by-shell] |
---|
678 | Shell=.webm |
---|
679 | ShellIgnoreCase=true |
---|
680 | Include=video |
---|
681 | |
---|
682 | |
---|
683 | ### Documents ### |
---|
684 | |
---|
685 | [html] |
---|
686 | Regex=\.html?$ |
---|
687 | RegexIgnoreCase=true |
---|
688 | Open=/usr/lib/mc/ext.d/web.sh open html |
---|
689 | View=%view{ascii} /usr/lib/mc/ext.d/web.sh view html |
---|
690 | |
---|
691 | [StarOffice-5.2] |
---|
692 | Shell=.sdw |
---|
693 | ShellIgnoreCase=true |
---|
694 | Open=/usr/lib/mc/ext.d/doc.sh open ooffice |
---|
695 | |
---|
696 | # StarOffice 6 and OpenOffice.org formats |
---|
697 | [OpenOffice.org] |
---|
698 | 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)$ |
---|
699 | RegexIgnoreCase=true |
---|
700 | Open=/usr/lib/mc/ext.d/doc.sh open ooffice |
---|
701 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view odt |
---|
702 | |
---|
703 | [AbiWord] |
---|
704 | Shell=.abw |
---|
705 | ShellIgnoreCase=true |
---|
706 | Open=/usr/lib/mc/ext.d/doc.sh open abw |
---|
707 | |
---|
708 | [Gnumeric] |
---|
709 | Shell=.gnumeric |
---|
710 | ShellIgnoreCase=true |
---|
711 | Open=/usr/lib/mc/ext.d/doc.sh open gnumeric |
---|
712 | |
---|
713 | [rtf] |
---|
714 | Shell=.rtf |
---|
715 | ShellIgnoreCase=true |
---|
716 | Open=/usr/lib/mc/ext.d/doc.sh open msdoc |
---|
717 | |
---|
718 | # Microsoft Word Document |
---|
719 | [msdoc-by-shell] |
---|
720 | Regex=\.(do[ct]|wri|docx)$ |
---|
721 | RegexIgnoreCase=true |
---|
722 | Open=/usr/lib/mc/ext.d/doc.sh open msdoc |
---|
723 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc |
---|
724 | |
---|
725 | # Microsoft Excel Worksheet |
---|
726 | [msxls-by-shell] |
---|
727 | Regex=\.(xl[sw]|xlsx)$ |
---|
728 | RegexIgnoreCase=true |
---|
729 | Open=/usr/lib/mc/ext.d/doc.sh open msxls |
---|
730 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls |
---|
731 | |
---|
732 | # Microsoft PowerPoint Presentation |
---|
733 | [msppt] |
---|
734 | Regex=\.(pp[ts]|pptx)$ |
---|
735 | RegexIgnoreCase=true |
---|
736 | Open=/usr/lib/mc/ext.d/doc.sh open msppt |
---|
737 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msppt |
---|
738 | |
---|
739 | [dvi] |
---|
740 | Shell=.dvi |
---|
741 | ShellIgnoreCase=true |
---|
742 | Open=/usr/lib/mc/ext.d/doc.sh open dvi |
---|
743 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view dvi |
---|
744 | |
---|
745 | [tex] |
---|
746 | Shell=.tex |
---|
747 | ShellIgnoreCase=true |
---|
748 | Include=editor |
---|
749 | |
---|
750 | [markdown] |
---|
751 | Regex=\.(md|mkd)$ |
---|
752 | ShellIgnoreCase=true |
---|
753 | Include=editor |
---|
754 | |
---|
755 | [djvu] |
---|
756 | Regex=\.djvu?$ |
---|
757 | RegexIgnoreCase=true |
---|
758 | Open=/usr/lib/mc/ext.d/doc.sh open djvu |
---|
759 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view djvu |
---|
760 | |
---|
761 | # Comic Books |
---|
762 | [cbr] |
---|
763 | Regex=\.cb[zr]$ |
---|
764 | RegexIgnoreCase=true |
---|
765 | Open=/usr/lib/mc/ext.d/doc.sh open comic |
---|
766 | |
---|
767 | # Epup, mobi, fb2 |
---|
768 | [ebook] |
---|
769 | Regex=\.(epub|mobi|fb2)$ |
---|
770 | RegexIgnoreCase=true |
---|
771 | Open=/usr/lib/mc/ext.d/doc.sh open ebook |
---|
772 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ebook |
---|
773 | |
---|
774 | |
---|
775 | ### Miscellaneous ### |
---|
776 | |
---|
777 | # Compiled Java classes |
---|
778 | [javaclass] |
---|
779 | Shell=.class |
---|
780 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view javaclass |
---|
781 | |
---|
782 | [Imakefile] |
---|
783 | Shell=Imakefile |
---|
784 | Open=xmkmf -a |
---|
785 | |
---|
786 | # Makefile.PL (MakeMaker) |
---|
787 | [Makefile.pl] |
---|
788 | Regex=^Makefile\.(PL|pl)$ |
---|
789 | Open=%var{PERL:perl} %f |
---|
790 | |
---|
791 | [Makefile] |
---|
792 | Regex=^[Mm]akefile |
---|
793 | Open=make -f %f %{Enter parameters} |
---|
794 | |
---|
795 | [dbf] |
---|
796 | Shell=.dbf |
---|
797 | ShellIgnoreCase=true |
---|
798 | Open=/usr/lib/mc/ext.d/misc.sh open dbf |
---|
799 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view dbf |
---|
800 | |
---|
801 | # REXX script |
---|
802 | [rexx] |
---|
803 | Regex=\.(rexx?|cmd)$ |
---|
804 | Open=rexx %f %{Enter parameters};echo "Press ENTER";read y |
---|
805 | |
---|
806 | # Disk images for Commodore computers (VIC20, C64, C128) |
---|
807 | [d64] |
---|
808 | Shell=.d64 |
---|
809 | ShellIgnoreCase=true |
---|
810 | Open=%cd %p/uc1541:// |
---|
811 | View=%view{ascii} c1541 %f -list |
---|
812 | |
---|
813 | # Glade, a user interface designer for GTK+ and GNOME |
---|
814 | [glade] |
---|
815 | Shell=.glade |
---|
816 | ShellIgnoreCase=true |
---|
817 | Open=/usr/lib/mc/ext.d/misc.sh open glade |
---|
818 | |
---|
819 | # Gettext Catalogs |
---|
820 | [mo] |
---|
821 | Regex=.g?mo$ |
---|
822 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view mo |
---|
823 | |
---|
824 | [po] |
---|
825 | Shell=.po |
---|
826 | Open=/usr/lib/mc/ext.d/misc.sh open po |
---|
827 | |
---|
828 | [lyx] |
---|
829 | Shell=.lyx |
---|
830 | ShellIgnoreCase=true |
---|
831 | Open=/usr/lib/mc/ext.d/misc.sh open lyx |
---|
832 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view lyx |
---|
833 | |
---|
834 | [torrent] |
---|
835 | Shell=.torrent |
---|
836 | ShellIgnoreCase=true |
---|
837 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view torrent |
---|
838 | |
---|
839 | |
---|
840 | ### Plain compressed files ### |
---|
841 | |
---|
842 | [ace] |
---|
843 | Shell=.ace |
---|
844 | ShellIgnoreCase=true |
---|
845 | Open=%cd %p/uace:// |
---|
846 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view ace |
---|
847 | |
---|
848 | [arc] |
---|
849 | Shell=.arc |
---|
850 | ShellIgnoreCase=true |
---|
851 | Open=%cd %p/uarc:// |
---|
852 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view arc |
---|
853 | |
---|
854 | [zip-by-shell] |
---|
855 | Shell=.zip |
---|
856 | ShellIgnoreCase=true |
---|
857 | Open=%cd %p/uzip:// |
---|
858 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip |
---|
859 | |
---|
860 | [zoo] |
---|
861 | Shell=.zoo |
---|
862 | ShellIgnoreCase=true |
---|
863 | Open=%cd %p/uzoo:// |
---|
864 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zoo |
---|
865 | |
---|
866 | [lz4] |
---|
867 | Shell=.lz4 |
---|
868 | ShellIgnoreCase=true |
---|
869 | Open=/usr/lib/mc/ext.d/archive.sh view lz4 %var{PAGER:more} |
---|
870 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz4 |
---|
871 | |
---|
872 | [wim] |
---|
873 | Shell=.wim |
---|
874 | ShellIgnoreCase=true |
---|
875 | Open=%cd %p/uwim:// |
---|
876 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view wim |
---|
877 | |
---|
878 | |
---|
879 | ######### Files by Type ######### |
---|
880 | |
---|
881 | ### Archives ### |
---|
882 | |
---|
883 | [mailbox] |
---|
884 | Type=^ASCII\ mail\ text |
---|
885 | Open=%cd %p/mailfs:// |
---|
886 | |
---|
887 | |
---|
888 | ### Sources ### |
---|
889 | |
---|
890 | # Object |
---|
891 | [elf] |
---|
892 | Type=^ELF |
---|
893 | #Open=%var{PAGER:more} %f |
---|
894 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view elf |
---|
895 | |
---|
896 | |
---|
897 | ### Documentation ### |
---|
898 | |
---|
899 | # GNU Info page |
---|
900 | [info-by-type] |
---|
901 | Type=^Info\ text |
---|
902 | Open=/usr/lib/mc/ext.d/text.sh open info |
---|
903 | |
---|
904 | # Manual page - compressed |
---|
905 | [troff.gz] |
---|
906 | Type=troff.*gzip compressed |
---|
907 | Open=/usr/lib/mc/ext.d/text.sh open man.gz %var{PAGER:more} |
---|
908 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.gz %var{PAGER:more} |
---|
909 | |
---|
910 | [troff.bzip] |
---|
911 | Type=troff.*bzip compressed |
---|
912 | Open=/usr/lib/mc/ext.d/text.sh open man.bz %var{PAGER:more} |
---|
913 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.bz %var{PAGER:more} |
---|
914 | |
---|
915 | [troff.bzip2] |
---|
916 | Type=troff.*bzip2 compressed |
---|
917 | Open=/usr/lib/mc/ext.d/text.sh open man.bz2 %var{PAGER:more} |
---|
918 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man.bz2 %var{PAGER:more} |
---|
919 | |
---|
920 | # Manual page |
---|
921 | [man] |
---|
922 | Type=troff or preprocessor input |
---|
923 | Open=/usr/lib/mc/ext.d/text.sh open man %var{PAGER:more} |
---|
924 | View=%view{ascii,nroff} /usr/lib/mc/ext.d/text.sh view man %var{PAGER:more} |
---|
925 | |
---|
926 | |
---|
927 | ### Images ### |
---|
928 | |
---|
929 | [gif] |
---|
930 | Type=^GIF |
---|
931 | Include=image |
---|
932 | |
---|
933 | [jpeg] |
---|
934 | Type=^JPEG |
---|
935 | Include=image |
---|
936 | |
---|
937 | [bitmap] |
---|
938 | Type=^PC\ bitmap |
---|
939 | Include=image |
---|
940 | |
---|
941 | [png] |
---|
942 | Type=^PNG |
---|
943 | Include=image |
---|
944 | |
---|
945 | [jng] |
---|
946 | Type=^JNG |
---|
947 | Include=image |
---|
948 | |
---|
949 | [mng] |
---|
950 | Type=^MNG |
---|
951 | Include=image |
---|
952 | |
---|
953 | [tiff] |
---|
954 | Type=^TIFF |
---|
955 | Include=image |
---|
956 | |
---|
957 | [rbm] |
---|
958 | Type=^PBM |
---|
959 | Include=image |
---|
960 | |
---|
961 | [pgm] |
---|
962 | Type=^PGM |
---|
963 | Include=image |
---|
964 | |
---|
965 | [ppm] |
---|
966 | Type=^PPM |
---|
967 | Include=image |
---|
968 | |
---|
969 | [netpbm] |
---|
970 | Type=^Netpbm |
---|
971 | Include=image |
---|
972 | |
---|
973 | |
---|
974 | ### Video ### |
---|
975 | |
---|
976 | [webm-by-type] |
---|
977 | Type=WebM |
---|
978 | Include=video |
---|
979 | |
---|
980 | |
---|
981 | ### Documents ### |
---|
982 | |
---|
983 | [postscript] |
---|
984 | Type=^PostScript |
---|
985 | Open=/usr/lib/mc/ext.d/doc.sh open ps |
---|
986 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view ps |
---|
987 | |
---|
988 | [pdf] |
---|
989 | Type=^PDF |
---|
990 | Open=/usr/lib/mc/ext.d/doc.sh open pdf |
---|
991 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view pdf |
---|
992 | |
---|
993 | # Microsoft Word Document |
---|
994 | [msdoc-by-type] |
---|
995 | Type=^Microsoft\ Word |
---|
996 | Open=/usr/lib/mc/ext.d/doc.sh open msdoc |
---|
997 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msdoc |
---|
998 | |
---|
999 | # Microsoft Excel Worksheet |
---|
1000 | [msxls-by-type] |
---|
1001 | Type=^Microsoft\ Excel |
---|
1002 | Open=/usr/lib/mc/ext.d/doc.sh open msxls |
---|
1003 | View=%view{ascii} /usr/lib/mc/ext.d/doc.sh view msxls |
---|
1004 | |
---|
1005 | # Use OpenOffice.org/LibreOffice to open any MS Office documents |
---|
1006 | [mso-doc-1] |
---|
1007 | Type=^Microsoft\ Office\ Document |
---|
1008 | Open=/usr/lib/mc/ext.d/doc.sh open ooffice |
---|
1009 | |
---|
1010 | [mso-doc-2] |
---|
1011 | Type=^Microsoft\ OOXML |
---|
1012 | Open=/usr/lib/mc/ext.d/doc.sh open ooffice |
---|
1013 | |
---|
1014 | [framemaker] |
---|
1015 | Type=^FrameMaker |
---|
1016 | Open=/usr/lib/mc/ext.d/doc.sh open framemaker |
---|
1017 | |
---|
1018 | |
---|
1019 | ### Miscellaneous ### |
---|
1020 | |
---|
1021 | [sqlite3.db] |
---|
1022 | Type=^SQLite 3.x database |
---|
1023 | Open=/usr/lib/mc/ext.d/misc.sh open sqlite |
---|
1024 | View=%view{ascii} /usr/lib/mc/ext.d/misc.sh view sqlite |
---|
1025 | |
---|
1026 | |
---|
1027 | ### Plain compressed files ### |
---|
1028 | |
---|
1029 | [gzip] |
---|
1030 | Type=\(gzip compressed |
---|
1031 | Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more} |
---|
1032 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz |
---|
1033 | |
---|
1034 | [bzip] |
---|
1035 | Type=\(bzip compressed |
---|
1036 | Open=/usr/lib/mc/ext.d/archive.sh view bzip %var{PAGER:more} |
---|
1037 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bzip |
---|
1038 | |
---|
1039 | [bzip2] |
---|
1040 | Type=\(bzip2 compressed |
---|
1041 | Open=/usr/lib/mc/ext.d/archive.sh view bzip2 %var{PAGER:more} |
---|
1042 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view bz2 |
---|
1043 | |
---|
1044 | [compress] |
---|
1045 | Type=\(compress'd |
---|
1046 | Open=/usr/lib/mc/ext.d/archive.sh view gz %var{PAGER:more} |
---|
1047 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view gz |
---|
1048 | |
---|
1049 | [lz] |
---|
1050 | Type=\(lzip compressed |
---|
1051 | Open=/usr/lib/mc/ext.d/archive.sh view lz %var{PAGER:more} |
---|
1052 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lz |
---|
1053 | |
---|
1054 | [lzma] |
---|
1055 | Type=\(LZMA compressed |
---|
1056 | Open=/usr/lib/mc/ext.d/archive.sh view lzma %var{PAGER:more} |
---|
1057 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lzma |
---|
1058 | |
---|
1059 | [xz] |
---|
1060 | Type=\(XZ compressed |
---|
1061 | Open=/usr/lib/mc/ext.d/archive.sh view xz %var{PAGER:more} |
---|
1062 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view xz |
---|
1063 | |
---|
1064 | [zstd] |
---|
1065 | Type=\(Zstandard compressed |
---|
1066 | Open=/usr/lib/mc/ext.d/archive.sh view zst %var{PAGER:more} |
---|
1067 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zst |
---|
1068 | |
---|
1069 | [zip-by-type] |
---|
1070 | Type=\(Zip archive |
---|
1071 | Open=%cd %p/uzip:// |
---|
1072 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip |
---|
1073 | |
---|
1074 | [jar] |
---|
1075 | Type=\(Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\) |
---|
1076 | TypeIgnoreCase=true |
---|
1077 | Open=%cd %p/uzip:// |
---|
1078 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view zip |
---|
1079 | |
---|
1080 | [lha] |
---|
1081 | Type=^LHa\ .*archive |
---|
1082 | Open=%cd %p/ulha:// |
---|
1083 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view lha |
---|
1084 | |
---|
1085 | [pak] |
---|
1086 | Type=^PAK\ .*archive |
---|
1087 | Open=%cd %p/unar:// |
---|
1088 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view pak |
---|
1089 | |
---|
1090 | # Parity Archive |
---|
1091 | [par2] |
---|
1092 | Type=^Parity\ Archive\ Volume\ Set |
---|
1093 | Open=/usr/lib/mc/ext.d/archive.sh open par2 |
---|
1094 | |
---|
1095 | |
---|
1096 | ######### Includes ######### |
---|
1097 | # Includes should be at end of the bindings |
---|
1098 | |
---|
1099 | [Include/tar.gz] |
---|
1100 | Open=%cd %p/utar:// |
---|
1101 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view tar.gz |
---|
1102 | |
---|
1103 | [Include/cpio] |
---|
1104 | Open=%cd %p/ucpio:// |
---|
1105 | View=%view{ascii} /usr/lib/mc/ext.d/archive.sh view cpio |
---|
1106 | |
---|
1107 | [Include/editor] |
---|
1108 | Open=%var{EDITOR:vi} %f |
---|
1109 | |
---|
1110 | [Include/image] |
---|
1111 | Open=/usr/lib/mc/ext.d/image.sh open ALL_FORMATS |
---|
1112 | View=%view{ascii} /usr/lib/mc/ext.d/image.sh view ALL_FORMATS |
---|
1113 | |
---|
1114 | [Include/video] |
---|
1115 | Open=/usr/lib/mc/ext.d/video.sh open ALL_FORMATS |
---|
1116 | View=%view{ascii} /usr/lib/mc/ext.d/video.sh view ALL_FORMATS |
---|
1117 | |
---|
1118 | |
---|
1119 | ######### Default ######### |
---|
1120 | |
---|
1121 | # Default target for anything not described above |
---|
1122 | [Default] |
---|
1123 | Edit=nano %f |
---|
1124 | Open= |
---|
1125 | View= |
---|
1126 | |
---|
1127 | ### EOF ### |
---|