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 - André Heldoorn

Pages: [1] 2
1
Applications / WinZip
« on: January 17, 2019, 03:10:42 pm »
Does someone recall how to use a WinZip 6.0 registration code with Win-OS/2?

The screenshot @ https://winworldpc.com/product/winzip has no Registration-button. FWIW: I'm not using theirs.


2
Setup & Installation / REGEDIT2 export & import
« on: December 07, 2018, 01:50:15 am »
Is exporting and importing new settings (actually creating one file, to be imported per new install) safe and simple indeed?

3
Programming / x:\SYS\ICONS\BIGICONS\*.PNG
« on: November 12, 2018, 01:33:29 am »
Derived question, new thread: is it recommended to ship new apps, or e.g. ports without an OS/2 icon, with a "BIGICON"? If so, then how does that work and what are the sizes of BIGICONS?

Let's say I've got a new HELLO.EXE and a HELLO.ICO (sizes 16,20 32 and 40). Save a 64x64 HELLO.PNG and a 128x128 HELLO_128px.PNG in the same directory?

Is it worth releases upgrades of old apps, just to add BIGICONS to such a package?

I'm not using a system with BIGICONS. Hence the basic questions. I don't mind creating a 128x128 icon as well, but I'm not sure if there's documentation and if it's worth the efforts.

4
Setup & Installation / REQ: full list of OS components
« on: November 09, 2018, 03:39:51 pm »
Can someone please post a list of ArcaOS files, so people not having it can figure out what's new? Lord knows what has been added or replaced., and where it can be found nowadays Virtual sample code for eCS, assuming boot drive C: of a fresh install:

Code: [Select]
/* OS_DIFF.CMD */
CALL RxFuncAdd 'SysFileTree','RexxUtil','SysFileTree'
CALL SysFileTree 'C:\ECS\*','file.','FS'
DO i=1 TO file.0
   SAY file.i
END i
CALL SysFileTree 'C:\OS2\*','file.','FS'
DO i=1 TO file.0
   SAY file.i
END i
EXIT[code]

With file dates and file sizes, please.

The output would be nice-to-have, for example to upgrade components of OS/2 to an ArcaOS level. OO.EXE is probably an example of a random new OS component, but there are no formal upgrade packages for OS/2.

Please note this isn't about not buying ArcaOS. I'll need that for "modern" hardware anyway. I've already got an OO.EXE, but just didn't know that it's an OS component since eCS 2.x or ArcaOS.

5
Setup & Installation / LIBVPX?.DLL
« on: November 05, 2018, 01:23:41 pm »
Which packages require a LIBVPX*.DLL? The FFmpeg suite itself is one, but ISTR there was at least another one.

6
Utilities / Stability Zip3 & Unzip6
« on: November 03, 2018, 07:20:20 pm »
The first ZIP v3 versions (plural) and/or UNZIP v6 versions (plural) for OS/2 were not stable. None of 'em. IIRC (I didn't record the bugs and downgraded every component) one of the problems was related to wildcards, and e.g. not all files were added or extracted. You couldn't use it for back-ups.

Is ZIP 3.0.8 & UNZIP 6.0.7 stable by now? The problems were easy to detect, so any Info-Zip power user may have noted one of the problems by now.

7
Games / Extra Rocks’n’Diamonds levels
« on: October 22, 2018, 03:25:04 pm »
FWIW: both versions of Rocks’n’Diamonds for OS/2 include different levels. Even more extra and/or updated levels can be found here. OS/2 has a levels-subdirectory too:

https://www.artsoft.org/rocksndiamonds/levels

Installing the levels, some with own artwork, does require sufficient disk space. Some of the extra levels are responsible for most of the size differences between v3.2.4 (4.9 MiB) and v3.0.8 (X11, 7.9 MiB) for OS/2. For example, the extracted size of just the updated full package Contributions 1995 - 2006 is 23.77 MiB and this unextracted file is larger than the X11 ZIP file for OS/2.

8
Programming / Rexx -> IBM C
« on: October 10, 2018, 11:36:50 am »
I've got a list of names, with about 10 possibly occuring characters which have to be converted to Netscape's HTML. I'm checking all characters and insert missing characters ("&": "amp", "á": "á"). The number of characters is known and limited.

The virtual code below works. Is this a normal way to do this? Should I be using "case" instead of a nested "if"? Several apps use the same code (and names), so should this become a DLL?

Execution speed is not a problem. Speed gains are nice-to-have, in this case.

Just checking, I don't want to get used to bad programming habits like using a sprintf(buf,"%s",text) instead of a strcpy(buf,text). I'm aware of the lack of comments, and so on. A global variable (buffer) is used to avoid arguments, TBH. With Rexx I'd use functions like INSERT and/or CHANGESTR, but I assumed that with C you'll have to insert characters the harder way.


