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 - Steven Levine

Pages: [1] 2 3 ... 6
1
Hardware / Re: Smart Hard Drive Monitoring on AOS 5.1.1
« on: August 05, 2025, 09:18:06 pm »
Dan,

I recommend you hold off until the netlabs server is fully back online.  My testing indicates that this is not yet happened.  URLs that were available before the server went down are not yet visible including http://rpm.netlabs.org/release/ which is the top level directory for the released rpms.  The same is true for http://rpm.netlabs.org/experimental/.

It's possible Adrian needed to take the server offline to finish up the recovery.

2
Article Discussions / Re: Games with older SDL and FSLIB
« on: July 18, 2025, 07:21:23 pm »
Dave,

Do you mean token?  Github switched over to token based passwords several years ago.

https://github.com/settings/tokens

3
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 07, 2025, 10:31:59 pm »
Are your C functions statically linked into agena.exe?  It's not clear from your example.

If your C functions are linked into agena.exe or are in a DLL linked to agena, baring defects, the code should work as you expect.

While sock only has a value during the function call, you have exported the value to L and I assume the exported value is global and persistent.

I recommend adding a bit of debugging code to printf the value of sock in both functions.

Just returning from a function call is not going to close the socket.  The socket will stay open until explicitly closed by your code or when the executable terminates.

You can watch the state of the socket with netstat -s.

To understand how kLIBC maps sockets to file handles see:

  src\emx\src\libsocket\socket.c:41
  int socket(int af, int type, int protocol)

at

  https://github.com/bitwiseworks/libc

4
Programming / Re: Networking: socket() returns positive `non-socket`
« on: July 07, 2025, 02:42:50 am »
As Dave mentioned, we need know a bit more about your development setup and build options.

Since you are building with gcc, I'm going to assume for now that you are building with kLIBC and you are using the most recent versions of libn0.dll and libcx0.dll from the netlabs repos.

You should be using the OS/2 toolkit headers provided by the libc-devel package.  They work better with gcc and kLIBC than the IBM supplied headers.

FWIW, addsockettolist and removesocketfromlist are documented and they are used by kLIBC.  kLIBC needs them to implement fork().

Another FWIW, I have seen the ENOTSOCK failure mode when running git against large repositories on a busy system, but perhaps not for the same reason you are.  In my case the failure is intermittent and retrying the git operation when the system is less busy typically avoids the failure.

Note that OS/2 has separate namepaces for sockets and file handles, unlike Linux.  kLIBC emulates the Linux way to make porting apps simpler.  This requires using kLIBC for all file and socket operations.

5
Internet / Re: Dooble releases-Qt6
« on: June 07, 2025, 10:16:28 pm »
SWAPPATH has nothing to do with available address space.

6
Programming / Re: Qt6 Development
« on: June 07, 2025, 10:14:45 pm »
Have you discussed the with BitWiseWorks?

7
Programming / Re: Qt6 Development
« on: June 07, 2025, 06:19:46 pm »
Martin,

What is your definition of mainstream?  An rpm in some pubic repository or something else?

8
Internet / Re: Dooble releases-Qt6
« on: June 07, 2025, 09:35:53 am »
Neil,

I recommend you verify your VIRTUALADDRESSLIMIT setting.  Your mem /v output:

 Available virtual memory:   1,424 MB

looks to me like I would expect it to appear for VAL 1536.

9
Programming / Re: EDM/2 - The API Project - Undocumented
« on: May 27, 2025, 08:42:25 pm »
My choice would be DevHlp_RAS for assembler usage and for DevHelp_RAS for C usage because these are what you will find in pdd.ref and the DDK sources.

FWIW, the references you found to DevHlp_AddTraceEvent and DevHlp_SysTrace in the SMP Addendum are not Device Help definitions.

DevHlp_AddTraceEvent is the description the writer chose for Hook ID 61/34 which represents a location in the kernel code.  I've yet to find any actual Device Helper related code that actually uses this symbol.

DevHlp_SysTrace is part of a comment in the assembly language example for dh_PerfSysTrace.  Again, I've yet to find any actual Device Helper related code that actually uses this symbol.

It probably cannot hunt to mention these alternative references to DevHlp_RAS and DevHelp_RAS, although I'm not sure how I would describe why they exist.

10
Applications / Re: [Arca Noae] Dynamic Icons version 2.5.6
« on: May 25, 2025, 08:44:07 am »

11
Applications / Re: Lotus 123 + organizer - OLE
« on: May 24, 2025, 12:57:22 am »
There is also

  IBM Lotus SmartSuite for OS/2 Warp 4 Release 1.7 Fixpack 3

12
Applications / Re: Lotus 123 + organizer - OLE
« on: May 24, 2025, 12:44:07 am »
Here's a copy of Suite15.txt

13
Applications / Re: SFTP client
« on: May 23, 2025, 06:12:10 am »
There's no problem calling C code from C++ as long as the declarations are properly wrapped in extern "C" blocks.

We don't have a get_pid, but we do have getpid which libc defines in sys\process.h and it is properly wrapped.

14
Applications / Re: SFTP client
« on: May 23, 2025, 05:12:51 am »
Sorry for the bad link.  It was a leftover from the early development testing.

1.1 is the current version.

BTW, I missed the GUI requirement.  Unfortunately, SFTPClient is a VIO app.

15
Applications / Re: SFTP client
« on: May 22, 2025, 08:46:57 pm »
Have you considered Peter Moylan's SFTP client?

  ftp://anonymous@ftp.pmoylan.org/FtpServer/SFTPClient_0.1.zip

See

  http://www.pmoylan.org/pages/os2/FtpServer.html

for more details.  Peter supports these via the

  Moylan FTP Server Mailing List <ftpserver-list@os2voice.org>


Pages: [1] 2 3 ... 6