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 - Rich Walsh

Pages: [1] 2 3 ... 23
Games / Re: Minecraft
« on: April 11, 2024, 07:52:17 pm »
How would I change the default browser settings?

You don't need a third-party app. Open any URL object's Properties to the 'Browser' tab, fill in the details, then press the 'Set Default' button below.The info ends up in os2.ini->WPURLDEFAULTSETTINGS->DefaultBrowserExe and ->DefaultWorkingDir.

perhaps DosStartSession() would be better to use.

If this is linked as a PM app or gets morphed into one, use WinStartApp() - much easier.

Applications / Re: XWP v1.0.16
« on: April 09, 2024, 07:19:40 pm »
XWP full does not enable by default the "Enable global object hotkeys".

I made the mistake of assuming it did, and that the settings on the Icon page would be disabled if the feature were disabled - neither of which was true. I've now fixed both.

In doing so, I found a bigger issue: XWP-Full starts with fewer features enabled than XWP-Lite/ANXWP. Since nothing in Lite is risky/experimental/controversial, I can't see any reason why Full shouldn't default to the same feature set as Lite. In the next version (1.0.17), it will. All the checkboxes will remain, only the ones that are checked by default will change.

BTW... this only affects new installations - upgrades will use your existing settings and shouldn't change anything.

Applications / Re: XWP v1.0.16
« on: April 05, 2024, 11:59:37 am »
This sub-thread is yet another good reason to use XWP-Lite/ANXWP: it comes preconfigured.

In XWP-Full, you need to check "XWorkplace Installation->XWorkplace Setup->Features->Mouse and Keyboard features->Enable global object hotkeys"

Applications / Re: XWP v1.0.16
« on: April 05, 2024, 11:56:19 am »
I do not have Dynamic Icons installed as, quite simply, it is broken.

How, exactly, is it broken (vs. merely deficient)? I've been using it for 6+ years and it WFM. There's a new version awaiting release that fixes most of the problems I found and uses a lot less memory. Hopefully it will work for you.

I wonder if that is causing the problem you are seeing?

How, exactly, would an add-on that replaces icons with bitmaps interfere with a keyboard feature? So, no, it isn't the cause (see below).

Applications / Re: XWP v1.0.16
« on: March 30, 2024, 05:02:03 pm »
About "Object Hotkey", I understand how it works. First, the Windows key does not work for it.

Before you can use the Win or Menu keys, you have to identify them to XWP. Go to 'System Setup->Keyboard->Function Keys', right-click, then select "New function key". Once they're registered, you can use them as Object Hotkeys but only as a stand-alone key, not a modifier like Shift/Ctrl/Alt.

And when I try to create a combination for it like "Shift+1" or "Ctrl+1" for a folder program object on the desktop, the key combination does not do anything. I was expecting it to open the object (open the folder or launch a program), but it does not work for me.

I tested this on several objects and it WFM. *Except*... you can't use "Shift 1" or Shift-anything because that generates a usable character. On an English keyboard, Shift-1 would turn the exclamation point (!) into a hotkey!

In OS/2 is set as a character key because of the keyboard driver? or because how XWP is coded?

I _think_ it's due to Presentation Manager. As I mentioned, when PM sends a character message to an app, it sets bit flags indicating whether Shift/Ctrl/Alt are down. They're stored in a 16-bit field along with 13 other flags, so there is no room to add another flag, even if IBM had wanted to. The 'Win95Key' utility is able to work around this because it doesn't pay attention to the flags and instead reads the keyboard's physical state to see what key(s) are currently pressed. That's OK for a specialized util but impractical for the average app.

Applications / Re: XWP v1.0.16
« on: March 29, 2024, 04:38:52 pm »
When I add a hotkey, on the "Hotkey" field, I can only make key combinations that starts with the "Ctrl" and "Shift" key. ex:  "Ctrl+Shift+Alt+A" or "Shift+Alt+A" (Pic_001)
There can not be combinations that start or uses the "Windows key" or "Win Menu" key.

