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 ... 353
1
Programming / Re: [Classic REXX] Network Map
« on: Today at 01:27:03 am »
I added, first 127.0.0.1 ARCAOS-44454C4 to my hosts file, which was 4MB, then things went further but the script failed as it was pinging 27.0.0.x. Then I changed to a minimal hosts file with the same, it checked the 127.0.0.x range. Then I changed it to 192.168.0.100 ARCAOS-44454C4
Code: [Select]
H:\tmp>macaddr.cmd
ARCAOS-44454C4: 192.168.0.100: 70:20:84:0e:35:53
I guess I misunderstood what the script was supposed to do as I thought it would find all the machines on the local network, not just the ones in the hosts file.
Still a problem parsing the big hosts file, whether size or confusion from the ipv6 addresses I don't know.
You can get the hosts file,
Code: [Select]
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/hosts
Arca Noae says not to use such a large hosts file, though it seems to work fine here. Its purpose is to block ads, Facebook etc.

2
Programming / Re: [Classic REXX] Network Map
« on: March 24, 2025, 09:00:12 pm »
The script determine the IP-number from the machine that run the script.
Dave: Can it be something like 192.168.0.101 for your machine?

Either 192.168.0.101 or 192.168.0.100, yesterday it was 192.168.0.100

Quote
The script PARSE away the last part and then PING 192.168.0.1 to 192.168.0.255 and follow that by listing each with ARP
Could you please add
Code: [Select]
call trace '?i'before the first line that begin with '@HOST and step through the code and tell us?

Some of the PARSE lines may very well need tweaking depending on wrong assumptions made

Sure hard to redirect so copying and not including when I enter enter.
Code: [Select]
H:\tmp>macaddr.cmd
       >>>             "N"
   104 *-*           '@HOST' VALUE('HOSTNAME',, 'ENVIRONMENT') '2>&1|RXQUEUE';
       >L>             "@HOST"
       >L>             "HOSTNAME"
       >L>             "ENVIRONMENT"
       >F>             "ARCAOS-44454C4"
       >O>             "@HOST ARCAOS-44454C4"
       >L>             "2>&1|RXQUEUE"
       >O>             "@HOST ARCAOS-44454C4 2>&1|RXQUEUE"
       >>>             "@HOST ARCAOS-44454C4 2>&1|RXQUEUE"
       +++   Interactive trace. "Trace Off" to end debug, ENTER to Continue.

   105 *-*           Parse Value LINEIN('QUEUE:') With hostname.i ' = ' ipnumber.i;
       >L>             "QUEUE:"
       >F>             "HOST: unknown host ARCAOS-44454C4"
       >>>             "HOST: unknown host ARCAOS-44454C4"
       >C>             "HOSTNAME.1"
       >>>             "HOST: unknown host ARCAOS-44454C4"
       >C>             "IPNUMBER.1"
       >>>             ""

   106 *-*           last = STRIP(ipnumber.i);
       >C>             "IPNUMBER.1"
       >V>             ""
       >F>             ""
       >>>             ""

   107 *-*           j = 1;
       >L>             "1"
       >>>             "1"

   108 *-*           If VALUE('ACTIVE',, 'OS2ENVIRONMENT') = 1;
       >L>             "ACTIVE"
       >L>             "OS2ENVIRONMENT"
       >F>             ""
       >L>             "1"
       >O>             "0"
       >>>             "0"

   115 *-*           Else;
   116 *-*             Do;

   117 *-*               Parse Value last With major '.' minor '.' subnet '.' this;
       >V>                 ""
       >>>                 ""
       >>>                 ""
       >>>                 ""
       >>>                 ""
       >>>                 ""

   118 *-*               If DATATYPE(this, 'W');
       >V>                 ""
       >L>                 "W"
       >F>                 "0"
       >>>                 "0"

   126 *-*               End;
   127 *-*           hostname.0 = j - 1;
       >V>             "1"
       >L>             "1"
       >O>             "0"
       >>>             "0"

   128 *-*           End;
   134 *-*       j = 0;
       >L>         "0"
       >>>         "0"

   135 *-*       Do While QUEUED() > 0;
       >F>           "0"
       >L>           "0"
       >O>           "0"
       >>>           "0"
   136 *-*       Do i = 1 To hostname.0;
       >L>           "1"
       >>>           "1"
       >V>           "0"
       >>>           "0"
   172 *-*       Return retval;
       >V>         "0"
       >>>         "0"

H:\tmp>

