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 ... 8 9 [10] 11 12 ... 23
136
Setup & Installation / Re: Changes in title bar possible?
« on: August 14, 2023, 09:56:40 pm »
Is it possible to remove the gradient background on the maximize minimize close buttons in the title bar on ArcaOS for a more authentic Warp4 look?

Go to SystemSetup->Appearance->Styler Preferences Sorry... I was thinking of titlebar gradients which is something that Styler controls.

Quote
Another question: Warp3 automatically enlarges the title bar with higher resolution and font. Since Warp 4 I miss this feature. Are there also ways to adjust the title bar to the font size under ArcaOS?

The next release of XWP will allow you to set the text size for menus, titlebars, folders, and dialogs system-wide. Everything (including titlebars) will be scaled accordingly. There will also be a new release of Styler to accommodate these changes.

137
Setup & Installation / Re: USB to Serial adapter setup
« on: July 19, 2023, 11:36:34 pm »
Have you tried USBSER.SYS which Martin cited above? (http://www.edm2.com/index.php/USBSER.SYS)

It's list of supported devices includes:  "USB Serial Adapter on Belkin F5U116 USB Multi-Port Hub"

138
Applications / Re: Registry editor
« on: July 17, 2023, 06:28:47 pm »
I suspect that the Prf API is not really good at compressing the INI file, if keys are removed, truncated and/or subsequently enlarged. The only thing that will then (hopefully) help is to actually create a new INI file.

INI files have no dead entries, slack space, etc. so rewriting the files will have no effect.

The only solution for an oversized os2.ini is manual maintenance. There is no way for an automated tool to know that a given entry belongs to some app that you deleted 2 years ago. Only you know that, so only you can make the informed decision to delete it.

Open an INI editor and scan the list of "Applications" (the top-level key) for entries that are clearly obsolete, then delete them. Next, look for stuff you seldom use. Often the only key associated with the application is "WNDPOS" or "WindowPos" which (as the name says) describes the position and size of the app's main window. If so, delete the application (not just the key) - when you next open the app, its window will open at its default size and location. Do NOT touch any "Application" whose name starts with "PM_" or "PMWP_", or for that matter, anything you don't recognize (often the names of the keys or their data will help identify the origin of an entry).

One tool that may help a bit is my 'Iconomize' util which displays an app's assigned icon and its default icon side-by-side. If the two match (or you don't care about the custom icon), delete it. This can save 4-11k per entry.

BTW... don't even think of editing 'os2sys.ini' manually.

139
Applications / Re: Registry editor
« on: July 15, 2023, 07:11:47 pm »
XFIX from XWORKPLACE is also very good at cleaning OS2.INI but doesn't do OS2SYS.INI which is a pity.

XFix works exclusively on OS2SYS.INI.

 Here's what a well-maintained system looks like (after mowing the grass, trimming the bushes, and pulling a bunch of weeds):

Code: [Select]
7-15-23 12:54p       753,122      0 as-r  OS2.INI
7-15-23 12:50p       109,048      0 as-r  OS2SYS.INI

140
i was able to get warp 4 installed, but not 4.52. for some reason warp 4 will accept the IBMRAID.ADD driver for my devices, but 4.52 will not using the exact same method of modifying boot floppies and installing from CD. i am unfortunately just not sure why this is.

If 4.0 works and 4.5 doesn't, I'd _guess_ that the difference is LVM. I 'd read all those plain-text ReadMeToo files on the CD looking for mention of this device and LVM.

141
Applications / Re: LarsenCommander - new test version
« on: June 10, 2023, 05:45:41 am »
One thing that I would like I would like to see (maybe I can work it out) is to have lcmd.exe look for gl16os2.dll in its own directory first before looking at libpath, this would allow it to run without gl16os2.dll having to be in libpath.
Are you asking for some 'special' code in LCMD which loads the dll from the programs directory regardless of libpath setting? Are there some example programs for such?

The solution to this particular problem is to get rid of the DLL -- there's no reaon for it to exist. The original author claimed that VACPP 4.0 couldn't handle a 16-bit call so he created a separately-compiled file. But rather than simply linking it into the exe with all the other .obj files, he created a dll. Why?

VAC 3.65 has no problem with 16-bit calls, and AIUI, 3.65 is just 4.0 without the class libraries. I'd expect you could compile this file the same as all the others, then add it to the ilink cmd line. Even if you do need to use a different compiler, it should still link OK.

142
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 01, 2023, 02:22:08 am »
You are asking, here is the answer: an application is very likely a 16-bit application if:

Thank you, Lars. Your response was vastly more helpful than mine.

I have deleted my earlier postings but evidence of their ugliness remains in various responses. I apologize to those who still have to see them, most especially Martin.

