Remove Cygwin version of mc.ext as they is exactly same.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Fri, 06 Apr 2012 21:44:25 +0300
changeset 329 5c0a22da5ef3
parent 328 3e80c4af5ab6
child 330 6197aede6474
Remove Cygwin version of mc.ext as they is exactly same.
.config/mc/mc.ext.cygwin
Makefile
--- a/.config/mc/mc.ext.cygwin	Fri Apr 06 21:29:39 2012 +0300
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,137 +0,0 @@
-# -*- mode: conf -*-
-# 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)
-#          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 ( ).
-#
-#    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:
-#
-# keyword=commandNL (with no spaces around =), where keyword should be:
-#
-#    Open (if the user presses Enter or doubleclicks it),
-#
-#    View (F3), Edit (F4)
-#
-#    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
-#	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.
-#
-# %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.
-#
-# %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
-#       otherwise the value in default will be used.  This is similar to
-#       the Bourne shell ${VAR-default} construct.
-#
-# Rules are applied from top to bottom, thus the order is important.
-# 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
-
-
-# Manual page
-# Exception - .so libraries are not manual pages
-regex/\.(so|so\.[0-9\.]*)$
-	View=%view{ascii} file %f && nm %f
-
-### Documentation ###
-
-# Texinfo
-regex/\.(te?xi|texinfo)$
-
-# GNU Info page
-type/^Info\ text
-	Open=info -f %f
-
-shell/.info
-	Open=info -f %f
-
-### Miscellaneous ###
-
-# Makefile
-regex/[Mm]akefile$
-	Open=make -f %f %{Enter parameters}
-
-# Imakefile
-shell/Imakefile
-	Open=xmkmf -a
-
-# Makefile.PL (MakeMaker)
-regex/^Makefile.(PL|pl)$
-	Open=%var{PERL:perl} %f
-
-# dbf
-regex/\.([dD][bB][fF])$
-       Open=%view{ascii} dbview %f
-       View=%view{ascii} dbview -b %f
-
-# REXX script
-regex/\.(rexx?|cmd)$
-       Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
-
-
-### Default ###
-
-# Default target for anything not described above.
-default/*
-	Open=cygstart %f&
-	View=
-
-### EOF ###
--- a/Makefile	Fri Apr 06 21:29:39 2012 +0300
+++ b/Makefile	Fri Apr 06 21:44:25 2012 +0300
@@ -100,19 +100,11 @@
 	if [ $$vmajor -gt 4 -o '(' $$vmajor -eq 4 -a $$vminor -ge 8 ')' ]; then \
 		mkdir -p $(HOME)/.config/mc $(HOME)/.local/share/mc/; \
 		install -m 640 .local/share/mc/bashrc $(HOME)/.local/share/mc/; \
-		if [ '$(host_os)' = 'cygwin' ]; then \
-			cat .config/mc/mc.ext.cygwin /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
-		else \
-			cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
-		fi; \
+		cat .config/mc/mc.ext /etc/mc/mc.ext > $(HOME)/.local/share/mc/mc.ext; \
 	else \
 		mkdir -p $(HOME)/.mc; \
 		install -m 640 .local/share/mc/bashrc $(HOME)/.mc; \
-		if [ '$(host_os)' = 'cygwin' ]; then \
-			install -m 640 .config/mc/mc.ext.cygwin $(HOME)/.mc/bindings; \
-		else \
-			install -m 640 .config/mc/mc.ext $(HOME)/.mc/bindings; \
-		fi; \
+		install -m 640 .config/mc/mc.ext $(HOME)/.mc/bindings; \
 	fi
 	if command -v file 1>/dev/null; then \
 		install -m 640 .magic $(HOME); \