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 - André Heldoorn

Pages: [1] 2 3 ... 20
1
Applications / Re: REXX script to set default folder 'Open As'?
« on: July 15, 2018, 10:37:44 pm »
Quote
SysSetObjectData is what you want.
He's using OO.EXE. Same WPS setup string, though.

2
Applications / Re: REXX script to set default folder 'Open As'?
« on: July 15, 2018, 10:34:20 pm »
Quote
Well, your previous response points me in the general direction, albeit, even then it specifically points out the use of WinCreateObject, which is not something I should do, after all, I am not attempting to create a NEW object, instead I simply want to update an existing object.

I'm quite sure the rather specific WPS setup string ICONFILE does occur in that previous reply of me. Which, as such, has nothing to do at all with nothing but creating NEW objects.

3
Article Discussions / Re: Translating ArcaOS to local languages
« on: July 13, 2018, 10:43:58 am »
Quote
  • An old OS/2 version which is in your language.
  • Word lists, as being used bei IBM's Translation Manager/2. I would contact Jacques van Leeuwen for that. He's on the translation list.
  • Standard: IBM's Common User Access 91 (also part of TM/2, as I can remember)
  • Standard: Spanish spelling
  • Already translated texts, esp. by other people

And in that order, preferably. Using e.g. HELP to find a typical IBM-word hardly slows you down. If you were using OS/2 in the past, then you'll still be able to recognize or miss those alternative words without having to actually install an old version.

4
Internet / Re: New SeaMonkey builds
« on: July 11, 2018, 10:58:08 am »
FWIW, just reporting, perhaps general stability is involved. Recently the r3_s SM release crashed twice as soon as a CMD.EXE session was exited by typing X + <ENTER>. This window was still visible during the creation of the TRP file. The length of both X.BAT and X.CMD is 5 bytes: "@EXIT". Edited TRP file quote of the second time:

Quote
OS2/eCS Version:  2.45
 # of Processors:  1
 Physical Memory:  2038 mb
 Virt Addr Limit:  2048 mb
 Exceptq Version:  7.11.4-shl (Mar  6 2017)
______________________________________________________________________

 Process:  SEAMONKEY.EXE (06/08/2018 02:08:17 276,732)
 PID:      47D (1149)
 TID:      01 (1)
 Priority: 200

 Filename: XUL.DLL (06/08/2018 02:21:05 32,429,211)
 Address:  005B:129F2890 (0001:02632890)
______________________________________________________________________

 129F2882  MOV   EAX, [0x1c0501bc]  (a1 bc01051c)
 129F2887  MOV   [ESP], EAX         (890424)
 129F288A  CALL  0x1f5027bc         (e8 2dffb00c)
 129F288F  INT 3                    (cc)
 129F2890 >NOP                      (90)
 129F2891  XOR   EAX, EAX           (31c0)
 129F2893  MOV   [0x0], EAX         (a3 00000000)
 129F2898  UD2                      (0f0b)
______________________________________________________________________

 EAX : 00000000   EBX  : 0000190E   ECX : 1C069002   EDX  : 1C069070
 ESI : 129CAD5C   EDI  : 129CF5A2
 ESP : 0019E1C4   EBP  : 129CAD9C   EIP : 129F2890   EFLG : 00002246
 CS  : 005B       CSLIM: FFFFFFFF   SS  : 0053       SSLIM: FFFFFFFF

 EAX : not a valid address
 EBX : not a valid address
 ECX : read/write memory at 0003:00019002 in LIBC066
 EDX : read/write memory at 0003:00019070 in LIBC066
 ESI : read/exec  memory at 0001:0260AD5C in XUL
 EDI : read/exec  memory at 0001:0260F5A2 in XUL
______________________________________________________________________

   Size       Base        ESP         Max         Top
 00100000   001A0000 -> 0019E1C4 -> 0017D000 -> 000A0000
______________________________________________________________________

   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  129F2890   XUL       0001:02632890  between js::gc::GCRuntime::collect + 500 and js::gc::GCRuntime::gc - 40  (both in Unified_cpp_js_src23.cpp)

 129CAD9C  6F697472   Invalid address: 6F697472

