mc/lib/mc.ext.in

567 lines
15 KiB
Plaintext
Raw Normal View History

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
#
# keyword can be:
#
# shell (desc is, when starting with a dot, any extension (no wildcars),
# 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)
#
# 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
# () have special meaning and \( \) stand for literal ( ).
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))
#
# directory (matches any directory matching regular expression desc)
#
# include (matches an include directive)
#
# default (matches any file no matter what desc is)
#
# Other lines should start with a space or tab and should be in the format:
1998-02-27 07:54:42 +03:00
#
# keyword=commandNL (with no spaces around =), where keyword should be:
#
# Open (if the user presses Enter or doubleclicks it),
#
# View (F3), Edit (F4), Drop (user drops some files on it) or any other
#
# user defined name (those will be listed in the extension dependent popup
# menu). This is not implemented yet for the text edition but will be
# implemented some day so feel free to add useful actions here.
1998-02-27 07:54:42 +03:00
#
# Title is the default icon title for objects. %p is expanded into the
# name of that file and %d/%p to a name with full path. Default title
# (if none is specified) is %p
#
# 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
# %p -> name of the current file (without path, but pwd is its path)
# %f -> name of the current file. Unlike %p, if file is located on a
# non-local virtual filesystem, i.e. either tarfs, mcfs or ftpfs,
# 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
# 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.
# %d -> name of the current directory (pwd, without trailing slash)
# %s -> "selected files", i.e. space separated list of tagged files if any
# or name of the current file
# %t -> list of tagged files
# %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.)
#
#
# %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
# 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
#
# %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
# the Bourne shell ${VAR-default} construct.
1998-02-27 07:54:42 +03:00
#
# %q -> will be replaced with a list of files user dropped on it
# with full pathnames (only applicable in the Drop command).
#
# 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.
#
# Any new entries you develop for you are always welcome if they are
# useful on more than one system. You can send your modifications
# by e-mail to mc-devel@gnome.org
1998-02-27 07:54:42 +03:00
2000-05-03 13:56:51 +04:00
### Changes ###
#
2000-05-03 13:56:51 +04:00
# Reorganization: 2000-05-01 Michal Svec <rebel@penguin.cz>
### TODO ###
#
# Postscript Open: ps2svga [gs -DEVICE=jpeg|zgv or something]
# Images asciiview
# RTF rtf2html
#
# All X Apps [Nothing/Warning] if no DISPLAY
# Not found [Default/Warning]
# Empty Output [Default/Warning]
# Edit: CopyOut+EDIT+CopyIn
# Security Check gzip/bzip EDIT (mktemp)
#
# Maybe: Open/XOpen/GOpen/KOpen/... for Console/X/GNOME/KDE/etc.
### Sources ###
1998-02-27 07:54:42 +03:00
# C
shell/.c
Open=%var{EDITOR:vi} %f
1998-02-27 07:54:42 +03:00
Compile=%var{CC:cc} -O -c %f
Link=%var{CC:cc} -O -o %d/`basename %f .c` %f
# Fortran
1998-02-27 07:54:42 +03:00
shell/.f
Open=%var{EDITOR:vi} %f
1998-02-27 07:54:42 +03:00
Compile=f77 -O -c %f
Compile and Link=f77 -O %f
# Header
1998-02-27 07:54:42 +03:00
shell/.h
Open=%var{EDITOR:vi} %f
# Object
1998-02-27 07:54:42 +03:00
shell/.o
#Open=%var{PAGER:more} %f
View=%view{ascii} nm %f
1998-02-27 07:54:42 +03:00
Link=%var{CC:cc} -O %f
Disassemble=%view{ascii} objdump -d -r %f
# Asm
1998-02-27 07:54:42 +03:00
shell/.s
Open=%var{EDITOR:vi} %f
1998-02-27 07:54:42 +03:00
Assemble=%var{CC:cc} -O -c %f
Link=%var{CC:cc} -O -o %d/`basename %f .s` %f
# C++
regex/\.(C|cc)$
Open=%var{EDITOR:vi} %f
1998-02-27 07:54:42 +03:00
Compile=c++ -O -c %f
Link=c++ -O -o %d/`basename %f .c` %f
### Documentation ###
1998-02-27 07:54:42 +03:00
# Texinfo
regex/\.(te?xi|texinfo)$
1998-02-27 07:54:42 +03:00
1999-01-26 00:29:13 +03:00
# GNU Info page
type/^Info\ text
Open=info -f %f
shell/.info
Open=info -f %f
1999-01-26 00:29:13 +03:00
1998-02-27 07:54:42 +03:00
# Manual page
# Exception - .so libraries are not manual pages
regex/\.(so|so\.[0-9\.]*)$
View=%view{ascii} nm %f
1998-03-23 21:09:46 +03:00
regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|n)|\.man)$
1998-02-27 07:54:42 +03:00
Open=nroff @TROFFASCII@ @MANDOC@ %f | %var{PAGER:more}
View=%view{ascii,nroff} nroff @TROFFASCII@ @MANDOC@ %f
# Troff with me macros.
# Exception - "read.me" is not a nroff file.
shell/read.me
Open=
View=
1998-02-27 07:54:42 +03:00
shell/.me
Open=nroff @TROFFASCII@ -me %f | %var{PAGER:more}
View=%view{ascii,nroff} nroff @TROFFASCII@ -me %f
# Troff with ms macros.
shell/.ms
Open=nroff @TROFFASCII@ -ms %f | %var{PAGER:more}
View=%view{ascii,nroff} nroff @TROFFASCII@ -ms %f
# Manual page - compressed
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.g?[Zz]$
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
1999-09-20 03:09:07 +04:00
Open=gzip -dc %f | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
View=%view{ascii,nroff} gzip -dc %f | nroff @TROFFASCII@ @MANDOC@
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz$
Open=bzip -dc %f | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
View=%view{ascii,nroff} bzip -dc %f | nroff @TROFFASCII@ @MANDOC@
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz2$
Open=bzip2 -dc %f | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
View=%view{ascii,nroff} bzip2 -dc %f | nroff @TROFFASCII@ @MANDOC@
1998-02-27 07:54:42 +03:00
### Images ###
1998-02-27 07:54:42 +03:00
type/^GIF
Include=image-options
type/^JPEG
1998-02-27 07:54:42 +03:00
Include=image-options
type/^PC\ bitmap
1998-04-22 10:01:38 +04:00
Include=image-options
type/^PNG
1998-04-22 10:01:38 +04:00
Include=image-options
type/^TIFF
1998-02-27 07:54:42 +03:00
Include=image-options
type/^PBM
1998-02-27 07:54:42 +03:00
Include=image-options
type/^PGM
1998-02-27 07:54:42 +03:00
Include=image-options
type/^PPM
1998-02-27 07:54:42 +03:00
Include=image-options
shell/.xcf
Open=gimp %f
1998-02-27 07:54:42 +03:00
shell/.xbm
Open=bitmap %f
shell/.xpm
Include=image-options
View=sxpm %f
1998-02-27 07:54:42 +03:00
include/image-options
Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (ee %f &); fi
2000-05-03 13:56:51 +04:00
View=%view{ascii} identify %f
#View=%view{ascii} asciiview %f
Set root window to this image=background-properties --setwallpaper %f &
1998-04-16 02:38:36 +04:00
Display this file=ee %f &
1998-02-27 07:54:42 +03:00
### Sound files ###
regex/\.(wav|WAV|Wav|snd|SND|Snd|voc|VOC|Voc|au|AU|Au)$
1998-02-27 07:54:42 +03:00
Open=play %f
regex/\.(mod|MOD|Mod|s3m|S3M|S3m|xm|XM|Xm)$
Open=mikmod %f
#Open=tracker %f
regex/\.(wav22|WAV22)$
Open=vplay -s 22 %f
regex/\.(mp3|MP3|Mp3)$
Open=if [ "$DISPLAY" = "" ]; then mpg123 %f; else (xmms %f &); fi
View=%view{ascii} mpg123 -vtn1 %f 2>&1 | sed -n '/^Title/,/^Comment/p;/^MPEG/,/^Audio/p'
regex/\.(ogg|OGG|Ogg)$
Open=if [ "$DISPLAY" = "" ]; then ogg123 %f; else (xmms %f &); fi
View=%view{ascii} ogginfo %s
regex/\.(midi?|MIDI?|Midi?)$
Open=timidity %f
### Multimedia ###
regex/\.(mpe?g|MPE?G|Mpe?g)$
2000-05-03 13:56:51 +04:00
Open=mtvp %f 2>/dev/null&
#Open=mtv %f 2>/dev/null&
#Open=gtv %f 2>/dev/null&
#Open=plaympeg %f 2>/dev/null&
#Open=mpeg_play %f &
#Open(big)=mpeg_play -dither 2x2 %f &
#Open(gray)=mpeg_play -dither gray %f &
regex/\.(avi|AVI|Avi|mov|MOV|Mov)$
2000-05-03 13:56:51 +04:00
Open=xanim %f 2>/dev/null&
regex/\.(rm|RM|Rm|ram|RAM|Ram)$
Open=realplay %f&
### Documents ###
2000-05-03 13:56:51 +04:00
# Postscript
type/^PostScript
2000-05-03 13:56:51 +04:00
Open=gv %f&
View=%view{ascii} ps2ascii %f
View with GhostView=gv %f
2000-05-03 13:56:51 +04:00
# PDF
type/^PDF
Open=xpdf %f&
#Open=acroread %f&
#Open=ghostview %f&
View=%view{ascii} pdftotext %f -
2000-05-03 13:56:51 +04:00
# html
regex/\.([Hh]tml?|HTML?)$
#Open=if echo "%d/%p" | grep ^ftp; then $viewer %d/%p; else $viewer file:%p; fi
Open=if test -n "@X11_WWW@" && test -n "$DISPLAY"; then echo @X11_WWW@ %f; (@X11_WWW@ %f &) >/dev/null 2>&1; else lynx -force_html %f; fi
View=%view{ascii} lynx -dump -force_html %f;
Run with AppletViewer=appletviewer %f
View with @X11_WWW@=@X11_WWW@ file://%f
# StarOffice and OpenOffice
shell/.sdw
Open=soffice %f
# AbiWord
shell/.abw
Open=abiword %f
# Microsoft Word Document
regex/\.([Dd]o[ct]|DO[CT]|[Ww]ri|WRI)$
View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
type/^Microsoft\ Word
View=%view{ascii} catdoc -w %f || word2x -f text %f - || strings %f
# Microsoft Excel Worksheet
regex/\.([Xx]l[sw]|XL[SW])$
View=%view{ascii} xls2csv %f || strings %f
type/^Microsoft\ Excel
View=%view{ascii} xls2csv %f || strings %f
2000-05-03 13:56:51 +04:00
# Framemaker
type/^FrameMaker
1998-02-27 07:54:42 +03:00
Open=fmclient -f %f
# DVI
regex/\.([Dd]vi|DVI)$
2000-05-03 13:56:51 +04:00
Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
View=%view{ascii} dvi2tty %f
Convert file to Postscript=dvips %f
2000-05-03 13:56:51 +04:00
# TeX
regex/\.([Tt]ex|TEX|TeX)$
Open=%var{EDITOR:vi} %f
TeX this file=tex %f
LaTeX this file=latex %f
2000-05-03 13:56:51 +04:00
### Miscellaneous ###
shell/^RMAIL$
Start Emacs on this RMAIL file=emacs %f
Open=emacs %f
type/^(M|m)ail
1998-02-27 07:54:42 +03:00
Open=elm -f %f
View=%view{ascii} mcmfmt < %f
# core
shell/core
1998-02-27 07:54:42 +03:00
# Makefile
regex/[Mm]akefile
Open=make -f %f %{Enter parameters}
# Imakefile
1998-02-27 07:54:42 +03:00
shell/Imakefile
Open=xmkmf -a
# Executables
type/\ executable
1998-02-27 07:54:42 +03:00
Open=./%f
Drop=%f %q
Execute in XTerm=xterm -e %f &
1998-02-27 07:54:42 +03:00
View Required Libraries=%view{ascii} ldd %f
Strip binary=strip %f
# dbf
regex/\.(dbf|DBF)$
Open=%view{ascii} dbview %f
View=%view{ascii} dbview -b %f
# REXX script
regex/\.(rexx|rex|cmd)$
1998-02-27 07:54:42 +03:00
Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
1999-09-20 03:09:07 +04:00
2000-05-03 13:56:51 +04:00
### Archives ###
# .tgz, .tpz, .tar.gz, .tar.z, .tar.Z
regex/\.t([gp]?z|ar\.g?[zZ])$
Open=%cd %p#utar
View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf -
Extract=gzip -dc %f 2>/dev/null | tar xf -
regex/\.tar\.bz$
# Open=%cd %p#utar
View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf -
Extract=bzip -dc %f 2>/dev/null | tar xf -
regex/\.tar\.bz2$
Open=%cd %p#utar
View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf -
Extract=bzip2 -dc %f 2>/dev/null | tar xf -
# .tar.F - used in QNX
regex/\.tar\.F$
# Open=%cd %p#utar
View=%view{ascii} freeze -dc %f 2>/dev/null | tar tvvf -
Extract=freeze -dc %f 2>/dev/null | tar xf -
2000-05-03 13:56:51 +04:00
# tar
regex/\.(tar|TAR)$
Open=%cd %p#utar
View=%view{ascii} tar tvvf %f
Extract=tar xf %f
# zip
regex/\.(zip|ZIP|jar|JAR)$
Open=%cd %p#uzip
View=%view{ascii} unzip -v %f
Extract=unzip %f
Extract (with flags)=I=%{Enter any Unzip flags:}; if test -n "$I"; then unzip $I %f; fi
Unzip=unzip %f '*'
# zoo
regex/\.(zoo|ZOO)$
Open=%cd %p#uzoo
View=%view{ascii} zoo l %f
Extract=zoo x %f '*'
# lha
regex/\.(lha|LHA|lzh|LZH)$
Open=%cd %p#ulha
View=%view{ascii} lharc l %f
Extract=lharc x %f '*'
Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I %f; fi
# arj
regex/\.a(rj|[0-9][0-9])$
Open=%cd %p#uarj
View=%view{ascii} unarj l %f
Extract=unarj x %f '*'
Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I %f; fi
# ha
regex/\.(ha|HA|Ha)$
Open=%cd %p#uha
View=%view{ascii} ha lf %f
Extract=ha xy %f '*'
Extract (with flags)=I=%{Enter any HA flags:}; if test -n "$I"; then ha xy $I %f; fi
# rar
regex/\.[rR]([aA][rR]|[0-9][0-9])$
Open=%cd %p#urar
View=%view{ascii} rar v -c- %f
Extract=rar x -c- %f '*'
Extract (with flags)=I=%{Enter any RAR flags:}; if test -n "$I";then rar x $I %f; fi
# cpio
shell/.cpio.Z
Open=%cd %p#ucpio
2000-05-03 13:56:51 +04:00
View=%view{ascii} compress -dc '%f' | cpio -ictv
Extract=compress -dc '%f' | cpio -ic
shell/.cpio.gz
Open=%cd %p#ucpio
2000-05-03 13:56:51 +04:00
View=%view{ascii} gzip -dc '%f' | cpio -ictv
Extract=gzip -dc '%f' | cpio -ic
shell/.cpio
Open=%cd %p#ucpio
2000-05-03 13:56:51 +04:00
View=%view{ascii} cat '%f' | cpio -ictv
Extract=cat '%f' | cpio -ic
# ls-lR
regex/(^|\.)ls-?lR$
Open=%cd %p#lslR
regex/(^|\.)ls-?lR\.(g?z|Z)$
Open=%cd %p#lslR
View=%view{ascii} gunzip -c %f
# ftplist
regex/\.ftplist$
Open=%cd %p#ftplist
2000-05-03 13:56:51 +04:00
# gzip
type/^gzip
2000-05-03 13:56:51 +04:00
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; gzip -cd %f >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > %f; rm -f /tmp/gzed.$I
Uncompress=gunzip %f
# bzip2
type/^bzip2
2000-05-03 13:56:51 +04:00
Open=bzip2 -dc %f | %var{PAGER:more}
View=%view{ascii} bzip2 -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; bzip2 -cd %f >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip2 -c /tmp/bzed.$I > %f; rm -f /tmp/bzed.$I
Uncompress=bunzip2 %f
# bzip
type/^bzip
2000-05-03 13:56:51 +04:00
Open=bzip -dc %f | %var{PAGER:more}
View=%view{ascii} bzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; bzip -cd %f >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip -c /tmp/bzed.$I > %f; rm -f /tmp/bzed.$I
Uncompress=bunzip %f
# compress
type/^compress
2000-05-03 13:56:51 +04:00
Open=gzip -dc %f | %var{PAGER:more}
View=%view{ascii} gzip -dc %f 2>/dev/null
Edit=I=`date +%%s`; export I; gzip -cd %f >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > %f; rm -f /tmp/gzed.$I
# ar library
regex/\.s?a$
Open=%cd %p#uar
#Open=%view{ascii} ar tv %f
View=%view{ascii} nm %f
# trpm
regex/\.trpm$
Open=%cd %p#trpm
View=%view{ascii} rpm -qivl --scripts `basename %p .trpm`
# Source RPMs (SuSE uses *.spm, others use *.src.rpm)
regex/\.(spm|src\.rpm)$
2000-05-03 13:56:51 +04:00
Open=%cd %p#rpm
View=%view{ascii} rpm -qivlp --scripts %f
2000-05-03 13:56:51 +04:00
Install this RPM=rpm -i %f
Rebuild this RPM=rpm --rebuild %f
Check signature=rpm --checksig %f
2000-05-03 13:56:51 +04:00
# Compiled RPMs
regex/\.rpm$
2000-10-05 17:03:00 +04:00
Open=%cd %p#rpm
View=%view{ascii} rpm -qivlp --scripts %f
2000-10-05 17:03:00 +04:00
Install this RPM=rpm -i %f
Upgrade this RPM=rpm -U %f
Check signature=rpm --checksig %f
2000-10-05 17:03:00 +04:00
2000-05-03 13:56:51 +04:00
# deb
regex/\.deb$
Open=%cd %p#deb
View=%view{ascii} dpkg-deb -c %f
### Directories ###
directory/^\.\.$
directory/^News$
directory/^Mail$
directory/^\..*$
directory/^.*$
Start XTerm here=cd %p; exec xterm &
Make tar.gz=I=%{Enter destination file name:}; if test -n "$I"; then tar cvf - %p | gzip > $I; fi
### Default ###
1999-09-19 Andrew V. Samoilov <sav@bcs.zp.ua> * src/user.c (check_patterns): char* is used instead of char [] in sizeof * src/util.c (string_perm): prefix named pipes by 'p' and not by `s' 1999-09-19 David Martin <dmartina@usa.net> * gtkedit/editcmd.c (edit_print_string): Use unsigned char so that 8 bit chars from strftime get displayed when inserting date. * lib/mc.ext.in: Add entries for bzip2 compressed pages as used in Mandrake 6.0. The generic entry for bzip2 moved to the end of the file to avoid interferences. In this one I changed the extension check to a type check (as used for gzip) which might give problems in some systems. * configure.in: Use -Tlatin1 to format man pages when available and "view" 8 bit chars. 1999-09-19 Norbert Warmuth <nwarmuth@privat.circular.de> * gtkedit/edit.h: Include files reordered in order to make it compile with --with-debug * gtkedit/editcmd.c (menu_save_mode_cmd): calculate dialog width dependent on lenght of translated strings to display. * src/mad.c, mad.h, util.c, util.h: Move mad-functions from util.[ch] to mad.[ch] * src/option.c: Include files reordered in order to make it compile with --with-debug * src/mad.c (mad_init): New function. Initialize debug FILE pointer to stderr (moved to a function because not on every system stderr is a constant). (mad_set_debug): added const qualifier * src/main.c (main): call mad_init * po/*.po: s/defination/definition/ * gnome/Makefile.in ($(MAGICDEV_GENERATED)): Make it compile with $buildir != $srcdir. * vfs/ftpfs.c (ftpfs_set_debug), vfs.h: added const qualifier. * vfs/mcserv.c: removed definition of mad_strconcat which is also in mad.c.
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=
View=
1998-02-27 07:54:42 +03:00
Drop=
Title=%p
### EOF ###