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.

Topics - Martin Vieregg

Pages: [1] 2 3
Setup & Installation / ArccaOS 5.0.6 does not see hard disk; FAT32 problems
« on: November 06, 2021, 04:58:52 pm »
(1) I have got two HDs installed, a SSD with the operating systems and a bigger HDD for backups, videos, music and so on. I have got both 5.0.2 and 5.0.6 installed. 5.0.6 does not see the HDD, 5.0.2 and Windows sees it. Any ideas?

(2) I thaught that the ArcaOS FAT32 driver is the more stable one, compared to the Netlabs version. But now I tried to copy 500 MB of data to the FAT32 drive (internal SSD) with the original ArcaOS FAT32 driver. Copy runs without problems. But after restarting, both Windows and ArcaOS does not see the new files anymore. chkdsk /D on Windows has no effect. (This had always an effect with Netlabs driver). Any ideas?

Setup & Installation / YUM default platform setting
« on: October 19, 2021, 02:35:36 pm »
After getting problems with two ArcaOS installations, I started a new installation of ArcaOS 5.0.6. Meanwhile, installation really runs fine on my two computers. But I wonder why on the one computer, the default Arca Noae Platform setting (Manage - Platform) is "pentium4", on the other "i686". Only on the "i686" computer, OpenOffice 4.1.8 works. On the "pentium4" computer, it ends with the 2nd start screen (User Name). I did not install any other software on both systems. The main difference (besides another manufacturer of the AMD4 motherboard) is that the one which works ("i686") has got a Ryzen 2200G 4 core APU without Hyperthreading (= 4 threads), and the one where I have got the problems ("pentium4") is a Ryzen 3400G 4 core with Hyperthreading (= 8 threads), and more clock speed.

Is it possible that ArcaOS does not like Hyperthreading (sorry, I cannot turn it off on the BIOS) and switches back to the more secure "pentium4"?
Can I force i686 while installing ArcaOS ? I did not find a setting in the installation routines.

Storage / exFat or FAT32 ?
« on: September 25, 2021, 11:37:40 pm »
Since a few days, I thought that the only way to store data together with other OS is FAT32. Then I put a EXFAT pre-formatted SD card of my new Smartphone into the USB adapter, and - what a surprise - it can be accesses without any problems with ArcaOS without formatting via DFSEE.

I have got serious problems with FAT32 partitions on my Hard Disc with FAT32. ArcaOS often hangs.

Now my question:
(1) Is it better to format my USB sticks used for data transport between ArcaOS and other OS with EXfat instead of FAT32 ?
(2) Can I format a HD partition with EXFAT ?
(3) Is there a OS/2 tool (dfsee?) where I can format a partition with EXFAT?
(4) What about performance and stability on ArcaOS in comparison to FAT32 ?

Mail-News / pmMail 3.24 serious problems
« on: August 19, 2021, 12:09:41 am »
I have got serious problems with pmMail 3.24. It is nervy that it always tries to reindex folders when opening a folder, and the processor load is heavy when re-indexing a folder by command (I have SD and Ryzen processor). But my main problem is now, that in the SENT Folder, pmMail 3.24 omits the "From:" line in the mail. That would not be a problem, because in my SENT folder, all stored mails are written by me. But when reindexing the folder, I get the error message:

Code: [Select]
Folder Re-Index - <Sent Mail>
Content has no FROM address: [VIEREG0.ACT\SENT.FLD\qtao1500.msg]
Content has no FROM address: [VIEREG0.ACT\SENT.FLD\qtaozp00.msg]
Content has no FROM address: [VIEREG0.ACT\SENT.FLD\qtat8g00.msg]
Content has no FROM address: [VIEREG0.ACT\SENT.FLD\qtcf3y00.msg]
(and so on)

So all sent mails which I have sent with pmMail 3.24 are vanishing when reindexing the SENT folder. That's not funny !

Can someone send this bug report to the autor or send me the address or buglist page where I can send this description? Thank you.

Applications / pmMail and TLS 1.2
« on: July 15, 2021, 07:09:59 pm »
My E-Mail provider sent me an E-Mail some weeks ago that TLS 1.0 and TLS 1.1 is no more supported in the future. Since yesterday, I cannot receive mails anymore with the current pmMail 3.24 version. Sending E-Mails is still working.

I get the very helpful account error message

Code: [Select]
Error: Error 0
I do not find any content about TLS in the pmMail documentation.

The more detailed query in english language is here:

Applications / SkyChart from 1990
« on: December 16, 2020, 04:39:50 pm »
There's a tiny nice program SkyChart which has been written for OS/2 1.3 in 1990. It still works on current OS/2 systems:
then press "SkyChart".

