1999-10-09 18:50:35 +00:00
|
|
|
--- lib/mc.ext.in.orig Fri Sep 24 01:01:11 1999
|
|
|
|
+++ lib/mc.ext.in Sat Oct 9 12:15:10 1999
|
|
|
|
@@ -258,7 +258,7 @@
|
1998-06-04 04:04:34 +00:00
|
|
|
# ar library
|
|
|
|
regex/\.s?a$
|
1998-12-06 09:39:23 +00:00
|
|
|
Open=%cd %p#uar
|
1998-06-04 04:04:34 +00:00
|
|
|
- View=%view{ascii} nm %f
|
|
|
|
+ View=%view{ascii} nm '%d/%p'
|
|
|
|
|
|
|
|
# C
|
|
|
|
shell/.c
|
1999-10-09 18:50:35 +00:00
|
|
|
@@ -320,8 +320,8 @@
|
1998-12-06 17:06:47 +00:00
|
|
|
|
|
|
|
# ar library
|
|
|
|
regex/\.s?a$
|
|
|
|
- Open=%view{ascii} ar tv %f
|
|
|
|
- View=%view{ascii} nm %f
|
|
|
|
+ Open=%view{ascii} ar tv '%d/%p'
|
|
|
|
+ View=%view{ascii} nm '%d/%p'
|
|
|
|
Icon=a.xpm
|
|
|
|
|
|
|
|
# .so libraries are not manual pages
|
1999-10-09 18:50:35 +00:00
|
|
|
@@ -336,26 +336,26 @@
|
1998-12-06 17:06:47 +00:00
|
|
|
|
|
|
|
# Manual page
|
|
|
|
regex/(([^0-9]|^[^\.]*)\.([1-9][A-Za-z]*|n)|\.man)$
|
|
|
|
- Open=nroff @TROFFASCII@ @MANDOC@ %f | %var{PAGER:more}
|
|
|
|
- View=%view{ascii,nroff} nroff @TROFFASCII@ @MANDOC@ %f
|
|
|
|
+ Open=nroff @TROFFASCII@ @MANDOC@ '%d/%p' | %var{PAGER:more}
|
|
|
|
+ View=%view{ascii,nroff} nroff @TROFFASCII@ @MANDOC@ '%d/%p'
|
|
|
|
Icon=man.xpm
|
|
|
|
|
|
|
|
# Troff with me macros.
|
|
|
|
shell/.me
|
|
|
|
- Open=nroff @TROFFASCII@ -me %f | %var{PAGER:more}
|
|
|
|
- View=%view{ascii,nroff} nroff @TROFFASCII@ -me %f
|
|
|
|
+ Open=nroff @TROFFASCII@ -me '%d/%p' | %var{PAGER:more}
|
|
|
|
+ View=%view{ascii,nroff} nroff @TROFFASCII@ -me '%d/%p'
|
|
|
|
Icon=man.xpm
|
|
|
|
|
|
|
|
# Troff with ms macros.
|
|
|
|
shell/.ms
|
|
|
|
- Open=nroff @TROFFASCII@ -ms %f | %var{PAGER:more}
|
|
|
|
- View=%view{ascii,nroff} nroff @TROFFASCII@ -ms %f
|
|
|
|
+ Open=nroff @TROFFASCII@ -ms '%d/%p' | %var{PAGER:more}
|
|
|
|
+ View=%view{ascii,nroff} nroff @TROFFASCII@ -ms '%d/%p'
|
|
|
|
Icon=man.xpm
|
1998-06-04 04:04:34 +00:00
|
|
|
|
|
|
|
# Manual page - compressed
|
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.g?[Zz]$
|
1999-10-09 18:50:35 +00:00
|
|
|
- Open=gzip -dc %f | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
|
|
|
|
- View=%view{ascii,nroff} gzip -dc %f | nroff @TROFFASCII@ @MANDOC@
|
|
|
|
+ Open=gzip -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
|
|
|
|
+ View=%view{ascii,nroff} gzip -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@
|
1998-06-04 04:04:34 +00:00
|
|
|
Icon=man.xpm
|
|
|
|
|
1999-10-09 18:50:35 +00:00
|
|
|
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz$
|
|
|
|
@@ -380,52 +380,52 @@
|
1998-12-06 09:39:23 +00:00
|
|
|
View with GhostView=gv %f
|
|
|
|
|
|
|
|
type/GIF\ image
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=gif.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/GIF\ picture
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=gif.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/JPEG\ picture
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=jpeg.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/PC\ bitmap
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=bitmap.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/PNG\ image
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=gif.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/JPEG\ image
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=jpeg.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/TIFF\ file
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=tiff.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/PBM
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=pbm.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/PGM
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=pgm.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
|
|
|
type/PPM
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
Icon=ppm.xpm
|
|
|
|
Include=image-options
|
|
|
|
|
1999-10-09 18:50:35 +00:00
|
|
|
@@ -434,14 +434,14 @@
|
1998-12-06 09:39:23 +00:00
|
|
|
Icon=xbm.xpm
|
|
|
|
|
|
|
|
shell/.xpm
|
|
|
|
- Open=ee %f
|
|
|
|
+ Open=ElectricEyes %f
|
|
|
|
View=sxpm %f
|
|
|
|
Include=image-options
|
|
|
|
Icon=xpm.xpm
|
|
|
|
|
|
|
|
include/image-options
|
|
|
|
Set root window to this image=background-properties --setwallpaper %f &
|
|
|
|
- Display this file=ee %f &
|
|
|
|
+ Display this file=ElectricEyes %f &
|
|
|
|
|
|
|
|
# Sound files
|
|
|
|
shell/.mod
|
1999-10-09 18:50:35 +00:00
|
|
|
@@ -525,21 +525,21 @@
|
1998-06-04 04:04:34 +00:00
|
|
|
Icon=rexx.xpm
|
|
|
|
|
|
|
|
# Microsoft Word Document
|
|
|
|
-regex/\.(doc|DOC)$
|
|
|
|
+#regex/\.(doc|DOC)$
|
|
|
|
# View=%view{ascii} catdoc -w %f
|
|
|
|
- View=%view{ascii} word2x -f text %f -
|
|
|
|
- Icon=word.xpm
|
|
|
|
-type/Microsoft Word Document
|
|
|
|
+# View=%view{ascii} word2x -f text %f -
|
|
|
|
+# Icon=word.xpm
|
|
|
|
+#type/Microsoft Word Document
|
|
|
|
# View=%view{ascii} catdoc -w %f
|
|
|
|
- View=%view{ascii} word2x -f text %f -
|
|
|
|
- Icon=word.xpm
|
|
|
|
+# View=%view{ascii} word2x -f text %f -
|
|
|
|
+# Icon=word.xpm
|
|
|
|
|
|
|
|
# cpio rules
|
|
|
|
|
1999-10-09 18:50:35 +00:00
|
|
|
shell/.cpio.Z
|
1999-01-31 18:12:50 +00:00
|
|
|
Open=%cd %d/%p#ucpio/
|
1999-10-09 18:50:35 +00:00
|
|
|
View=%view{ascii} compress -dc '%f' | cpio -ictv
|
|
|
|
- Extract=compress -dc '%f' | cpio -ic
|
|
|
|
+ Extract=compress -dc '%d/%p' | cpio -ic
|
1998-06-04 04:04:34 +00:00
|
|
|
Icon=compressed.xpm
|
|
|
|
|
1999-10-09 18:50:35 +00:00
|
|
|
shell/.cpio.gz
|
|
|
|
--- lib/mc.csh.in.orig Sat Oct 9 15:08:10 1999
|
|
|
|
+++ lib/mc.csh.in Sat Oct 9 15:08:28 1999
|
|
|
|
@@ -1,2 +1,2 @@
|
|
|
|
-alias mc 'setenv MC `@prefix@/bin/mc -P \!*`; cd $MC; unsetenv MC'
|
|
|
|
+alias mc 'setenv MC `@prefix@/bin/midc -P \!*`; cd $MC; unsetenv MC'
|
|
|
|
|
|
|
|
--- lib/mc.sh.in.orig Sat Oct 9 15:08:13 1999
|
|
|
|
+++ lib/mc.sh.in Sat Oct 9 15:08:39 1999
|
|
|
|
@@ -3,7 +3,7 @@
|
|
|
|
mkdir -p ~/.mc/tmp 2> /dev/null
|
|
|
|
chmod 700 ~/.mc/tmp
|
|
|
|
MC=~/.mc/tmp/mc-$$
|
|
|
|
- @prefix@/bin/mc -P "$@" > "$MC"
|
|
|
|
+ @prefix@/bin/midc -P "$@" > "$MC"
|
|
|
|
cd "`cat $MC`"
|
|
|
|
rm "$MC"
|
|
|
|
unset MC;
|