1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-17 08:01:36 +00:00
freebsd-ports/misc/mc/files/patch-ag
Ade Lovett bc47cccc84 Various patches (mainly shared library revision changes) for those
ports that depend on GNOME and need to change for 1.4
2001-05-04 21:41:30 +00:00

474 lines
16 KiB
Plaintext

--- lib/mc.ext.in.orig Sat Mar 3 16:33:22 2001
+++ lib/mc.ext.in Fri Apr 20 13:11:02 2001
@@ -167,6 +167,6 @@
shell/.c
- Open=%var{EDITOR:vi} %f
+ Open=%var{EDITOR:vi} '%d/%p'
View=%view{ascii}
- Compile=%var{CC:cc} -O -c %f
- Link=%var{CC:cc} -O -o %d/`basename %f .c` %f
+ Compile=%var{CC:cc} -O -c '%d/%p'
+ Link=%var{CC:cc} -O -o %d/`basename '%d/%p' .c` '%d/%p'
@@ -174,6 +174,6 @@
shell/.f
- Open=%var{EDITOR:vi} %f
+ Open=%var{EDITOR:vi} '%d/%p'
View=%view{ascii}
- Compile=f77 -O -c %f
- Compile and Link=f77 -O %f
+ Compile=f77 -O -c '%d/%p'
+ Compile and Link=f77 -O '%d/%p'
@@ -181,3 +181,3 @@
shell/.h
- Open=%var{EDITOR:vi} %f
+ Open=%var{EDITOR:vi} '%d/%p'
@@ -185,6 +185,6 @@
shell/.o
- #Open=%var{PAGER:more} %f
- Link=%var{CC:cc} -O %f
- Display object file symbols=%view{ascii} nm %f
- Disassemble=%view{ascii} objdump -d -r %f
+ #Open=%var{PAGER:more} '%d/%p'
+ Link=%var{CC:cc} -O '%d/%p'
+ Display object file symbols=%view{ascii} nm '%d/%p'
+ Disassemble=%view{ascii} objdump -d -r '%d/%p'
@@ -192,5 +192,5 @@
shell/.s
- Open=%var{EDITOR:vi} %f
- Assemble=%var{CC:cc} -O -c %f
- Link=%var{CC:cc} -O -o %d/`basename %f .s` %f
+ Open=%var{EDITOR:vi} '%d/%p'
+ Assemble=%var{CC:cc} -O -c '%d/%p'
+ Link=%var{CC:cc} -O -o %d/`basename '%d/%p' .s` '%d/%p'
@@ -198,6 +198,6 @@
regex/\.(C|cc)$
- Open=%var{EDITOR:vi} %f
+ Open=%var{EDITOR:vi} '%d/%p'
View=%view{ascii}
- Compile=c++ -O -c %f
- Link=c++ -O -o %d/`basename %f .c` %f
+ Compile=c++ -O -c '%d/%p'
+ Link=c++ -O -o %d/`basename '%d/%p' .c` '%d/%p'
@@ -214,4 +214,4 @@
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'
@@ -219,4 +219,4 @@
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'
@@ -224,4 +224,4 @@
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'
@@ -229,12 +229,12 @@
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@
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@
+ Open=bzip -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
+ View=%view{ascii,nroff} bzip -dc '%d/%p' | 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@
+ Open=bzip2 -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@ | %var{PAGER:more}
+ View=%view{ascii,nroff} bzip2 -dc '%d/%p' | nroff @TROFFASCII@ @MANDOC@
@@ -276,3 +276,3 @@
shell/.xbm
- Open=bitmap %f
+ Open=bitmap '%d/%p'
@@ -280,10 +280,10 @@
Include=image-options
- View=sxpm %f
+ View=sxpm '%d/%p'
include/image-options
- Open=if [ "$DISPLAY" = "" ]; then zgv %f; else (ee %f &); fi
- View=%view{ascii} identify %f
- #View=%view{ascii} asciiview %f
- Set root window to this image=background-properties --setwallpaper %f &
- Display this file=ee %f &
+ Open=if [ "$DISPLAY" = "" ]; then zgv '%d/%p'; else (ElectricEyes '%d/%p' &); fi
+ View=%view{ascii} identify '%d/%p'
+ #View=%view{ascii} asciiview '%d/%p'
+ Set root window to this image=background-properties --setwallpaper '%d/%p' &
+ Display this file=ElectricEyes '%d/%p' &
@@ -293,14 +293,14 @@
regex/\.(wav|WAV|Wav|snd|SND|Snd|voc|VOC|Voc|au|AU|Au)$
- Open=play %f
+ Open=play '%d/%p'
regex/\.(mod|MOD|Mod|s3m|S3M|S3m|xm|XM|Xm)$
- Open=mikmod %f
- #Open=tracker %f
+ Open=mikmod '%d/%p'
+ #Open=tracker '%d/%p'
regex/\.(wav22|WAV22)$
- Open=vplay -s 22 %f
+ Open=vplay -s 22 '%d/%p'
regex/\.(mp3|MP3|Mp3)$
- Open=mpg123 %f
- View=%view{ascii} mpg123 -tn1 %f 2>&1|grep -E "^(Title|Album|Comment|MPEG|$)"
+ Open=mpg123 '%d/%p'
+ View=%view{ascii} mpg123 -tn1 '%d/%p' 2>&1|grep -E "^(Title|Album|Comment|MPEG|$)"
@@ -310,15 +310,15 @@
regex/\.(mpe?g|MPE?G|Mpe?g)$
- 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 &
+ Open=mtvp '%d/%p' 2>/dev/null&
+ #Open=mtv '%d/%p' 2>/dev/null&
+ #Open=gtv '%d/%p' 2>/dev/null&
+ #Open=plaympeg '%d/%p' 2>/dev/null&
+ #Open=mpeg_play '%d/%p' &
+ #Open(big)=mpeg_play -dither 2x2 '%d/%p' &
+ #Open(gray)=mpeg_play -dither gray '%d/%p' &
regex/\.(avi|AVI|Avi|mov|MOV|Mov)$
- Open=xanim %f 2>/dev/null&
+ Open=xanim '%d/%p' 2>/dev/null&
regex/\.(rm|RM|Rm|ram|RAM|Ram)$
- Open=realplay %f&
+ Open=realplay '%d/%p'&
@@ -329,5 +329,5 @@
type/PostScript
- Open=gv %f&
- View=%view{ascii} ps2ascii %f
- View with GhostView=gv %f
+ Open=gv '%d/%p'&
+ View=%view{ascii} ps2ascii '%d/%p'
+ View with GhostView=gv '%d/%p'
@@ -335,6 +335,6 @@
type/PDF
- Open=xpdf %f&
- #Open=acroread %f&
- #Open=ghostview %f&
- View=%view{ascii} pdftotext %f -
+ Open=xpdf '%d/%p'&
+ #Open=acroread '%d/%p'&
+ #Open=ghostview '%d/%p'&
+ View=%view{ascii} pdftotext '%d/%p' -
@@ -343,14 +343,14 @@
#Open=if echo "%d/%p" | grep ^ftp; then $viewer %d/%p; else $viewer file:%p; fi
- Open=if [ x$DISPLAY = x ]; then lynx -force_html %f; else (@X11_WWW@ %f &); fi
- View=%view{ascii} lynx -dump -force_html %f;
- Run with AppletViewer=appletviewer %f
- View with @X11_WWW@=@X11_WWW@ file://%f
+ Open=if [ x$DISPLAY = x ]; then lynx -force_html '%d/%p'; else (@X11_WWW@ '%d/%p' &); fi
+ View=%view{ascii} lynx -dump -force_html '%d/%p';
+ Run with AppletViewer=appletviewer '%d/%p'
+ View with @X11_WWW@=@X11_WWW@ file://'%d/%p'
# Microsoft Word Document
-regex/\.([Dd]oc|DOC)$
- #View=%view{ascii} catdoc -w %f
- View=%view{ascii} word2x -f text %f -
-type/Microsoft Word Document
- #View=%view{ascii} catdoc -w %f
- View=%view{ascii} word2x -f text %f -
+# regex/\.([Dd]oc|DOC)$
+# #View=%view{ascii} catdoc -w '%d/%p'
+# View=%view{ascii} word2x -f text '%d/%p' -
+# type/Microsoft Word Document
+# #View=%view{ascii} catdoc -w '%d/%p'
+# View=%view{ascii} word2x -f text '%d/%p' -
@@ -358,3 +358,3 @@
type/FrameMaker
- Open=fmclient -f %f
+ Open=fmclient -f '%d/%p'
@@ -362,5 +362,5 @@
regex/\.([Dd]vi|DVI)$
- Open=if [ x$DISPLAY = x ]; then dvisvga %f; else (xdvi %f &); fi
- View=%view{ascii} dvi2tty %f
- Convert file to Postscript=dvips %f
+ Open=if [ x$DISPLAY = x ]; then dvisvga '%d/%p'; else (xdvi '%d/%p' &); fi
+ View=%view{ascii} dvi2tty '%d/%p'
+ Convert file to Postscript=dvips '%d/%p'
@@ -368,5 +368,5 @@
regex/\.([Tt]ex|TEX|TeX)$
- Open=%var{EDITOR:vi} %f
- TeX this file=tex %f
- LaTeX this file=latex %f
+ Open=%var{EDITOR:vi} '%d/%p'
+ TeX this file=tex '%d/%p'
+ LaTeX this file=latex '%d/%p'
@@ -376,8 +376,8 @@
shell/^RMAIL$
- Start Emacs on this RMAIL file=emacs %f
- Open=emacs %f
+ Start Emacs on this RMAIL file=emacs '%d/%p'
+ Open=emacs '%d/%p'
type/mail
- Open=elm -f %f
- View=%view{ascii} mcmfmt < %f
+ Open=elm -f '%d/%p'
+ View=%view{ascii} mcmfmt < '%d/%p'
@@ -388,3 +388,3 @@
regex/[Mm]akefile
- Open=make -f %f %{Enter parameters}
+ Open=make -f '%d/%p' %{Enter parameters}
@@ -396,8 +396,8 @@
type/executable
- Open=./%f
+ Open=./'%d/%p'
View=%view
- Drop=%f %q
- Execute in XTerm=xterm -e %f &
- View Required Libraries=%view{ascii} ldd %f
- Strip binary=strip %f
+ Drop='%d/%p' %q
+ Execute in XTerm=xterm -e '%d/%p' &
+ View Required Libraries=%view{ascii} ldd '%d/%p'
+ Strip binary=strip '%d/%p'
@@ -405,4 +405,4 @@
regex/\.(dbf|DBF)$
- Open=%view{ascii} dbview %f
- View=%view{ascii} dbview -b %f
+ Open=%view{ascii} dbview '%d/%p'
+ View=%view{ascii} dbview -b '%d/%p'
@@ -410,3 +410,3 @@
regex/\.(rexx)|(rex)|(cmd)$
- Open=rexx %f %{Enter parameters};echo "Press ENTER";read y
+ Open=rexx '%d/%p' %{Enter parameters};echo "Press ENTER";read y
@@ -418,12 +418,12 @@
Open=%cd %p#utar
- 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' 2>/dev/null | tar tvvf -
+ Extract=gzip -dc '%d/%p' 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 -
+ View=%view{ascii} bzip -dc '%d/%p' 2>/dev/null | tar tvvf -
+ Extract=bzip -dc '%d/%p' 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 -
+ View=%view{ascii} bzip2 -dc '%d/%p' 2>/dev/null | tar tvvf -
+ Extract=bzip2 -dc '%d/%p' 2>/dev/null | tar xf -
@@ -432,4 +432,4 @@
# Open=%cd %p#utar
- View=%view{ascii} freeze -dc %f 2>/dev/null | tar tvvf -
- Extract=freeze -dc %f 2>/dev/null | tar xf -
+ View=%view{ascii} freeze -dc '%d/%p' 2>/dev/null | tar tvvf -
+ Extract=freeze -dc '%d/%p' 2>/dev/null | tar xf -
@@ -438,4 +438,4 @@
Open=%cd %p#utar
- View=%view{ascii} tar tvvf %f
- Extract=tar xf %f
+ View=%view{ascii} tar tvvf '%d/%p'
+ Extract=tar xf '%d/%p'
@@ -444,6 +444,6 @@
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 '*'
+ View=%view{ascii} unzip -v '%d/%p'
+ Extract=unzip '%d/%p'
+ Extract (with flags)=I=%{Enter any Unzip flags:}; if test -n "$I"; then unzip $I '%d/%p'; fi
+ Unzip=unzip '%d/%p' '*'
@@ -452,4 +452,4 @@
Open=%cd %p#uzoo
- View=%view{ascii} zoo l %f
- Extract=zoo x %f '*'
+ View=%view{ascii} zoo l '%d/%p'
+ Extract=zoo x '%d/%p' '*'
@@ -458,5 +458,5 @@
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
+ View=%view{ascii} lharc l '%d/%p'
+ Extract=lharc x '%d/%p' '*'
+ Extract (with flags)=I=%{Enter any LHarc flags:}; if test -n "$I"; then lharc x $I '%d/%p'; fi
@@ -465,5 +465,5 @@
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
+ View=%view{ascii} unarj l '%d/%p'
+ Extract=unarj x '%d/%p' '*'
+ Extract (with flags)=I=%{Enter any Unarj flags:}; if test -n "$I"; then unarj x $I '%d/%p'; fi
@@ -472,5 +472,5 @@
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
+ View=%view{ascii} ha lf '%d/%p'
+ Extract=ha xy '%d/%p' '*'
+ Extract (with flags)=I=%{Enter any HA flags:}; if test -n "$I"; then ha xy $I '%d/%p'; fi
@@ -479,5 +479,5 @@
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
+ View=%view{ascii} rar v -c- '%d/%p'
+ Extract=rar x -c- '%d/%p' '*'
+ Extract (with flags)=I=%{Enter any RAR flags:}; if test -n "$I";then rar x $I '%d/%p'; fi
@@ -486,12 +486,12 @@
Open=%cd %d/%p#ucpio/
- View=%view{ascii} compress -dc '%f' | cpio -ictv
- Extract=compress -dc '%f' | cpio -ic
+ View=%view{ascii} compress -dc '%d/%p' | cpio -ictv
+ Extract=compress -dc '%d/%p' | cpio -ic
shell/.cpio.gz
Open=%cd %d/%p#ucpio/
- 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
shell/.cpio
Open=%cd %d/%p#ucpio/
- View=%view{ascii} cat '%f' | cpio -ictv
- Extract=cat '%f' | cpio -ic
+ View=%view{ascii} cat '%d/%p' | cpio -ictv
+ Extract=cat '%d/%p' | cpio -ic
@@ -499,6 +499,6 @@
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' 2>/dev/null
+ Edit=I=`date +%%s`; export I; gzip -cd '%d/%p' >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > '%d/%p'; rm -f /tmp/gzed.$I
+ Uncompress=gunzip '%d/%p'
@@ -506,6 +506,6 @@
type/bzip2
- 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' 2>/dev/null
+ Edit=I=`date +%%s`; export I; bzip2 -cd '%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'
@@ -513,6 +513,6 @@
type/bzip
- 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' 2>/dev/null
+ Edit=I=`date +%%s`; export I; bzip -cd '%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'
@@ -520,5 +520,5 @@
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
+ Open=gzip -dc '%d/%p' | %var{PAGER:more}
+ View=%view{ascii} gzip -dc '%d/%p' 2>/dev/null
+ Edit=I=`date +%%s`; export I; gzip -cd '%d/%p' >/tmp/gzed.$I && %var{EDITOR:vi} /tmp/gzed.$I && gzip -c /tmp/gzed.$I > '%d/%p'; rm -f /tmp/gzed.$I
@@ -527,4 +527,4 @@
Open=%cd %p#uar
- #Open=%view{ascii} ar tv %f
- View=%view{ascii} nm %f
+ #Open=%view{ascii} ar tv '%d/%p'
+ View=%view{ascii} nm '%d/%p'
@@ -540,3 +540,3 @@
Open=%cd %p#lslR
- View=%view{ascii} gunzip -c %f
+ View=%view{ascii} gunzip -c '%d/%p'
@@ -554,5 +554,5 @@
Open=%cd %p#rpm
- Install this RPM=rpm -i %f
- Rebuild this RPM=rpm --rebuild %f
- Check signature=rpm --checksig %f
+ Install this RPM=rpm -i '%d/%p'
+ Rebuild this RPM=rpm --rebuild '%d/%p'
+ Check signature=rpm --checksig '%d/%p'
@@ -561,5 +561,5 @@
Open=%cd %p#rpm
- Install this RPM=rpm -i %f
- Upgrade this RPM=rpm -U %f
- Check signature=rpm --checksig %f
+ Install this RPM=rpm -i '%d/%p'
+ Upgrade this RPM=rpm -U '%d/%p'
+ Check signature=rpm --checksig '%d/%p'
@@ -568,3 +568,3 @@
Open=%cd %p#deb
- View=%view{ascii} dpkg-deb -c %f
+ View=%view{ascii} dpkg-deb -c '%d/%p'
--- 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 Fri Apr 20 13:13:33 2001
+++ lib/mc.sh.in Fri Apr 20 13:14:28 2001
@@ -5,3 +5,3 @@
MC=$HOME/.mc/tmp/mc-$$
- @prefix@/bin/mc -P "$@" > "$MC"
+ @prefix@/bin/midc -P "$@" > "$MC"
cd "`cat $MC`"