The program shows the night sky on a specific location and a specific time.

But there are two bugs:
- Date bug: the current date is 2000 instead von 2020
- Resolution bug: Screens larger than 1920x1200 immediately crash the program.

The authors are Hans Bloemendaal and Klaas van Ditzhuyzen, Netherlands. Does anyone has still contact with them? If I get the source code, I could try to fix the two bugs.

I like the program more than current Windows programs, because it is so simple.

Setup & Installation / Problem with SNAP resulution
« on: October 10, 2020, 06:15:15 pm »
I have installed ArcaOS 5.0.6 on a old Computer from 2009 where an ecs 2.0 silver release has been installed before. An ATI X300 graphics card is installed where a 1920x1200 16M resultion works fine.

I cannot switch in the "Screen" object to 1920x1200 resultion. I can click to it, but after rebooting, I always get a 1600x1200 resolution.

I have compared the settings with the old SNAP version from 2006 with eCS 2.0. The monitor is recognized, in both cases DPMS is on, GTF is off. In the old SNAP, there are checkboxes "Wide Resolution" on and "4 x 3" res on which are no more existant in the newer SNAP.

Any ideas?

Programming / Table of similar API calls for OS/2 and Windows ?
« on: July 11, 2020, 11:13:01 pm »
Does a tutorial or list of corresponding API calls for OS/2 and Windows, like DosCreateNPipe (OS/2) and CreateNamedPipe (Windows) exist somewhere?

Programming / MeShell problem - start progname inherits stdin/out
« on: June 30, 2020, 10:40:14 pm »
I have realized now why sometimes starting MeShell fails ("cannot create inpipe...") because a named pipe which has to be closed when closing the last instance of MeShell seems to be still occupied.

The problem occurs if a program has been started via start from MeShell:

[C:\] start e

starts the e Editor in an own session. But it seems that this new session inherits stdout and stdin from the calling cmd.exe process, even it is a PM program, and stdout and stdin are redirected named pipes which are generated when starting MeShell. So when leaving MeShell, the pipes are still occupied while the e Editor is running and MeShell cannot be restarted. After closing the e Editor, you can restart again MeShell. Any idea how to omit inheriting stdin/out/err when starting a program in an own session via Cmd.exe?

I have written a syntax completion of commands for the next MeShell version. For this purpose, I have saved the PATH list exe, com, bat and cmd files in a very fast string list. I want to use this for another purpose:

In my opinion, it is nervy to write "start" in front of the name of the PM program which is not running in the same session as cmd.exe. Otherwise MeShell switches to non prompt state (LED glows red). I want to send a "start progname" to cmd.exe instead of "progname". I need a secure way to binary analyze the EXE file and to see if it is a PM program or a cmd program (generating stdout or VIO and running in a command window). Any ideas what part of the binary I have to check? Or is there an API call doing this?

Applications / PDFtk for OS/2 would be nice!
« on: May 30, 2020, 10:07:57 am »
Sometimes I start Windows only for concatenating PDF files to a single PDF file with the commandline tool


It is much better than the (?) gs based epdf OS/2 tool.

The name of the commandline version is pdftk-server

Here is the homepage where the source is available.

Here is a part of the docu:
Code: [Select]
       Collate scanned pages
         pdftk A=even.pdf B=odd.pdf shuffle A B output collated.pdf
         or if odd.pdf is in reverse order:
         pdftk A=even.pdf B=odd.pdf shuffle A Bend-1 output collated.pdf

       Decrypt a PDF
         pdftk secured.pdf input_pw foopass output unsecured.pdf

       Encrypt a PDF using 128-bit strength (the default), withhold all per-
       missions (the default)
         pdftk 1.pdf output 1.128.pdf owner_pw foopass

       Same as above, except password 'baz' must also be used to open output
         pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz

       Same as above, except printing is allowed (once the PDF is open)
         pdftk 1.pdf output 1.128.pdf owner_pw foo user_pw baz allow printing

       Join in1.pdf and in2.pdf into a new PDF, out1.pdf
         pdftk in1.pdf in2.pdf cat output out1.pdf
         or (using handles):
         pdftk A=in1.pdf B=in2.pdf cat A B output out1.pdf
         or (using wildcards):
         pdftk *.pdf cat output combined.pdf

       Remove page 13 from in1.pdf to create out1.pdf
         pdftk in.pdf cat 1-12 14-end output out1.pdf
         pdftk A=in1.pdf cat A1-12 A14-end output out1.pdf

       Apply 40-bit encryption to output, revoking all permissions (the
       default). Set the owner PW to 'foopass'.
         pdftk 1.pdf 2.pdf cat output 3.pdf encrypt_40bit owner_pw foopass

       Join two files, one of which requires the password 'foopass'. The out-
       put is not encrypted.
         pdftk A=secured.pdf 2.pdf input_pw A=foopass cat output 3.pdf

       Uncompress PDF page streams for editing the PDF in a text editor (e.g.,
       vim, emacs)
         pdftk doc.pdf output doc.unc.pdf uncompress

       Repair a PDF's corrupted XREF table and stream lengths, if possible
         pdftk broken.pdf output fixed.pdf

       Burst a single PDF document into pages and dump its data to
         pdftk in.pdf burst

       Burst a single PDF document into encrypted pages. Allow low-quality
         pdftk in.pdf burst owner_pw foopass allow DegradedPrinting

       Write a report on PDF document metadata and bookmarks to report.txt
         pdftk in.pdf dump_data output report.txt

       Rotate the first PDF page to 90 degrees clockwise
         pdftk in.pdf cat 1east 2-end output out.pdf

       Rotate an entire PDF document to 180 degrees
         pdftk in.pdf cat 1-endsouth output out.pdf

