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

Pages: [1] 2 3 ... 10
1
Internet / PMMail - corrupted folders?
« on: Today at 02:35:16 pm »
Hi Everyone,

I've been happily using PMMail [3.24.01.1981 (32798) - Mar 13 2020 17:32:02 +0000 (GMT)] for a while now. No issues, although occasionally at start-up it'll trap, meaning the WPS goes locked but usually after a few ESC-CTRL hits it'll re-awake. Mostly a nuissance really.

As best as I can tell I have never encountered any problems, however the other day I was putting away some new emails into a much much older folder and couldn't find the emails afterwards. I re-index that particular folder at first, no change, I then re-index that whole folder tree, still no change.

This morning I hit CLI and went looking for the actual email MSG file itself...lo' and behold, nowhere to be found...worse yet, that whole folder TREE is completely missing!!! ugh????

Now the strange thing (to me anyways) is that from within PMMail I am still able to access each one of the folder tree contents...so it looks like the stuff is still there (thank God, so I haven't lost anything it would seem), but attempting to move new emails into that tree does appear to send the messages into "nowhere".

So am I seeing some kind of a corruption here?

No idea at all how to troubleshoot this...any hints/suggestions would be greatly appreciated!

Thanks!

EDIT
====

I went looking through the PMMail program logs and I think I found the matching entries for this email move transaction...however it appears to have completed just fine?

Code: [Select]
...
2021-12-08T08:19:15.033 (008)-I-MessageMoveMessage: enter. use mutex [1]                                                                                           
2021-12-08T08:19:15.033 (008)-I-MessageMoveMessage: moving from [Dariusz]:[Inbox] to [Dariusz]:[Mopar Archives]:[Engine Components]                               
2021-12-08T08:19:15.037 (001)-I-oswin_msg_drag: dragged [1] of [1] allowed of [1] requested                                                                       
2021-12-08T08:19:15.037 (001)-I-oswin_msg_drag: Dropped on Accounts/Folder                                                                                         
2021-12-08T08:19:15.039 (001)-I-oswin_msg_drag: leave                                                                                                             
2021-12-08T08:19:15.065 (008)-I-xmlfolder.profile_save: fld change [1], saving [Dariusz]:[Inbox]                                                                   
2021-12-08T08:19:15.072 (008)-I-xmlfolder.profile_save: fld change [1], saving [Dariusz]:[Mopar Archives]:[Engine Components]                                     
2021-12-08T08:19:15.080 (008)-I-MessageMoveMessage: leave.                                                                                                         
...

2
Multimedia / How do I change this default behaviour?
« on: November 27, 2021, 08:44:49 pm »
So I've got a bunch of AVI and MPG video files: family get-togethers, various car events, etc. My box currently insist on always opening the AVI and MPG stuff using the ancient default OS/2 AVI player. How the heck do I change that?

Before you say "adjust the associations", well they already have been. All of these media files are pointing to mplayer as the default, and yet each time I double-click on a AVI file the default viewer plays.

So I'm thinking that's because the 'Current class' is defined as MMAVI for the the AVI files and MMMPG for the MPG files. Meanwhile the MP4 stuff is simply showing up as XFldDataFile (which is to be expected given my XWP install).

Do I need to un-register a particular class?

Take a look at what currently shows up under 'Codecs' TAB of the Multimedia object (see attachment).

3
Setup & Installation / Making of bootable USB stick, or CD - how to?
« on: November 21, 2021, 12:35:24 am »
Everyone,
I've had my new Samsung 860Evo SSD in the system for a few months now and was intending to replace my older 850Evo with it. I never got around to it since I do not have an emergency boot "disk" handy.

What I mean by that is the following: I do not have a bootable CD, nor a USB stick that will give me a maintenance OS/2 partition.

Having said that, I do have such a partition on my SSD itself, which I regularly use. Uber-quick boot to a CLI, easy access to any sort of recovery toolsets, etc. But since I'm about to pull a SSD out (where that MAINT partition exists) I want to be able to have a fool-proof Plan-B as well.

So what are the available utils to make that happen? Is it possible for me to simply "pack up" my MAINT partition and toss that onto a CD? Seems to simple, haven't tried it though, I figured I would ask here first before I end up with a stack of coasters!  ::)

As always, thanks for any suggestions!

4
Applications / Where does the program "name" come from?
« on: November 13, 2021, 04:41:54 pm »
So my Visual SlickEdit programmer's editor has from the very start always showed up in Theseus as "HELLO", see screenshot below.

Meanwhile, in the Tasklist and Taskbar it does show up with the proper name, however the icon is missing in both.

Not a big deal, but it kind of bugs me...LOL, so how the heck do I fix this?

I suspect something in the EXE stores this info, maybe a header record of some sorts? I simply do not know these details, but if anyone can give me a hint as to what to look for, I'll take it from there.

Any pointers?

5
Programming / Function MACRO or #DEFINE?
« on: October 21, 2021, 09:44:07 pm »
Alright...so I'm going through the IBM CPP (3.6.5) header files and pulling the various constructs as I enhance my 'VSE Modern Theme' solution.

Now, here is where i'm running into a bit of a...umm...mental block??? LOL  ::)

Looking at tchar.h I have the following section:

Code: [Select]
...
#ifndef __tint
         typedef wint_t _TINT;
         #define __tint
      #endif

      #define _TEOF  WEOF

      #define __T(x) L ## x


      #define _tprintf     wprintf
      #define _ftprintf    fwprintf
      #define _stprintf    swprintf
      #define _vtprintf    vwprintf
      #define _vftprintf   vfwprintf
      #define _vstprintf   vswprintf
      #define _tscanf      wscanf
      #define _stscanf     swscanf
...

Alright...so one of my rules is to colour code all static DEFINEs in a certain way. However, the xxprintf & friends really do not fall in line with that approach. After all, these are genuine functions, and in this header file we are simply creating a pointer (MACRO really I think) that references the xxprintf library calls.

So for example:

"#define _tprintf     wprintf"

simply allows _tprintf to be used elsewhere and really being a MARCO it will get mapped to wprintf.

OK, so that's simple right? (and I'm assuming my thinking on this correct...smack me if it's not though!!! )

But if the above is right, I really should NOT colour code those #define statements that point to a function, they should really be colour coded as a MACRO instead.

Makes sense?

6
Storage / JFS cache sizing, and system "speed-up"
« on: October 21, 2021, 05:43:04 pm »
Alright, so for what it's worth, I had recently made some changes to the JFS cache sizes and thought I would share my results.

8Gig machine here, at bootup 4Gig is used for a RAM drive, the remaining is seen by OS/2 as workable memory. Not all of it, but you know the standard limitations that apply.

OK, so I've had my VIRTUALADDRESSLIMIT=3072 setup in CONFIG.SYS for quite some time, and utilized a JFS cache of 256M. Seemed to work fine, no issues. Keep in mind the underlying disk is a SSD (Samsung 850Evo).

Given the above hardware details and my application use/mix I have consistently found that at least 1.5Gig of that upper memory would regularly go un-used. It would simply sit there and if anything, it was always the Shared Memory that would get exhausted first. So that got me thinking: cache is cache, and so if the RAM is there, why not make better use of the darn thing?  ;)