5
Hardware / Re: Ways to make Arca OS wait until shutdown sound plays?
« on: July 10, 2018, 09:33:51 am »
I'm not an ArcaOS user, nor are all OS changes publicly known: append a few seconds of silence to the sound file? Use one of the lesser shutdown utilities to play an own sound with e.g. Rexx (and MCPAPI.DLL), wait for it to finish and - if still needed - pause for a few milliseconds?

If the OS doesn't wait now, then appending silence may be useless. Instead of a test with a prefix or suffix of silence, you'd better try an existing file (e.g. a song) which lasts longer first.

6
Applications / Re: REXX script to set default folder 'Open As'?
« on: July 10, 2018, 09:14:00 am »
Quote
Quick follow-up...is there a CLI (through CMD) way to accomplish the following:

1) Set folder icon
2) issue a "Right Mouse button" click on a folder

1. Yes. My previous reply addresses this. One of the WPFolder settings, like setting the default view.
2. Rexx scripts offer more control. Or some regular "IF NOT EXIST N:\AS\README.PDF NDCTL.EXE AUTOMNT NAS.CTL" CMD line.

OO.EXE is better than Rexx, albeit that doesn't imply that using Rexx (when you don't have to) is bad. Differences can be trivial. As trivial as costing 1 out of 1 million REXX.DLL lives per WPS IPL.

7
Off Topic discussions / Re: Google invests $22 million in KaiOS
« on: June 30, 2018, 12:29:39 pm »
Quote
Maybe on commercial software, when the customer is already paying for the license of use, and in addition they are making some extra money on this kind of deals it would upset me more.

Lords knows what data of customers will be sold to Google, since customers cannot control nor manage the deal. Nor conditions, like being forced to switch to another solution due to a lack of upgrades or self-destruction of the initial "free" product. Without the usual legal protection. If niche markets would be protected, then we'ld have an actually Ported DF by Adobe and a recent Microsoft Office for OS/2. So thank Goodness niche markets aren't protected. YouTube free and fast, alternatives paid for and slower.

If there would be such a product as FF for OS/2, funded by the funding providers of Mozilla, then the deal will be better. I'm afraid the size of the market does play a role, so you'ld need a larger entity to join. Mozilla, or e.g. united independent OSes with a combined significant market share. Like a Russian OS, to avoid America's OSes.

It won't be as easy as just having to find such a sponsor, and it may be as hard as finding a fully free popular browser. I.e. no DuckDuckGo funding, and so on. It's a hardly protected niche market. A niche market without meaningful competition to be protected. Microsoft isn't allowed to add all apps to its OS, but apps have been added to eCS and ArcaOS. Sometimes one may even be forced to use their products, like an installer. No competition, no need for all types of legal protection.

8
Setup & Installation / Re: Swap on separate drive
« on: June 29, 2018, 09:46:30 pm »
Off-topic: the largest temp files here were rare, cached Mozilla files, FWIW. If the size of your profile is larger than expected, by a few hundredth MiBs, then I guess the MOZILLA-MEDIA_CACHE directory may contain files (without extension) worth viewing and deleting.

Quote
Better practice is to check if the directories already exist, for example if you accidentally run startup.cmd or like me, have the ramdisk set to preserve the contents after a warm reboot.

Code: [Select]
if not exist y:\gcc mkdir y:\gcc
if not exist y:\pmmail mkdir y:\pmmail
if not exist y:\zipcntrl mkdir y:\zipcntrl
if not exist y:\tmp mkdir y:\tmp

Additionally, "ATTRIB +S [dir]" seems to do what I want. A RAM DISK which appears to be empty and survives "RM * -R". I do use RAM disks for sloppy applications like a first HelloWorld.C project, reviews, test installs or some DataCheck.CMD project, so a clean root directory sometimes is nice-to-have.

I may consider writing a hopefully simple RUN=MAKEDIRS.EXE (implicitly with Dave's checks) to not start using a STARTUP.CMD on some systems. No big deal, introducing STARTUP.CMD with an inserted ATTRIB +S will work too.

9
Setup & Installation / Re: Swap on separate drive
« on: June 29, 2018, 11:42:30 am »
If the OS is OS/2, then of course do, if possible, use up to 2 GiB RAM as RAM instead of using RAM as swap file space. The OP should probably use the HPFS drive, drive 1. Swapping should be a rather rare event.

Nevertheless: if you aren't using r:\ as a TMP setting, then does the OS create r:\TMP and r:\TEMP after a reboot, or may it be worth the efforts to create (and preferably hide, e.g. to avoid getting DELTREE'ed) those TMP directories?

