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 - Jan-Erik Lärka

Pages: [1] 2 3 ... 17
Applications / Re: 3D solid modelling in OS/2 with Irit and GuiIrit
« on: September 02, 2023, 03:48:14 pm »
Hi Jan-Erik

Can you please share with me the script or command that you use to run Sweet Home 3D 7.1 ?
I'm not sure what I'm doing wrong here.


Code: [Select]
java -Dcom.eteks.sweethome3d.no3D=true -jar "SweetHome3D-7.1.jar"

Applications / Re: Java applications
« on: August 09, 2023, 08:53:26 pm »
Any idea if SmartCVS 7.1.7 (last reported on OS/2) will run with OpenJDK 1.6 ?

Downloadd it and started it with a double click on smartcvs.jar, no extra parameters required.
Ohhh, I've got my little script that set things up regarding finding and starting the java executable, but that is just about it.

-Xmx512m -Dsmartsvn.checkIncompatibleJava=false -jar "lib\smartsvn.jar"

-Xmx512m -Dsmartgit.checkIncompatibleJava=false -jar "lib\smartgit.jar"

Applications / Re: 3D solid modelling in OS/2 with Irit and GuiIrit
« on: August 07, 2023, 09:16:20 pm »
Hello Martin,

Hi Jan-Erik

I have zero experience with this kind of software. I had played around with it a little bit, but no serious work was ever produced.

Here is what we have in hobbes:
For sure all is old and out-dated.
And here is the current home page:
But the documentation and lack of demo.irt and examples to follow stopped me.

I had my hopes on Forespace, but it was discontinued before it could output something to render as image, not reusable shapes.
A visual designer tool for POV-Ray would be interesting, but now it offer a scripting language and text editors and not reusable shapes. POV-Ray produce rendered photorealistic images, the finished product after long calculations, but not files that can be accepted as a chair, dish washer, car, computer etc. in other software.
I don't know much about the difference about the 3D software, are you looking something like POV-RAY? and  ForeSpace as frontend? But I'm not sure if that does the same thing as a 3D solid modeling tool.

Or maybe in Java 1.7 you can give it a try to Art of Illusion.


Art of Illusion 2.51 can be used in  OS/2 java 1.6, but working with it is very inaccurate and thus frustrating.
It should allow for numeric input of shapes and absolutely not mesh and nurbs (freeform and inaccurate) hollow (wire frame) surface.

With a Solid modeller one can build a product and reuse it as it is, a product with weight and density, cut and add material with precision (measurement).


Applications / 3D solid modelling in OS/2 with Irit and GuiIrit
« on: August 07, 2023, 08:48:05 am »
The only 3D solid modelling tool I've found for OS/2 is Irit V7.0, but I've actually never seen it in action and can't figure out how to make it show something. Input seem text based and I'm used to the point and click of Solid Edge v7 (ca. 1999) to design things.

Did however look at it at the Irit home page this weekend and the documentation mention OS/2 in various places for the current version (v12).

There's also a GUI for it (GUIrit) that use wxWindows. The installer for the win binary specifically mention OS/2!
Anyone got a built copy for OS/2 to spare?

Ohh, btw Sweet Home 3D version 7.1 can be used in 2D mode with OS/2 java 1.6 even though the web page mention that it need newer versions of java.

Applications / Re: Java applications
« on: July 25, 2023, 09:04:01 am »

Any idea how to run Abacus GUI Builder ?

  • copy run.bat to run.cmd (or better yet, edit and save it as run.cmd)
  • edit the file and set path to OpenJDK such as "set DEFAULT_JAVA_HOME=D:\Programs\OpenJDK"
  • start run.cmd

Programming / Re: Where does OS/2 store the screen resolution?
« on: July 02, 2023, 07:39:37 pm »
The information is stored in C:\OS2\OS2.INI that you can specify instead of 'USER'.

As seen in Rexx Information:
'USER' The user INI file (usually C:\OS2\OS2.INI). This is the default.

'SYSTEM' The system INI file (usually C:\OS2\OS2SYS.INI).

'BOTH' For querying invocations, both the user and system INI files will be searched. For setting invocations, the user INI file will be written to.