If you see what ther other OSes are running, the cache sizes are typically much larger.

So off I went experimenting a little bit:

1) bump the cache up to 512M, set VIRTUALADDRESSLIMIT=2048, but I kept the MIN and MAX buffer settings the same as with the prior smaller cache, that being:

G:\OS2\CACHEJFS.EXE /LW:8,30,6 /MINBUFFER:4000 /MAXBUFFER:21000

Umm...nice, system just seems faster...apps respond quicker. Obviously not on the first attempt, but openning OO the 2nd and 3rd and 4th time is faster.

2) now since I freed up some upper memory due to the VIRTUALADDRESSLIMIT change why not go bigger (or go home, as the saying goes...LOL), so I bumped the cache up to 768M

Following this change I started to see a weird 'stagger' in the system...went back to some published/presentation notes on the JFS and realized that I was saturating the cache and pretty much exhausting the free buffer space, so I implemented the following:

G:\OS2\CACHEJFS.EXE /LW:8,30,6 /MINBUFFER:16000 /MAXBUFFER:84000

...basically I increased my MIN and MAX buffer sizes by a factor of 4.

Those system 'staggers' I mentioned above appear to be gone now. The apps are loading consistently faster, on multiple attempts.

All in all, tripling the JFS cache has provided for a good positive result.

Of course not everyone will be able to max out on their JFS cache this way, and even if you have the room your apps may limit you to how much of that upper memory can be utilized for cache itself.

7
Web applications / firefox - newtab thumbnail images are empty, why?
« on: October 20, 2021, 04:15:10 pm »
Hey everyone!

