mc.ext / rar

Christian Gennerat christian.gennerat at polytechnique.org
Sat Jan 31 14:39:15 UTC 2004


use unrar (freeware) instead of rar (shareware) for viewing a file:


diff -Bbu /home/ego/tar/mc.ext.in.orig /home/ego/tar/mc.ext.in
--- mc.ext.in.orig      2004-01-30 11:00:24.000000000 +0100
+++ mc.ext.in   2004-01-30 11:53:54.000000000 +0100
@@ -435,7 +435,7 @@
 # rar
 regex/\.[rR]([aA][rR]|[0-9][0-9])$
        Open=%cd %p#urar
-       View=%view{ascii} rar v -c- %f
+       View=%view{ascii} unrar v -c- %f
 
 # cpio
 shell/.cpio.Z





More information about the mc-devel mailing list