NULU open lbr files does not work
riwide opened this issue · 9 comments
with NULU.COM and my library file prg2304.lbr
nulu prg2304.lbr cannot find the file whereas on real CP/M it opens the lbr file such that -l can be used to list contents
NULU.CPM.zip
prg2304.lbr.zip
rename nulu.cpm.zip to nulu.com
rename prg2304.lbr.zip to prg2304.lbr
Nulu normally works correctly on cp/m 2.2 and cp/m 3
I think the version I have supplied is v.152 which is the newest that I am aware of.
I tried with several LBR files, in case one was unintentionally corrupt.
prg2304.lbr contains lbr files for each of my "curated" programming languages and tools.
I just got home and gave it a try.
I was unable to replicate.
Copied and renamed the files, loaded nulu, opened the library, listed and extracted.
All works fine.
Are you having problem on Linux? Windows? Devices?
Other than for Hercules build testing, I'm skipping Windows 11. :)
I was using this script:
#!/bin/bash
shopt -s globstar
for file in **/*
do
if [[ -f "$file" ]] || [[ -d "$file" ]]; then
if [[ "${file^^}" != *"RENAME.SH"* ]] && [[ "${file^^}" != *"RUNCPM"* ]]; then
dest="${file^^}"
if [[ "$file" != "$dest" ]]; then
echo "$file" '=>' "$dest"
mv "$file" %TEMP%
mv %TEMP% "$dest"
fi
fi
fi
done
As it should work both on native Linux and WSL.
I will close this one as it is basically a "limitation" of RunCPM while running on Linux or similars.