File extension problem



Hi,
In MC 4.5.55, i can view boottime.kmap.gz which is gzip ascii.
In MC 4.6.0, it's garbled. So, i changed /usr/share/mc/mc.ext:

was:

# gzip
type/^gzip
        Open=gzip -dc %f | sensible-pager
        View=%view{ascii} gzip -dc %f 2>/dev/null

changed to:

# gzip
regex/\.gz(ip)?$
        Open=gzip -dc %f | sensible-pager
        View=%view{ascii} gzip -dc %f 2>/dev/null

Now it works (on debian).




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]