Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Dave Yeo

Pages: [1] 2 3 ... 360
1
Programming / Re: Qt6 Application Testing
« on: May 18, 2025, 07:07:01 pm »
yum install libraw

2
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 18, 2025, 06:54:06 pm »
Code: [Select]
G:\os2tk45>grep -ir devhelp_ *
h/entry.h:  int    (*DevHelp_OpenEventSem)();
h/entry.h:  int    (*DevHelp_SemHandle)();
h/entry.h:  int    (*DevHelp_PostEventSem)();
h/entry.h:  int    (*DevHelp_CloseEventSem)();
h/pddentry.h:extern void DevHelp_RegisterPDD(char *PDD_Name, void *PDD_Function);
h/pddentry.h:extern void *DevHelp_DynamicAPI(short Parm_Count, void *Worker);

Code: [Select]
G:\os2tk45>grep -ir devhlp_ * > out
grep.exe: book/addendum.inf: binary file matches
grep.exe: book/cp2.inf: binary file matches
grep.exe: book/sg244640.inf: binary file matches
grep.exe: write error: Disk full

Which is weird as "G:\os2tk45>grep -ir devhlp_ * | less" shows a few hundred hits. Actually, 158 hits.


3
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 18, 2025, 01:57:57 am »
Seems it is uppercased internally anyways.

4
Virtualization / Re: Win-OS/2 - Open vbesvga.drv video driver
« on: May 17, 2025, 07:32:29 pm »
Testing on real hardware, it did seem more snappy. Didn't fix my issue of full screen WinOS2 sessions hanging when closed.

5
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 17, 2025, 05:39:12 pm »
DosOpenMutexWaitSem is the one in the Programming Guide and Reference Addendum, under Additional APIs Supported in Warp Serever for e-business, so not a typo.

??? That item _is_ the typo in question.

Compare the sequence of functions in that listing with those in the Control Program Guide and Reference. Where the Addendum has DosOpenMutexWaitSem, the more authoritative CP Ref has DosOpenMuxWaitSem.

OK, I made a typo when grepping for DosOpenMuxWaitSem. Now I see it in 3 inf's and prototyped in bsedos.h.
Thanks for the correction

6
Setup & Installation / Re: Cannot update python
« on: May 17, 2025, 06:06:46 am »
Doug had this to say on the testers list in response to an earlier ANPM crash I had,
Quote
This is caused by trying to update HPLIP, HPLIP-COMMON, or HPLIP-LIBS. If you select only LIBAIO, it includes those three, and all updates properly.
Should have remembered sooner.

7
Setup & Installation / Re: Cannot update python
« on: May 17, 2025, 05:14:40 am »
I had to remove python3-createrepo_c-1.2.1-1, and then like Martin, ANPM crashed. Command line worked.

8
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 17, 2025, 04:59:22 am »
DosOpenMutexWaitSem is the one in the Programming Guide and Reference Addendum, under Additional APIs Supported in Warp Serever for e-business, so not a typo.

