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

Pages: [1] 2 3 4
1
But when I connect from my OS/2 system a Linux host via FreeRDP they get the English keys instead the German ones.

Please try playing with the /kbd: switch in the latest version ( see http://os2.snc.ru/product-freerdp.html ). Something like this: /kbd:layout:0x00000407,lang:0x0407
All previous OS/2 ports were missing some function calls associated with this switch to configure the keyboard.

Note that lists of keyboards and languages can be obtained with the /list: switch.

2
Hardware / Re: The last nail in OS/2's coffin
« on: January 23, 2024, 03:57:00 am »
The crazy/drunk idea will be to grab a 64bits open source multi-kernel and make OS/2 run interpreted (not emulated) from it.

http://osfree.org/ - The beginning has already been made. As I understand it, most of the Dos* functions have already been implemented.

3
Hardware / Re: The last nail in OS/2's coffin
« on: January 22, 2024, 12:23:30 am »
Time to pay attention to the project http://osfree.org/  :)

4
In my opinion, it is a very bad idea to use varargs in exported functions.

It might be useful for you to see how a similar task is solved in libxml2:

File xmlwriter.c
/*
 * The following VA_COPY was coded following an example in
 * the Samba project.  It may not be sufficient for some
 * esoteric implementations of va_list but (hopefully) will
 * be sufficient for libxml2.
 */
#ifndef VA_COPY
  #ifdef HAVE_VA_COPY
    #define VA_COPY(dest, src) va_copy(dest, src)
  #else
    #ifdef HAVE___VA_COPY
      #define VA_COPY(dest,src) __va_copy(dest, src)
    #else
      #ifndef VA_LIST_IS_ARRAY
        #define VA_COPY(dest,src) (dest) = (src)
      #else
        #include <string.h>
        #define VA_COPY(dest,src) memcpy((char *)(dest),(char *)(src),sizeof(va_list))
      #endif
    #endif
  #endif
#endif


And SDL2. File SDL_vacopy.h
/* Do our best to make sure va_copy is working */
#if defined(__NGAGE__)
#undef va_copy
#define va_copy(dst, src) dst = src

#elif defined(_MSC_VER) && _MSC_VER <= 1800
/* Visual Studio 2013 tries to link with _vacopy in the C runtime. Newer versions do an inline assignment */
#undef va_copy
#define va_copy(dst, src) dst = src

#elif defined(__GNUC__) && (__GNUC__ < 3)
#define va_copy(dst, src) __va_copy(dst, src)
#endif


And use in your xPmPrintf something like that:
va_copy(local_va_list, given_va_list);
vsnprintf(..., ..., fmt, local_va_list);
va_end(local_va_list);


5
Applications / Re: ssh - sshd
« on: November 22, 2023, 11:31:42 pm »
sshd -D starts after the host keys are created (not sure what's the different between the above and ssh-keygen -A); but I can't login via password or by adding my private key to authorized_keys in my homedir). I'm using openssh-server from bitwise/netlabs; the latest to date.

I have the same problem. Has anyone managed to log in?

6
Storage / Re: JFS failing in a disastrous way - without the user knowing
« on: December 04, 2022, 11:28:25 pm »
it would be good if the original CPUTEMP warpin package would have been tested better

This issue was fixed a long time ago, right after the first reported problem. I recommend using the latest CPUTemp from the SystemLoad package: http://os2.snc.ru/product-SystemLoad.html

7
Applications / Re: Hardware Explorer
« on: June 29, 2022, 11:26:58 pm »

8
Applications / Re: Hardware Explorer
« on: June 15, 2022, 11:32:50 pm »
Not sure if you are still frequenting the forum or not, but for what it's worth (in case anyone else has encountered the same issue): plugging in my Samsung S9 phone to the display monitor's HUB immediately causes a trap in WPS...or to be more precise the HWEXP.DLL throws a trap which takes WPS down.
Download and unpack archive http://ftp.os2.snc.ru/in/hwexp-dbg.zip

Any news?

9
Applications / Re: Hardware Explorer
« on: June 14, 2022, 12:46:07 am »
Not sure if you are still frequenting the forum or not,

Hi.
Download and unpack archive http://ftp.os2.snc.ru/in/hwexp-dbg.zip into a separate directory. Install the debug version with
>install.cmd I
command. Then reproduce the problem, uninstall with
>install.cmd D
and email me the file G:\hwexp.dbg .
My email address can be found at http://os2.snc.ru/

10
Networking / Re: Squid Cache
« on: January 28, 2022, 12:54:11 pm »
Hi Digi,
Code: [Select]
Y:\>yum provides gssapi.dll

Thanks! For some reason anpm didn't show me this.

11
Networking / Re: Squid Cache
« on: January 27, 2022, 06:12:38 am »
What package is missing on my system to run squid?

C:\Programs\squid\sbin>chkdll32 squid.exe
Loading DLL 'libcn0' --> D:\UNIXROOT\USR\LIB\LIBCN0.DLL.
Loading DLL 'libcx0' --> D:\UNIXROOT\USR\LIB\LIBCX0.DLL.
Loading DLL 'gtls30' --> D:\UNIXROOT\USR\LIB\GTLS30.DLL.
Loading DLL 'tcpip32' --> C:\MPTN\DLL\TCPIP32.DLL.
Loading DLL 'gssapi' --> NOT loaded!
Unable to load DLL 'gssapi'.  DosLoadModule returned: 2
OS/2 reports 'GSSAPI' contributed to the failure.
Loading DLL 'krb5' --> NOT loaded!
Unable to load DLL 'krb5'.  DosLoadModule returned: 2
OS/2 reports 'KRB5' contributed to the failure.
Loading DLL 'com_err' --> NOT loaded!
Unable to load DLL 'com_err'.  DosLoadModule returned: 2
OS/2 reports 'COM_ERR' contributed to the failure.
Loading DLL 'doscalls' --> loaded.
Loading DLL 'pthr01' --> D:\UNIXROOT\USR\LIB\PTHR01.DLL.

12
Applications / Re: Creating some apps RPM packages
« on: June 22, 2021, 11:49:37 pm »
But I still haven't full started with the RPM installers. On my last attempts I got stuck with the WPS integration to create icons and set the properties of WPS objects (Path, working directory, etc). I usually get the answer that it works, but I'm doing it wrong, but nobody tells me how to do it right.

I do this using REXX scripts. This is called from the %post section of the .spec file for installation and from the %postun section for uninstallation. My restartwps.exe utility is also used to restart the desktop correctly.

My .spec:
ftp://os2.snc.ru/pub/freerdp/RPM/ofreerdp.spec

REXX scripts and restartwps.exe:
ftp://os2.snc.ru/pub/freerdp/RPM/spec-tools/

(see "restartwps.exe -?" for help)

13
Applications / Re: OS/4 (non technical issues)
« on: June 17, 2020, 02:38:18 pm »
It is very stupid to wage this war. OS/4 developers do not have any material benefit from their activities. OS/4 is a wonderful project, a huge number of problems have been fixed, the system has accelerated significantly. It has been repeatedly said that no IBM source codes are used.

The senseless confrontation only spends the strength of developers and distracts from useful work, for a small group of users of OS/2 the harm from this is enormous.

Let’s make efforts to develop the system, and not engage in dirty politics. This will benefit everyone - and Arca Noae whose system is improved through such third-party projects, and users get new opportunities.

14
Programming / Re: how to stay a window on top
« on: May 09, 2020, 05:21:58 pm »
And I still did not manage to float on top only between my program windows and windows of other programs can hide my top window. WS_TOPMOST is system wide.

As far as I remember, WXP / XPager uses a hook for these purposes ("Stay on top" option). Probably, standard methods for this are not provided.

15
Applications / Re: CPUTEMP
« on: March 10, 2020, 01:25:32 pm »
It looks like there was a mistake in the signature when building the previous version.
In reality, there are no changes in cputemp, it is only recompiled.

Pages: [1] 2 3 4