diff options
Diffstat (limited to 'misc/mc/files/patch-ag')
-rw-r--r-- | misc/mc/files/patch-ag | 196 |
1 files changed, 90 insertions, 106 deletions
diff --git a/misc/mc/files/patch-ag b/misc/mc/files/patch-ag index 3c38040c5633..ea0cb2c90b24 100644 --- a/misc/mc/files/patch-ag +++ b/misc/mc/files/patch-ag @@ -1,120 +1,106 @@ ---- lib/mc.ext.in.orig Mon May 25 18:16:05 1998 -+++ lib/mc.ext.in Thu Jun 4 10:06:34 1998 -@@ -105,20 +105,20 @@ - - regex/\.t([gp]?z|ar\.g?[zZ])$ - Open=%cd tar:%d/%p/ -- View=%view{ascii} gzip -dc %f 2>/dev/null | tar tvvf - -- Extract=gzip -dc %f 2>/dev/null | tar xf - -+ View=%view{ascii} gzip -dc '%d/%p' | tar tvvf - -+ Extract=gzip -dc '%d/%p' | tar xf - - Icon=compressed.xpm - - regex/\.tar\.bz$ - # Open=%cd tar:%d/%p/ -- View=%view{ascii} bzip -dc %f 2>/dev/null | tar tvvf - -- Extract=bzip -dc %f 2>/dev/null | tar xf - -+ View=%view{ascii} bzip -dc '%d/%p' | tar tvvf - -+ Extract=bzip -dc '%d/%p' | tar xf - - Icon=compressed.xpm - - regex/\.tar\.bz2$ - Open=%cd tar:%d/%p/ -- View=%view{ascii} bzip2 -dc %f 2>/dev/null | tar tvvf - -- Extract=bzip2 -dc %f 2>/dev/null | tar xf - -+ View=%view{ascii} bzip2 -dc '%d/%p' | tar tvvf - -+ Extract=bzip2 -dc '%d/%p' | tar xf - - Icon=compressed.xpm - - # .tar -@@ -130,17 +130,17 @@ - - # bzipped - regex/\.bz$ -- 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 -+ Open=bzip -dc '%d/%p' | %var{PAGER:more} -+ View=%view{ascii} bzip -dc '%d/%p' -+ Edit=I=`date +%%s`; export I; bzip -dc '%d/%p' >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip -c /tmp/bzed.$I > '%d/%p'; rm -f /tmp/bzed.$I -+ Uncompress=bunzip '%d/%p' - Icon=compressed.xpm - - regex/\.bz2$ -- 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 -+ Open=bzip2 -dc '%d/%p' | %var{PAGER:more} -+ View=%view{ascii} bzip2 -dc '%d/%p' -+ Edit=I=`date +%%s`; export I; bzip2 -dc '%d/%p' >/tmp/bzed.$I && %var{EDITOR:vi} /tmp/bzed.$I && bzip2 -c /tmp/bzed.$I > '%d/%p'; rm -f /tmp/bzed.$I -+ Uncompress=bunzip2 '%d/%p' - Icon=compressed.xpm - - # Programs -@@ -213,7 +213,7 @@ - Icon=plain_dir.xpm - regex/^ls-?lR\.(g?z|Z)$ - Open=%cd lslR:%d/%p/ -- View=%view{ascii} gunzip -c %f -+ View=%view{ascii} gzip -c '%d/%p' - Icon=plain_dir.xpm - - # ftplist -@@ -236,7 +236,7 @@ - Open=%cd zip:%d/%p/ - View=%view{ascii} unzip -v %f - Icon=zip.xpm -- Extract=unzip %f -+ Extract=unzip '%d/%p' - Extract (with flags)=I=%{Enter any Unzip flags:}; if test -n "$I"; then unzip $I %f; fi - Unzip=unzip %f '*' - -@@ -266,7 +266,7 @@ +--- lib/mc.ext.in.orig Sun Dec 6 16:43:44 1998 ++++ lib/mc.ext.in Sun Dec 6 16:46:43 1998 +@@ -265,7 +265,7 @@ # ar library regex/\.s?a$ - Open=%cd arfs:%d/%p/ + Open=%cd %p#uar - View=%view{ascii} nm %f + View=%view{ascii} nm '%d/%p' # C shell/.c -@@ -357,8 +357,8 @@ +@@ -356,8 +356,8 @@ # Manual page - compressed regex/([^0-9]|^[^\.]*)\.([1-9][a-z]?|n)\.g?[Zz]$ - Open=gunzip -dc %f | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more} - View=%view{ascii,nroff} gunzip -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@ ++ Open=gunzip -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more} ++ View=%view{ascii,nroff} gunzip -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@ Icon=man.xpm regex/(read\.?me$)|(README) -@@ -455,16 +455,16 @@ - - # gzipped - type/gzip -- 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 -+ Open=gzip -dc '%d/%p' | %var{PAGER:more} -+ View=%view{ascii} gzip -dc '%d/%p' -+ Edit=I=`date +%%s`; export I; gzip -dc '%d/%p' >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > '%d/%p'; rm -f /tmp/gzed.$I -+ Uncompress=gzip '%d/%p' - Icon=compressed.xpm - - type/compress - 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 -+ View=%view{ascii} gzip -dc '%d/%p' -+ Edit=I=`date +%%s`; export I; gzip -dc '%d/%p' >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > '%d/%p'; rm -f /tmp/gzed.$I - Icon=compressed.xpm - - # Makefile -@@ -532,14 +532,14 @@ +@@ -372,52 +372,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 + +@@ -426,14 +426,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 +@@ -531,14 +531,14 @@ Icon=rexx.xpm # Microsoft Word Document @@ -135,13 +121,11 @@ # cpio rules -@@ -551,8 +551,8 @@ - +@@ -551,7 +551,7 @@ shell/.cpio.gz Open=%cd cpio:%d/%p/ -- View=%view{ascii} gzip -dc '%f' | cpio -ictv + View=%view{ascii} gzip -dc '%f' | cpio -ictv - Extract=gzip -dc '%f' | cpio -ic -+ View=%view{ascii} gzip -dc '%d/%p' | cpio -ictv + Extract=gzip -dc '%d/%p' | cpio -ic Icon=compressed.xpm |