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
1
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: https://codeberg.org/robdaemon/masto2

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.

Thanks
Mentore

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

I was checking lbreakoutHD, it uses SDL2.
- https://sourceforge.net/projects/lgames/files/lbreakouthd/lbreakouthd-1.1.3.tar.gz

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

Regards

Hi Martin,
though I don't remember very well, makefile.in and makefile.am 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).

Mentore

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

I'm not sure why I can not run/unpack this DOS file:
https://hobbes.nmsu.edu/download/pub/os2/system/drivers/modem/lucent.exe

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

Regards

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).

Mentore

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

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.

Regards

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)

Mentore

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

https://github.com/vlachoudis/brexx/blob/master/README.md

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

Mentore

6
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.

Mentore

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

Mentore

8
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:
    C:\var\temp\ldconv_mocs_compilation_cpp_o_157648e3cb21d0bd8.obj
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) ::)

Mentore

9
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 https://nmap.org/book/inst-source.html 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...

Mentore

10
Programming / Re: Rexx cumulative values
« on: May 15, 2023, 08:17:05 am »
In a VX-Rexx program I have this container, QRY_2:

The problem is that I need the third column in the container, TALLFLT2 (displayed as DATA.3 above), to get updated with cumulative values from column TALLFLT1, also it must «reset» when the value in TEKSTFELT changes, like this:

|TEKSTFELT | TALLFLT1 | TALLFLT2|
|aaa       |     10.00|    10.00|
|aaa       |     10.00|    20.00|
|aaa       |     10.00|    30.00|
|bbb       |    100.00|   100.00|
|bbb       |    100.00|   200.00|
|bbb       |    100.00|   300.00|
|ccc       |   1000.00|  1000.00|
|ccc       |   1000.00|  2000.00|
|ccc       |   1000.00|  3000.00|


Ideas are welcome.

Apart from REXX  and VX-Rexx, of which I remember too little, the idea is keeping track of all the equal elements in DATA.1 and increment the cells in DATA.3 by the amount of what is present on the corresponding cell in DATA.2 (convoluted, I know: I'm terribly sleepy today).

One idea would be to follow a SQL-like approach, selecting all distinct elements in DATA.1 and for each cell in DATA.3 sum the actual amount of DATA.2.
Seeing as the rows in DATA.1 are already grouped by equal elements that would be not so difficult.

Another idea, more trivial but clever:
1) keep a counter of the current cell
2) save the current value of DATA.1 in an object, and the current value of DATA.3 in another (current cells)
3) cycle on all elements of DATA.1:
3.1) while DATA.1 is equal to the saved value, add to the current cell of DATA.3 the previous value + DATA.2
3.2) if DATA.1 is different, repeat the cycle saving the new value and starting from empty values of DATA.2 and DATA.3

Clear as fog, I know...

Mentore

11
Hardware / Re: OS/2 Warp 3 Graphics Card Selection Input?
« on: April 20, 2023, 08:43:57 am »
I have a machine with 16-bit ISA slots and I'm looking to install OS/2 WARP Version 3. What would some graphics card recommendations be as I know driver support was always an issue with OS/2 that didn't get better to WARP 4. Been searching for a compatibility matrix for what drivers where included in WARP 3 but having a hard time tracking that down.

Having only ISA slots is both a problem and an advantage, since it's a dead market but most if not all ISA graphics cards are supported.

You may find useful the SNAP graphics driver, which were released as freeware years ago:
here https://ecsoft2.org/scitech-snap-graphics you'll find the package description, which contains also a list of the supported adapters.

Mentore

12
Storage / Re: Invalid code for JFS 0000:0000 (ArcaOS 5.0.7)
« on: April 19, 2023, 08:02:17 am »
Solution. Before loading the system, remove from the connector the USB stick.
And quickly insert back after the start of the WPS. Requires dexterity.

Seems something timing related. Dunno if it is due to the WPS init phase versus driver timings, though...

Mentore

13
Programming / Re: Qt6 Development
« on: April 18, 2023, 01:16:22 pm »
OK, the TRPs with 6.4.3 and 6.5.0 are driving me nuts. I'm going to try and stabilise the qt 6.3.2 webengine and fix and traps there. That might shed some light on stuff I've missed...

Most probably. I second your idea. Keep letting us know how things are going.
Mentore

14
Programming / Re: Compiling OpenJDK
« on: April 18, 2023, 08:18:09 am »
I hacked around the looping make by commenting out part of a makefile, but now I get a bunch of errors like:
Code: [Select]
..\..\src\share\classes\java\nio\charset\Charset.java:28: cannot find symbol
symbol  : class ByteBuffer
location: package java.nio
import java.nio.ByteBuffer;
               ^
..\..\src\share\classes\java\nio\charset\Charset.java:29: cannot find symbol
symbol  : class CharBuffer
location: package java.nio
import java.nio.CharBuffer;
               ^
..\..\src\share\classes\java\nio\charset\Charset.java:46: cannot find symbol
symbol  : class StandardCharsets
location: package sun.nio.cs
import sun.nio.cs.StandardCharsets;

No idea why or how to proceed :(

Now this is weird.
https://en.wikipedia.org/wiki/Non-blocking_I/O_(Java)

It seems Java NIO is included in Java since 1.4 SE, so we OS/2 users should already have it...

Mentore

15
Setup & Installation / Re: ArcaOS 5.1
« on: April 14, 2023, 08:06:40 am »
I don't think its wrong for Arca Naoe to say they are working on a new operating system version, or what features it will have. But I don't want them to announce that it is nearly out. That kind of announcement is pretty discouraging to re-sellers.

By the way, I'm posting from the "mythical" 5.1. If you need GPT or UEFI, this is a good change. If you don't, ArcaOS 5.0 should be fine.

I guess it's the same with the new browser. No one knows when a stable version will come out. I love the blow-by-blow of trying to build it, and even to move to a newer version, but I don't need a prediction of when the hangs and other problems will be solved. I just need to know when to press the update button.

I completely second this assertion of yours. I have seen all kinds of gigantic failures in the past years, from the Sinclair QL to Apple Lisa, NeXT and other "next big things" which should have revolutioned the computing world but were announced too early, or were too different from the advertised product.

I am following the discussions here and am eager to be able to update my ArcaOS distribution, but having almost zero spare time it's pretty much difficult for me even to fire up a Virtualbox session, let alone installing ArcaOS on a bare metal machine (I have almost five dual core / i3 machines which need just some RAM and a HDD to work...).

Mentore

Pages: [1] 2 3 ... 9