Assuming normal usage instead of just managing huge ZIP files by appending small files frequently, when is the speed gain of using a RAM disk for TMP the most impressive?

What's a recommended size, e.g. to account for large 32-bit files? As large as about the largest ZIP file you've got?

A known advantage is that any reboot will clean up the directories, albeit cleaning software could delete even more files. And I tend to use a RAM drive when software does access the same data file a gazillion times (ZIP file password guesser, quick & dirty Rexx solution, ...), to avoid Microsoft's physical harddisk torture.

10
Setup & Installation / Re: moving desktop icons
« on: June 14, 2018, 04:06:43 pm »
Quote
This package helps to get rid of moving desktop objects. The bug occurs from time to time if you have eCenter, XCenter or WarpCenter configured to reduce the desktop's workarea.

No such off-topic, re-occuring bug with shutdown -> change the shutdown dialog setting (probably to "restart") -> reboot ( and shutdown -> restore that sticky setting to its original default -> reboot). Typically you may as well execute a magic script which appends a REM-line to CONFIG.SYS.

11
Internet / Re: New SeaMonkey builds
« on: June 12, 2018, 03:10:36 pm »
Test 2.01 (out of 4)


IBM ThinkPad X20, Pentium III, 850 MHz CPU, 320 MiB RAM


SM 2.35:

<Ctrl-O>: test aborted after 5'00" (should "work", but takes longer than 5 minutes)
CPU load: 100%, system responsive and can be used normally


SM 2.42 r3_s, --safe-mode parameter:

<Ctrl-O>: test aborted after 5'00". It "works", the first time (which checked the profile) took longer than this
CPU load: 100%, system responsive and can be used normally

12
Internet / Re: New SeaMonkey builds
« on: June 12, 2018, 02:09:16 pm »
Test 4 (out of 4).


IBM ThinkPad T42p, Pentium M, 2 GHz CPU, 2 GiB RAM

T42'ish benchmark test only (modern theme, only NoScript & GBM still enabled as third-party SM 2.35 add-ons, langpack installed, no internet connection, no replacement for Adblock Plus).


SM 2.35:

<Ctrl-O>: 0'24"
CPU: 0-2%, excluding all peaks


SM 2.42 r3:

<Ctrl-O>: 0'28"
CPU: 3-6%, excluding all peaks


SM 2.42 r3_O2:

<Ctrl-O>: 0'28"
CPU: 3-6%, excluding all peaks


SM 2.42 r3_s:

<Ctrl-O>: 0'27"
CPU: 3-6%, excluding all peaks




Next: quick & dirty attempt to test a (common, slower) Pentium III CPU

13
Internet / Re: New SeaMonkey builds
« on: June 12, 2018, 11:57:58 am »
FWIW: the CPU load of 100% below isn't 100% while the File Open-dialog, opened almost ASAP, is displayed. Cancel button -> 100%.
FWIW/2: the files *60*.DLL aren't read-only in the ZIP files


Test 3 (out of 4):



IBM ThinkCentre A30 desktop, Pentium 4 (slower than a T42), 2.66 GHz CPU, 2 GiB RAM (minus 8 GiB video RAM)

Expected results: perfectly usable browser, possibly excluding videos. "Performance mode" test: modern theme, ChatZilla disabled, possibly obsolete add-ons Lightning 4.0.8 and Saved Password Editor removed before all tests.I haven't tried the Adblock Plus alternative yet, because this isn't an add-on test.


SM 2.35:

<Ctrl-O> 0'49"
CPU (about:blank): 1-2%


SM 2.42 r3, langpack update:

<Ctrl-O> 0'55"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 3-5%, excluding all peaks
CPU load (about:blank) with enabled Adblock Plus and DownloadHelper: 100%, not responsive
CPU load (about:blank) with enabled DownloadHelper: 100%, responsive
CPU load (about:blank) with enabled Adblock Plus: 100%, not responsive