9
Setup & Installation / Re: Cannot update python
« on: May 16, 2025, 06:11:48 pm »
yum install python3 python2.7 2>&1 | tee yum.out
Code: [Select]
Setting up Install Process
Package python2.7-2.7.18-3.oc00.pentium4 already installed and latest version
Resolving Dependencies
--> Running transaction check
---> Package python3.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python(abi) = 3.9 for package: python3-flit-core-3.12.0-1.oc00.noarch
--> Processing Dependency: python(abi) = 3.9 for package: python3-flit-core-3.12.0-1.oc00.noarch
--> Processing Dependency: python3 = 3.9.21-1.oc00 for package: python-unversioned-command-3.9.21-1.oc00.pentium4
---> Package python3.pentium4 0:3.13.2-1.oc00 will be an update
--> Processing Dependency: python3-libs = 3.13.2-1.oc00 for package: python3-3.13.2-1.oc00.pentium4
--> Processing Dependency: pytho313.dll for package: python3-3.13.2-1.oc00.pentium4
--> Running transaction check
---> Package python-unversioned-command.pentium4 0:3.9.21-1.oc00 will be updated
---> Package python-unversioned-command.pentium4 0:3.13.2-1.oc00 will be an update
---> Package python3-flit-core.noarch 0:3.12.0-1.oc00 will be updated
---> Package python3-flit-core.noarch 0:3.12.0-2.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
--> Processing Dependency: python39.dll for package: hplip-libs-3.19.12-1.oc00.pentium4
--> Processing Dependency: python39.dll for package: python3-rpm-4.15.1-3.oc00.pentium4
---> Package python3-libs.pentium4 0:3.13.2-1.oc00 will be an update
--> Processing Dependency: mpdec4.dll for package: python3-libs-3.13.2-1.oc00.pentium4
--> Running transaction check
---> Package hplip-libs.pentium4 0:3.19.12-1.oc00 will be updated
--> Processing Dependency: hplip-libs = 3.19.12-1.oc00 for package: hplip-3.19.12-1.oc00.pentium4
--> Processing Dependency: hplip-libs = 3.19.12-1.oc00 for package: libsane-hpaio-3.19.12-1.oc00.pentium4
---> Package hplip-libs.pentium4 0:3.19.12-2.oc00 will be an update
--> Processing Dependency: hplip-common = 3.19.12-2.oc00 for package: hplip-libs-3.19.12-2.oc00.pentium4
---> Package mpdecimal.pentium4 0:4.0.0-1.oc00 will be installed
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package python3-rpm.pentium4 0:4.15.1-3.oc00 will be updated
---> Package python3-rpm.pentium4 0:4.15.1-4.oc00 will be an update
--> Processing Dependency: rpm-libs = 4.15.1-4.oc00 for package: python3-rpm-4.15.1-4.oc00.pentium4
--> Running transaction check
---> Package hplip.pentium4 0:3.19.12-1.oc00 will be updated
---> Package hplip.pentium4 0:3.19.12-2.oc00 will be an update
---> Package hplip-common.pentium4 0:3.19.12-1.oc00 will be updated
---> Package hplip-common.pentium4 0:3.19.12-2.oc00 will be an update
---> Package libsane-hpaio.pentium4 0:3.19.12-1.oc00 will be updated
---> Package libsane-hpaio.pentium4 0:3.19.12-2.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm-libs.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: python2-rpm-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-sign-libs-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-plugin-syslog-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-build-libs-4.15.1-3.oc00.pentium4
--> Processing Dependency: rpm-libs = 4.15.1-3.oc00 for package: rpm-devel-4.15.1-3.oc00.pentium4
---> Package rpm-libs.pentium4 0:4.15.1-4.oc00 will be an update
--> Processing Dependency: rpm = 4.15.1-4.oc00 for package: rpm-libs-4.15.1-4.oc00.pentium4
--> Running transaction check
---> Package python2-rpm.pentium4 0:4.15.1-3.oc00 will be updated
---> Package python2-rpm.pentium4 0:4.15.1-4.oc00 will be an update
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm = 4.15.1-3.oc00 for package: rpm-build-4.15.1-3.oc00.pentium4
---> Package rpm.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-build-libs.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-build-libs.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-devel.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-devel.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-plugin-syslog.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-plugin-syslog.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-sign-libs.pentium4 0:4.15.1-3.oc00 will be updated
--> Processing Dependency: rpm-sign-libs = 4.15.1-3.oc00 for package: rpm-sign-4.15.1-3.oc00.pentium4
---> Package rpm-sign-libs.pentium4 0:4.15.1-4.oc00 will be an update
--> Running transaction check
---> Package python3-libs.pentium4 0:3.9.21-1.oc00 will be updated
--> Processing Dependency: python39.dll for package: python3-createrepo_c-1.2.1-1.oc00.pentium4
---> Package rpm-build.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-build.pentium4 0:4.15.1-4.oc00 will be an update
---> Package rpm-sign.pentium4 0:4.15.1-3.oc00 will be updated
---> Package rpm-sign.pentium4 0:4.15.1-4.oc00 will be an update
--> Finished Dependency Resolution
Error: Package: python3-createrepo_c-1.2.1-1.oc00.pentium4 (installed)
           Requires: python39.dll
           Removing: python3-libs-3.9.21-1.oc00.pentium4 (installed)
               python39.dll
           Updated By: python3-libs-3.13.2-1.oc00.pentium4 (netlabs-exp)
               Not found
           Available: python3-libs-3.9.5-8.oc00.pentium4 (netlabs-rel)
               python39.dll
           Available: python3-libs-3.9.17-1.oc00.pentium4 (netlabs-rel)
               python39.dll
 You could try using --skip-broken to work around the problem
 You could try running: rpm -Va --nofiles --nodigest

10
Applications / Re: warpin problem
« on: May 16, 2025, 07:36:47 am »
I think you're going to have to contact Alex about finding the lock, or examine the source code.

11
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 16, 2025, 07:25:58 am »
Out of curiosity, I grepped x:\os2 for all 4 functions, nothing seems to use them. Or they're called by ordinal.
I also grepped \os2tk45. Found DosQueryPageUsage() only in os2386.lib, so a real function not prototyped. Also found DevHlp_OpenFile() in inc\devhlp.inc. Take a look at the inc for cardinal(?) and comment.
All but DevHlp_FileOpen are also in addendum.inf. I'd assume DevHlp_FileOpen is a typo with OpenFile reversed, a typo I could see making.

12
Programming / Re: [Classic Rexx] check disk of external drives
« on: May 15, 2025, 01:40:03 am »
Thanks, much better then running chkdsk manually. Be nice to have this as part of the USB widget.
Warning, when I formatted my 2TB external drive (JFS) as one partition, after backing everything up, chkdsk would fail due to lack of memory. I had a lot of small files.

13
Programming / Re: Qt6 Application Testing
« on: May 14, 2025, 06:58:57 am »
Interesting, wonder what it is in my environment causing this? It is consistent here.

Reinstalling seems to have fixed things

14
Storage / Re: How to discover the newly assigned USB drive letter?
« on: May 14, 2025, 06:56:43 am »
Use LVM to change the cards drive letter? Pick a high one and probably won't need to change it again.
Otherwise you'll have to figure out how to query LVM.

15
Programming / Re: Qt6 Application Testing
« on: May 14, 2025, 02:37:03 am »
Interesting, wonder what it is in my environment causing this? It is consistent here.

Pages: [1] 2 3 ... 360