It would be really useful to port the project for OS/2. It is available for several Unixes, for Windows and for MacOS. So I assume that porting should be possible with not too much work.

Programming is not my main job, and I use WDsibyl Pascal environment and for my few small C projects the old Borland C IDE 2.0 and there was not the need of installing a current C compiler. The feedback with MeShell users show me that a main purpose of MeShell will be to have a better frontend for commandline compilers. I first did not had these users in the focus and now I realize that these programs often generate more stderr output than stdout. So I have to check this purpose myself to find bugs and to get a feeling about the usability of my program with this purpose.

Now I want to install a current C compiler. I assume that meanwhile GCC is the only option after Open Watcom has been abandoned and Borland C for a much longer time. Is Gnu C 8.30 here:

the right location at the moment? I want to install the "mainstream" compiler, not the newest version. I prefer an easy installation.

How do you work with a commandline compiler? Which source code editors do you use?

We already discussed the question how commandline programs with colored text output are working. Meanwhile, I got feedback that several programs like the gcc compiler and other programs coming from Unix do not show colored output in MeShell. So they do not use ESC sequences which run through the pipe without problems. But the VIO window rests empty - in comparison to Laurence which programmed a sample for me (see here) where the output is shown without colors in MeShell and simultaneously colored in the VIO window.

So it seems that there is a third way of showing colored text besides a VIO output to the screen buffer and ESC sequences via Stdout. Can someone explain please how this works? The linked thread contains an attachment with a colored tree.exe. It seems to be an old 16 bit application. It shows colored directory names in the original commandline window, MeShell shows the output without color and the MeShell VIO window rests empty. This behaviour seems to happen often with utilities coming from Unix like gcc.

Programming / MeShell and PAUSE in a cmd file
« on: April 15, 2020, 05:29:39 pm »
Meanwhile, I have published a stable beta version of MeShell 0.51 (see Utilities). But there's one problem left where I need your help for brainstorming.

PAUSE is a command which is defined in cmd.exe or 4os2.exe. It does not handle Stdin, but it does also not handle normal VIO keyboard input. I do not understand completely how it works, because a key input into the MeShell original VIO window has no effect. It seems that it is compiled completely internally. And this is a problem for MeShell. In comparison to "MORE", where I programmed an expedient substitute, I have no Idea at the moment how to handle the PAUSE problem. I hope that you have ideas how to handle the problem.

Programming a tiny "pause.exe" does not work because cmd.exe executes "pause" directly without checking the PATH directory list for external programs.

Till now, I found a convenient solution for every problem, and I hope that someone here has an idea how to solve this problem.

Programming / how to stay a window on top
« on: April 02, 2020, 09:15:25 pm »
OS/2 distinghishes between a standard "window" and a "dialog window". A visible difference is that a standard window has got an arbitrary icon on the system menu button. A dialog window has only a drop down array icon. Both windows can run in modal and non-modal state. The standard "window" is created with the API call "WinCreateWindow" or "WinCreateStdWindow". A dialog window is created with WinCreateDlg or with WinLoadDlg (from a resource) and a parameter is the address of a message processing function.

An interesting difference in the behaviour of both types of window is that a dialog window continously stays on top, even another window of the program gets the focus, also in non-modal state.

My question: Is there a flag where a window created with WinCreateWindow gets the same behaviour of staying on top like a "dialog window" does?

The reason is that I want to add a specific property to the WDsibyl component library. In Freepascal Lazarus, such a property exists (tForm.Formstyle = fsStayOnTop). The WDsibyl tForm component is completely based on WinCreateWindow, also all standard controls do so.

Pages: [1] 2 3