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 - Dariusz Piatkowski

Pages: [1] 2 3 ... 66
Setup & Installation / CUPS printing - filter deployment how to?
« on: September 09, 2021, 11:22:20 pm »
So I'm up and running with the CUPS framework deployed here (the latest netlabs-EXP release - 2.2.13-1.oc00).

My Brother HL-5470DW printer already has native OS/2 PSCRIPT driver support, although there are a couple of problems with it that may be caused by either a bug in OS/2 printing system, or could be the result of my PPD file import itself.

Therefore, I figured I would try to deploy CUPS to see if I can address the issues I'm seeing through that approach.

However, what I have learned so far is that the Brother release of their CUPS drivers requires one to deploy a printer filter script. Not a terribly complex script by the looks of it, but I have no idea how the heck to do this filter deployment on our OS/2 platform. Most of the generic on-line info I've found doesn't even corelate to our filesystems structure either.

Further on, if I understood the published on-line information re: deploying CUPS on our platform, it would appear that once a printer is finalized within the CUPS framework I still need to replicate the very same printer object on our OS/2. That of course in my case requires the import of the PPD, which I think will cause the same problems I'm already seeing with the native drivers.

Anyways, that last part is just a guess so far, not sure about this. The first step is to figure out how to deploy the filter script...any ideas/suggestions?


Hi David!

...Any chance you have more than one version of gtls30.dll on your system? I have one in C:\usr\lib dated 4/4/2020 and no trouble running that CUPS version here...

Yup...that certainly would do it.

Silvan at GitHub responded with the same suggestion as well.

I found out that somehow I got a couple of TLS DLLs in the \usr\local\lib location. No doubt I was probably testing something in the past, could have been part of the AOS Testers List activities. Apparently I missed the clean-up aftwards.

So yeah, things are UP and RUNNING...although I'm scratching my head to make sense of what specifically CUPS brings (as far as the benefits of it being there).

I will start another thread on this partially b/c the Brother HL-5470DW printer I'm trying to duplicate (already have the adjusted - through PPD import - OS/2 PSCRIPT drivers in place) in CUPS uses a CUPS filter definition and so far I haven't been able to make sense of how to actually deploy that filter. Without it there CUPS really isn't talking fully conversing with my Brother printer.

Thanks everyone, appreciate the quick suggestions!

Hi Dave,

No applicable updates to either one of the libraries you listed, however I re-booted and that took things a step further, however I am still seeing an error:

09-08-2021 20:48:27 SYS2070 PID 0058 TID 0001 Slot 0094

Currently I have gnutls 3.6.12-1 (pentium4) verison installed here.

I logged a bug report

Thanks for the feedback!

4 the title says, this is a brand new install (1:2.2.13-1.oc00) from netlabs-exp repo.

I let ANPM drive this, all RPMs installed successfully, however attempting to start cupsd.exe produces the following in my popuplog.os2 file:

09-08-2021  17:30:00  SYS2070  PID 03fb  TID 0001  Slot 0136

I haven't re-booted, didn't think I needed to actually.

So here is the thing, I thought the RPM based CUPS would actually provide a working CUPS framework, maybe what I'm seeing is netlabs-EXP repo related, not sure as I haven't searched up on the specifics of the error I'm seeing yet.

Either way, it seems like I stil need to rely on a few other pieces to get things up and running...various other pages show that I need specific printer drivers installed, I reading that right?


Networking / Re: speedtest-cli no longer working...or partially...why?
« on: September 04, 2021, 08:51:57 pm »

Well, not quite an earth-shattering dsicovery, however it does apear that speedtest must now be using some kind of a round-robin (perhaps load-balancing???) configuration.

Having re-tried a number of times, and the 1061 server now returning an error (whereas literally 2 minutes ago it was fine), I was able to hit my local ISP (20916) and there was no problem in testing this.

FYI I suppose for everyone...

Networking / Re: speedtest-cli no longer working...or partially...why?
« on: September 04, 2021, 08:48:52 pm »
Hi Dave!

