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 ... 325
1
Applications / Re: General Software Testing
« on: Today at 06:26:30 am »
I tried building it with VisualAge 3.08 and os2tk45
Complex.h was missing, I got it from the Visualage includes, along with iostream.h. complexm.lib was missing, I edited it out of the makefile. Almost compiled, I don't know ibmcpp well enough, error was,
...
Code: [Select]
Object Modules [.obj]: /base:0x10000  /pmtype:pm  +
Object Modules [.obj]: "fractz.OBJ"
Run File [fractz.*]: "FRACTZ.EXE"
Map File [FRACTZ.map]: ""
Libraries [.lib]:
Definitions File [nul.def]: "fractz.def"
ILink : fatal error LNK1082: lnkods50.exe : stub file not found
NMAKE : fatal error U1077: 'W:\OS2\CMD.EXE' : return code '12'
Stop.

complex.h seems to be a bunch of math stuff in a class.

2
Applications / Re: General Software Testing
« on: Today at 12:00:52 am »
I increased the stack, which stopped it crashing, still doesn't do much besides a dialog box with weird characters with an OK button that exits.
Code: [Select]
exehdr /stackos2:20000 FRACTZ.EXE

3
Marketplace / Re: ebay Stuff
« on: June 22, 2024, 03:09:27 am »
Hello

I have some questions about this one. "OS/2 2.1 Special Edition" (86G1442)
- https://www.ebay.com/itm/326128036498
 
It says "For use with Windows 3.1", was the "Special Edition" after or before the "OS/2 2.1 for Windows" ?? or it is a different thing?

Regards

From https://www.os2museum.com/wp/os2-history/os2-2-1-and-2-11/, Michal says,
Code: [Select]
It’s difficult to tell from the screenshot whether it is showing OS/2 2.0 or 2.1. It’s also impossible to tell from the above screenshot that it’s actually OS/2 2.1 Special Edition, better known as OS/2 for Windows, released in October 1993.

So it seems that it is just how it was first named.

4
Programming / Re: Strange autoconf / autoreconf / configure behavior
« on: June 21, 2024, 05:12:28 pm »
You can just reinstall the YUM/RPM stuff. Should backup your package list first with ANPM, Manage-->Yum Tools-->Export package List.
Basically, go to d:\usr\lib, run unlock *.dll. Move d:\usr, d:\var, d:\etc out of the way, forget if a reboot should be done, I think not. Run ANPM to bootstrap the RPM system. I'd suggest not enabling netlabs-exp at first. You can import your packages or manually install them. Test, eventually enable netlabs-exp and see if things keep working.

5
Events / Re: Warpstock Europe 2024 Follow Up
« on: June 21, 2024, 05:12:40 am »
I still mostly use SeaMonkey on ArcaOS for browsing with the occasional fallback to Dooble.
As for an up to date browser, I doubt that it can be done in this 64bit world. Developers have machines with lots of memory and don't care about systems with little memory, with basically all browsers having dropped 32 bit support.
As for Arca Noae, they're a small company, and I wouldn't be surprised if all the owners have other jobs or consultancy gigs, so no one working on it full time. There can't be much money in ArcaOS after paying IBM its share, paying for infrastructure etc. They were probably hoping for more volunteer help.
Edit: newest Dooble is based on Chromium 94, which itself is getting long in the tooth.

6
Programming / Re: GCC - updates
« on: June 21, 2024, 05:04:10 am »
Getting an executable named a.out is/used to be the way it worked. Even GCC 2.81 on OS/2 produced an a.out without -Zomf. I think it still needed emxbind to actually run on OS/2.

7
Programming / Re: Strange autoconf / autoreconf / configure behavior
« on: June 19, 2024, 05:16:42 pm »
And what shell are you using?

8
Applications / Re: lSwitcher v 2.94
« on: June 14, 2024, 02:22:40 am »
The latest version does not save the fonts for the widget that I drop from the Font Paletter. I have to set the font again after every reboot.

PS: I tried to register for a user mailing list (specified in Readme) and received a confirmation email. But the letter sent to the mailing list was never returned to me.
I then tried to register at http://trac.netlabs.org/ to create a ticket, but the registration did not work.

Registration at netlabs not working is a known issue. Work around is to subscribe to the community list and ask to be registered. It's a very low volume list.
community-subscribe at netlabs.org

9
Applications / Re: VLC Crashes While Streaming
« on: June 13, 2024, 03:53:10 am »
I found that vlc doesn't like slow connections.

10
Setup & Installation / Re: How to? python, pip and language tool
« on: June 13, 2024, 03:32:17 am »
Hmm, looking, virtualenv has been completely rewritten, so doubtful the patches would work. Also it has been years since I played with trying to get it to work.
Trying to do what you tried to do leads me to believe something is broken with Python3 and pip, it worked well with Python2, even building needed libraries.

11
Setup & Installation / Re: How to? python, pip and language tool
« on: June 12, 2024, 06:20:28 am »
Maybe try with virtualenv? Not sure if it works on OS/2 with Python3, it does work on Python2, Bitwise did work to get it working for building Mozilla.

12
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 11, 2024, 01:23:41 am »
This is sort of how I did with the screensaver. You need https://88watts.net/download/addtofile-1.03.zip, on your path or use the full pathname. With wmake there is a .before to run shell commands at the beginning of the build, have to look better at Gnu Make for similar. For now I adjusted compile.cmd like so,
Code: [Select]
rm -rf description.lnk
call AddToFile.cmd description.lnk,option description,BLDLEVEL,OS2World,1,Util-WPS-Scale
make -f makefile.wcc 2>&1 |tee make.out