So most likely they are empty (as opposed to showing a scaled down version of the page) because I did something way back when to stop the thumbnail creation...heck, I recall having some discussions about the huge disk space use growth this was causing.

Well, I spent about two hours yesterday trying to remind myself what that was, and regardless of where I went to look for that info, I found nothing.

Take a peek please at the attached screenshot, I am talking about the blank 3rd 'Moparts' site, which is blank as opposed to showing an image.

Does this ring a bell for anyone?

Thanks!

8
Applications / Updated RPMs - big release chunk...
« on: October 11, 2021, 11:08:36 pm »
Hi Everyone!

I noticed a number of updated RPMs out there. Specifically what surprised me were all the NSPR, NSS and the libc, libx, libicu and libkai ones.

For those of you who may have tried the netlabs-exp test releases a while back, there were numerous problems that were identified. The biggest issue at that time was that these updates pretty much made our FF unusable.

I was one of the folks to test at that time and went through a fairly messy rollback process.

Sooo...while I'm excited to see the updates having gone to netlabs-rel, I am a little leery of installing. Therefore, I'm curious if anyone has already pushed that UPGRADE button yet and what has your experience been like so far?

9
Programming / C++ and class definition Q
« on: October 04, 2021, 03:33:46 am »
So this may be somewhat basic to those of you who have spent some time developing in C++, but to me where it's been years that I've written anything in C++ and being only familiar with the basic class declaraion I'm not sure how to interpret this:

Code: [Select]
   class _IMPORT fstream : public fstreambase, public iostream {
   public:
                           fstream() ;

                           fstream(const char* name,
                                           int mode,
                                           int prot=filebuf::openprot) ;
                           fstream(int fd) ;
                           fstream(int fd, char*  p, int l) ;
                           ~fstream() ;
           filebuf*        rdbuf() { return fstreambase::rdbuf(); }
           void            open(const char* name, int mode,
                                   int prot=filebuf::openprot) ;
   } ;

So is the above declaring fstream as the class? If so, what exactly does the "public fstreambace, public iostream" mean?

I think fstream is the class since I see the multiple class constructor declarations under the "public:..." section.

Thanks!

10
Web applications / G-Drive just killed access to our FF45.9...alternatives?
« on: September 18, 2021, 05:02:01 pm »
 >:(

As the subject says, I'm wondering if anyone has figured out a fake User Agent setting that would still allow our FF 45.9 to bring up a working G-Drive page?

I tried FF77 but that still caused a complaint, meanwhile Chrome 62 produces access, but unfortunately not usable beyond just seeing the contents of the page (navigation is completely off, etc.).

If I can't get our native solution to work I'll transition to FreeRDP use of FF, I just hate to have to setup another "FF User" on my Win box and constantly shuffle between a OS/2 native and remote FF screens.

Thanks!

11
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?

Thanks!

12
...as 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:

Quote
09-08-2021  17:30:00  SYS2070  PID 03fb  TID 0001  Slot 0136
G:\USR\SBIN\CUPSD.EXE
CUPSD->CUPS.__httpTLSSetOptions
127

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, etc...am I reading that right?

Thanks!

13
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 speedtest.net configuration...
Traceback (most recent call last):
  File "speedtest-cli", line 2000, in <module>
    main()
  File "speedtest-cli", line 1986, in main
    shell()
  File "speedtest-cli", line 1875, in shell
    secure=args.secure
  File "speedtest-cli", line 1091, in __init__
    self.get_config()
  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 speedtest.net configuration...
Testing from Managed Network Systems (216.8.146.248)...
Retrieving speedtest.net 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 (http://mnsi.speedtest.net/) 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?

Thanks!

14
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)
______________________________________________________________________

 Registers
______________________________________________________________________

 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:

Quote
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.

15
Hi Martin,

Can't help you with the questions you posed, but I'd like to piggy back off of the topic you started and ask the following question: what WPS class would need to be extended/replaced in order to create a "Most Recently Opened Documents" object which literally shows a list of documents (should have a user adjustable setting to control how many are shown) there were most recently opened.

In short, I wish there was an easy way to re-open the same doc I had just looked at, withouth me having to go off fishing for it once again.

I suppose this would be a Folder like object, but it really would not have any persistent objects (the previously opened Documents) present there, instead maybe shadows could represent each one?


Pages: [1] 2 3 ... 10