Code: [Select]
void HTMLName(void)
{
int i,j,len;

len=strlen(buffer);

for (i=0;i<len;i++)
   {
   if (buffer[i]=='&')
      {             
      for (j=len+3;j-4>i;j--)
         buffer[j]=buffer[j-4];
      buffer[++i]='a';
      buffer[++i]='m';
      buffer[++i]='p';
      buffer[++i]=';';
      buffer[len+4]=0;
      len=strlen(buffer);
      }
   else if (buffer[i]=='á')
      {             
      for (j=len+6;j-7>i;j--)
         buffer[j]=buffer[j-7];
      buffer[i]='&';
      buffer[++i]='a';
      buffer[++i]='a';
      buffer[++i]='c';
      buffer[++i]='u';
      buffer[++i]='t';
      buffer[++i]='e';
      buffer[++i]=';';
      buffer[len+7]=0;
      len=strlen(buffer);
      }
   else if (buffer[i]=='¥')
      {             

      ...

      }
   else if (buffer[i]== ... )
      {             

      ...

      }
   }
return;
}

9
Setup & Installation / Informal eCS 1.2R releases
« on: August 12, 2018, 11:13:36 pm »
Apparently creating bootable, updated OS CD is quite hard. Are there informal eCS 1.2R releases for OS languages which have no official eCS 1.2R release (which shoudl work with more than one core), just like there's an informal Korean Warp 4 FP15 FixPak?

10
Setup & Installation / Yet another eCS 1.2-fix by users
« on: January 22, 2018, 07:20:38 pm »
Assuming a default install, as usual, with an original copy of UniAud:

x:\MMOS2\UNIMIX.EXE requires LIBC04.DLL, which is missing.

Installing a copy of LIBC04.DLL in e.g. x:\ECS\DLL or x:\MMOS2\DLL will result in a different fatal error message, but at least its text is better than the originally reported missing system DLL.

11
Programming / DHCP client
« on: December 30, 2017, 01:54:32 pm »
Is it possible to write a "hidden" (i.e. out of sight) third-party PM app for any version of the OS, which waits for the system to shutdown (and then e.g. kills the DHCP client when WPA2 was used, without bothering the user with a dialog)?

Or is it bad practice to start any new session, like a CMD file which would become the (quick) killer?

12
Programming / STARTUPDIR
« on: November 29, 2017, 04:47:23 pm »
</silence>
Often one can reduce the size of INI files and install scripts by modifying what an install script (REXX, WarpIn, EXEs, ...) is doing. No object IDs for abandonware objects unless it's a WPFolder, not setting a value to its default value anymore because WPTOOLS once reported such a copied and pasted setting, using ENVIRONMENT variables instead of Microsoft's OS2ENVIRONMENT, and so on.

Code: [Select]
CALL SysCreateObject 'WPProgram','Why?','<WP_DESKTOP>','EXENAME=F:\OO\BAR.EXE;STARTUPDIR=F:\OO'
Assuming this EXENAME setting of a new WPProgram object of a native OS/2 F:\OO\BAR.EXE, then when/why is it required to set the STARTUPDIR to the same F:\OO as BAR.EXE's directory?
<silence>

13
Applications / Avoiding Windows 7's CHKDSK?
« on: May 01, 2017, 11:31:46 pm »
A 256 MB flash drive (FAT) is sometimes used to transfer files from Microsoft's %*!*&#$ 7 (NTFS) to eCS (HPFS), using CMD.EXE. After the transfer the files are deleted, with CMD.EXE (DEL or RM).

If this empty USB flash drive is used again by %*!*&#$ 7, then %*!*&#$ 7 always claims that the drive may be damaged and it has to be checked. The check never repairs anything. Is there a way, for example by using a DFSee command, to stop %*!*&#$ 7 from believing that aliens have touched the drive?

The CHKDK procedure doesn't last that long, but the useless dialogs are annoying. Aliens haven't invaded the drive, and it's always okay. Protection or prevention plays no role.

14
Programming / ArcaOS
« on: May 01, 2017, 01:54:58 pm »
Is there a list of "fixes" since eCS 1.x? After all OS/2, eCS and ArcaOS are different products.

An example is an eCS 2.x programmer assuming that *.MP3 works like *MP3, if there is a file extension (as long as a filename ends with *.MP3, regardless of the number of dots). Apparently that was an eCS 2.1 "fix", which breaks compatibility with older versions of about the same OS, and eCS 2 nor ArcaOS are GA for more than 1 or 2 languages.

So, is there list of generic non-GA "fixes" (changes) since eCS 1.2? Since eCS 2.x? Of course "fixes" have to be relevant for programming and for all users, so a fixed driver for a "Splectaturn 2000", documented new APIs, yet another installed utility, or a new look won't qualify.

15
Applications / Easter egg
« on: April 18, 2017, 11:42:52 pm »
A few days too late, or a rare German non-baby joke: unzip HPFSTL17.ZIP, view HPFSTOOL.EXE with E.EXE, scroll down and remove the "damaged"/"filled" middle section of the eggshaped ASCII art. You should see a few tools.

Or execute this Rexx script in the directory of HPFSTOOL.EXE, and open EASTER.EGG with E.EXE (and a non-proportional font). The script does not remove the "damaged"/"filled" middle section of the eggshaped object:

Code: [Select]
/**/
all=CharIn('HPFSTOOL.EXE',1,147476)
CALL CharOut 'HPFSTOOL.EXE'
PARSE VAR all . 'Green=Bitmap' rest
CALL CharOut 'Easter.Egg',rest
CALL CharOut 'Easter.Egg'
EXIT

Or open the attached file (21 kiB) with E.EXE, to not have to download and process HPFSTOOL.EXE. Use E.EXE, do not use TYPE.

Pages: [1] 2