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 - Alex Taylor

Pages: [1] 2 3 ... 21
Applications / Re: To .config or not .config
« on: October 03, 2022, 01:59:29 pm »
%HOME%/.config is a Qt thing. The built-in Qt routines for reading/writing settings automatically use that location.

Applications / Re: VisualAge for C Modern Installer
« on: September 25, 2022, 05:37:02 am »
I wrote a couple of articles years ago on how to install FI based products without Netscape:

General Discussion / Re: I have a problem
« on: July 27, 2022, 04:53:32 am »
I have the same motherboard. However, I'm using a CPU (not an APU), so I'm not using onboard video support. Instead I'm using a PCIe Radeon RX550 GPU video card. Perhaps that may be relevant?

Here, Air-Boot works OK in CSM mode... with one exception, that being that it doesn't recognize the NVMe disk but only the SATA drives.

It seems like the one printer is not embedding TrueType fonts. The IBM PSCRIPT driver doesn't support this. The newer PSPRINT driver does, but it requires a few things, namely:
  • The printer has to support it (i.e. the PPD must have the TTRasterizer attribute set to Type42)
  • The embedding feature has to be turned on in the printer driver properties.
  • The print job properties must have the number of downloaded fonts set to a high enough number to cover all the fonts being used in the document (20-30 is usually sufficient).
  • The fonts specified in the document must actually be installed on your system.
  • Each embedded font can be no larger than 2 MB (1MB if the printer has no FreeVM defined), or half the printer's RAM, whichever is less.

Applications / Re: anpm - yum permission denied ?
« on: May 04, 2022, 03:57:40 am »
I saw this same error (same package) when I changed my platform from i686 to pentium4 and then immediately attempted to install libc and libcx. libc started to install but then this message came up.  I suspect the change in platform may have confused things.  I did see yum apparently seemed to suddenly think that the pentium4 version of libc was installed after changing the platform.

I rebooted, after which the currently-installed libc showed as i686 again, and I was able to update it (the latest pentium4 version installed) with no further issue.

Applications / Re: SeaMonkey downloads and Unix permissions
« on: January 10, 2022, 03:54:08 am »
In my QE editor and a few other programs, I simply make sure that new files are created without EAs. 