Programming / Re: BREXX - Classic REXX implementation
« on: June 28, 2023, 08:45:48 pm »
ooRexx 5.0.0 has been compiled for OS/2-eComStation-ArcaOS.
I'm writing rexx code for it here on my machine.
I've also created help files (.inf/.hlp) for the OS/2 version.

You may however wish for a fully system integrated rexx engine replacement as I do.

Utilities / Re: Intersolv/ODBC
« on: May 06, 2023, 09:04:46 am »
I have to use a patched version of the Apache OpenOffice odbc.dll to list selectable datasources... but then again, base refuse to actually reinitialize the connection once one reopen any .odb-file.

Utilities / Re: Intersolv/ODBC
« on: April 30, 2023, 09:24:45 am »
According to the ODBC documentation the function SQLConfigDataSource() is used to call the driver's setup routine, presumably including any dialog box(es) the driver needs to display to get info from the user to set up the datasource. 

The header files in the ODBC SDK specify calling convention for all functions in the SDK.
The image posted come from the app I started to design with VX-Rexx as can be seen on the icon of the window in front.
If one would go ahead there, one need a support library for rexx to call SQLConfigDataSource(...), but would would need one to query the driver itself as well, but a rexx library provide greeat flexability, yet power and should be easy to assemble.

Wrote some java code that load jdbc4 drivers, list them and their settings that could be used to set thing up.
Would be much gained if the different jdbc drivers would appear just like individual odbc driver rows to avoid special manager window for those.

At the same time I began to tinker with ideas on how to create ODBC-to-JDBC-bridge, but the problem with floating point exceptions made me stop. I do have C/C++ code now that can load jvm.dll and use java functions... so BSF4ooRexx and ODBC-to-JDBC should be possible as long as one avoid debugging. But someone else has to come up with the code to shuffle data, queries etc.

The UnixODBC driver manager that I got off of the web reports itself as version 3.52.  However I believe that UnixODBC at that time did not support fileDSNs, so neither does the OS/2 port.  The lack of FileDSNs isn't a big loss, in my opinion, since a FileDSN is just a DSN where the configuration information is stored in a separate disk file instead of being stored in ODBC.INI. Arca Noae may feel differently with their corporate customers: the idea of a FileDSN is the file can be created by a network administrator and stored on a file server, instead of requiring each user to create their own DSN on their own machines through the ODBC administator.

Also the concept of User and System DSNs doesn't make sense in OS/2 since OS/2 is really a single user system. That is why the Intersolv administrator only shows User DSN.  (System DSNs are available to all users of a machine, User DSNs are available only to a specific user.)

If Paul Smedley wants to pull the latest sources for UnixODBC and compile them for OS/2 that would be GREAT.  But please keep the following issues in mind.

That is a very important part you mention below

#1 The format of the ODBC.INI (and possibly ODBCINST.INI - I just don't remember right now) produced by Intersolv and by UnixODBC are slightly different.  I don't think the linux world had an installed Intersolv base they needed to conform to and we do on OS/2.  It would be nice if the new UnixODBC would produce ODBC.INI and ODBCINST.INI files that match the format used by Intersolv.  That way a user could use those files (and the drivers) with either UnixODBC or Intersolv.  This is because of #2

How about the Q+E drivers with DBExpert?

#2 There are users that purchased licensed versions of Intersolv drivers and use those with OS/2 applications.  For example Lotus Smart Suite bundled a complete set of licensed drivers.  Unfortunately the licensing for Lotus Smart Suite limits the use of those drivers to Smart Suite applications,  It appears the application calls a special function (probably in the Intersolv driver manager) that checks the licensing information while connecting.  If that function cannot be implemented in the UnixODBC port then the user would need to switch between Intersolv ODBC and UnixODBC in order to continue to use their licensed drivers.  The function that is called is mentioned in one of the readmes for VisualAge Basic - sorry I don't remember more details right now.

rexx/ooRexx 5.0 support (something like in unixodbc 010)

Utilities / Re: Intersolv/ODBC
« on: April 29, 2023, 09:54:23 am »
There's a Qt4/5 (I think Qt4 is stable) GUI admin tool for unixodbc as well.
Yes, I've seen it for quite some time now.

