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 ... 3 4 [5] 6 7 ... 26
61
Programming / Re: Compiling a PM sample with GCC (2023)
« on: April 30, 2023, 08:39:30 pm »
Just one question, do you know where do you set the window size on the PM? The program runs small and you have to rezise the window to see it.
Do you know where can I change that?

Looks like the WinSetWindowPos() on line 61 of DLG.C is setting the window size to 150,150 (fifth & sixth arguments). Increase those numbers if you want a bigger window.

62
Setup & Installation / Re: ArcaOS and Storage - Discussion
« on: April 18, 2023, 02:12:13 pm »
FWIW, my B550-A PRO is BIOS version E7C56MS.A90 dated 03/17/2022. I have ArcaOS installed and running on it. CSM is enabled.

63
Programming / Re: Have you tested any of the new Qt 6 builds?
« on: April 05, 2023, 01:30:11 am »
Hope you get fixed up soon. I know just how debilitating a foot injury can be.  I tore an achilles tendon last year and it was around 5 months before I could walk unaided. It's amazing how much of one's life it puts on hold.

64
Programming / Re: Have you tested any of the new Qt 6 builds?
« on: April 02, 2023, 11:00:44 pm »
Hi Paul,

Not tested so far, but following the progress with great interest. 

The main reason I'm not testing them yet is lack of time. (Also, most of my test-bed systems are largely tied up with other things at the moment.)

65
Hardware / Re: USX keyboard layout
« on: March 26, 2023, 03:29:47 pm »
To follow up on your last question: my main concern wasn't being able to use the UX keyboard under codepage 932. It was the inability to use it at all (even for 850) when specifying it as the keyboard layout in CONFIG.SYS.

However, it does look as if using the WPS keyboard object lets me select it subsequently, even though I get a warning popup.

Trying to use UX specific key combinations in a command prompt after doing this seems to work under codepage 850. Under codepage 932, I just get garbage glyphs in place of any non-ASCII character (as I normally get for double-byte characters, given this is not a DBCS system). 

If KEYBOARD.DCP were to be modified for UX+932, I would probably suggest replacing any unsupported character with ? or similar.  I'm not really sure it's needed at this point, though.

66
Hardware / Re: USX keyboard layout
« on: March 25, 2023, 02:31:26 pm »
Thanks.

To answer your previous question: codepage 932 is an implementation of the Shift_JIS encoding with a few IBM extensions that probably don't need to concern us here.
Note that on OS/2, contrary to what the above pages say, codepage 932 is an alias for codepage 943 (not 942), meaning it's compatible with the JIS X 0208:1983 standard.  (However, this also means it does not include the single-byte tilde, backslash or logical-not characters like codepage 942 does.)

Have to run; I'll answer your latter question later.

67
Hardware / Re: USX keyboard layout
« on: March 24, 2023, 11:45:06 pm »
I know the US International keyboard layout refuses to load on my system because I use codepage 932 (Japanese) as my secondary codepage.

That's strange -- what is your system with CP932 as the secondary codepage?

Not sure what you mean. My CODEPAGE statement is 850,932 if that's what you're asking.

Quote
Quote
I wonder if a modified DCP would allow that...
I am pretty sure it would (here, anyway) so a new DCP can be built. The question, though, is what could be put in there? I mean, other than the ¥, which does work already, what other special characters of USX are present in CP932?

Looking through CP932, there seems to be a dozen or so, including most of the combining accents and a few other symbols. However, they're all encoded as double byte characters. I don't know if it's possible to handle that.

68
Hardware / Re: USX keyboard layout
« on: March 24, 2023, 03:56:25 am »
I know the US International keyboard layout refuses to load on my system because I use codepage 932 (Japanese) as my secondary codepage.  I wonder if a modified DCP would allow that... 

69
Utilities / Re: DUMPFS setup
« on: March 05, 2023, 03:35:24 pm »
OK, thanks Dave and Lars... I was afraid it might be the NVMe drive. If ArcaOS 5.1 is ever actually released I was planning on running exclusively on NVMe, so guess I should try to set up with a RAM drive.

  Do either of you know if this is something that could be added to the NVMe driver, or is it a kernel limitation? I could raise an issue at the Arca bug tracker...

I suggest you open an issue on the bug tracker, yes (and include a testlog).  That's generally the best way to get a problem addressed.

70
Applications / Re: ANPM - YUM error. [Errno 256] No more mirrors to try
« on: February 18, 2023, 05:42:35 am »
Thank you for the answers. Here is the Debug Log:

----------[ ANPM 1.1 (202212271) started in debug mode: 17 Feb 2023 10:49:54 ]----------
[InitSpecialProcessing] Setting globals.!proclist_uri = "http://repos.arcanoae.com/anpm/pkgproc_url 2"
[InitSpecialProcessing] Setting globals.!needsboot = "libc libcx libgcc1 libgcc freetype fontconfig"
[InitSpecialProcessing] Setting globals.!priority1 = "libc libcx libgcc1 libgcc python2-rpm"
[InitSpecialProcessing] Setting globals.!priority2 = "python"
[InitSpecialProcessing] Setting globals.!priority3 = "rpm yum"
[InitSpecialProcessing] Setting globals.!priority4 = "os2-base"
[InitSpecialProcessing] Setting globals.!priority5 = "os2-mpts"

The same problem occurs with a fresh installation of ArcaOS 5.0.7.

Whatever is triggering this error, it doesn't seem to be coming from within ANPM. I can only surmise something is wrong on your system, but it's hard to say what. I suggest you open a ticket with Arca Noae, and include both the ANPM debug log, and (as per standard procedure) a TestLog of your system.

71
Applications / Re: ANPM - YUM error. [Errno 256] No more mirrors to try
« on: February 17, 2023, 01:06:43 am »
After updating to ANPM 1.1.0 the app crashes immediately. ANPM.err says:

Line 25 of NLSSetText in yumie.VRM:
+++                           Call VRSet control, property, text;
*** Error 40 Incorrect call to routine
Line 32 of ProgressUpdate in yumie.VRM:
+++                       Call NLSSetText 'DT_PROGRESS1', 'Caption', 190;
Line 25 of ProgressEvent in yumie.VRM:
+++           Call ProgressUpdate data;
Line 51 of Main in yumie.VRM:
+++       Call ProgressEvent;
Line 51 of Main in yumie.VRM:
+++     Interpret _VREEvent;

Anyone an idea?

I don't see any obvious reason for that crash. Are you, by any chance, running a non-default REXX interpreter (e.g. Object REXX), or a non-default system shell (e.g. 4OS/2)?

72
Storage / Re: LVM stopped working
« on: February 16, 2023, 05:32:13 am »
Quote
(FTR, MiniLVM doesn't use REXX at all.)
Thanks for clarification. Do you use standard PM windows programmed in C? With URE created resource files or manually edited text files? Just curious....

It's straight-up C and PM-OS/2 APIs. The resource files were originally created using dlgedit but are manually edited and maintained since.

I used a similar approach for LVMPM, although the main window is created programatically (and uses various custom controls): https://github.com/altsan/os2-lvmpm
(I really should get back to this program at some point, it currently lacks proper GPT support.)

73
Applications / Re: Firefox 45.9 XUL.DLL error
« on: February 11, 2023, 07:56:44 pm »
Since the exception is happening in the PSPRINT driver, I suggest you delete all PM printers (or at least all of those using PSPRINT). If that fixes it, you can then reinstall printer(s) one by one and make sure Firefox still runs.

(By delete, I mean fully delete the printer queue and the driver instance, which you can do using PM Printer Manager, or the old FaxWorks PRNDRV.EXE.)

74
Applications / Re: Start a program using utf-8 as system codepage
« on: February 11, 2023, 07:52:30 pm »
Use an editor that can display unicode such as Alex's qe.exe or featherpad. Or a browser.

How will PM123 display these audio metadatas ?

The CPPal technique might work here, but I doubt the results would be great. Ideally, PM123 should support it internally, I'm not sure if it has that logic or not (I don't generally use it myself). If not, it probably wouldn't be that difficult for a programmer to add.

75
Applications / Re: Start a program using utf-8 as system codepage
« on: February 11, 2023, 07:48:57 pm »
FYI: On the latest Warpstock Alex taught me how to use CpPal and I documented here to don't forget it: "Displaying an Application with Japanese Characters Correctly"

Nice article, but it could benefit from some tweaks. If you've modified CONFIG.SYS to have 932 as secondary codepage, you really want to change the process codepage (which will work in this case).  So in CPPal you'd want to select "secondary codepage" before dragging. And, in fact, if you've got 932 as a secondary codepage you technically don't need CPPal at all, you can just run the program from a session which does 'chcp 932' before starting the program.  (The program object's Language tab also lets you do this.)

CPPal is really useful when you don't have the secondary codepage set, but in that case the results aren't great if you're changing from a single-byte to a double-byte codepage.

Pages: 1 ... 3 4 [5] 6 7 ... 26