OS/2, eCS & ArcaOS - Technical > Applications

Unzip Version 6.0 hangs when booting to a commandline

<< < (2/10) > >>

Tom:

--- Quote from: Lars on July 28, 2024, 01:16:25 pm ---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

--- End quote ---

When using the commandline boot with Alt+F1  --> F2, the system boots using ?:\os2\boot\config.x instead of ?:\config.sys .
I would compare config.x and config.sys .

Tom:

--- Quote from: Lars on July 28, 2024, 08:05:21 pm ---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.

--- End quote ---

Is there an entry in \popuplog.os2 ?
Unfortunately it is not possible to use PMDLL when booted to a commandline, and I don't know about an existing VIO-equivalent.

Tom:

--- Quote from: Martin Iturbide on July 28, 2024, 09:44:03 pm ---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

--- End quote ---

For a F2-boot ?:\os2\boot\config.x is used (read the description on the line that starts with F2 when you have used Alt+F1).

LIBPATH is not an environment variable (in config.sys there is a line that starts with LIBPATH=..., but not a line that starts with SET LIBPATH=...).
So trying to use %LIBPATH% does not work.

Seeing all environment variables is easy: on a commandline type

SET | more

(or pipe the output of SET to a file: SET > somefile.name)

Dave Yeo:
Also the env command will list all variables. env | less

Andi B.:

--- Quote --- Unfortunately it is not possible to use PMDLL when booted to a commandline, and I don't know about an existing VIO-equivalent.
--- End quote ---
chkdll32.exe. Not tested if it works from ALT-F1.

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version