On OS/2, the Win and Menu keys are just "character" keys not "shift" keys. What you're asking for is equivalent to asking "Why can't I use '<Tab>-9' or <F3>-Q' as a hotkey combo?". Shift/Ctrl/Alt set flags to indicate they were down when some other key was pressed. There just isn't a Win or Menu flag in OS/2.

2) Also, what if, on the "Parameter" list we include the functions that are also listed on the "Keyboard - Windows Key" (STYLER.EXE W) settings. ? (Picture #2)
Or maybe this makes no sense, because are "Folder Hotkeys" and you want to to executing non-folder actions there.

Maybe using an "Object Hotkey" which lets you set a key-combo to open an object will serve some of your needs. You can set this on the 'Icon' page of any object's notebook (e.g. have Dooble open when you press "Alt-Shift-D').

Applications / Re: XWorkplace Xview - Icon Size
« on: March 21, 2024, 05:52:16 pm »
Do you know if there is a way to increase the icon size on the "Xview" view in XWP?

If you want full-sized icons (40px), you can select View->Options and uncheck "Small icons".

It is something on xWorkplace or in DynamicIcons?

Dynamic Icons was designed to support one window per folder - it does not understand Xview's file-manager design. Now that I have a better idea of how Dynamic Icons works internally, I can see several ways to add support for Xview. The question I have is whether it is really appropriate to do so.

XWP is OSS licensed under the GPL. D.I. is proprietary software owned by ecoSoft that can only be distributed as part of AOS. Should I add support to XWP for a feature that only benefits some users - even if I can do it in a way that doesn't violate the GPL?

It would be more appropriate to add this support to D.I. but I don't own or control it. And quite honestly, I'm unwilling to work on profit-generating software without being paid for my efforts. As it happens, I just finished working on a major update to D.I. that AN did pay me for. But, are they willing to put out more money for yet another round of enhancements? I don't know.

Applications / Re: XWP 1.0.17: any availability date ?
« on: March 20, 2024, 05:11:07 pm »
Out of interest but also need (I had raised 2 tickets): is there a rough availability date for XWP 1.0.17 ?

Normally, I don't release a new version of XWP until there are enough new features and bug fixes to make it worth the user's time and effort to install it. That typically occurs every 12-18 months (the last one was released 4 1/2 months ago). As it happens, I think I've achieved this "critical mass" sooner than usual, so I expect to do a new one in the next several months.

I was curious and looked into the XWorkplace/XWPHelpers SVN repos but could not see any checkins from Rich. I therefore suspect that currently, he only has done the changes to his local copy.

I usually keep the Netlabs repo at the same level as the most recent release. Anyone who builds it himself and then runs into problems can compare his results to the released binaries to determine if he introduced the issue or if it was already there but hadn't been noticed before. Further, I don't think it's helpful for other builders to have to wade through my mistakes and delays (i.e. a commit, 2 fixes for that commit, another commit a month later to finish it, etc, etc.). Before I commit anything, I consolidate all of my patches for a given feature or bug-fix into a single coherent patch that can be rolled-back easily if the builder wishes.

Programming / Re: FAT32 vs FAT16
« on: March 20, 2024, 03:33:24 pm »
indeed I'm missing information but it doesn't exactly answer the question as to why lvmgui reports a partitions entry as corrupt if it's FAT16 and not when it's FAT32?

I didn't "exactly" answer your question because there are no valid answers to invalid questions.

You seem to be convinced that this is a FAT16/FAT32 problem. If it is, then changing the '06' to '0C' should fix it. Have you tried that? I'd be really, really amazed if it did because LVM doesn't care what filesystem is in use. It cares about whether the partition's start/end/size look valid and whether the corresponding DLAT info is present and valid. And from what you say, it isn't.

