1998-02-27 07:54:42 +03:00
|
|
|
# Midnight Commander 3.0 extension file
|
|
|
|
# Warning: Structure of this file has changed completely with version 3.0
|
|
|
|
#
|
|
|
|
# All lines starting with # or empty lines are thrown away.
|
|
|
|
# Lines starting in the first column should have following format:
|
|
|
|
#
|
|
|
|
# keyword/descNL, i.e. everything after keyword/ until new line is desc
|
|
|
|
#
|
2009-08-03 17:16:37 +04:00
|
|
|
# keyword can be:
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2009-08-03 17:16:37 +04:00
|
|
|
# shell (desc is, when starting with a dot, any extension (no wildcars),
|
1998-02-27 07:54:42 +03:00
|
|
|
# i.e. matches all the files *desc . Example: .tar matches *.tar;
|
|
|
|
# if it doesn't start with a dot, it matches only a file of that name)
|
|
|
|
#
|
2012-07-21 12:02:07 +04:00
|
|
|
# shell/i (desc is, when starting with a dot, any extension (no wildcars),
|
|
|
|
# The same as shell but with case insensitive.
|
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# regex (desc is an extended regular expression)
|
1998-02-27 07:54:42 +03:00
|
|
|
# Please note that we are using the GNU regex library and thus
|
|
|
|
# \| matches the literal | and | has special meaning (or) and
|
2001-07-20 01:55:24 +04:00
|
|
|
# () have special meaning and \( \) stand for literal ( ).
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2012-07-21 11:11:31 +04:00
|
|
|
# regex/i (desc is an extended regular expression)
|
|
|
|
# The same as regex but with case insensitive.
|
|
|
|
#
|
1998-02-27 07:54:42 +03:00
|
|
|
# type (file matches this if `file %f` matches regular expression desc
|
|
|
|
# (the filename: part from `file %f` is removed))
|
|
|
|
#
|
2012-07-25 13:38:51 +04:00
|
|
|
# type/i (file matches this if `file %f` matches regular expression desc)
|
|
|
|
# The same as type but with case insensitive.
|
|
|
|
#
|
1998-02-27 07:54:42 +03:00
|
|
|
# directory (matches any directory matching regular expression desc)
|
|
|
|
#
|
|
|
|
# include (matches an include directive)
|
|
|
|
#
|
|
|
|
# default (matches any file no matter what desc is)
|
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# Other lines should start with a space or tab and should be in the format:
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2009-08-03 17:16:37 +04:00
|
|
|
# keyword=commandNL (with no spaces around =), where keyword should be:
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2009-08-03 17:16:37 +04:00
|
|
|
# Open (if the user presses Enter or doubleclicks it),
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2002-08-10 04:18:07 +04:00
|
|
|
# View (F3), Edit (F4)
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
|
|
|
# Include is the keyword used to add any further entries from an include/
|
|
|
|
# section
|
|
|
|
#
|
|
|
|
# command is any one-line shell command, with the following substitutions:
|
|
|
|
#
|
|
|
|
# %% -> % character
|
2012-03-07 02:08:19 +04:00
|
|
|
# %p -> name of the current file (without path, but pwd is its path).
|
|
|
|
# Also provided to external application as MC_EXT_BASENAME
|
|
|
|
# global variable
|
2009-08-03 17:16:37 +04:00
|
|
|
# %f -> name of the current file. Unlike %p, if file is located on a
|
2010-07-13 21:22:04 +04:00
|
|
|
# non-local virtual filesystem, i.e. either tarfs or ftpfs,
|
1998-02-27 07:54:42 +03:00
|
|
|
# then the file will be temporarily copied into a local directory
|
|
|
|
# and %f will be the full path to this local temporal file.
|
|
|
|
# If you don't want to get a local copy and want to get the
|
1998-05-26 04:53:24 +04:00
|
|
|
# virtual fs path (like /#ftp:ftp.cvut.cz/pub/hungry/xword), then
|
1998-02-27 07:54:42 +03:00
|
|
|
# use %d/%p instead of %f.
|
2012-03-07 02:08:19 +04:00
|
|
|
# Also provided to external application as MC_EXT_FILENAME
|
|
|
|
# global variable
|
1998-02-27 07:54:42 +03:00
|
|
|
# %d -> name of the current directory (pwd, without trailing slash)
|
2012-03-07 02:08:19 +04:00
|
|
|
# Also provided to external application as MC_EXT_CURRENTDIR
|
|
|
|
# global variable
|
1998-02-27 07:54:42 +03:00
|
|
|
# %s -> "selected files", i.e. space separated list of tagged files if any
|
2012-03-07 02:08:19 +04:00
|
|
|
# or name of the current file.
|
|
|
|
# Also provided to external application as MC_EXT_SELECTED
|
|
|
|
# global variable
|
1998-02-27 07:54:42 +03:00
|
|
|
# %t -> list of tagged files
|
2012-03-07 02:08:19 +04:00
|
|
|
# Also provided to external application as MC_EXT_ONLYTAGGED
|
|
|
|
# global variable
|
1998-02-27 07:54:42 +03:00
|
|
|
# %u -> list of tagged files (they'll be untaged after the command)
|
|
|
|
#
|
|
|
|
# (If these 6 letters are in uppercase, they refer to the other panel.
|
|
|
|
# But you shouldn't have to use it in this file.)
|
|
|
|
#
|
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# %cd -> the rest is a path mc should change into (cd won't work, since it's
|
|
|
|
# a child process). %cd handles even vfs names.
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
|
|
|
# %view -> the command you type will be piped into mc's internal file viewer
|
|
|
|
# if you type only the %view and no command, viewer will load %f file
|
|
|
|
# instead (i.e. no piping, so it is different to %view cat %f)
|
|
|
|
# %view may be directly followed by {} with a list of any of
|
2001-07-20 01:55:24 +04:00
|
|
|
# ascii (Ascii mode), hex (Hex mode), nroff (color highlighting for
|
|
|
|
# text using backspace for bold and underscore) and unform
|
|
|
|
# (no highlighting for nroff sequences) separated by commas.
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# %var -> You use it like this: %var{VAR:default}. This macro will expand
|
|
|
|
# to the value of the VAR variable in the environment if it's set
|
1998-02-27 07:54:42 +03:00
|
|
|
# otherwise the value in default will be used. This is similar to
|
2001-07-20 01:55:24 +04:00
|
|
|
# the Bourne shell ${VAR-default} construct.
|
1998-02-27 07:54:42 +03:00
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# Rules are applied from top to bottom, thus the order is important.
|
1998-02-27 07:54:42 +03:00
|
|
|
# If some actions are missing, search continues as if this target didn't
|
|
|
|
# match (i.e. if a file matches the first and second entry and View action
|
|
|
|
# is missing in the first one, then on pressing F3 the View action from
|
|
|
|
# the second entry will be used. default should catch all the actions.
|
|
|
|
#
|
2001-07-20 01:55:24 +04:00
|
|
|
# Any new entries you develop for you are always welcome if they are
|
2010-04-22 10:53:23 +04:00
|
|
|
# useful on more than one system. You can post your modifications
|
|
|
|
# as tickets at www.midnight-commander.org
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
### Changes ###
|
2000-05-05 18:27:14 +04:00
|
|
|
#
|
2012-07-20 12:00:41 +04:00
|
|
|
# Reorganization: 2012-03-07 Slava Zanko <slavazanko@gmail.com>
|
2000-04-26 13:54:04 +04:00
|
|
|
|
|
|
|
|
2010-03-07 02:52:34 +03:00
|
|
|
### GIT Repo ###
|
|
|
|
# gitfs changeset
|
|
|
|
regex/^\[git\]
|
|
|
|
Open=%cd %p/changesetfs://
|
|
|
|
View=%cd %p/patchsetfs://
|
|
|
|
|
2019-02-01 20:08:35 +03:00
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
### Archives ###
|
|
|
|
|
2013-03-01 11:14:52 +04:00
|
|
|
# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z, .ipk, .gem
|
|
|
|
regex/\.t([gp]?z|ar\.g?[zZ])$|\.ipk$|\.gem$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.gz
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/.tar.bz
|
2011-06-14 16:09:59 +04:00
|
|
|
# Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2009-08-03 17:16:37 +04:00
|
|
|
regex/\.t(ar\.bz2|bz2?|b2)$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.bzip2
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2009-01-24 08:11:35 +03:00
|
|
|
# .tar.lzma, .tlz
|
|
|
|
regex/\.t(ar\.lzma|lz)$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lzma
|
2009-01-24 08:11:35 +03:00
|
|
|
|
2016-01-10 10:36:19 +03:00
|
|
|
# .tar.lz
|
|
|
|
shell/.tar.lz
|
|
|
|
Open=%cd %p/utar://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz
|
|
|
|
|
2015-12-27 22:53:02 +03:00
|
|
|
# .tar.lz4, .tlz4
|
|
|
|
regex/\.t(ar\.lz4|lz4)$
|
|
|
|
Open=%cd %p/utar://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.lz4
|
|
|
|
|
2009-05-12 06:00:51 +04:00
|
|
|
# .tar.xz, .txz
|
|
|
|
regex/\.t(ar\.xz|xz)$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.xz
|
2009-05-12 06:00:51 +04:00
|
|
|
|
2018-03-18 20:23:33 +03:00
|
|
|
# .tar.zst, .tzst
|
|
|
|
regex/\.t(ar\.zst|zst)$
|
|
|
|
Open=%cd %p/utar://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.zst
|
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
# .tar.F - used in QNX
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/.tar.F
|
2011-06-14 16:09:59 +04:00
|
|
|
# Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.F
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2009-08-03 17:16:37 +04:00
|
|
|
# .qpr/.qpk - QNX Neutrino package installer files
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/\.qp[rk]$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar.qpr
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# tar
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.tar
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/utar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view tar
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# lha
|
|
|
|
type/^LHa\ .*archive
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ulha://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lha
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# arj
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.a(rj|[0-9][0-9])$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uarj://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arj
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2009-10-07 14:04:54 +04:00
|
|
|
# cab
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.cab
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ucab://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cab
|
2009-10-07 14:04:54 +04:00
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
# ha
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.ha
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uha://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ha
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# rar
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.r(ar|[0-9][0-9])$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/urar://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view rar
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2005-07-20 23:07:18 +04:00
|
|
|
# ALZip
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.alz
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ualz://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view alz
|
2005-07-20 23:07:18 +04:00
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
# cpio
|
|
|
|
shell/.cpio.Z
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ucpio://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.z
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2016-01-10 10:36:19 +03:00
|
|
|
shell/.cpio.lz
|
|
|
|
Open=%cd %p/ucpio://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz
|
|
|
|
|
2015-12-27 22:53:02 +03:00
|
|
|
shell/.cpio.lz4
|
|
|
|
Open=%cd %p/ucpio://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.lz4
|
|
|
|
|
2012-04-30 11:31:09 +04:00
|
|
|
shell/.cpio.xz
|
|
|
|
Open=%cd %p/ucpio://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.xz
|
2012-04-30 11:31:09 +04:00
|
|
|
|
2018-03-18 20:23:33 +03:00
|
|
|
shell/.cpio.zst
|
|
|
|
Open=%cd %p/ucpio://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.zst
|
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
shell/.cpio.gz
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ucpio://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio.gz
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.cpio
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/ucpio://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2016-01-01 21:14:58 +03:00
|
|
|
# initrd
|
2016-03-18 10:47:35 +03:00
|
|
|
regex/^(initramfs.*\.img|initrd(-.+)?\.img(-.+)?)$
|
2016-01-01 21:14:58 +03:00
|
|
|
Open=%cd %p/ucpio://
|
2016-03-18 10:56:13 +03:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view cpio
|
2016-01-01 21:14:58 +03:00
|
|
|
|
2012-03-07 04:20:30 +04:00
|
|
|
# 7zip archives (they are not man pages)
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.7z
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=%cd %p/u7z://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view 7z
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# patch
|
2009-02-24 11:46:33 +03:00
|
|
|
regex/\.(diff|patch)(\.bz2)$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/patchfs://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
|
2009-02-24 11:46:33 +03:00
|
|
|
|
|
|
|
regex/\.(diff|patch)(\.(gz|Z))$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/patchfs://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
|
2009-02-24 11:46:33 +03:00
|
|
|
|
2016-01-03 11:18:46 +03:00
|
|
|
regex/\.(diff|patch)(\.xz)$
|
|
|
|
Open=%cd %p/patchfs://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
|
|
|
|
|
2018-03-18 20:23:33 +03:00
|
|
|
regex/\.(diff|patch)(\.zst)$
|
|
|
|
Open=%cd %p/patchfs://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
|
|
|
|
|
2012-03-07 04:20:30 +04:00
|
|
|
# ls-lR
|
|
|
|
regex/(^|\.)ls-?lR(\.gz|Z|bz2)$
|
|
|
|
Open=%cd %p/lslR://
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# trpm
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/.trpm
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/trpm://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view trpm
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# RPM packages (SuSE uses *.spm for source packages)
|
2009-02-21 14:28:40 +03:00
|
|
|
regex/\.(src\.rpm|spm)$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/rpm://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view src.rpm
|
2009-02-21 14:28:40 +03:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/.rpm
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/rpm://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view rpm
|
2005-05-30 12:12:17 +04:00
|
|
|
|
|
|
|
# deb
|
|
|
|
regex/\.u?deb$
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/deb://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view deb
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2009-04-17 00:06:35 +04:00
|
|
|
# dpkg
|
|
|
|
shell/.debd
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/debd://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view debd
|
|
|
|
|
2009-04-17 00:06:35 +04:00
|
|
|
# apt
|
|
|
|
shell/.deba
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/deba://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/package.sh view deba
|
2009-04-17 00:06:35 +04:00
|
|
|
|
2005-05-30 12:12:17 +04:00
|
|
|
# ISO9660
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.iso
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/iso9660://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view iso9660
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2012-03-07 04:20:30 +04:00
|
|
|
|
|
|
|
regex/\.(diff|patch)$
|
|
|
|
Open=%cd %p/patchfs://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view cat
|
|
|
|
|
|
|
|
# ar library
|
|
|
|
regex/\.s?a$
|
|
|
|
Open=%cd %p/uar://
|
|
|
|
#Open=%view{ascii} ar tv %f
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view ar
|
2005-05-30 12:12:17 +04:00
|
|
|
|
2012-05-18 17:32:48 +04:00
|
|
|
# gplib
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.lib
|
2012-05-18 17:32:48 +04:00
|
|
|
Open=%cd %p/ulib://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lib
|
|
|
|
|
|
|
|
|
2006-05-28 16:40:21 +04:00
|
|
|
# Mailboxes
|
2006-06-05 14:24:35 +04:00
|
|
|
type/^ASCII\ mail\ text
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/mailfs://
|
2006-05-28 16:40:21 +04:00
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
### Sources ###
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2012-10-05 14:18:49 +04:00
|
|
|
# C/C++
|
|
|
|
regex/i/\.(c|cc|cpp)$
|
2011-07-17 16:32:33 +04:00
|
|
|
Include=editor
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2012-10-05 14:18:49 +04:00
|
|
|
# C/C++ header
|
|
|
|
regex/i/\.(h|hh|hpp)$
|
2011-07-17 16:32:33 +04:00
|
|
|
Include=editor
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2012-10-05 14:18:49 +04:00
|
|
|
# Fortran
|
|
|
|
shell/i/.f
|
2011-07-17 16:32:33 +04:00
|
|
|
Include=editor
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2012-10-05 14:18:49 +04:00
|
|
|
# Assembler
|
|
|
|
regex/i/\.(s|asm)$
|
2011-07-17 16:32:33 +04:00
|
|
|
Include=editor
|
|
|
|
|
2010-12-10 14:31:06 +03:00
|
|
|
# .so libraries
|
|
|
|
regex/\.(so|so\.[0-9\.]*)$
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view so
|
2010-12-10 14:31:06 +03:00
|
|
|
|
|
|
|
# Object
|
|
|
|
type/^ELF
|
|
|
|
#Open=%var{PAGER:more} %f
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view elf
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2019-02-01 20:08:35 +03:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
### Documentation ###
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
# Texinfo
|
2012-04-07 16:50:32 +04:00
|
|
|
#regex/\.(te?xi|texinfo)$
|
1998-02-27 07:54:42 +03:00
|
|
|
|
1999-01-26 00:29:13 +03:00
|
|
|
# GNU Info page
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^Info\ text
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open info
|
2001-07-14 04:01:20 +04:00
|
|
|
|
|
|
|
shell/.info
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open info
|
1999-01-26 00:29:13 +03:00
|
|
|
|
2011-07-27 13:37:59 +04:00
|
|
|
# Exception: .3gp are video files not manual pages
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.3gp
|
2011-07-27 13:37:59 +04:00
|
|
|
Include=video
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
# Manual page
|
2005-07-03 19:04:11 +04:00
|
|
|
regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])|\.man)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man %var{PAGER:more}
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2006-03-15 19:28:27 +03:00
|
|
|
# Perl pod page
|
|
|
|
shell/.pod
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open pod %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view pod %var{PAGER:more}
|
2006-03-15 19:28:27 +03:00
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
# Troff with me macros.
|
2001-07-20 01:55:24 +04:00
|
|
|
# Exception - "read.me" is not a nroff file.
|
|
|
|
shell/read.me
|
|
|
|
Open=
|
|
|
|
View=
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
shell/.me
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open nroff.me %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.me %var{PAGER:more}
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
# Troff with ms macros.
|
|
|
|
shell/.ms
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open nroff.ms %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view nroff.ms %var{PAGER:more}
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
# Manual page - compressed
|
2005-07-03 19:04:11 +04:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.g?[Zz]$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.gz %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.gz %var{PAGER:more}
|
1999-09-20 03:09:07 +04:00
|
|
|
|
2005-07-03 19:04:11 +04:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.bz %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz %var{PAGER:more}
|
1999-09-20 03:09:07 +04:00
|
|
|
|
2005-07-03 19:04:11 +04:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.bz2$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.bz2 %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.bz2 %var{PAGER:more}
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2016-01-10 10:36:19 +03:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz$
|
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.lz %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz %var{PAGER:more}
|
|
|
|
|
2015-12-27 22:53:02 +03:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lz4$
|
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.lz4 %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lz4 %var{PAGER:more}
|
|
|
|
|
2009-01-24 08:11:35 +03:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.lzma$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.lzma %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.lzma %var{PAGER:more}
|
2009-01-24 08:11:35 +03:00
|
|
|
|
2009-05-12 06:00:51 +04:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.xz$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.xz %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.xz %var{PAGER:more}
|
2009-05-12 06:00:51 +04:00
|
|
|
|
2018-03-18 20:23:33 +03:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|[ln])\.zst$
|
|
|
|
Open=@EXTHELPERSDIR@/text.sh open man.zst %var{PAGER:more}
|
|
|
|
View=%view{ascii,nroff} @EXTHELPERSDIR@/text.sh view man.zst %var{PAGER:more}
|
|
|
|
|
2009-11-01 17:41:02 +03:00
|
|
|
# CHM
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.chm
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/text.sh open chm
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2019-02-01 20:08:35 +03:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
### Images ###
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^GIF
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2001-07-14 04:01:20 +04:00
|
|
|
|
|
|
|
type/^JPEG
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/image.sh view jpeg
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
1998-04-18 01:40:30 +04:00
|
|
|
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^PC\ bitmap
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
1998-04-22 10:01:38 +04:00
|
|
|
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^PNG
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
1998-04-22 10:01:38 +04:00
|
|
|
|
2012-09-23 10:34:11 +04:00
|
|
|
type/^JNG
|
|
|
|
Include=image
|
|
|
|
|
|
|
|
type/^MNG
|
|
|
|
Include=image
|
|
|
|
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^TIFF
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2001-07-14 04:01:20 +04:00
|
|
|
|
|
|
|
type/^PBM
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2001-07-14 04:01:20 +04:00
|
|
|
|
|
|
|
type/^PGM
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2001-07-14 04:01:20 +04:00
|
|
|
|
|
|
|
type/^PPM
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2001-10-30 11:08:04 +03:00
|
|
|
type/^Netpbm
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2001-10-30 11:08:04 +03:00
|
|
|
|
2001-10-12 10:32:58 +04:00
|
|
|
shell/.xcf
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/image.sh open xcf
|
2001-10-12 10:32:58 +04:00
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
shell/.xbm
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/image.sh open xbm
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
shell/.xpm
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=image
|
2012-03-07 04:20:30 +04:00
|
|
|
View=@EXTHELPERSDIR@/image.sh view xpm %f
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2009-10-09 14:34:20 +04:00
|
|
|
shell/.ico
|
|
|
|
Include=image
|
|
|
|
|
2012-09-23 10:53:32 +04:00
|
|
|
shell/i/.svg
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/image.sh view svg
|
|
|
|
Open=@EXTHELPERSDIR@/image.sh open svg
|
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
|
|
|
|
### Sound files ###
|
|
|
|
|
2012-10-09 16:27:18 +04:00
|
|
|
regex/i/\.(wav|snd|voc|au|smp|aiff|snd|m4a|ape|aac|wv)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open common
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(mod|s3m|xm|it|mtm|669|stm|ult|far)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open mod
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.waw22
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open wav22
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.mp3
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open mp3
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view mp3
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-08-28 17:23:34 +04:00
|
|
|
regex/i/\.og[gax]$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open ogg
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view ogg
|
2001-10-05 09:51:26 +04:00
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(spx|flac)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open common
|
2009-06-09 12:12:41 +04:00
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(midi?|rmid?)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open midi
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.wma
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open wma
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/sound.sh view wma
|
2004-10-20 09:14:42 +04:00
|
|
|
|
|
|
|
|
|
|
|
### Play lists ###
|
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(m3u|pls)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/sound.sh open playlist
|
2004-10-20 09:14:42 +04:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2002-08-27 10:33:47 +04:00
|
|
|
### Video ###
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.avi
|
2004-10-20 09:14:42 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.as[fx]$
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
2002-07-29 01:04:36 +04:00
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.divx
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.mkv
|
2009-11-01 17:26:48 +03:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(mov|qt)$
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(mp4|m4v|mpe?g)$
|
2002-12-24 11:30:51 +03:00
|
|
|
Include=video
|
|
|
|
|
2011-07-08 11:30:47 +04:00
|
|
|
# MPEG-2 TS container + H.264 codec
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.mts
|
2011-07-08 11:30:47 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.ts
|
2012-01-04 13:01:31 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.vob
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.wmv
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.fl[icv]$
|
2007-11-02 17:20:27 +03:00
|
|
|
Include=video
|
|
|
|
|
2012-08-29 14:41:11 +04:00
|
|
|
shell/i/.ogv
|
2002-08-27 10:33:47 +04:00
|
|
|
Include=video
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.ra?m$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/video.sh open ram
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-05-18 17:38:35 +04:00
|
|
|
# WebM
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.webm
|
2012-05-18 17:38:35 +04:00
|
|
|
Include=video
|
|
|
|
|
|
|
|
type/WebM
|
|
|
|
Include=video
|
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
### Documents ###
|
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
# Postscript
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^PostScript
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open ps
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view ps
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
# PDF
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^PDF
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open pdf
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view pdf
|
2002-08-19 06:27:19 +04:00
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
# html
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.html?$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/web.sh open html
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/web.sh view html
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2002-08-27 10:33:47 +04:00
|
|
|
# StarOffice 5.2
|
2001-07-20 01:55:24 +04:00
|
|
|
shell/.sdw
|
2012-06-13 13:04:27 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
2002-08-27 10:33:47 +04:00
|
|
|
|
|
|
|
# StarOffice 6 and OpenOffice.org formats
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.(odt|ott|sxw|stw|ods|ots|sxc|stc|odp|otp|sxi|sti|odg|otg|sxd|std|odb|odf|sxm|odm|sxg)$
|
2012-06-13 13:04:27 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view odt
|
2001-07-20 01:55:24 +04:00
|
|
|
|
|
|
|
# AbiWord
|
|
|
|
shell/.abw
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open abw
|
2001-07-20 01:55:24 +04:00
|
|
|
|
2012-09-23 10:48:04 +04:00
|
|
|
# Gnumeric
|
|
|
|
shell/i/.gnumeric
|
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open gnumeric
|
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
# Microsoft Word Document
|
2018-08-19 17:00:49 +03:00
|
|
|
regex/i/\.(do[ct]|wri|docx)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msdoc
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^Microsoft\ Word
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msdoc
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msdoc
|
2001-05-30 00:40:59 +04:00
|
|
|
|
2002-07-29 01:04:36 +04:00
|
|
|
# RTF document
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.rtf
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msdoc
|
2002-07-29 01:04:36 +04:00
|
|
|
|
2001-05-30 00:40:59 +04:00
|
|
|
# Microsoft Excel Worksheet
|
2018-05-27 17:11:57 +03:00
|
|
|
regex/i/\.(xl[sw]|xlsx)$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msxls
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^Microsoft\ Excel
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msxls
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msxls
|
2001-05-30 00:40:59 +04:00
|
|
|
|
2018-08-19 17:00:49 +03:00
|
|
|
# Microsoft PowerPoint Presentation
|
|
|
|
regex/i/\.(pp[ts]|pptx)$
|
2012-05-18 19:42:26 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open msppt
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view msppt
|
|
|
|
|
2018-08-19 17:00:49 +03:00
|
|
|
# Use OpenOffice.org/LibreOffice to open any MS Office documents
|
2001-11-28 03:25:44 +03:00
|
|
|
type/^Microsoft\ Office\ Document
|
2012-06-13 13:04:27 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
2018-08-19 17:00:49 +03:00
|
|
|
type/^Microsoft\ OOXML
|
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open ooffice
|
2001-11-28 03:25:44 +03:00
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
# Framemaker
|
2001-07-14 04:01:20 +04:00
|
|
|
type/^FrameMaker
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open framemaker
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
# DVI
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.dvi
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open dvi
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view dvi
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
# TeX
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.tex
|
2011-07-17 16:32:33 +04:00
|
|
|
Include=editor
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2009-10-20 03:01:34 +04:00
|
|
|
# DjVu
|
2012-07-21 11:11:31 +04:00
|
|
|
regex/i/\.djvu?$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open djvu
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view djvu
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-10-05 13:44:47 +04:00
|
|
|
# Comic Books
|
|
|
|
regex/i/\.cb[zr]$
|
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open comic
|
|
|
|
|
2015-01-22 09:22:46 +03:00
|
|
|
# Epub & mobi
|
|
|
|
regex/i/\.(epub|mobi)$
|
2012-10-05 13:48:15 +04:00
|
|
|
Open=@EXTHELPERSDIR@/doc.sh open epub
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/doc.sh view epub
|
|
|
|
|
|
|
|
|
2000-05-03 13:56:51 +04:00
|
|
|
### Miscellaneous ###
|
2000-04-26 13:54:04 +04:00
|
|
|
|
2012-08-27 12:09:30 +04:00
|
|
|
# Compiled Java classes
|
|
|
|
shell/.class
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view javaclass
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
# Makefile
|
2016-01-04 17:25:32 +03:00
|
|
|
regex/^[Mm]akefile$
|
1998-02-27 07:54:42 +03:00
|
|
|
Open=make -f %f %{Enter parameters}
|
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
# Imakefile
|
1998-02-27 07:54:42 +03:00
|
|
|
shell/Imakefile
|
2016-01-04 17:25:32 +03:00
|
|
|
Open=xmkmf -a
|
1998-02-27 07:54:42 +03:00
|
|
|
|
2001-10-16 11:30:33 +04:00
|
|
|
# Makefile.PL (MakeMaker)
|
2016-01-04 17:25:32 +03:00
|
|
|
regex/^Makefile\.(PL|pl)$
|
2001-10-16 11:30:33 +04:00
|
|
|
Open=%var{PERL:perl} %f
|
|
|
|
|
2012-05-18 19:48:03 +04:00
|
|
|
# sqlite3.db
|
|
|
|
type/^SQLite 3.x database
|
|
|
|
Open=@EXTHELPERSDIR@/misc.sh open sqlite
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view sqlite
|
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
# dbf
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.dbf
|
2012-05-18 19:48:03 +04:00
|
|
|
Open=@EXTHELPERSDIR@/misc.sh open dbf
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view dbf
|
1998-02-27 07:54:42 +03:00
|
|
|
|
|
|
|
# REXX script
|
2004-10-20 09:14:42 +04:00
|
|
|
regex/\.(rexx?|cmd)$
|
1998-02-27 07:54:42 +03:00
|
|
|
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
|
|
|
|
|
2009-01-24 06:59:34 +03:00
|
|
|
# Disk images for Commodore computers (VIC20, C64, C128)
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.d64
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uc1541://
|
2009-01-24 06:59:34 +03:00
|
|
|
View=%view{ascii} c1541 %f -list
|
|
|
|
Extract=c1541 %f -extract
|
|
|
|
|
2009-03-20 12:35:51 +03:00
|
|
|
# Glade, a user interface designer for GTK+ and GNOME
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.glade
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/misc.sh open glade
|
2009-03-20 12:35:51 +03:00
|
|
|
|
2009-11-01 17:44:53 +03:00
|
|
|
# Gettext Catalogs
|
2015-03-29 16:12:51 +03:00
|
|
|
regex/\.g?mo$
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view mo
|
1999-09-20 03:09:07 +04:00
|
|
|
|
2015-01-10 20:32:07 +03:00
|
|
|
# po
|
|
|
|
shell/.po
|
|
|
|
Open=@EXTHELPERSDIR@/misc.sh open po
|
|
|
|
|
2009-11-01 17:43:02 +03:00
|
|
|
# lyx
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.lyx
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/misc.sh open lyx
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view lyx
|
2009-11-01 17:43:02 +03:00
|
|
|
|
2011-07-08 11:21:04 +04:00
|
|
|
# torrent
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.torrent
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/misc.sh view torrent
|
2011-07-08 11:21:04 +04:00
|
|
|
|
2019-02-01 20:08:35 +03:00
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
### Plain compressed files ###
|
|
|
|
|
2009-01-24 06:59:34 +03:00
|
|
|
# ace
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.ace
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uace://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view ace
|
2009-01-24 06:59:34 +03:00
|
|
|
Extract=unace x %f
|
|
|
|
|
|
|
|
# arc
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.arc
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uarc://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view arc
|
2009-01-24 06:59:34 +03:00
|
|
|
Extract=arc x %f '*'
|
|
|
|
Extract (with flags)=I=%{Enter any Arc flags:}; if test -n "$I"; then arc x $I %f; fi
|
|
|
|
|
2013-12-05 09:57:48 +04:00
|
|
|
# zip
|
|
|
|
shell/i/.zip
|
|
|
|
Open=%cd %p/uzip://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
|
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
# zip
|
2012-07-25 13:38:51 +04:00
|
|
|
type/i/^zip\ archive
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uzip://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2013-07-07 01:57:33 +04:00
|
|
|
# jar(zip)
|
2014-06-14 18:03:23 +04:00
|
|
|
type/i/^Java\ (Jar\ file|archive)\ data\ \((zip|JAR)\)
|
2013-07-07 01:57:33 +04:00
|
|
|
Open=%cd %p/uzip://
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zip
|
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
# zoo
|
2012-07-21 12:03:39 +04:00
|
|
|
shell/i/.zoo
|
2011-06-14 16:09:59 +04:00
|
|
|
Open=%cd %p/uzoo://
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zoo
|
2009-08-03 17:16:37 +04:00
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
# gzip
|
|
|
|
type/^gzip
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2010-03-18 16:58:33 +03:00
|
|
|
regex/\.(gz|Z)$
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
|
2009-02-24 11:46:33 +03:00
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
# bzip2
|
|
|
|
type/^bzip2
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view bzip2 %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2009-02-24 11:46:33 +03:00
|
|
|
regex/\.bz2?$
|
2012-03-07 04:20:30 +04:00
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bz2
|
2009-02-24 11:46:33 +03:00
|
|
|
|
2005-07-03 16:43:15 +04:00
|
|
|
# bzip
|
|
|
|
type/^bzip
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view bzip %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view bzip
|
2005-07-03 16:43:15 +04:00
|
|
|
|
|
|
|
# compress
|
|
|
|
type/^compress
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view gz %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view gz
|
2005-07-03 16:43:15 +04:00
|
|
|
|
2016-01-10 10:36:19 +03:00
|
|
|
# lz
|
|
|
|
regex/\.lz$
|
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
|
|
|
|
|
|
|
|
# lz
|
|
|
|
type/^LZIP
|
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view lz %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz
|
|
|
|
|
2015-12-27 22:53:02 +03:00
|
|
|
# lz4
|
|
|
|
regex/\.lz4$
|
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view lz4 %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lz4
|
|
|
|
|
2009-01-24 08:11:35 +03:00
|
|
|
# lzma
|
|
|
|
regex/\.lzma$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view lzma %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view lzma
|
2009-01-24 08:11:35 +03:00
|
|
|
|
2009-05-12 06:00:51 +04:00
|
|
|
# xz
|
|
|
|
regex/\.xz$
|
2012-03-07 04:20:30 +04:00
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view xz %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view xz
|
2009-05-12 06:00:51 +04:00
|
|
|
|
2018-03-18 20:23:33 +03:00
|
|
|
# zstd
|
|
|
|
regex/\.zst$
|
|
|
|
Open=@EXTHELPERSDIR@/archive.sh view zst %var{PAGER:more}
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/archive.sh view zst
|
|
|
|
|
2012-10-05 13:51:14 +04:00
|
|
|
# Parity Archive
|
|
|
|
type/^Parity\ Archive\ Volume\ Set
|
|
|
|
Open=@EXTHELPERSDIR@/archive.sh open par2
|
|
|
|
|
2019-02-01 20:08:35 +03:00
|
|
|
|
|
|
|
### Includes
|
|
|
|
# includes should be at end of bindings
|
|
|
|
|
|
|
|
include/editor
|
|
|
|
Open=%var{EDITOR:vi} %f
|
|
|
|
|
|
|
|
include/image
|
|
|
|
Open=@EXTHELPERSDIR@/image.sh open ALL_FORMATS
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/image.sh view ALL_FORMATS
|
|
|
|
|
|
|
|
include/video
|
|
|
|
Open=@EXTHELPERSDIR@/video.sh open ALL_FORMATS
|
|
|
|
View=%view{ascii} @EXTHELPERSDIR@/video.sh view ALL_FORMATS
|
|
|
|
|
|
|
|
|
2000-04-26 13:54:04 +04:00
|
|
|
### Default ###
|
1999-09-20 03:09:07 +04:00
|
|
|
|
1998-02-27 07:54:42 +03:00
|
|
|
# Default target for anything not described above
|
|
|
|
default/*
|
|
|
|
Open=
|
2001-07-20 01:55:24 +04:00
|
|
|
View=
|
2000-04-26 13:54:04 +04:00
|
|
|
|
|
|
|
|
|
|
|
### EOF ###
|