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 - Andi B.

Pages: [1] 2 3 ... 57
1
Programming / Re: Classic, Regina, Object and Open Object Rexx
« on: October 02, 2024, 09:00:47 am »
Is Open Object Rexx (by RexxLA) what was/called NetRexx? I vaguely remember some presentation on some Warpstock Europe some time ago...

2
Internet / Re: firefox question
« on: September 26, 2024, 05:58:08 pm »
Quote
Search for cache for other preferences while wondering why this stuff is no longer in the options.
This is one reason I like to stay with SM. These FF folks tend to change (and hide) things only cause they can.....

3
Internet / Re: firefox question
« on: September 26, 2024, 04:25:59 pm »
With Seamonkey there is Options - Advanced - Cache where you can limit max. size and directory where cache should be stored.

4
Events / Re: Warpstock 2024: Coming? Not Coming? Why?
« on: September 12, 2024, 10:43:13 am »
Quote
Coming?
No.

Quote
Why?
Lot of reasons. To far for me. I never ever was in America and think will never. Would have to spend at least 1 week of holiday without my family which I don't want for a hobby. I've a full time job with limited holidays. And it would need a big (huge) amount of money for traveling and accommodation.

I also lost some interest in ArcaOS. Partly because it's getting harder to do what I want with my systems (OS/2 limitations, browser, ...), partly because I don't spent so much time with computers in general than the decades before. I still use OS/2 and ArcaOS and sometimes like to code for this platform. But not whole nights anymore.

Personally I don't have any need for wifi drivers anymore. Neither UEFI or high DPI displays. I can live without that. I don't use notebooks very much but when I do then they run linux primarily. Although I test it, I don't use OS/2 on modern notebooks. 

Probably I will setup my next desktop system again with the primary OS being ArcaOS. But it have to run beside some Linux and Win installations. Thanks ArcaNoae I still can use OS/2-ArcaOS on rather new desktop hardware. Otherwise I had quit using OS/2 years ago. But still with a working desktop system, today I need some Linux boxes around which I connect via RDP/git/....

5
...
@Andi, the OpenWatcom debugger won't work, need to use a native debugger.
I thought I had it up and running long time ago. But maybe my memory is wrong.

What I did some time ago was booting up to command line with netbios drivers enabled and the watcom debug/netbios driver and remote debugged a cli program from another machine with wdw. I saw (wdw told me) that my cli program wanted to call a ..... (?) function which wasn't available when booted up only to cli without pmshell.

6
Lars, do you have any chance to start it in OpenWatcom Debugger (wd.exe)?

7
Quote
Unfortunately it is not possible to use PMDLL when booted to a commandline, and I don't know about an existing VIO-equivalent.
chkdll32.exe. Not tested if it works from ALT-F1.

8
Quote
BTW, libc seems to use _system, not __system__
I also wondered where the leading and trailing __ coming from. You see above I used _System which something magically changed to __system__. The same goes with other such attributes. cdecl is converted to __cdecl__ and so on IIRC. If an attribute is not recognized f.i. 'system' the error message is different.


9
Hi/2.

You can append `asm("variable_name")' to a variable declaration like:

Quote
__attribute__ ((dllexport)) extern const char *NdpTypes[] asm("NdpTypes");

You can use `__asm__' instead of `asm'.

For details, see http://trac.netlabs.org/libc/wiki/Faq#Howtodeclareavariablesoitwontgetanunderscore and https://gcc.gnu.org/onlinedocs/gcc/Asm-Labels.html.

Thank you so much. This works, though I've to test even more.

Quote
_System
I get -
Code: [Select]
./h/ndextpl2.h:354:102: error: '__system__' was not declared in this scope
  354 | extern const char __attribute__((visibility("default"))) __attribute__ ((dllexport)) __attribute__ ((_System))*NdpTypes[];
with that. As with a lot of other combinations I tried.

.def file - the whole thing started as I could not find out how to convince
Code: [Select]
g++.exe (GCC) 9.2.0 20190812 (OS/2 RPM build 9.2.0-5.oc00)to use a .def file. So I thought it's more clear to put such thing straight into the code.

Thanks for all inputs.

