1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-12 03:00:28 +00:00
freebsd-ports/misc/mc/files/patch-ag
1999-10-09 18:50:35 +00:00

184 lines
4.3 KiB
Plaintext

--- 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 @@
# ar library
regex/\.s?a$
Open=%cd %p#uar
- View=%view{ascii} nm %f
+ View=%view{ascii} nm '%d/%p'
# C
shell/.c
@@ -320,8 +320,8 @@
# 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
@@ -336,26 +336,26 @@
# 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
# Manual page - compressed
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.g?[Zz]$
- 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@
Icon=man.xpm
regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.bz$
@@ -380,52 +380,52 @@
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
@@ -434,14 +434,14 @@
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
@@ -525,21 +525,21 @@
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
shell/.cpio.Z
Open=%cd %d/%p#ucpio/
View=%view{ascii} compress -dc '%f' | cpio -ictv
- Extract=compress -dc '%f' | cpio -ic
+ Extract=compress -dc '%d/%p' | cpio -ic
Icon=compressed.xpm
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;