I did
Code: [Select]
git clone tested by directly running and it worked fine besides picking a weird server down in Washington State (400 km away) instead of closer.
Code: [Select]
Retrieving configuration...
Testing from Telus Communications (
Retrieving server list...
Selecting best server based on ping...
Hosted by City of Bellevue (Bellevue, WA) [400.47 km]: 101.5 ms
Testing download speed..........................................................
Download: 24.12 Mbit/s
Testing upload speed............................................................
Upload: 6.11 Mbit/s

The current speeds are better then usual on this wireless LTE connection.

So on my end the 2.1.3 as well as the 2.1.4b1 version both work fine, provided that you let the speedtest machinery pick the best (normally the smallest ping I think) server to you.

However, attempting to specify a server, such as my ISP, that no longer appears to be in the public list (see '--list' option) fails.

I tried with the default 2.7.6 Python of ours, as well as 3.8 that Paul released a while back, both behave the same.

Looking into this further on, it almost appears as if the "public" speedtest server that was advertised by my ISP is no longer "visible", meaning, you can't simply hit it up through the CLI interface.

After all, relying on the currently returned list appears to work fine, here is an example:

Code: [Select]
[G:\util\misc]speedtest 1061

Quick script to execute a Python test against some servers:
            4861 - Quadro Comm (Kirkton, ON, Canada) [180.26 km]
           10727 - Mornington Comm (Milverton, ON, Canada) [221.74 km]
           22208 - Packetworks (Waterloo, ON, Canada) [242.06 km]
           18646 - NeuStyle Software & Sys (Waterloo, ON, Canada) [242.06 km]
            1061 - Netflash Internet (Kitchener, ON, Canada) [243.40 km]
           16046 - Cloudwifi (Kitchener, ON, Canada) [243.40 km]
            1317 - Wightman (Clifford, ON, Canada) [249.27 km]
           17341 - Cogeco Connexion Inc. (Burlington, ON, Canada) [286.63 km]
           23625 - System Lifeline (Brampton, ON, Canada) [309.31 km]
           37270 - Rogers Wireless (Mississauga, ON, Canada) [310.18 km]
DEFAULT => 20916 - MNSi Telecom (Windsor, ON) [3.93 km]

Selected Test Server :  1061

Retrieving configuration...
Testing from Managed Network Systems (
Retrieving server list...
Retrieving information for the selected server...
Hosted by Netflash Internet (Kitchener, ON) [243.40 km]: 44.333 ms
Testing download speed..........................................................
Download: 728.59 Mbit/s
Testing upload speed............................................................

Networking / speedtest-cli no longer working...or partially...why?
« on: September 04, 2021, 06:19:01 pm »
Hi Everyone,

Just this morning I enabled streaming optimization on my router for a couple of media devices on our LAN, went to my OS/2 box to check the throughput using the speedtest-cli and discovered the following:

Code: [Select]
Selected Test Server :  20916

Retrieving configuration...
Traceback (most recent call last):
  File "speedtest-cli", line 2000, in <module>
  File "speedtest-cli", line 1986, in main
  File "speedtest-cli", line 1875, in shell
  File "speedtest-cli", line 1091, in __init__
  File "speedtest-cli", line 1174, in get_config
    map(int, server_config['ignoreids'].split(','))
ValueError: invalid literal for int() with base 10: ''

This is executing speedtest-cli v2.1.2 and python 2.7.6.

Off I went looking into this, found that 2.1.3 and 2.1.4b1 have been released. Discovered a fix for 2.1.2, applied and that got me further, but for the sake of running the updated stuff (in case there was something else causing the issue) I grabbed them both, and running the stable 2.1.3 I now see the following:

Code: [Select]
Selected Test Server :  20916

Retrieving configuration...
Testing from Managed Network Systems (
Retrieving server list...
ERROR: No matched servers: 20916

...the problem here being that my local good-ol'-trusty ISP server is no longer selectable, although what's weird is that even if I issue the '--list' option to simply show me the speedtest servers I can connect to, at times (this is NOT consistent though) even if I select a listed server ID I still fail to actually successfully test with it...ughhh???!!!  ???

I subsequently spent a little time on-line (hmm, been a couple of hours already actually...LOL) but found no relevant info.

Worse yet, my ISP does certainly support testing through speedtest, they simply poing to the browser GUI ( and go from there. The problem is that browser GUI shows a throughput that's normally 4-5x slower than the CLI does, so from a stable & true results perspective it's really of no use (with our OS/2 browser that is).

Is anyone else seeing this?


Programming / Re: REXX - Top header comments Suggestion
« on: August 25, 2021, 04:24:12 am »
Here is what I use:

Code: [Select]
/*------------------------- New Concepts Consulting --------------------------
- Application Module Name : WPS
- File Name               : folder_refresh.cmd
- Date                    : April 12, 2020
- Author                  : Dariusz Piatkowski
- Description:                                                                 
- There occasionally arises a need to force a refresh of a folder. This is
- intended to make sure that WPS is aware of any changes that have occured at
- a filesystem level, such as: adding or deleting an object (file or folder).
- There are a couple of alternative approaches to use here:                 
- 1) follow the approach implemented here, call this REXX script 
-    as follows: 'refresh_folder.cmd fully_qualified_folder_path'                 
- 2) utilize an existing utility such as OO.EXE and issue a call 
-    to list the contents of a folder but do not create output, as follows:
-    'oo.exe /L folder_name > nul'
- Both will force the WPS to refresh the folder contents.
- Parameters:
- INPUT => fully qualified folder path
- Modification History
-    REVISON        DATE/TIME         AUTHOR
-   Rev 1.0.0  APR 12, 2020 17:05:00   Dariusz Piatkowski
- First version of the code.
-   Rev 1.0.1  APR 18, 2020 18:35:00   Dariusz Piatkowski
- Added the check for a valid INPUT parameter, if not found RETURN error.

Mail-News / Re: pmMail 3.24 serious problems
« on: August 19, 2021, 05:50:35 pm »
Hi Martin,

Given that this is happening in your SENT folder, I am curious: how many messages are in there?

I ask because I have been using PMMail since literally 'Day-1' of my OS/2 usage (roughly, LOL). Over the years I have accumulated thousands of sent emails. The re-index function would routinely die during every attempt to re-index that massive single folder (in excess of 20K+ emails).

What I did was to create sub-folders within the 'Sent Mail' folder itself. I tossed each 5 yrs worth of emails into each sub-folder. This allows me to search across all (b/c PMMail offers the function to search in sub-folders) while enabling the re-index functionality to handle each folder. Most of these are between 3-5K of emails each now.

Worth a try? Could be an easy fix if that's what you're running up against...

BTW, User Agent Switcher makes this a lot easier.

That's exactly what I was going to suggest. Although, even tossing a matching/expected ID at the web server still results in a non-functioning site far too often...and that's just the reality of our FF release.


The HL-5470DW isn't a supported model in ArcaOS 5.0.6...


Not all the features are supported, but to say it is NOT supported is incorrect.

Heck, the old IBM PSCRIPT driver will work...but again, as per my post above some printer features will not.

Hi Greggory,

:DI'm about to buy Blue Lion! Does anyone have an experience with a Brother HL-5470DW High-Speed Laser Printer?

Or used the drivers below. I hope it works I picked it up for only $26 bucks !!!...

Yeah, you can't go wrong for that price!!!

Indeed, I have been using this very printer in OS/2 for a couple of years now. What I am about to explain is specific to getting native PSCRIPT based drivers configured. I have not tried to install CUPS and compare the results.

To start off with, here are a couple of existing threads on our forum that detail the specific "issues" and fixes, so instead of a copy/paste just take a look at these:

1) Anyone successfully using Brother HL-5470dw? =>,902.0.html

2) How to find or extract a Postscript printer driver? =>,1684.0.html

3) Printer advice =>,1554.msg15255.html

The following section is from my post in #3 above, where you'll also find the matching fixed-up PPD's in case you want to give the native PSCRIPT drivers a chance:

So here are the setups I currently have in-place, all these relate to the Printer=>Properties window:

1) OUTPUT PORT (field names below match the dialog-box you will see)
LPD server = static IP I assigned to my printer
LPD printer = BINARY_P1

Port name = SLPR1
Print Timeout = 60 secs

Performance = LPRPORTD Compatible (I was never able to get the 'High Performance' setup working)

2i  => PSCRIPT
I used the IBM PSCRIPT v 30.800 driver here, but first I imported the 5470DW PPD file into that driver. This allowed me to have the various printer specific features available in the printer driver. This is also where I ran into some problems, especially around the print resolution. For example, trying to use HQ1200 always caused PSCRIPT driver to crash. So by default, I have my printer set to 1200. I simply like my high-quality print and using 600 just doesn't appeal.

2ii => PSPRINT
I also setup the PSPRINT driver, similar setups to PSCRIPT, my goal here was to find out if the changes Alex included in PSPRINT would create a better result. This, amongs other things, allows your print jobs to include fonts (support for embedded TrueType fonts) with each output.

I did not see much difference, as a result, I am using the IBM PSCRIPT driver nearly 100% of the time.

That is my 2nd Brother printer and I have been very happy with it, even though I am forced to run in 1200 dpi and cannot use the HQ1200 (which really is not that big of a deal actually as I simply do not print big enough of a volume to start seeing a hit to the toner use. I get about 3 yrs and 6500 pages per regular TN750 toner cartridge).


I lowered the setting to 2560 (which is what I used to run some time ago) so I'm curious if this will impast stability in any way.

Regardless, I responded to Steven on our Testers List suggesting that in the TRP output file we split out the process specific DLLs from the high-memory, and therefore system-wide DLLs.

Either way, I also reverted back to 202 kernel because 203 was certainly causing me problems here. As you commented in your post though, my testing being done outside of AOS is only relevant to a certain extent.

However, with all due respect I have to disagree with your "'s a shame you don't properly test on ArcaOS..." comment. I think AOS is missing a huge opportunity by relegating two AOS pathways to the back of the queue, those being:

1) Software Subscription - this was initially in place, I am not sure if that offering exists anymore
2) Upgrade Path - I'm not certain how many stand-alone users can, or are willing to completely start with a clean-slate approach, that being a fresh re-install and the unenviable attempt to bring the relevant data over to the new system

I will say this again, and I have been very open about this: if I have to re-install from scratch, I will probably depart from our beloved OS/2 platform and carry on elsewhere. There simply is that much accumulated content I currently have, where it would make no sense to re-create all of it. It is much easier to build a new cutting-edge solution and replicate my existing OS/2 install within a much simpler, faster and much less pain.

In fact I wish there was a sub-team focused on doing the sort of testing I regularly do: see if the currently delivered changes still work on the "old" OS/2 config, as well as perhaps even introducing additional functionality. Heck, this could be entirely volunteer driven effort since the subset of the AOS functionality that could continue to filter out under the 'Software Subscription' option is a much smaller and managable bucket, and those releases could remain completely outside of the main AOS code-base trunk, thus would have very little impact on the pure AOS stuff.

So I'm using Dave's excellent FF 49.5 update (Sec #2 I think?). Pretty rock solid, although there does appear to be a slight regression in terms of saving certain types of files, where the tmp location FF uses never re-names the file to the final filename and instead keeps it in that *.*.part format. Anyways, no biggie, I know about it (normally happens when I d/l any Google Photos grouping of files and it's actually a ZIP file that's built).

Alright, but that's not the reason why I'm posting.

I just had one of these rare crashes, FF trapped and I found the following in the TRP file:

Code: [Select]

 Exception Report - created 2021/06/26 10:30:47

 LIBC: Killed by SIGSEGV

 Hostname:         NEUROBOX
 OS2/eCS Version:  2.45
 # of Processors:  6
 Physical Memory:  3199 mb
 Virt Addr Limit:  3072 mb
 Exceptq Version:  7.11.5-shl BETA8 (Jun  1 2020 18:37:02)


 Exception C0000005 - Access Violation

 Process:  G:\APPS\TCPIP\FIREFOX\FIREFOX.EXE (02/21/2021 11:47:09 72,434)
 PID:      5C (92)
 TID:      01 (1)
 Slot:     C3 (195)
 Priority: 200

 Module:   XUL
 Filename: G:\APPS\TCPIP\FIREFOX\XUL.DLL (02/21/2021 11:52:25 39,789,052)
 Address:  005B:BAB6EF7E (0001:02D2EF7E)
 Cause:    Attempted to read from 00000010
           (not a valid address)


 Failing Instruction

 BAB6EF6E  TEST EBP, EBP         (85ed)
 BAB6EF70  JZ   0xbab6f0b0       (0f84 3a010000)
 BAB6EF76  MOV  [ESP], EBP       (892c24)
 BAB6EF79  CALL 0xbab6b080       (e8 02c1ffff)
 BAB6EF7E >MOV  EAX, [EAX+0x10]  (8b40 10)
 BAB6EF81  MOV  EAX, [EAX+0x20]  (8b40 20)
 BAB6EF84  MOV  ECX, [EAX+0x10]  (8b48 10)
 BAB6EF87  TEST ECX, ECX         (85c9)


 EAX : 00000000   EBX  : 0013D14C   ECX : 20C68FCC   EDX  : BA8CEA04
 ESI : 3F549020   EDI  : 0013D0BC
 ESP : 0013D090   EBP  : 20C68EE0   EIP : BAB6EF7E   EFLG : 00210206
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : read/write memory on this thread's stack
 ECX : read/write memory allocated by LIBCN0
 EDX : read/exec  memory at 0001:02A9CA04 in XUL
 ESI : read/write memory allocated by LIBCN0
 EDI : read/write memory on this thread's stack


 Stack Info for Thread 01

   Size       Base        ESP         Max         Top
 00100000   00140000 -> 0013D090 -> 000CE000 -> 00040000


...but much further down when I see the list of DLLs that process was "aware" of I find the following:

Code: [Select]

 DLLs accessible from this process
BRWSRCMP b7d49000 0001c000 02/21/2021 11:53:01    108,314 G:\APPS\TCPIP\FIREFOX\BROWSER\COMPONENTS\BRWSRCMP.DLL
 LGPLLIBS b7d79000 0000f000 02/21/2021 11:46:07     75,290 G:\APPS\TCPIP\FIREFOX\LGPLLIBS.DLL
 MOZSQLT3 b7d99000 0009d000 02/21/2021 11:46:07    520,683 G:\APPS\TCPIP\FIREFOX\MOZSQLT3.DLL
 XUL      b7e49000 03c2d000 02/21/2021 11:52:25 39,789,052 G:\APPS\TCPIP\FIREFOX\XUL.DLL
 LGPLLIBS bba89000 0000f000 11/17/2020 00:43:25     74,292 G:\APPS\TCPIP\THUNDERBIRD\LGPLLIBS.DLL
 MOZSQLT3 bbaa9000 00098000 11/17/2020 00:43:15    510,726 G:\APPS\TCPIP\THUNDERBIRD\MOZSQLT3.DLL
 LDAP60   bbb69000 00020000 11/17/2020 00:48:04    119,571 G:\APPS\TCPIP\THUNDERBIRD\LDAP60.DLL
 XUL      bbb99000 03c7d000 11/17/2020 00:52:28 41,160,984 G:\APPS\TCPIP\THUNDERBIRD\XUL.DLL

You'll note that the very same DLLs are showing up that are actually loaded by either FF or THUNDERBIRD.

I was always under the impression that with the Mozilla suite of applications this should never be the case, meaning: the process will have visibility to it's own DLLs, which FF does, but would not see same named DLLs that were loaded by another process.

The above conclusion is based on the comments in both the FF and TB readmes that state the following:

Note:  Starting with Firefox 45.9.0 GA, it is not necessary to set LIBPATHSTRICT
       manually or using the Run! utility for it as this is done automatically
       by firefox.exe when loading XUL.DLL and other Mozilla DLLs.

So am I just misunderstanding what the TRP file shows as far as the listing of the DLLs being accessible by the process goes?

I did NOT expect FF to have any visibility to TB's DLLs, or vice versa.

If something needs to be done about this, there is always the option to use the README suggested program object parameter of:

Parameters:         /c set LIBPATHSTRICT=T & seamonkey.exe "%*"

...although I have not tried that approach yet, easy enough to do though.

Networking / Re: Universal Naming Convention (UNC) on Samba?
« on: June 21, 2021, 02:11:38 pm »
Hi Doug,

Looks like Dave's answer is, unfortunately correct.

For Darius:

UNC =  \\machineName\shareName

machineName originally was a netbios name.  ShareName was a shared resource on machineName, i..e a drive or a directory.

Right, I got that. My NAS maps to and is present in LMHOSTS file as well. My expectation was that the Samba client would automatically show all shares that are present, sort of similar to what smbtree shows, albeit with actual contents listed. That may have been too wide of a sweep though! lol

It would appear that as of right now the UNC resolution, when attempting to access Samba shares, does not work on our platform. ('ls' did not work either)

Pages: [1] 2 3 ... 66