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 - Mentore

Pages: [1] 2 3 ... 9
Web applications / Re: Dooble releases, Qt5 builds
« on: December 04, 2023, 08:25:02 am »
Ok, I build the dictionaries and set one dictionary to use.
I tried again to loging to os2world, first form (userid) was ok but as soon I click in the psw field, the page failes ! (replaced by a full grey page and have to reload it to get back)

Try, with Dooble closed, renaming %HOME%\.dooble and retry. Logging into OS2World works fine for me, just doesn't stay logged in after closing the browser, a cookie problem I assume.

Considering this everyday happens to me on my Windows machines, I don't think it's a dooble problem.

Programming / Re: Compiling a PM sample with GCC (2023)
« on: November 21, 2023, 11:03:11 am »

If I comment :
 line 60 // static ULONG my_timer;

 line 98 // my_timer=WinStartTimer( hab, hwnd, 0L, (ULONG)50 );

It will compile without errors, runs, but the animation will not work.

I guess I will leave this warning as it is.


which is the right thing to do, Martin, as the variable is of course needed. To remove the warning you may try to do something with it like this:

Code: [Select]

before calling WinStartTimer, so that the compiler thinks we have done something on it, or maybe search for some
Code: [Select]
#pragma statement to avoid the warning. Not sure about it, since I'm no GCC expert at all.


Programming / Re: Compiling a PM sample with GCC (2023)
« on: November 17, 2023, 10:42:05 am »

