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

Pages: 1 [2] 3 4 ... 15
16
Hardware / Re: Mouse, Trackpoint, Trackpad, Touchpad - I2C Question
« on: October 30, 2024, 08:41:01 am »
Thanks Mentore for taking a look at it.

I feel ashamed of myself that I just found out that I2C exists and the wikipedia page says it is from 1982.

Why I want to know more about I2C and be able to take some kind of hardware report from it? I would like to see if just like pci.exe we can recognize the several trackpoint/trackpad brands/moedls like Synaptics, Elan or ALPS that we usually have on Thinkpads.

Regards

This is indeed interesting because I2C is a nasty little creature lying and working under the hood. I really am not sure if there's something under OS/2 able to directly work on it, even as a bunch of IOCTLs (I am rather sure it needs a ring 0 driver).

Hobbes archive contains basically 0 elements, the same goes for eCSoft/2 so I'm afraid we're in the same situation of the bluetooth stack. Sad but we get to work with what we have available.
Mentore

17
Hardware / Re: Mouse, Trackpoint, Trackpad, Touchpad - I2C Question
« on: October 29, 2024, 08:18:33 am »
Hello

At Warpstock I was talking to Lewis about ArcaOS mouse support, and how annoying is the issus that we love the trackpoint, but the trackpad (touchpad) is a problem to us because we don't have the "Ignore Palm rest" feature that the Thinkpad utilities support. Yes, we can disable the trackpad if it is available on the BIOS, but I said that it will be more elegant to have a way to disable with software (like in other platforms).

Lewis talk about that the Trackpoint and Trackpad is connected via I2C and that I may open a ticket to see if AMouse may support to disable the trackpad in the future.

But I want to know more about I2C.  (I guess is this one https://en.wikipedia.org/wiki/I%C2%B2C )
- Is there a way to list (just like pci.exe or lsusb.exe) the devices that are plugged in I2C ? Under OS/2, or even Windows.
I would like to know if there is a way to recognize which chipset is installed on my machine and see which models are the most common for us.

Regards

Hi Martin,
I found this for now:
https://github.com/mozilla-b2g/i2c-tools/blob/master/tools/i2cdetect.c

Since this uses the linux kernel, it may be impossible even to compile it under OS/2.
Let me take a look later in the morning (here in Italy it's 8.18 AM).
Mentore

- Update -
As I thought, no results.
All projects use some special Linux OS driver, so I can't even start compiling.

Mentore

18
General Discussion / Re: Resource Compiler - Joke
« on: October 26, 2024, 05:35:36 pm »
There are too few coders for OS/2 for this situation to be real.  :) And standardizing the resource compiler is a good idea.

Well, I'm afraid that would be no joke either. Actually though, I think we could use a single resource compiler.
What would be the standard? We may start from the latest WRC, but where do we want to go?

(Clearly I'm no expert in this part. So bear with me if I touch an already clear point.)

Mentore

19
Programming / Re: harfbuzz (TeX Live)
« on: October 18, 2024, 10:20:34 am »
Hi Mentore

Iirc Has Ko a port from meson

Ah that's good! I didn't know it. Great job, Dave!

Quote
Just wonder did you port Harfbuzz static or shared ?

Greetz Tellie

Usually I build only static libraries - I'm not sure where I read it's best not to build shared libraries.
I'll give it a try, I think - by the way I'll put my work on HobbesArchive ASAP.

(In the meantime I almost completed TeX Live! Hope I'll have it done the next week.)

Mentore

20
Programming / Re: harfbuzz (TeX Live)
« on: October 17, 2024, 12:12:07 pm »
Yeah was about to ask what your CFLAGS are :) good stuff for working it out.

Thanks Paul, indeed I should have thought about it before :)
by the way: harfbuzz compiled OK, I'm trying to build TeX Live. Fingers crossed...

21
Programming / Re: harfbuzz (TeX Live)
« on: October 17, 2024, 10:26:18 am »
Possibly related to freetype2's TT_OS2 struct?
Harfbuzz is used along with freeetype2 and fontconfig, it does fine spacing between fonts and heights of ascenders and descenders or similar. Important in some Indian scripts and perhaps some Middle Eastern scripts.

The Mozilla harfbuzz does have this to quiet some stderr spamming, from hb-private.hh
Code: [Select]
#ifndef HB_INTERNAL
# if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#  define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
#  define HB_INTERNAL
# endif
#endif

This may be useful. Gonna try today as soon as I have time.
Mentore

Didn't find this header in the current source tree, but I got a hint and #undef-ined OS2 from CFLAGS and CPPFLAGS.
Built without errors, just some warnings.

Will let you know how far I reach in TeX.

Mentore

22
Programming / Re: harfbuzz (TeX Live)
« on: October 17, 2024, 10:01:35 am »
Possibly related to freetype2's TT_OS2 struct?
Harfbuzz is used along with freeetype2 and fontconfig, it does fine spacing between fonts and heights of ascenders and descenders or similar. Important in some Indian scripts and perhaps some Middle Eastern scripts.

The Mozilla harfbuzz does have this to quiet some stderr spamming, from hb-private.hh
Code: [Select]
#ifndef HB_INTERNAL
# if !defined(__MINGW32__) && !defined(__CYGWIN__) && !defined(__OS2__)
#  define HB_INTERNAL __attribute__((__visibility__("hidden")))
# else
#  define HB_INTERNAL
# endif
#endif

This may be useful. Gonna try today as soon as I have time.
Mentore

23
Programming / Re: harfbuzz (TeX Live)
« on: October 17, 2024, 10:00:26 am »
Mentore posted the error already. Harfbuzz is at hrafbuzz.org. Guess they've moved to Meson for building otherwise I'd try

Right you are David. I was thinking about porting Meson, but it seems a lot of work. Still I intend to give it a try.
In the meantime harfbuzz is still buildable with the old CMake stuff.

Mentore

24
Programming / harfbuzz (TeX Live)
« on: October 16, 2024, 02:08:41 pm »
Hello all,
I'm in the process of compiling the latest version of TeX live for OS/2.
I just stopped with a really strange error (make log attached) regarding namespaces and I can't wrap my head around it.
Searching this forum for harfbuzz I found it in the wonderful Qt6 development thread from the GOAT, Paul Smedley, so the question is:
is harfbuzz somehow available under OS/2? Or, on a second instance, is it possible to work around this (for me) never seen problem?

I feel we could use a new TeX version...

Thanks all
Mentore

25
Too bad. I only fixed SDL2. I cannot even find the SDL that we use.
Maybe it's time to build a version of dosbox that uses SDL2.

Hmm, looking, DosBoxes last release was 5 years back, so likely no SDL2 support though I didn't find build instructions.
There are forks such as DosBox-X, https://dosbox-x.com/ which would be nice to have. Even it comes with an intree heavily modified SDL as well as support for SDL2. This one would be nice to have as it is expanded to run most DOS apps including Win9x.
There is also SDL3 now

SDL3 would be a good add-on to our video libraries. What is really sad is the lack of OpenGL support - though I guess it is almost useless without a real accelerated video driver. But alas, an OpenGL comeback on OS/2 would allow porting many applications. I know - we are a little community.

But let me dream  8)

