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 ... 365
1
Article Discussions / Re: Games with older SDL and FSLIB
« on: Today at 07:35:18 pm »
Ok, if I knew more German, the comment might have clued me in :) I uncommented the #include <unistd.h>, commented the #include <getopt.h> added a couple of LIBS and the compile finished.
Have to test later as have to go out.
There's still the problem of it wanting to be installed to an absolute location, /usr/local by default, to find its data.
German comment,
Code: [Select]
#if HAVE_GETOPT
/* Laut man-page muss man <unistd.h> includen, wenn man getopt() verwenden
   will. Laut gcc <getopt.h>. gcc sitzt am lõngeren Hebel... */
#include <unistd.h>
//#include <getopt.h>
#endif

I should have looked at the headers too, it's how I fixed the ngettext() problem I also had.

2
Article Discussions / Re: Games with older SDL and FSLIB
« on: Today at 05:59:44 pm »
Thanks a lot Dave for your time !!!

Abusing again of it  ;D Can you please check Cuyo to see if it compiles?
- https://download.savannah.gnu.org/releases/cuyo/cuyo-2.1.0.tar.gz

Regard

Hi Martin, ran into problems with getopt()
Code: [Select]
make[2]: Entering directory 'H:/tmp/cuyo-2.1.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -Ih:/tmp/SDL/h -Ih:/tmp/SDL/h/SDL -DPKGDATADIR=\"/usr/local/share/cuyo\" -DLOCALEDIR=\"/usr/local/share/locale\"   -Wall -W -ansi  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function 'void scanOptionen(int, char**)':
main.cpp:183:47: error: too many arguments to function 'int getopt()'
  183 |   while ((opt_chr = getopt(argc, argv, "dhg:f")) != -1) {
      |                                               ^
In file included from main.cpp:32:
W:/usr/include/getopt.h:166:12: note: declared here
  166 | extern int getopt ();
      |            ^~~~~~
make[2]: *** [Makefile:524: main.o] Error 1

For the hell of it I tried removing the "dhg:f" and it didn't get much further,
Code: [Select]
make[2]: Entering directory 'H:/tmp/cuyo-2.1.0/src'
g++ -DHAVE_CONFIG_H -I. -I..  -Ih:/tmp/SDL/h -Ih:/tmp/SDL/h/SDL -DPKGDATADIR=\"/usr/local/share/cuyo\" -DLOCALEDIR=\"/usr/local/share/locale\"   -Wall -W -ansi  -MT main.o -MD -MP -MF .deps/main.Tpo -c -o main.o main.cpp
main.cpp: In function 'void scanOptionen(int, char**)':
main.cpp:183:38: error: too many arguments to function 'int getopt()'
  183 |   while ((opt_chr = getopt(argc, argv)) != -1) {
      |                                      ^
In file included from main.cpp:32:
W:/usr/include/getopt.h:166:12: note: declared here
  166 | extern int getopt ();
      |            ^~~~~~
make[2]: *** [Makefile:524: main.o] Error 1

Unluckily I'm not knowledgeable enough to get past this.

3
Command line to open System Setup, adjust drive letter as needed.
Code: [Select]
oo /O "W:\Desktop\Computer\System Setup" Ioo -h for usage[/code]

4
> System Setup

That came up today, in my play.

I couldn't figure out how to find that in PM, or start it on the command line.

Can I buy a vowel?

In AOS, it is in Computer (Desktop-->Computer) and a shadow in the xcentre, middle icon to the right of the CPU usage widget. Older OS/2's, it would be on the desktop.
You can't easily open it from the cmd line. The WPS keeps most of its info in Extended Attributes (xattr's) and the ini files. Do a dir /s on your desktop and you'll see mostly directories with lots of EA's and empty files.

5
Setup & Installation / Re: Reading a usb thumb drive on arcaos 5.1.1
« on: July 15, 2025, 03:45:38 am »
Looking at my comment again, my recommendation to anyone would probably be, after using diskinit, reboot.

Maybe you shouldn't have to, but I think something somewhere wasn't getting cleared or refreshed.

You shouldn't have to as ejecting (or pulling if eject doesn't appear on the widget), waiting a few seconds and reinserting should be good enough.
Still, there's been times that a stick doesn't seem to work, then after a reboot it does.

6
Setup & Installation / Re: Reading a usb thumb drive on arcaos 5.1.1
« on: July 15, 2025, 01:18:43 am »
Yes, the wiki does seem to need to be better about how to format. I'll pass on your suggestion. Another suggestion is using pmformat.

7
Ok Doug, I love to play with ThinkPads, $50 is an ok impulse buy.

Spec's say it can take 16GB, with ArcaOS be unhappy if it finds more than 4GB, or would it just ignore?

ArcaOS will give you the option to use the 12.5 GB's (usual is about 3.5GB visible to the system) as a ram disk. System Setup-->Ram Disk. Otherwise, it'll ignore it.
I like using JFS on my ram disk. It is a bit tricky to set up, so ask if the default choices of FAT32 or HPFS aren't acceptable.
The ram disk isn't the fastest due to the overhead of entering and exiting PAE, but handy for a scratch disk and for tmp files

8
Weren't some of these T4x BIOS's locked to a limited list of hard drives?

9
Setup & Installation / Re: pscom.sys proper way to pass args
« on: July 12, 2025, 11:56:01 pm »
If it is crashing when a sound plays, sounds like an IRQ conflict, strange.
Are you using ACPI or APM? I found on my T42 APM worked much better with everything except hibernation supported out of the box.

10
Setup & Installation / Re: Reading a usb thumb drive on arcaos 5.1.1
« on: July 12, 2025, 11:52:56 pm »
Will adding the LVM information cause Windows to be unhappy?

Is there an article or video that uncovers where the LVM information is stored and what it includes?

It's fine, located in a hidden area of the MBR/EBR and nothing has ever complained about it, including cameras and old MP3 devices as well as Windows and Linux. Just don't use fdisk or similar on the disk after creating it on OS/2.
Note also that most sticks come from the factory formatted as large floppies (no partition table), which OS/2 only supports up to 2GB, so you do have to partition it on OS/2.
Worst thing is that our FAT32 driver is very slow.

11
Setup & Installation / Re: Virtual Serial Port?
« on: July 12, 2025, 11:47:21 pm »
I seem to recall, that PMFAX has something, but I don't remember the details.

There is also that old "alternate" serial driver. Again, my memory fails me.


Rodent? Should be on Hobbes. http://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/system/drivers/mouse/Rodent_1-0-13.zip which is the public domain version with source.

12
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 12, 2025, 05:41:39 pm »
I started trying to build it. Where to put the prerequisites was unclear, I did find a hint that perhaps ports. Seems the build system builds most of them during the main build. I was using my ram disk for this and backing it up now and again when Alex announced he was quitting OS/2 development so never asked any of the questions that were arising.
I was looking to figure out why swab() was declared twice even though guarded, probably by compiling with CFLAGS=-E to get the pre-processor output after the build failed. Never got that far.
I've uploaded my work in process to ftp://dry@ftp.os2voice.org/tmp/agena-5.1.zip. The prerequisites are in ports/ never did examine the makefile well enough to know if that is correct. mapmagena needed mapm of which I found a copy and built.
Good luck and I can play along if needed. Let me know when you've downloaded the source and I'll remove it.
Edit: typo

14
Web applications / Re: Dooble releases, Qt5 builds
« on: July 12, 2025, 01:26:05 am »
The question is how well our port handles drag'n'drop. I think within the browser it should work as long as you remember it uses the other mouse button to drag.

Pages: [1] 2 3 ... 365