SM 2.42 r3_O2, langpack update:

<Ctrl-O> 0'51"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 3-5%
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper: 100%, not responsive


SM 2.42 r3_s, langpack update:

<Ctrl-O> 0'52"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 3-5%
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper: 100%, responsive
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper: 100%, not responsive after a reboot




Over here the winner for OS/2 and eCS 1.x hardware, without YouTube being involded, will be r3_s, unless it'll fail with a T42p or a Pentium III CPU. Reasons: load time (probably the same reason why there's EXEPACK), about the same performance, size of files (ZIP & installed, some disks almost full).

This will be the first time my SM browser is newer than my FF browser. The only real issue is having to try the Adblock Plus-alternative, and maybe the language of the Lightning component. I'll survive without the Video DownloadHelper.

14
Internet / Re: New SeaMonkey builds
« on: June 12, 2018, 09:56:41 am »
Test 2 (common Pentium III): with --safe-mode the 100% CPU load starts before the Safe Mode-dialog. I may repeat test 2 with a different, "slow" Pentium III (notebook with 320 MiB of RAM XOR a non-updated desktop with 768 MiB of RAM) later.



Test 2.99 (out of 4), to include an extra Pentium III M:



IBM ThinkPad T23, Pentium III Mobile, 1.2 GHz CPU, 1 GiB RAM

Expected results: perfectly usable browser, possibly excluding videos, e.g. ChatZilla is disabled because less than 100% is a serious goal.

Again no need to reply, I'm just reporting; the add-on Saved Password Editor itself displays that it's quite useless, but as such I'm not testing add-ons right now.



SM 2.35:

<Ctrl-O> 0'57"
CPU (about:blank): 1-2%


SM 2.42 r3, add-on update, langpack update, modern theme, ChatZilla disabled:

<Ctrl-O> 1'00"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 4-6%, excluding all peaks
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper/Saved Password Editor: 100%, slow but responsive


SM 2.42 r3_O2, add-on update, langpack update, modern theme, ChatZilla disabled:

<Ctrl-O> 0'58"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 4-6%
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper/Saved Password Editor: 100%, slow but responsive


SM 2.42 r3_s, add-on update, langpack update, modern theme, ChatZilla disabled:

<Ctrl-O> 0'59"
CPU load (about:blank) with all add-ons you'd want to disable disabled: 4-6%
CPU load (about:blank) with enabled Adblock Plus/DownloadHelper/Saved Password Editor: 100%, slow but responsive



Perhaps tests 3 & 4 (Pentium 4s) are almost obsolete, but I'll compare the versions anyway and a T42p comes close to a mutual benchmark (CPU load used to be close to 100% too, but not 100%, IIRC). So far r3_s still is the main candidate to win.

15
Internet / Re: New SeaMonkey builds
« on: June 11, 2018, 07:00:06 pm »
Feed-back part 2 (out of 4). Same original SM 2.35 profile. No need to reply, I'm still just reporting results. YMMV.


IBM ThinkPad 600X, (common) Pentium III, CPU 500 MHz, RAM 576 MiB:


SM 2.35:

Start-up time until <Ctrl-O> menu is actually being displayed: 11'44"
CPU load: 100% (may be a weird machine or broken optimizations (posibly of Java or add-ons)) with a responsive OS, improvements hoped for but not expected


SM 2.42, r3, no updates to save a few hours, no changes (AdBlock Plus, ChatZilla) because the CPU load benchmark is a honest 100%:

Start-up time until <Ctrl-O> menu is actually being displayed: test aborted after 5 minutes, omni.ja couldn't be deleted afterwards for a while


SM 2.42, r3_O2, no changes:

Start-up time until <Ctrl-O> menu is actually being displayed: test aborted after 5 minutes


SM 2.42, r3_s, no changes:

Start-up time until <Ctrl-O> menu is actually being displayed: test aborted after 5 minutes




With an excluded Pentium III 500 MHz desktop I'd expect better, normal results and an usable browser. The odd one out? So far the winner is r3_s, but only because of the earlier fastest load time. So far any other type of performance played no role. Now I'll switch to Pentium 4-test results.

Pages: [1] 2 3 ... 20