Mentore

26
Programming / Re: Classic, Regina, Object and Open Object Rexx
« on: October 03, 2024, 08:17:29 am »
Is Open Object Rexx (by RexxLA) what was/called NetRexx? I vaguely remember some presentation on some Warpstock Europe some time ago...

AFAIK, Andi, NetRexx was/is (?) something related to Java: quoting the NetRexx website
"NetRexx is a general-purpose programming language inspired by two very different programming languages, Rexx and Java."

Though I feel Netrexx and ooRexx have many things in common, ISTR there is also a converter from / to Netrexx under OS/2.

Mentore

27
Internet / Re: HTTPS server?
« on: October 02, 2024, 08:56:34 am »
I don't think there are any choices on OS/2 other than apache2

Did anyone take a look at nginx?
(I should go look at it, BTW - it's really good for things like reverse proxy).

Mentore

28
Programming / Re: Classic, Regina, Object and Open Object Rexx
« on: October 02, 2024, 08:00:32 am »
Fairly complete description, Jan-Erik. Thanks.
Some of these details I didn't know very well - as far as I can remember, Object REXX was heavily criticized on Warp 4 and almost never used - I stayed on Classic REXX, like many of us.
I also used DrDialog and GPF Rexx (too bad they're discontinued) to build some fancy apps for my theatre activities and boy, was it fun.

I'm currently too involved in porting OS/2 apps from the open source entourage so I don't have time, but in the future I'm willing to write some other useful GUI application in REXX, mostly for my activities as a musician and electronic engineer.

The interesting part of REXX on OS/2 is its integration with the system and SOM - I see many similarities between {OS/2, SOM, REXX} and the .NET environment on Windows and Linux with its Powershell scripting language, though I prefer the more elegant REXX syntax (Powershell can really be a drag). So yes, being able to integrate Regina or ooRexx with OS/2 (and SOM) would give us a big step forward.

Mentore

29
Programming / Re: [GCC] Unable to define getMemorySize()
« on: October 01, 2024, 08:14:11 am »
Last update: yes, getrusage is available in our libc. Compiling it - will test this binary asap and - if it works as I expect - it's going to HobbesArchive.
Mentore

Seems like our getrusage does not return any memory size information, only use of time ("ru_utime", "ru_stime").
I suspect this is not what you are looking for.
As to memory: Rich Walsh has elaborated somewhere in this forum about what the various memory sizes mean and how they play together:

https://www.os2world.com/forum/index.php/topic,3445.msg41758.html#msg41758

It would be nice if we could get that added to "getrusage".

This is pretty interesting. I did a little testing of the executable and found it works (at least to some extent), but - since it still doesn't launch any graphical interface like gnuplot - I'll surely have to get back to it.
What's sure is that I need to know what actually getrusage does (or, for what's worth, GetProcessInfo from the Win32 counterpart) - the other methods in that function involve using the /proc interface which OS/2 allegedly doesn't implement.

Mentore

30
Programming / Re: [GCC] Unable to define getMemorySize()
« on: September 30, 2024, 12:19:06 pm »
Last update: yes, getrusage is available in our libc. Compiling it - will test this binary asap and - if it works as I expect - it's going to HobbesArchive.
Mentore

Pages: 1 [2] 3 4 ... 15