TIP: Click on subject to list as thread! ANSI
echo: mystic
to: g00r00
from: Bjrn Wiberg
date: 2021-08-03 23:51:00
subject: Re: LHZ/LZH for Windows (

Hello g00r00!

Just a quick follow-up on this (in case someone else is also adjusting their archiver configurations, and to write it down) --

On 03 Aug 2021, Bj”rn Wiberg said the following...
 BW>    Pack Cmd ³ arj a -e -i -y "%1" "%2"
 BW>  Unpack Cmd ³ arj e -e -i -y -w"%3" "%1" "%2"
 BW>    View Cmd ³ arj l -i -y "%1" >> "%3%2" 2> /dev/null; exit $? >>

Those should be:

  Pack Cmd ³ arj a -e -i -y "%1" "%2" >>
Unpack Cmd ³ arj e -e -i -y -w"%3" "%1" "%2" >>
  View Cmd ³ arj l -i -y "%1" >> "%3%2" 2> /dev/null; exit $? >>

Note the added >> to chain with Mystic's addition of /dev/null etc.
Otherwise arj will interpret /dev/null as an additional filename.

 BW>      Pack Cmd ³ 7z a -y "%1" "%2"
 BW>    Unpack Cmd ³ 7z e -y -o"%3" "%1" "%2"
 BW>      View Cmd ³ 7z l -ba -y "%1" >> "%3%2" 2> /dev/null; exit $? >>

Those should be:

   Pack Cmd ³ 7z a -ba -y "%1" "%2" >>
 Unpack Cmd ³ 7z e -ba -y -o"%3" "%1" "%2" >>
   View Cmd ³ 7z l -ba -y "%1" >> "%3%2" 2> /dev/null; exit $? >>

Note the added -ba to get rid of CPU stats etc, and >> to chain with Mystic's addition of /dev/null etc. Otherwise 7z will interpret /dev/null as an additional filename.

All this makes me wonder if the other archivers would need the same thing (>>)? Or if perhaps this should have been added by Mystic instead?

I found the following in whatsnew.txt:

 + When executing archives, MUTIL in Unix will now automatically append
   " /dev/null 2>&1" to the end of each archive execution command in order
   to hide standard output and error messages.  It was already adding "2>nul"
   in Windows.

Perhaps this should have been ">> /dev/null 2>&1" instead?

Best regards
Bj”rn

--- Mystic BBS v1.12 A47 2021/07/31 (Linux/64)
              
* Origin: Star Collision BBS, Uppsala, Sweden (2:201/137)

SOURCE: echomail via QWK@pharcyde.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.