The attached file was modeled after the text mode instodbc as of unixodbc version 2.3.4, though use rexx on OS/2 and can therefore be enhanced and translated easily. (English and Swedish included)

Utilities / Re: Intersolv/ODBC
« on: April 28, 2023, 07:57:47 pm »
This is what I had in mind for a GUI Admin tool I started to work on... if someone would like to contribute how to open settings for the drivers and handle settings etc.

Utilities / Re: Intersolv/ODBC
« on: April 27, 2023, 10:27:15 pm »
i'd also sponsor work on an updated version that work with as many tools (e.g. office and development) and databases.

Utilities / Re: Intersolv/ODBC
« on: April 27, 2023, 12:38:17 pm »
The ODBC Admin maintain odbc.ini and odbcinst.ini that contain the paths to the drivers and settings.
If so, one could write a new one that look and behave well.

Is it odbc.dll that does major parts of the work under the hood then, or...?
Is it the different calling conventions used that cause problems with certain applications written with gcc or vac/wat?

JDBC to ODBC bridge would close the gap and enable us to connect to more databases.

A gui sql query tool with syntax higlightning would be very welcome as well.

Applications / Apache OpenOffice Base
« on: April 16, 2023, 07:45:06 am »

I have a need to use OpenOffice Base on ArcaOS-OS/2 and have now tried it over and over again in several versions over the years...
One can create a new connection, jdbc with OpenJDK 1.6 as well, add tables, use the wizards, create reports with Oracle Report Builder as well.
The problem start as one reopen the saved .odb file, I guess from all retries with different database engines* I've done, that it may skip over some initialiation routine and thus fail (bail out/abort) as it behave ok at first.

What can one do to overcome this?

hsqldb (both emedded with OpenOffice and as stand alone server)

Code: [Select]
   EBP     Address    Module     Obj:Offset    Nearest Public Symbol
 --------  ---------  --------  -------------  -----------------------
 Trap  ->  1F47D03E   LIBCN0    0001:000FD03E

 0012FA58  1F47D80A   LIBCN0    0001:000FD80A

 0012FA78  1F3DAC85   LIBCN0    0001:0005AC85

Applications / Re: Updated Postgresql/2 builds
« on: April 13, 2023, 11:51:19 pm »

Ok, I'll write some even though there may not surface any updates.

9.3.17: Forcing the log worked, it started after that, but the other problems remain.

8.0.x contained a lot of goodies, but it's not possible to install it ( 9.1 and earlier ) as there are problems with \ (back slash) and libc?

9.3.17 and onward
(1. initdb) Define -U MyNewUser during initialization of the db folder and skip (3. createuser) allow one to connect to the server as MyNewUser.
(3. createuser) Fail as one add a superuser, (2. start server) then abort and doesn't end recovery during the next start to accept connections.
(4. create database) fail.

Created tables dissappear, as one use
Code: [Select]
pg_resetxlog -f D:\Path2\DBFolderif the server abort, or else the database is unreachable.

9.6.6 output a lot of problems with poll() as well

Steps I've used in the past within a rexx script to fully initialize and install PostgreSQL database for use:
Code: [Select]
initdb -U postgres -D D:\Path2\DBFolder --encoding=UTF8 --locale=sv_SE.UTF8 /* 1. To initialize and prepare path for databases */
pg_ctl -D D:\Path2\DBFolder -l logfile start          /* 2. To start the server with that path */
createuser -U postgres -a -d -E -P MyNewUser /* 3. Only the superuser "postgres" exists from start, one has to add to use MyNewUser */
createdb -O MyNewUser -U MyNewUser MyNewDB /* 4. Create the actual database as the Owner and User of the new db. */
pgsql  -U MyNewUser MyNewDB < D:\Path2\db_init.sql /* 5. Run SQL script to add tables, views, data etc. */
vacuumdb -U MyNewUser -a -z /* 6. To shrink, analyze and find possible optimizations */
createlang plpgsql MyNewDB -U MyNewUser /* 7. To add programming language PL/pgSQL to database */
pg_ctl -D D:\Path2\DBFolder stop          /* 8. To close the server gracefully */

Step 5 and 7 may be skipped, while the others are crutial to verify that the database engine and additions work as expected.

Pages: [1] 2 3 ... 17