3
For build machine, blank or perhaps something like generic? Don't know what asd is either. I abuse the fixpak to add a version number, eg v2.5.
You can use touch to change the date and time of a binary or any file. The -r parameter is interesting. touch --help.

4
I apologize, seems you can add the bldlevel info to a binary. Looks like the script would need to be extended to add a different date then current.

5
Not every user has to download Addtofile.cmd, just any developer wanting to build the package. Should be able to design the makefile to not error out if Addtofile.cmd isn't available too. Not sure how.

6
You understand that you have to rebuild the binaries after patching the makefiles to use Addtofile? Also I just noticed the license doesn't allow hosting the script on any servers so it would have to be downloaded by anyone rebuilding the binary.
Other then that, adding bldlevel info seems a good idea.

7
General Discussion / Re: OS2World Site Update
« on: March 23, 2025, 07:15:33 pm »
If you look at the user agent, you see the version of Chromium that each browser is using, the good Dooble is using Chromium 122, our Qt6 build is using 94. Likely all the Qt5 based browsers are using older Chromium too. I think that the older Chromium's just don't support the right elements.

8
Programming / Re: [Classic REXX] Network Map
« on: March 23, 2025, 06:22:26 pm »
Here, it finds nothing. Manually testing, I can ping the wife's Roku stick, so would expect that to be found at 192.168.0.102, same with my phone at 192.168.0.103

9
General Discussion / Re: OS2World Site Update
« on: March 22, 2025, 07:16:18 pm »
I wonder if I'm the only one who thinks such a login form look ugly.

It's a failure of our old browsers, even Dooble_Qt6 is to old.

10
General Discussion / Re: Brainstorm: What is Next with OS/2 ?
« on: March 22, 2025, 07:14:08 pm »
I think that David means pure cross compiling, building OS/2 exe's and dll's on Linux.
This is already possible on Linux using OpenWatcom, with a bit of work, it wouldn't be hard to compile Doodles screensaver on Linux as an example. Cmd build scripts would need to be rebuilt using sh scripts, not sure about the Rexx scripts but Linux supports Rexx or at worst ignore them (no bldlevel info), Warpin wouldn't work for packaging, otherwise quite possible.
Same could be done with GCC, at least in theory. People regularly build Windows programs on Linux.

11
General Discussion / Re: Brainstorm: What is Next with OS/2 ?
« on: March 22, 2025, 02:36:46 am »
  Have a possibly dumb question, not being a programmer: is it possible to produce OS/2 executables with GCC inside of Linux? If so, would make compiling large apps easier, no?

In theory, it is quite possible. In practice, it would mean recompiling most of our tool chain on Linux as Linux binaries as a start, using our headers and libs and who knows what else. How much porting would be required in the recompilation is unknown, we'd also be porting to 64bit. There may be a chicken and egg problem too, needing cross compiled tools to cross compile.

12
General Discussion / Re: Brainstorm: What is Next with OS/2 ?
« on: March 22, 2025, 12:18:23 am »
What would need to be changed in ARCAOS to have a modern network?

**ChatGPT Response:**
To implement or improve a modern network in ArcaOS, several changes and enhancements would be necessary, as ArcaOS (a development of OS/2) has a more limited network architecture compared to modern operating systems like Windows or Linux. Here are some key changes that would need to be made:

1. **Updating the Network Stack Software**:
   - **TCP/IP Stack**: ArcaOS uses the "IBM TCP/IP for OS/2" stack, which has not been maintained for a long time. Updating or switching to a more modern network stack (e.g., `inetd` or an open-source project) could improve network performance and compatibility.
   - **IPv6 Support**: The current TCP/IP stack in ArcaOS only supports IPv4. To support modern networks, IPv6 would need to be implemented or at least complemented with a compatible IPv6 stack.

This is really the main thing, most of the other points are already covered or things like WiFi, a different discussion.

13
General Discussion / Re: Brainstorm: What is Next with OS/2 ?
« on: March 21, 2025, 04:14:09 pm »
Another up coming problem is IPv6, which luckily for us is taking forever to catch on. Eventually we would need a new network stack.

14
General Discussion / Re: OS2World Site Update
« on: March 20, 2025, 07:17:12 am »
Hi Martin

Looks good in Seamonkey  :-)


Same, the new icon now shows up. The menu is at the top of the page instead of on the left, that's fine.
Good work.

15
Applications / Re: OO 4.1.11 trouble
« on: March 17, 2025, 12:38:37 am »
The one in \usr\lib\log is the logging version for debugging. Put back your original.
Perhaps reinstall and reboot? I take it you are using Pentium 4 as a platform.

Pages: [1] 2 3 ... 353