Opened 10 days ago

Last modified 36 hours ago

#313 new defect

Issues with IBM OS/2 DEVELOPER'S TOOLKIT

Reported by: shmuel Owned by:
Priority: minor Milestone:
Component: rpm Version:
Severity: low Keywords: OS2TK45
Cc:

Description

There are several minor issues with the packaging of the OS/2 toolkit, some of which may be deliberate.

  1. README files are missing
  1. The dialog, font and icon editors are missing
  1. The OS2TK45* packages do not build the folders, program objects and shadows built by the IBM installer.
  1. What is the status of Scott Garfinkle header file "pdpublic.h"?

I wrote a REXX script that generates REXX code to reconstruct all or part of the desktop. If you want I can provide you with that script, with the output that pertains to the toolkit, or both. Note that it is oriented to my environment and would need to be tweaked for general use.

Attachments (1)

WPSgenREXX.cmd (1.4 KB) - added by shmuel 37 hours ago.
Generates REXX to rebuild desktop; needs work to make generally usefull

Download all attachments as: .zip

Change History (5)

comment:1 Changed 10 days ago by diver

The rpm is not complete. It just contains what's needed to build apps with toolkit headers. And it contains some tools. If we enhance it we don't know yet. And when we do it we could add also icons and and and.
And as always this also depends on sponsor units.

comment:2 in reply to: ↑ description Changed 9 days ago by diver

Replying to shmuel:

  1. What is the status of Scott Garfinkle header file "pdpublic.h"?

where was this file published? and what's it's purpose?

I wrote a REXX script that generates REXX code to reconstruct all or part of the desktop. If you want I can provide you with that script, with the output that pertains to the toolkit, or both. Note that it is oriented to my environment and would need to be tweaked for general use.

feel free to add the rexx script to add the OS2TK45 stuff to the desktop. It might be helpful.

comment:3 Changed 8 days ago by shmuel

"Scott Garfinkle recently posted header file "pdpublic.h" in the

comp.os.os2.bugs newsgroup. The header file contains the COMPLETE
definitions for the use of DosDumpProcess? which was extended with
the more recent fixpaks (see PROCDUMP.DOC that comes with the
later fixpaks). Find the file attached. It goes with the same
license as the OS/2 toolkit."

I currently have a power failure in the room containing my desktop, and correcting it may require laying a new power cable to my house. I'll try to get the desktop rebuild code to you as sonn as I'm back on the air.

Changed 37 hours ago by shmuel

Generates REXX to rebuild desktop; needs work to make generally usefull

comment:4 Changed 36 hours ago by shmuel

I uploaded an interim version of code that I ran on my old system to create REXX code intended to go between

/* REXX */
echo on

Call rxfuncadd 'SysLoadFuncs','REXXUTIL','SysLoadFuncs'

Call SysIni 'BOTH','FolderWorkareaRunningObjects','ALL:','DESK'
trace ?i
CRLF ='0D0A'X
Desktop = desk.1

NewBoot = SysBootDrive()
parse upper arg OldBoot .
if OldBoot = '' then OldBoot = Q
if length(OldBoot) = 1 then OldBoot = OldBoot':'

and

return

CreateObject:
   Say Copies('Ä',75)
   Say 'Creating' Title 'at' location 'as' Class
   stat = SysCreateObject(Class,Title,Location,SetupString,'fail')
   if stat \= 1 then
      Say 'SysCreateObject returned ' stat
   Return stat

CreateShadow:
   Say Copies('Ä',75)
   Say 'Creating shadow of' Object 'in' Location
   stat = SysCreateShadow(Object,Location)
   if stat \= 1 then
      Say 'SysCreateShadow returned ' stat
   Return stat

SetObjectData:
   Say Copies('Ä',75)
   Say 'Updating WPS data of' Object 'with' SetupString
   stat = SysSetObjectData(Object,SetupString)
   if stat \= 1 then
      Say 'SysSetObjectData returned ' stat
   Return stat

on the new system. I still need to add code to replace the old boot drive with the rexx variable newboot and to use different processing for shadows. I'll upload the final version once I have power back to test it.

Note: See TracTickets for help on using tickets.