OS/2, eCS & ArcaOS - Technical > Applications

Unzip Version 6.0 hangs when booting to a commandline

(1/10) > >>

Lars:
I recently had the need to boot to a commandline (hitting F2 on boot) and to use UNZIP to overwrite a couple of files that would prevent proper system operation.
However, when I called the "unzip.exe" version 6.00 that is installed via YUM, the bootup commandline would hang and the unzip help screen would never show up.
When I instead used the "unzip.exe" version 5.52 that is still in my ECS\BIN subdirectory, it would properly work without such a problem. I am sure it is not a DLL loading problem as the LIBPATH setting is the same as for the regular boot, but of course, the newer UNZIP uses different DLLs (gcc, libcn0) than the older version (which directly uses the OS/2 API).

Anyone knows what's going on or how to fix that ?

Lars

Neil Waldhauer:
I keep around a 2nd copy of unzip.exe for these purposes. This one is statically linked, and requires only DOSCALLS, KBDCALLS, VIOCALLS, NLS and MSG.

5-26-09  13:06         248,768    124  unzip.exe

http://www.os2site.com/sw/util/archiver/zip/unz600.exe

The other course could be to update the libpath for the F2 command line to include the needed DLLs.

Lars:
As I said, the used LIBPATH is the same for the commandline boot and the operational boot. I also do mot get an error on missing DLLs.

Dave Yeo:
Could unzip or more likely, one of its dependents have WINDOWAPI declared in a DEF file? I quickly looked at the source of unzip and the def file hasn't been changed in ages and is simply, https://github.com/bitwiseworks/unzip-os2/blob/master/os2/unzip.def

--- Code: ---NAME WINDOWCOMPAT NEWFILES
DESCRIPTION 'The world-famous Info-ZIP unarchiving utilities'
; SEGMENTS
;   _MSGSEG32 CLASS 'CODE'

--- End code ---

Not sure if it is currently used.

Martin Iturbide:
Hello

I just wanted to test it too. Indeed on the VM (ArcaOS 5.0.7 ), the unzip.exe hangs when you boot with Alt+F1 and F2 for command line.
(It also fails here)

I don't recall which was the config.sys for that F2 boot. config.1 or config.x ?

For what I see on the F2 boot the %LIBPATH% is not recognized, but the config files looks fine. Is there any elegant way to see full the enviroment variables on the command line (image LIBPATH_F2.png )?

Regards

Navigation

[0] Message Index

[#] Next page

Go to full version