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.

Topics - Jochen Schäfer

Pages: [1]
Programming / Writing on console with WINDOWAPI
« on: July 08, 2021, 09:55:00 am »

Does someone know a way to write on the console if the application is of type WINDOWAPI?
For my Featherpad port, I have the problem, that the help text emitted with -h on console doesn't show up, but seems to be captured with the console redirection.
Any ideas?

Applications / FeatherPad for OS/2
« on: June 27, 2021, 03:57:34 pm »
I'm proud to annouce a full featured release of FeatherPad 0.18.0 for OS/2. I started to scratch an itch.
Head over here: There are two binary packages: One is just a zip of the needed files, one is an RPM. For the plain ZIP, you need to install Qt5 and Hunspell. The RPM should pull in the required packages.

FeatherPad (by Pedram Pourang, a.k.a. Tsu Jan is a lightweight Qt plain-text editor for Linux. It is independent of any desktop environment and has:

  • Drag-and-drop support, including tab detachment and attachment;
  • X11 virtual desktop awareness (using tabs on current desktop but opening a new window on another);
  • An optionally permanent search-bar with a different search entry for each tab;
  • Instant highlighting of found matches when searching;
  • A docked window for text replacement;
  • Support for showing line numbers and jumping to a specific line;
  • Optional selection highlighting;
  • Automatic detection of text encoding as far as possible and optional saving with encoding;
  • Syntax highlighting for common programming languages;
  • Ability to open URLs with appropriate applications;
  • Session management;
  • Side-pane mode;
  • Auto-saving;
  • Spell checking with Hunspell;
  • Printing;
  • Text zooming;
  • Appropriate but non-interrupting prompts;
  • Haiku OS support (by khallebal at GitHub);
  • macOS support (by Pavel Shlyak); and
  • Other features that can be found in its settings, on its menus or when it is actually used.

Have fun.

Games / PrBoom+
« on: June 05, 2021, 03:28:07 pm »
Hi guys.

I have ported PrBoom+, which is a source port of DOOM, running on SDL2.
I have put a prereleases package on my Github repo here:
In the archive, you find the two binaries for the game and the multiplayer server, as well as prboom.wad and the shareware version of Doom.
If you have the original DOOM games, you can put the WADs in the program directory or under /@unixroot/usr/(local/)share/(games/)doom.
If you want the midi to play, you need to download the timidity patches from here: and install them in /@unixroot/usr/(local/)share/timidity.

My plan is to submit all my bugfixes for SDL/2 and patches for PrBoom+ in the next days.
After that I want to package everything for easier installation.


Programming / Which debugger to use.
« on: August 12, 2019, 03:05:32 pm »
I want to check, if things are still working as they should in DosBOX/2.
I tried Watcom, but GUI one instantly crashes, when I run DosBOX. The VIO one does not do that, but I can't find an option to select sources.
When I started the port about 15 years ago, I used one of the IBM debuggers in the VAC 4 package, but I just have not been able to set it up correctly at the moment, so I have to really should take a deep dive into them.

So my questions is: Which debugger are you using for GCC compiled and Watcom linked, rpm only applications?
Any configuration recommendations?

Hardware / T420 and Intel 5100 Wifi
« on: March 29, 2019, 07:06:13 pm »
How to get the Intel 5100 Wifi working in the T420.

1.) If you want to replace non-working standard Wifi-Card in the mini PCI slot under the keyboard, only buy a half-size 5100.
2.) If you want to use the half-size slot, you have to patch the BIOS.
     a.) Install the newest BIOS (as of now 1.56)
     b.) Install the corresponding patched BIOS (Google it) EDIT: The patched BIOS needs the check for the Wifi white list removed.
3.) Install the card under keyboard in the half-size slot or in the full-size slot.
4.) If you have a Linux live cd, test the installation. Normally, it should work out of the box.
5.) Download the test package of the Intel test package from here:
6.) Rename the driver names  WRAPPER_8086_4232 from NETW5X32.* to NETW4X32.*
7.) Reboot and configure your network.

For me, that installation just works fine without fuss. (Except that the wired network doesn't seem to work anymore, but that doesn't bother me at the moment.

Programming / poll() and select()
« on: June 23, 2017, 09:58:10 pm »
I'm trying to port multitail, but it seems that select() as well as poll() doesn't seem to work.
I have attached my test programs, which both should work. Both  return with EINVAL.
So, am I missing something or is the OS/2 implementation buggy?
Can somebody point me to some already ported code, which uses poll or select?

Programming / Where is getaddrinfo?
« on: June 17, 2017, 11:11:09 am »

Does some know whether we have a implementation of getaddrinfo?
It seems to me that it should belong to the C standard library, but I can't find any declaration in /usr/include.

Programming / Can't push to Github.
« on: June 13, 2017, 11:32:16 pm »
After installing ArcaOS, I installed Git via RPM.
Now I want to push to Github. git asks my username and password, which entered multiple times.
But it tells me that it can't access the HTTPS address and that the server returns 403 (Forbidden).
What do I have to configure, to make that work?

Applications / New DOSBOX build / new ports
« on: June 12, 2017, 11:30:37 am »
After getting ArcaOS set up and got the development envorinment set up, I can now proudly announce a new build of DOSBOX with the latest source code changes. You can fetch it at
I will also submit the installer to Hobbes.
Since I build against the RPM repos, you will only need the packaged DLLs, if you are not using RPM.

PS: I couldn't add the news to the Netlabs WIKI DOSBOX page, since I can't login at the moment. If someboy would be so kind, to add the announcement, I would be grateful.
EDIT: This build contains SDL_SOUND support again.

Programming / Problems with configure
« on: January 28, 2016, 08:38:09 am »
Hi there.

I have a problems with this configure from SDL, I'm working on.
I get the message
Code: [Select]
./configure.lineno: 23670: Syntax error: "fi" unexpected (expecting "then")I don't know why. If I remove the offending code, then the error moves to another part of the script.
So I think the error is somewhere. As I'm no expert in shell programming, I don't know where to look at.
Autoconf is 2.69, automake is 1.14.1-3.

Programming / Multimedia with GCC
« on: January 11, 2016, 10:17:36 am »

I'm building SDL with GCC.
My problem is the typedef PACB (pointer to struct ACB).
I can find no definition in the OS/2 toolkit 4.5, although some multimedia API needs it.
The only definition, I could find, was in a Watcom C header.
My question: Am I overlooking something? Is there some packages (rpm or something else) I need to install?
Or have I to set up a C header file for the definition.

Programming / libc panic
« on: July 31, 2015, 07:34:33 am »

I'm porting nginx. I was able to build a binary and nginx can serve me static HTML pages.
I can stop nginx via process signaling. That just works fine.
But if I want to restart nginx, I get the following:
Code: [Select]
nginx: [alert] shmget(384) failed (22: Invalid argument)

safesem mutex requested failed, rc=0x6. pmtx=5fe10960:{.hmtx=0x800100fb .fShared
pid=0x0fbb ppid=0x0b43 tid=0x0001 slot=0x009c pri=0x0200 mc=0x0001 ps=0x0017
Process dumping was disabled, use DUMPPROC / PROCDUMP to enable it.

Now, I have to reboot to get nginx running again.

I have the newest klibc installed and the binary is compiled with gcc 4.9.2.
Does anyone have suggestions, how to handle the problem?

Bye Jochen

PS: If someone wants to test the port, PM me.  I'll send you the binary.

Pages: [1]