Re: mc Digest, Vol 126, Issue 4



Yes: good explanation.------
File: mc.ext    Line 629 Col 1   16958 bytes                100%

# xz
regex/\.xz$
        Open=xz -dc %f | %var{PAGER:more}
        View=%view{ascii} xz -dc %f 2>/dev/null
===
-> which xz == /usr/bin/xz
So I'd expect: `xz -dc SomeFile.xz` to <show> the expanded file
in a terminal, and for mc to show via <F3>.

On 12/29/14, mc-request gnome org <mc-request gnome org> wrote:
Send mc mailing list submissions to
      mc gnome org

To subscribe or unsubscribe via the World Wide Web, visit
      https://mail.gnome.org/mailman/listinfo/mc
or, via email, send a message with subject or body 'help' to
      mc-request gnome org

You can reach the person managing the list at
      mc-owner gnome org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of mc digest..."


Today's Topics:

   1. Re: opening *.xz files (basti)


----------------------------------------------------------------------

Message: 1
Date: Sun, 28 Dec 2014 14:49:03 +0100
From: basti <black fledermaus arcor de>
To: mc gnome org
Subject: Re: opening *.xz files
Message-ID: <54A00A4F 2070302 arcor de>
Content-Type: text/plain; charset=ISO-8859-1

Hello,
I'm no expert but i would say this depends on the file which is compressed.
First of all you need xz-utils installed.

I can't open an xz compressed dd image in mc BUT
I can open an xz compressed text file in mc.

In /etc/mc or in ~/.config/mc is an mc.ext file which define the file
extensions handled by mc.

I hope that would help you.

Best regards,
Basti

Am 28.12.2014 12:43, schrieb Kevin Wilson:
Hi,
Is there a way to open *.xz files in mc ?
when I open mc, and navigate to a folder where there are compressed
files (for example, in *.tar.gz format), pressing enter on these
compressed files opens them temporarily.
If I do it on *.xz files, then garbage is displayed.

Any ideas ?

Regards,
Kevin
_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc



------------------------------

Subject: Digest Footer

_______________________________________________
mc mailing list
https://mail.gnome.org/mailman/listinfo/mc


------------------------------

End of mc Digest, Vol 126, Issue 4
**********************************



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