BTW... neither of the questions you posted provide any clue as to what the _real_ problem is or how your system came to be in its current state. Without context, it's awfully hard to provide a useful answer. For example, you say that you're "missing information" without identifying whether both images are missing this info or just one is (and if just one, which one). Stuff like this matters - and without it, it's just another case of "Garbage In, Garbage Out".

Programming / Re: FAT32 vs FAT16
« on: March 19, 2024, 06:42:47 pm »
There's more to an OS/2 partition than just its partition table entry: there's also its entry in LVM's DLAT (Drive Letter Assignment Table). For primary partitions, this is stored in the last sector of the disk's first track. Using C/H/S notation 0/0/63 on most disks (i.e. LBA 0062).

This isn't something that's easily edited because the DLAT header contains a CRC for that sector - changing anything renders the CRC invalid. Instead, you may want to try copying this sector from one image to the other.

Programming / Re: Partition alignment
« on: March 18, 2024, 05:41:06 pm »
Looking at the Partition Alignment section at it says:

 > ArcaOS expects partitions to be CHS-aligned

Does anyone know what it means by CHS-aligned?

For a comprehensive discussion of hard drive geometry (including some helpful illustrations) see After reading that, the following will make sense: a CHS-aligned partition can start and end at any cylinder but it must start at the very beginning of the first cylinder (i.e. Head 0 Sector 1) and end at the very end of the last cylinder (typically, Head 255 Sector 63).

F.Y.I.  the AOS FAQ you cited is out-of-date: AOS 5.1 supports both NVME drives and the GPT partitioning scheme. It is also incorrect since OS/2 _does_ support partitions that are not cylinder-aligned (though no OS/2 tool will ever create a non-aligned partition).

Programming / Re: About somFree
« on: March 15, 2024, 07:06:29 am »
I was wondering it as an experiment to have a WPS class that has Qt elements on it, instead of PM.

No experiments needed, the results are already known: if the thing is well-crafted, it will look nice. But at what cost?

Here are the DLLs that will drawn into the WPS if this widget or whatever links to nothing but 'qt5core.dll':
libcn0 stdcpp6 gcc1 libcx0 libc066 z1 icuuc icuin icudt pcre260

Each one of these links to other stuff - and more than likely, this thing will link in still more stuff - none of which exists in the WPS process currently. Do you really want to burden your entire system from the time it boots up with the shared memory demands of some marginal new widget? I hope not.

And why? What is in such desperate need of whatever Qt has to offer? If you were proposing replacing the Desktop with Qt, I'd be a lot more sympathetic than I am to the idea of tacking on some Qt-whatever "just because you can".

Applications / Re: XWP v1.0.16
« on: March 14, 2024, 11:46:16 pm »
Is the "IFX Options" GUI also yours?
Can it please be also possible to respect the XWP font size settings?

This dialog uses 10.Helv and I'd like to continue using that typeface. I'll see what I can do about the sizing...

The next version will use 10/12/14/18pt Helv. You won't see any change unless your 'Text Size' setting is X-Large or greater (there isn't a 9pt or 11pt Helv, so Small/Medium/Large all use the current 10.Helv).

Programming / Re: About somFree
« on: March 14, 2024, 07:18:21 pm »
Is it possible to create a SOM Class in OS/2 that runs a Qt GUI interface? Or some kind of "bridge" is missing? Of course it would not be as fast as PM, but just wondering.

IMHO, it would be a collossal mistake to weigh the WPS down with all of the baggage that Qt requires (libc, libcx, libcn, etc, etc). Do you really want to risk having your Desktop fail to start because of some ill-considered change to any one of a dozen DLLs? In any case, it isn't SOM that determines what the GUI looks like - it's the developer.

Applications / Re: XWP v1.0.16
« on: March 14, 2024, 07:01:23 pm »
Is the "IFX Options" GUI also yours?
Can it please be also possible to respect the XWP font size settings?

This dialog uses 10.Helv and I'd like to continue using that typeface. I'll see what I can do about the sizing...

Pages: [1] 2 3 ... 23