10
Browsers like Seamonkey or Firefox with the versions we have still support ftp://user:pwd@server....

Not sure if we ever had a port of Filezilla.

ftp.exe cli or ftppm (or was it pmftp.exe?). At least with Warp connect these should be included anyway.

11
I tried various combinations of dllexport (which seems to be mandatory to export the symbol) and stdcall cdecl... But I ever end up with exporting _NdpTypes instead NdpTypes. I was under the impression that c++ don't add the _ but obviously I misinterpreted some stuff.

Another idea, is there any emx tool which can modify the exported symbols? Or add a new symbol to a dll which references to the orignal?

Btw. this all started cause I didn't manage to convince c++/linker to work with a .def file as it was used with icc or watcom. You know I'm not experienced with all this stuff so there is much guessing on my side.

12
I do not use MATE currently, but I think that mate-session-save might be the thing you are looking for.
Unfortunately this is not what I'm looking for. I like a window manager or program which stores the window positions and sizes on the desktop when the program is closed and restores it when the same program it started again. F.i. when I start Semonkey the browser window takes always about 1500x1000 pixel at position x, y 200, 200 (from bottom left) whereas the email window is sized about 800x1000 pixel at 2500x1300 and the calendar (lightning) window is below the email window at about 2500x200 sized 1200x800.

This is (was) the standard behavior with OS/2 and until Win7 I think.

13
Hardware / Asrock B550M Pro4 - anyone tested this?
« on: July 09, 2024, 01:17:38 pm »
This board looks pretty good to me regarding all the interfaces I like. Anyone tested this in CSM/legacy mode with a Ryzen 7 with integrated graphic (5700G I wanna have)?
- Memory available to OS/2 > 3GB?
- Ryzen 7 graphic with Panorama and 3840x2160 working?
- M2 slots working for boot device?

I know there is a thread about the B450M Pro4 but B550M Pro4 I would like.

14
Off Topic discussions / Which Linux desktop for long time OS/2 users?
« on: July 07, 2024, 12:30:18 pm »
I've played a bit with Linux systems in the last months and I'm a bit familiar with Debian now. I've a NAS running Debian and OpenMediaFault which also serves my git repositories. I'm also running a Debian box with MATE which I connect with RDP from my main OS/2/eCS/ArcaOS system when I need a newer browser.

MATE is not a bad choice. But what I didn't find with any Linux I tried until now is, how can I convince the desktop to remember the window position of my programs. I understand there are people outside there who work on very small displays like with notebook and they 'full screen' every program the use. But I'm used to big displays. 2 times 24" at least or 42.5" are my standard displays. I need a window manager like the WPS who respect my needs. Not the needs of smartphone junkies or notebook users only. My mail window have to stay near top right. Chatzilla near bottom right (but not below or over some task bars). Browser windows near the center/bottom. Various other programs have to be placed on the different places I closed them last time.

Which Linux window manager or which setting can do that the way it was standard the last decades? Did I overlook some setting or helper program? On later Windozes I've to use a WindowManager utility for this. At least there is a solution. But on Linux?

Btw. RDP should work too. I remember that's the reason I didn't test KDE plasma and Gnome at first as I understand they use Wayland which TTBOMK does not work with RDP.

15
I'm trying to build a dll which should export some functions and global variables. I made this long time ago I think with our gcc3.xx but now want to do the same with our g++.exe (GCC) 9.2.0.

I think exporting symbols is disabled now by default so I added to the functions I want to export
Code: [Select]
__attribute__ ((dllexport)) which works fine. Now when I look at my dll with
Code: [Select]
lxlite /C:exp myown.dllI see the exported functions as I expected.

But my global variables still have the C naming convention leading _ which I don't like. F.i. I have -
Code: [Select]
00048 │ _NdpAttribute
00049 │ _NdpPropertiesInfo
00050 ┴ _NdpTypes
but I wanna have them without the _

The variables are defined that way -
Code: [Select]
__attribute__ ((dllexport)) extern const char *NdpTypes[];and I use g++ instead gcc. So I thought it should work the same as with the functions (they don't have the _).

Any thoughts?


Pages: [1] 2 3 ... 57