and added @description to the wlink line in the makefile, not sure if it matters where, I added it just before the FIL SCALE.obj directive.
Code: [Select]
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf @description FIL SCALE.obj

Code: [Select]
H:\tmp\UTIL-WPS-Scale>bldlevel Util-WPS-Scale.exe
Build Level Display Facility Version 6.12.675 Sep 25 2001
(C) Copyright IBM Corporation 1993-2001
Signature:       @#OS2World:1#@##1## 10 Jun 2024 16:07:17     ARCAOS-444::::::@@Util-WPS-Scale
Vendor:          OS2World
Revision:        1.00
Date/Time:       10 Jun 2024 16:07:17
Build Machine:   ARCAOS-444
File Version:    1.0
Description:     Util-WPS-Scale

The line in compile.cmd can be adjusted of course, see addtofile.cmd. You could also directly add something like the contents of description.lnk to the makefile too, just that addtofile.cmd gets the date, time and machine dynamically.


13
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 10, 2024, 05:05:32 am »
Quick adaption of the log to GnuMake,
Code: [Select]
# nmake makefile
#
# Tools used:
#  Compile::Watcom Resource Compiler
#  Compile::GNU C
#  Make: GNU make
all : scale.exe

scale.exe : scale.obj
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf FIL SCALE.obj

scale.obj : scale.c
wcc386 SCALE.C -i="G:\WATCOM\h;G:\WATCOM\h\os2" -w4 -e25 -zq -od -d2 -6r -bt=os2 -fo=.obj -mf

clean :
rm -rf *exe *res *obj

14
Programming / Re: Compiling PM Samples with OpenWatcom
« on: June 10, 2024, 04:50:48 am »
I just used the IDE to compile Util-WPS-Scale with the defaults plus PM program chosen. Here's the log.
Code: [Select]
cd H:\tmp\UTIL-WPS-Scale
wmake -f H:\tmp\UTIL-WPS-Scale\Util-WPS-Scale.mk -h -e
wcc386 SCALE.C -i="G:\WATCOM/h;G:\WATCOM/h/os2" -w4 -e25 -zq -od -d2 -6r -bt=os2 -fo=.obj -mf
wlink name Util-WPS-Scale d all sys os2v2 pm op m op maxe=25 op q op symf @Util-WPS-Scale.lk1
Execution complete

The IDE also left the makefiles. Works a bit different then GNU make, includes mk files and lnk files etc, directory listing afterwards,
Code: [Select]
Directory of H:\tmp\UTIL-WPS-Scale

 6-09-24  7:39p         <DIR>    124 ----  .
 6-09-24  7:38p         <DIR>      0 ----  ..
 6-09-24  7:26p           169    124 a---  compile.cmd
 6-09-24  7:39p           262      0 a---  dir.out
 6-09-24  7:26p           114    124 a---  FOO.CMD
 6-09-24  7:26p           146    124 a---  IBMC.CMD
 6-09-24  7:26p           145    124 a---  LINKUP.CMD
 6-09-24  7:26p           298    124 a---  makefile
 6-09-24  7:26p           351    124 a---  README.md
 6-09-24  7:26p         7,408    124 a---  SCALE.C
 6-09-24  7:26p           176    124 a---  SCALE.DEF
 6-09-24  7:26p        59,844    124 a---  scale.ico
 6-09-24  7:30p         8,111      0 a---  SCALE.obj
 6-09-24  7:26p         4,495    124 a---  SCALE.txt
 6-09-24  7:30p         7,140      0 a---  Util-WPS-Scale.exe
 6-09-24  7:30p            17      0 a---  Util-WPS-Scale.lk1
 6-09-24  7:30p         9,648      0 a---  Util-WPS-Scale.map
 6-09-24  7:30p           115      0 a---  Util-WPS-Scale.mk
 6-09-24  7:30p           737      0 a---  Util-WPS-Scale.mk1
 6-09-24  7:30p         7,897      0 a---  Util-WPS-Scale.sym
 6-09-24  7:30p           418      0 a---  Util-WPS-Scale.tgt
 6-09-24  7:31p           292      0 a---  Util-WPS-Scale.txt
 6-09-24  7:30p           254      0 a---  Util-WPS-Scale.wpj
 6-09-24  7:26p           236    124 a---  WAT.CMD
 6-09-24  7:26p         <DIR>    124 ----  wiki
       25 file(s)     108,273 bytes used

Try it using the IDE, File-->New Project, name it, then Sources-->New Source and browse to SCALE.C.
Then Targets-->New Target, and choose PM app etc, then press F5.
This will give you the basic commands to build.
If you want to use GnuMake, you can see the needed commands from the log to adapt the makefile. You could have multiple targets in the makefile, one for GCC and one for OW or two makefiles.
From the IDE you can also adjust the build flags etc, or read the documentation.

15
Events / Re: Warpstock Europe 2040 Follow Up
« on: June 08, 2024, 07:31:08 am »
SeaMonkey along with my extensions, plays the videos here. Rest of the page doesn't display though.
I have NoScript blocking everything except youtube.com and google.video.com and uBlock Origin.
Tried VLC too, lot of certificate errors and the video seemed to hang frequently, perhaps not enough bandwidth

Pages: [1] 2 3 ... 325