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 - Robert Roland

Pages: [1]
Programming / Git and extended attributes
« on: September 25, 2023, 06:14:58 am »
For my Mastodon client, I was considering VisPro/REXX, but the challenge is it relies on extended attributes on the project folder structure.

Git doesn't handle that, so that's making it slightly challenging.

The best solution I can think up right now is to zip up the project folder and commit the zip file, but I don't much like that.

Otherwise I'd have to do an annoying cmd file as a git hook to use EAUTIL to export / import the EA's.

Has anyone built any EA support for git?

Programming / Object REXX: HTTP client and Mastodon client
« on: September 23, 2023, 08:42:57 am »
Hi all,

I'm working on a HTTP Client and corresponding Mastodon client and app in Object REXX (the one that ships with OS/2 Warp and ArcaOS)

The code is posted here if you're interested:

When I get far enough along, I'll split it into separate repos.

I'm using Mark Hessling's great Rexx/CURL bindings.

Please forgive my newbie OREXX skills, I haven't used REXX since ARexx on the Amiga  :)

Programming / VisualAge C++ 3.0 editor
« on: September 16, 2023, 05:44:36 am »
So, the LXPM in VAC 3.0 does not like widescreen resolutions, but the LXPM in VAC 4.0 works great there.

For VAC 3.0, is it possible to override which editor WorkFrame launches? Either to the LXPM in VAC 4.0 or to NEPMD? (or some other good coding editor?)


Applications / Re: Installing VisualAge C++ 3.0 on ArcaOS 5.1.0
« on: September 09, 2023, 03:42:16 am »
Do you have fixpack 1 installed for VAC 4?  That fixes instability problems.  If you click on the Help - About VisualAge C++ menu item that dialog will say if the fixpack is installed - see attached.  Unfortunately the fixpack breaks the links from the help "panels" to sample code.  The samples are still there, you just have to navigate to them manually.  I haven't had a crash with VAC 4 for years.  But I do have to Clean (under Program Workbook menu item) occasionally. 

I just installed that - hopefully that stabilizes it a bit!

You probably already have this book, but if not I highly recommend "Power GUI Programming with VisualAge for C++" by Tsuji, Love, Law and Olson.  It covers IOC version 3, but most of the concepts and specifics also apply to IOC v 4.  And it comes with LOTS of code samples. Very good code samples.  For example it was from one of the code samples that I got the idea for how to get color tabs in "classic" notebook controls - see attached. (I like the classic style notebooks better than the Warp 4 style notebooks that have the tabs along the top.

I do have that book - it is quite good. I was worried about the difference between IOC 3 and 4, but it sounds like I shouldn't be.

For Visual Builder I recommend  "VisualAge for C++ Visual Programmer's Handbook" by Nilsson and Jakab, and "Object-Oriented Application Development with VisualAge C++ for OS/2" by Carrel-Billiard, Jakab, Mauny and Vetter.  Those both are written for VAC 3, but the concepts for how Visual Builder works and how to construct parts, make connections, etc. all carry over from version 3.  A note of caution though - VB was rewritten from v 3 to v 4 and a project built in version 3 Visual Builder will not migrate to version 4.

I will go find that book now!


Applications / Re: Installing VisualAge C++ 3.0 on ArcaOS 5.1.0
« on: September 07, 2023, 07:06:00 am »
Versions 3.0x/3.5, 3.65 and 4 all include extensive libraries for C++, including a very powerful library for building user interfaces. Versions 3.0x/3.5 use version 3 of the IBM open class library (IOC),  Versions 3.65/4 compilers are bundled with IOC version 4. Parts of the IOC were rewritten between versions 3 and 4.  The v 3 of the IOC seems more optimized (for performance) on OS/2 than v 4- at least the user interface parts of the library.

IOC was the real reason I wanted to install VA instead of a gcc toolchain - I've been reading the books on that, but unfortunately all of the books I've found are around IOC 3 and VA 3, not 4.

I keep managing to crash VA 4 too.

In my experience the programming editor (LxPM) bundled with version 3.0x does not work on AOS (and may not work with eCS).  However you can substitute EPM in the WorkFrame (the "ide" for version 3.0x) settings and that does work.  The version of LxPM that is bundled with version 4 does work with AOS.  While LxPM is integrated into the version 4 IDE you can execute LxPM as a standalone editor.

Okay that's handy, I was planning on using EPM anyhow.

but thanks so much for all the replies, super helpful info here.

One last question though - is there a VA 3.65, or is that the "C Compilers 3.65" package which doesn't have WorkFrame/2?

I've downloaded pretty much all of them, just need to figure out which one to use :)

Applications / Re: Installing VisualAge C++ 3.0 on ArcaOS 5.1.0
« on: September 06, 2023, 07:22:56 am »
Okay awesome, thank you, after moving IBMCPP to the end of my LIBPATH and SOM.IR paths, I get a desktop!

Now to figure out why XCenter disappeared :)

Applications / Installing VisualAge C++ 3.0 on ArcaOS 5.1.0
« on: September 06, 2023, 06:27:10 am »
I'm having trouble getting VisualAge C++ 3.0 installed properly on ArcaOS 5.1.0 -

I have a clean Arca install, and I finished phase 1 of the VA install, and on reboot I'm stuck at a blue screen with a wait cursor. PMShell never loads. Window List is empty, and I can't seem to get to PMShell or anything.

The config.sys changes look innocuous - so I'm not sure where to go from here.

Has anyone seen this yet?

edit: after a few minutes, I hit "Shift" and got the ArcaOS Desktop Panic screen, telling it to skip startup, and skip desktop archiving didn't help.

Pages: [1]