Hello g00r00!
Thank you for your reply!
Furthermore, I would suggest adding an archiver entry 7Z (7-ZIP) for Linux to complement the existing one for Windows, or perhaps simply
You are free to do that if you'd like and send it along. I'll make a
note of it in my TODO list in the meantime just don't know when I might get around to it.
This was what I am experimenting with:
Active ³ Yes
Extension ³ 7Z
OS ³ Linux
Description ³ CUSTOM: 7-ZIP
Pack Cmd ³ 7z a -y "%1" "%2"
Unpack Cmd ³ 7z e -y -o"%3" "%1" "%2"
View Cmd ³ 7z l -y "%1" >> "%3%2"
The output from 7z, however, does not seem to be very well suited for formatted display, as it includes a lot of diagnostics.
And the first time you (V)iew it, a red cursor from the File Listing might turn all content output red. :)
The extraneous output can be skipped with an undocumented -ba switch (see
https://stackoverflow.com/a/61654375), yielding output on the form:
2021-08-02 19:33:08 ....A 5 9 test.txt
...however Mystic displays nothing then, so perhaps it is expecting something more than just simple lines like that (and possibly in a different format).
Like you say, perhaps something for the future... I think I'll ditch the viewing experiment for now. :)
(I wonder if it is working on Windows? One would think that output should be similar there, with similar problems...)
Perhaps it might be a good idea to configure the archiver for all *but* viewing, so that it at least can be used for compressed file lists, QWK packets etc.
functions/viewing that Mystic can do. If you find a LZH/LHA file that
you cannot view feel free to e-mail it to me so I can take a look at it.
Sure, this was the one I tested with:
https://sourceforge.net/projects/thegwolibrary/files/gwo-winxp/gwo0.11/gwo0.11- sample-win32.lzh/download
There is no enabled setup for ARJ by default in Mystic but if you want to create a view default feel free to do so and send it over, like any other archiver.
Tried getting this to work, but didn't quite succeed --
Tried with:
View Cmd ³ arj l -y "%1"
...which resulted in:
ARJ32 v 3.10, Copyright (c) 1998-2004, ARJ Software Russia.
Processing archive: /mnt/bbs/mystic/files/local/uploads/a.arj
Archive created: 2021-08-02 08:35:46, modified: 2021-08-02 08:35:46
0 file(s)
Unable to view archive.
...and:
View Cmd ³ arj l -y "%1" >> "%3%2"
ARJ32 v 3.10, Copyright (c) 1998-2004, ARJ Software Russia.
Processing archive: /mnt/bbs/mystic/files/local/uploads/a.arj
Archive created: 2021-08-02 08:35:46, modified: 2021-08-02 08:35:46
0 file(s)
Found 1 error(s)!
I guess >> "%3%2" should redirect output to a temporary file, and Mystic's archive viewer reads that (if it exists).
Are there any specs on what kind of output format it can "parse"?
Because I guess all archivers are different?
Otherwise I'll stick with non-viewing of ARJ archives for the time being (but enabled the archiver to be able to pack/unpack for stuff like file lists and QWK). :)
Best regards
Bj”rn
--- Mystic BBS v1.12 A47 2021/07/31 (Linux/64)
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)