I just get back to compile an extra little thing. It compiles and works.
Can you please give me a hand with this warning?
gcc -Wall -Zomf -c -O2 pmstars.c -o pmstars.obj
pmstars.c: In function 'ClientWndProc':
pmstars.c:60:16: warning: variable 'my_timer' set but not used [-Wunused-but-set-variable]
   60 |   static ULONG my_timer;  /* System (PM) number indicating unique (system) timer number
      |                ^~~~~~~~


Hi Martin, the warning simply states the my_timer variable is never used. Just to be extra sure, search for it into the source code and if it is really never used (as I expect to happen), you can safely comment out / delete the statement.


Programming / Re: OPenchat
« on: November 14, 2023, 07:54:23 am »
I tried looking at DLLs too with PMDLL, but since I'm an OS/2 newbie I have no idea what to look for. Thanks David! I will try this tonight.

What made it easier for me is that I use FM3 file manager, probably the most powerful file manager on the planet.  I have been using it for over 20 years, and am always finding something new that I did not know it could do.  You might want to check it out.  Be sure to Configure it in its settings notebook.
Once the associations are set to your preferences, it  brings up the programs you need for that type of file that file you select.

It can be downloaded from

Here is a pic of my setup.

On this subject, I'm finding that FM/2 crashes a little too often both in my VM and in my old eCS machine.
Did you experience the same quirk, David?


Hardware / Re: Using a UPS to save SSDs
« on: November 08, 2023, 08:29:29 am »
Hi Andrew,

Regarding printers, forget long USB cables and get one with a network connection if it needs to be a long way away from the computer.  I have two Brother laser printers, one an all in one unit DCP9020cdw sits nearly 5 metres from my main computer while the other an HL3170cdw is upstairs with my other computers.  Being on the network they can be accessed from anywhere in the house, even the table near the front door for when friends bring something to be printed.

I recommend a laser printer because over time they save money - (no ink to dry out unless they have solved that problem) and all you need is the ppd file and the PSPRINT driver.

Spoiler alert: they didn't solve the ink problem in inkjet printers.  8)
So (unless you print photos) laser printers are the way to go.

My 2 cents worth which may or may not be of help.

Programming / Re: Qt6 Development
« on: November 08, 2023, 08:26:26 am »
I'm giving up (for now)  on QT 6.5 webengine.

I've updated the main branch  in github which is the 6.2.x code,  which was last  built against the 6.2.4 source. I've now updated this source to the 6.2.6 opensource code  (Qt 6.2 is a Long Term Support releast, however after the 6.2.4 release, the code was only available for Commercial customers for 12months).

Methinks this is a good idea.

I've built it all bar the webengine, which is building now.  The webengine looks to be based on the same chromium code as 6.3.2 -  but the thought it to try and get a stable-ish release  based on 6.2.x.

Fingers crossed, Paul. Let's see what you can get.
I'm slowly creating an ArcaOS VM and installing things I feel useful - will come to that ASAP and give your Qt port a try.

Programming / Re: Object REXX: HTTP client and Mastodon client
« on: September 25, 2023, 08:25:12 am »
Hi all,

I'm working on a HTTP Client and corresponding Mastodon client and app in Object REXX (the one that ships with OS/2 Warp and ArcaOS)

The code is posted here if you're interested:

When I get far enough along, I'll split it into separate repos.

I'm using Mark Hessling's great Rexx/CURL bindings.

Please forgive my newbie OREXX skills, I haven't used REXX since ARexx on the Amiga  :)

Really interesting news, thanks. Hope I'll have a working VM ASAP to try and test it with my Mastodon account.


Programming / Re: Compiling a SDL Game (2023)
« on: August 21, 2023, 08:17:57 am »

I was checking lbreakoutHD, it uses SDL2.

But it has two makefiles, and, that I don't know how to run. Is there any trick or an specific make tool to see if they can compile?


Hi Martin,
though I don't remember very well, and should be a part of the automake package and are needed by the configure shell script.
You may find useful to follow Paul Smedley's rules on compiling Unix ports. It may be as easy as writing "sh configure" or something like this (alas, I don't use an OS/2 machine since ages).


Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: July 25, 2023, 08:02:05 am »

I'm not sure why I can not run/unpack this DOS file:

It just kills the DOS session, I'm guessing it is a package file, but I'm not completely sure.


Hi Martin,

did you try with DOSBox? Maybe the unpacker uses something too low level for the DOS session to allow it (just guessing though, it really should give you some error message. Too long since I used DOS sessions on OS/2).


Applications / Re: Lost / Missing Software for OS/2
« on: July 17, 2023, 08:06:39 am »

I want to create this thread to get some help on finding some old software for OS/2 that it is missing.
I don't have any attachment to this software, but since I'm reorganizing Hobbes and checking some archives sites, I want to see if it possible to find some old software to have it properly organized and archived.

You are also free to post requests.


A little OT, but I feel it is worth.
What I'd love to see are the sources for X128 0.5, a rather working ZX Spectrum emulator. It was fairly good, albeit a little unstable.

Also - but alas, surely there will be no results: the sources for
- Notamusica (music engraving via TeX with an interesting object oriented GUI)
- MainActor /2 (the only video editor available for OS/2)


Programming / BREXX - Classic REXX implementation
« on: June 28, 2023, 01:53:15 pm »
Just stumbled across this:

Since we have a "rather" old classic REXX version, we might think about a replacement?


General Discussion / Re: WinGPT
« on: June 28, 2023, 01:49:20 pm »
WinGPT will work on any 16-bit or 32-bit version of Windows post-Windows 3.1.

Guess WinOS/2 is not post-Windows 3.1?

AFAIK WinOS/2 is basically Windows 3.1. It may be possible that updating it to Win32s 1.30 (there's a beta package somewhere - Hobbes maybe?) could make it work.

WinGPT should basically be just a GUI around REST calls to the ChatGPT APIs, so I can't really say if this is a WinOS/2 problem or is it maybe related to firewalls or something else.


General Discussion / Re: WinGPT
« on: June 28, 2023, 08:29:41 am »
I briefly tried it but didn't have a key. Something happened, all 4 cores went to a 100%, CAD was super slow at displaying. Killed the WinOS2 session and things were almost back to normal except the WinOS2 session became a zombie, but at least CPU usage dropped. My guess is something to do with the tcpip stack as I assume it used the stock winsocket, which connects to the main tcpip stack.

Most likely.
We may create a client using libcurl, since ChatGPT uses a well-documented REST API set. IIRC there should be something in REXX too? This would make it easier to build a PM program.


Programming / Re: Qt6 Development
« on: June 19, 2023, 07:58:52 am »
You know, compilers/Qt drive me insane at times.

For instance - I built qtdeclarative for Qt 6.5.1 fine a few days ago. Today, I try and rebuild it and get:
Code: [Select]
FAILED: lib/Qt6QuDiU.dll lib/Qt6QuickDialogs2Utils_dll.a
: && echo LIBRARY \"Qt6QuDiU\" INITINSTANCE TERMINSTANCE > lib/Qt6QuDiU.dll.def && echo DESCRIPTION \"@#cmake build system:0.0#@##1## 17 Jun 2023 17:54:42\ \ \ \ \ ARCAOS-803C4C0::::0::@@QuickDialogs2Utils\" >> lib/Qt6QuDiU.dll.def && echo DATA MULTIPLE NONSHARED >> lib/Qt6QuDiU.dll.def && c:/usr/local1230/bin/c++.exe -DNDEBUG -O2    -Zomf -Zmap -Zdll -Zlinker DISABLE -Zlinker 1121 -lcx -shared -o lib/Qt6QuDiU.dll  src/quickdialogs/quickdialogsutils/CMakeFiles/QuickDialogs2Utils.dir/QuickDialogs2Utils_autogen/mocs_compilation.cpp.o src/quickdialogs/quickdialogsutils/CMakeFiles/QuickDialogs2Utils.dir/qquickfilenamefilter.cpp.o  U:/qt6-6.5/lib/Qt6Gui_dll.a  U:/qt6-6.5/lib/Qt6Core_dll.a  -lpthread lib/Qt6QuDiU.dll.def && emximp -o lib/Qt6QuickDialogs2Utils_dll.a lib/Qt6QuDiU.dll && :
weakld: C:\var\temp\ldconv_qquickfilenamefilter_cpp_o_157648e3cb21dfe08.obj - error: Duplicate symbol '__ZN20QQuickFileNameFilter16staticMetaObjectE' ('__ZN20QQuickFileNameFilter16staticMetaObjectE').
weakld: C:\var\temp\ldconv_qquickfilenamefilter_cpp_o_157648e3cb21dfe08.obj - error: Symbol previosly defined in this module.
weakld: info: fFlags new 0x0001  fFlags old 0x0001 (PUBLIC).
weakld: info: The symbol is referenced by:
emxomfld: weak prelinker failed. (rc=-1)

If I examine qquickfilenamefilter.cpp.o (exporting all the symbols with emxexp) I only see one instance of __ZN20QQuickFileNameFilter16staticMetaObjectE'

Looks like some "interesting" behaviour of Visual Studio. Here at work everything's ok. Same setup at home, hundreds of errors for missing libs which are perfectly installed. Try and reinstall everything - still errors.
Enough to make one lose his mind - or what remains of it  8) ::)


Programming / Re: Porting nmap
« on: June 07, 2023, 08:20:43 am »
How hard would it be to get starting in porting over nmap to os2? I found some outdated builds on Hobbes.

Taking a look at the homepage for nmap I can see that nmap depends on

  • Zenmap - optional. Being a graphical frontend in python, I strongly suggest we avoid it.
  • OpenSSL - we have it (it is optional but what would we do with a nmap without SSL/TSL?)
  • Libpcap - I'm pretty sure we have a recent version. Optional, though.
  • PCRE - the Perl Compatible Regular Expression library. Should be available to anyone who has a development environment on OS/2 for porting.
  • Libdnet - used to send raw internet frames. Pretty much useful IMHO, but we haven't one available AFAICR. It would be good to port one, maybe removing IPv6 support (if present).

Check for more information.
I'd give it a try, but currently I've got no spare time and should use the little I may have to work on the Italian ArcaOS NLV...


Pages: [1] 2 3 ... 9