More precisely, because libc creates these file permission EAs on a new file automatically, my save routines all have some logic to immediately delete them if the file was new. (I don't do that when updating an existing file because the user might actually have set them on purpose.)

Code: [Select]
    if ( !fileExists ) {
#ifdef __OS2__
        // If this is a new file, get rid of the useless default EAs added by klibc
        deleteEA( pszFileName, (PCSZ) "UID");
        deleteEA( pszFileName, (PCSZ) "GID");
        deleteEA( pszFileName, (PCSZ) "MODE");
        deleteEA( pszFileName, (PCSZ) "INO");
        deleteEA( pszFileName, (PCSZ) "RDEV");
        deleteEA( pszFileName, (PCSZ) "GEN");
        deleteEA( pszFileName, (PCSZ) "FLAGS");

Code: [Select]
unsigned long deleteEA( char *pszPathName, const char *pszEAName )
    PFEA2     pFEA2 = NULL;
    EAOP2     eaop2 = {0};
    size_t    cb = 0;

    cb = sizeof( FEA2LIST ) + strlen( pszEAName );
    pFEA2List = (PFEA2LIST) calloc( cb, 1 );
    if ( pFEA2List ) {
        pFEA2List->cbList = cb;
        pFEA2 = pFEA2List->list;
        pFEA2->cbName = (BYTE) strlen( pszEAName );
        strcpy( pFEA2->szName, pszEAName );
        pFEA2->cbValue = 0;

        eaop2.fpFEA2List = pFEA2List;
        rc = DosSetPathInfo( (PCSZ) pszPathName, FIL_QUERYEASIZE,
                             (PBYTE) &eaop2, sizeof( eaop2 ), DSPI_WRTTHRU );
        free( pFEA2List );
    return (unsigned long) rc;

Setup & Installation / Re: VirtualBox and Warpin (wic.exe)
« on: December 30, 2021, 03:26:52 am »
So I extracted the install script (wic -X) from the VirtualBox WPI file and listed the package (wic -l), but I have not found a way to list the specific files in the package other than extracting them with wic -x. It looks like I should be able to delete the 9 files, add the newer versions from the Guest Additions ISO, update the script (see below), and add that, as well.

Archive: "vboxadd.wpi"
WPI revision: 3
Stub size: 0 bytes
Package 1
     9 files, size:  5,107,122 bytes original
                     1,694,924 bytes compressed (67% compression)
Summary: 1 package(s), 9 files total
     5,107,122 bytes original
     1,694,924 bytes compressed (67% compression)

Put a package number at the end of the command line to see the files in that package.

Or you can use my ARCVIEW program, it will display WPI file contents.

The version string for the PACKAGEID in the install script would need to be changed:
<PCK INDEX=1 PACKAGEID="Oracle\VirtualBox\Client Additions\6\1\12"

What am I missing?

Other than updating the changed files, not much. Unless, of course, the actual required install logic needs to be changed, in which case you'll need to figure that out.

Applications / Re: Time sync in VirtualBox guest off by 1 hour
« on: July 20, 2021, 03:44:14 am »
FWIW, Dmitry seems to have isolated the problem in libcn and has provided a test build (link in the quoted ticket) which appears to fix the problem here.

For the past several days, I have been getting redirected to a page with this error whenever I log on to OS2World.

Logon itself succeeds. I can hit Back or select the Home page link and continue from there.

Applications / Re: Time sync in VirtualBox guest off by 1 hour
« on: July 19, 2021, 03:40:54 am »
OS/2 doesn't adjust to daylight saving time anyway. Of course, I can set daytime (if I run it) to take DST into account, but I wasn't running daytime while using the additions.

Mine does, what am I doing right?

Presumably, you're running either an add-on program which does this, like DSTswitch, or a network time sync utility like CLKMGR or daytime.

In any case, there has been some progress in identifying the problem here. It seems the VBox additions are not the only affected program:

Applications / Re: Time sync in VirtualBox guest off by 1 hour
« on: July 17, 2021, 01:45:10 am »
I often set the time sync of the VM to be independent of the host operating system.  To disable time sync:
Use a command line:
"C:\Program Files\Oracle\VirtualBox\VBoxManage" setextradata "arca_vm" "VBoxInternal/Devices/VMMDev/0/Config/GetHostTimeDisabled" 1

Unfortunately, I assume that will have much the same effect on the clock as disabling additions, meaning I can't set it up to sync when resuming the VM from pause state.  The nice thing about the additions is that the clock is constantly kept in sync and doesn't rely on running a remote sync tool at regular intervals like daytime.

It's not good to set up a remote sync tool to run every minute (or less), which is what would be needed to simulate this function in the guest.

The VM reads and presents the system time as the host operating system presents it, this means that when you install a guest system you should always instruct the guest operating system not to adjust to daylight savings time, and not to use internet time correction/lookup. It is getting the correct time from the host anyway.

Otherwise both the systems will correct themselves during DST changeovers.

OS/2 doesn't adjust to daylight saving time anyway. Of course, I can set daytime (if I run it) to take DST into account, but I wasn't running daytime while using the additions.

Applications / Time sync in VirtualBox guest off by 1 hour
« on: July 16, 2021, 04:19:36 am »
I'm setting up an OS/2 (ArcaOS 5.0.6) guest in VirtualBox 6.1.22 running on Windows 10. 

I've installed the OS/2 Guest Additions, which (among other things) keeps the guest time synced to the host. Except... it insists on setting the guest's time to 1 hour behind the correct time. I assume that it's failing to take DST into account.

My guest TZ value is:


which is correct, and works fine for native OS/2 time sync programs like DAYTIME.

My host (Win) is set to the UTC-5 (Eastern US & Canada) zone with daylight saving time enabled. It does show the correct time (which is one hour ahead of what the guest shows).

Has anyone seen this before, and have any ideas how to fix it? This is a real problem. I've temporarily had to disable Additions entirely but that's obviously a terrible workaround.

Setup & Installation / Re: A question of fonts
« on: June 14, 2021, 11:43:11 pm »
Judging by your screenshot, it actually appears to be working.

Believe it or not, that is actually the font's name that you see in the font folder.  More accurately, it's the string which the font header has in its face name field.

My command-line font header tool reports the following on this font:

Code: [Select]
FreeType 2 library initialized successfully.
Font (null) read successfully.
Names table contains 12 entries:
 0: Plat 1, Enc 3, Lang 0x2, ID  4  [4 bytes]
 1: Plat 3, Enc 1, Lang 0x409, ID  0  (U)"Copyright (c) 2016 Swiss Typefaces Sarl. All rights reserved."
 2: Plat 3, Enc 1, Lang 0x409, ID  2  (U)"¶"
 3: Plat 3, Enc 1, Lang 0x409, ID  3  (U)"Copyright (c) 2016 Swiss Typefaces Sarl. All rights reserved."
 4: Plat 3, Enc 1, Lang 0x409, ID  4  (U)"¶"
 5: Plat 3, Enc 1, Lang 0x409, ID  5  (U)"Version 1.000"

Strings 2 and 4 are the font name strings.

Just to verify that this isn't some bug in FreeType (which my tool uses), I opened the font in FontLab Studio and examined the header there. I confirmed it has a null value as the family name, and a single junk character as the face name.

I also notice that the font's license field says that it's licensed exclusively for the use of eBay, Inc.

I conclude that this is a special font designed for a specific application, and is not designed for general use.

Networking / Re: Arcamapper (SAMBA) loses connection
« on: May 28, 2021, 01:40:16 am »
I use a Synology NAS from ArcaOS with the latest ArcaMapper. (Actually, my current installed NDPSMB and Samba libraries are probably newer than what's in 5.0.6 as I have some components installed from the arcanoae-exp repo.)

I have no problems from my ArcaOS laptop browsing images on the NAS with PMView. I recently moved a lot of my DSLR photos onto the NAS and haven't had any issues.

One thing that may be worth mentioning - I have EA Support turned off for all my shares on the NAS, precisely because ext* doesn't support them to the extent OS/2 assumes. If the EAs are indeed a problem, you might be better off turning them off when mounting the share, because most programs are capable of recognizing when EAs are unavailable and acting accordingly. OTOH, if they think EAs are supported and they aren't (adequately), then I could see some things running into problems.

(Disclaimer: I work for Arca Noae, so you might not take my assurances as perfectly objective, although I assure you they are perfectly sincere.)

Web applications / Re: QT5 simplebrowser
« on: February 21, 2021, 06:53:54 pm »
Looks like libevent is what you want:

[C:\]yum provides */evnt*
libevent-2.1.11-2.oc00.i686 : Abstract asynchronous event notification library
Repo        : netlabs-rel
Matched from:
Filename    : /@unixroot/usr/lib/evnto217.dll
Filename    : /@unixroot/usr/lib/evnte217.dll
Filename    : /@unixroot/usr/lib/evntc217.dll
Filename    : /@unixroot/usr/lib/evnt217.dll
Filename    : /@unixroot/usr/lib/evntp217.dll

Pages: [1] 2 3 ... 21