143
Programming / Re: Compiling a PM sample with GCC (2023)
« on: May 01, 2023, 01:54:20 am »
(Hint: looking up HEAPSIZE in any linker's reference manual would have clued you in - if only you had RTFM).

I just looked. The toolkits tools reference infers it is only for 16bit as there is MAXVAL which equals 64k.

OK, I apologize for overstating my case. I was remembering the details from the 'ilink' reference which states "The HEAPSIZE statement has no effect on a 32-bit OS/2 program.". This is something that Martin would certainly not have access to. In contrast, the ref for 'link386' says nothing about it being 16-bit only.

It simply confirms what I always say: if I don't look something up and/or test exactly what I'm saying, I always get it wrong. It applies to me, and sadly, a great many of other forum participants as well.

144
Programming / Re: Compiling a PM sample with GCC (2023)
« on: April 29, 2023, 08:56:45 pm »
And one warning down, not sure about the signedness ones.

All these signed/unsigned character warnings can be resolved by adding "-DOS2EMX_PLAIN_CHAR" to the compiler flags. See 'os2emx.h' for details.

145
Programming / Re: Building a Dooble RPM
« on: April 21, 2023, 10:00:46 am »
One problem is that the goal of RPM is to produce billable consultant hours rather then ease of use.

Not necessarily, at least in this case. A Google search shows that this is a non-standard, home-brew macro that dmik created.

AFAICT, the problem you're having is that your 'x:\usr\lib\rpm\macros' file should include this macro but doesn't (mine doesn't). Look at the diff attached to http://trac.netlabs.org/rpm/ticket/232 and copy its contents into your copy of 'macros'.

146
Utilities / RunRx v1.20
« on: April 20, 2023, 01:02:06 am »
I was hoping a few people could try this out and report any issues they encounter before I post it to hobbes. Here's what it does:

RunRx enables you to convert a REXX script into a stand-alone executable using nothing more than the OS/2 "copy" command. For example:

    copy runrx.exe /b + myrexx.cmd  myrexx.exe

Use RunRx to create:
  * helper apps - use with programs that don't support running cmd files
  * exe forwarders - e.g. create a faux 'netscape.exe' that starts Firefox
  * command line editors - examine and modify args passed to the target exe

RunRx is not a compiler or interpreter, and does not modify your script. It simply reads the attached script and passes it to the REXX interpreter which executes it. If needed, RunRx can also run a script directly from the commandline without attaching it, e.g. 'runrx myscript.cmd'. See RunRx.Txt for additional info and features.

RunRx v1.20 is licensed for non-commercial use only; a commercial license is available on request.

147
Programming / Re: Qt6 Development
« on: April 20, 2023, 12:15:07 am »
I've attached exehdr output for the 'good'and 'bad' builds.

I was expecting some simple-minded cause but it looks like you're in Steven-territory now. Beside the obvious differences in file sizes, I see that some functions differ in size, mostly larger but some smaller  Were these builds created with the same gcc version and the same optimization level? I tried sorting both listings by offset to look for significant size differences (and found some) but if they're built from different codebases then doing so doesn't prove much since intervening non-exported functions may have been added or removed. You may have to ask Steve to trace the load in his trusty kernel debugger to see why it fails.

148
Programming / Re: Qt6 Development
« on: April 19, 2023, 05:02:06 pm »
I'm seeing errors like this:
Code: [Select]
Loading DLL 'Qt6Core' --> NOT loaded!
Unable to load DLL 'Qt6Core'.  DosLoadModule returned: 87
OS/2 reports '' contributed to the failure.

There's only one reason competent code like chkdll32 would generate an "Invalid parameter" error (rc=87) for this call: the module name it's supplying doesn't point to a valid DLL. IOW, you probably have a linker problem that's generating a dud dll. Run 'exehdr' against Qr6Core to see if it recognizes the file as being a dll.

149
Setup & Installation / Re: ArcaOS and Storage - Discussion
« on: April 17, 2023, 10:59:21 am »
That is fine Rich, you are a programmer and know what to do us other poor slobs don't have that knowledge so use what we were told when UEFI came on the scene.

No, it's not that I'm a programmer, it's that I make a good-faith effort to know what I'm talking about before posting. And, if I'm not 100% sure of my answer I test it first. Far too many people seem to think this forum is some sort of game show: "Be the first to post an answer and you can win a matching set of luggage - No knowledge required". How does that help anyone?

In this case, you say you were told disabling Secure Boot was a requirement even in CSM/BIOS mode, and so you disabled it, relying on something you read. If you saw that in this forum, were you truly well-served by having someone who didn't know and certainly didn't test, posting misinformation that you then repeated? Wouldn't we all be better off if people like that kept their hands off the keyboard rather than leading others astray?

150
Setup & Installation / Re: ArcaOS and Storage - Discussion
« on: April 17, 2023, 01:48:09 am »
Secure Boot needs to be <b>off</b> because we don't have the security key necessary to activate it

Secure Boot is completely irrelevant when booting in CSM mode - it is only supported under UEFI. Plus, many BIOS's disable or ignore it when CSM is enabled since CSM violates the Secure Boot protocol.

As far as having a "security key", that too is largely irrelevant for the intrepid user. I'm running an older 5.1 beta under Secure Boot (along with Win11 and Kubuntu) on a UEFI-only machine. Since my version wasn't signed, I created my own keys, signed the UEFI binaries, then enrolled my public key on the machine. I understand that AN is now signing its UEFI binaries and distributing its public key, so this shouldn't be a major issue for most users - when the time comes...

Pages: 1 ... 8 9 [10] 11 12 ... 23