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 - Neil Waldhauer

Pages: [1] 2 3 ... 30
Hardware / Re: SNAP and dual-head display setup recommendations...
« on: September 19, 2019, 05:21:52 pm »
Hi ivan!

Now if SNAP would work with the Radeon Vega 8 Graphics of the Ryzen processor I could get back to what I used to have on my old computer, a couple of 28 inch 1920x1200 monitors.

SNAP is not happy with the Vega graphics and Panorama works as long as I don't want to do anything with extensive graphics activity.

You know, why I have been relying on my ancient (by today's standards anyways) ATI X850 XT PE video card to cover my OS/2 display needs, it is very clear that this hardware has exhausted all of it's power.

I have seen some feedback on the benefits of running the trully new hardware in native VESA mode (providing that the BIOS supports it) with something like the Panorama driver, end rsult being performance that is actually much better than the older hardware which had the optimized/accelerated device drivers (SNAP).

Since you seem to have Panorama working with at least a single display, how are you finding that performance in comparison to the SNAP driver setup?

Oh and regarding the extended graphics with Panorama, it is my understanding that there are 3rd party screen extenders that have been developed to enable this specific functionality...have you tried them?

The performance of a recent Intel chipset and Panorama greatly exceeds the old accelerated graphics with SNAP. SNAP also made small graphic errors with Radeon chipsets, like the CPU graph misplaced somewhere else on the desktop. Panorama has none of these weird graphics bugs.

None of the third party extenders are needed any more.

Someone tried 4K and 5K monitors, but I haven't. Probably one big curved screen isn't as good as two screens, but it's close. Panorama works with DisplayPort or any other port supported by VESA.

Programming / Re: NetRexx on OS/2
« on: September 18, 2019, 05:56:40 am »
I'm not sure about any edge cases. This will work for my purposes, at least for now.

      /* Now determine the exact case of the class, for java commands */
      call SysFileTree file, 'foo.', 'FO'
      if foo.0<>1 then do
        if foo.0=0 then say 'Cannot find file:' file
        if foo.0>1 then do; do queued(); parse pull .; end
          say 'File "'file'" is not a unique specification'
         exit 1;
       file = filespec('Name', foo.1)  /* is now correct case */

Programming / Re: NetRexx on OS/2
« on: September 17, 2019, 05:03:53 am »
It seems to set classpath correctly, but then abandons it's work because it can't find hello.class.

Dir /N /B might work in CMD, but it's not useful with 4os2. Rexx has a lot of other ways to find filenames that don't depend on the exact syntax of CMD.

The script does work on CMD.

Programming / Re: NetRexx on OS/2
« on: September 16, 2019, 03:47:15 pm »
The problem is that the NetRexxC.cmd does not set classpath correctly. I'm not going to patch an increasingly bad REXX program, but rather I'll try to construct a useful one for the present day, that does not necessarily run original Java 1.1-based NetRexx from the 1990's.

Programming / Re: NetRexx on OS/2
« on: September 16, 2019, 04:29:29 am »
That doesn't seem to help enough.

[k:\programs\netrexx3\lib] ..\bin\netrexxc2 -run hello
openjdk version "1.6.0_27"
OpenJDK Runtime Environment (build 1.6.0_27-b01-GA5)
OpenJDK Client VM (build 20.0-b12, mixed mode)
NetRexx portable processor 3.08-GA build 1,582-20190906-1850
Copyright (c) RexxLA, 2011,2019.   All rights reserved.
Parts Copyright (c) IBM Corporation, 1995,2008.
Program hello.nrx
Compilation of 'hello.nrx' successful
Cannot find file: hello.class

Programming / Re: NetRexx on OS/2
« on: September 15, 2019, 04:27:22 pm »
The modified NetRexxC.cmd nearly works. It gets through the Java version problem, and only fails for running hello. I only quoted the end of the output to show what is happening. hello.class is on the libpath, path and classpath.

By the way, every time I run NetRexxC, the path gets longer. Paths longer than 1024 bytes overwrite kernel memory, so this should be avoided.

Program hello.nrx
Compilation of 'hello.nrx' successful
Cannot find file: hello.class

So if I need updated NetRexxC.cmd, do I also need some updated NetRexxR.cmd?

Programming / NetRexx on OS/2
« on: September 14, 2019, 10:41:23 pm »
We keep on having announcements. The screen shot is from 3.04, the current release is 3.08.

Running 3.08 is unchanged from 3.06. Is there some way to run NetRexx on OS/2 that I overlooked?

java -jar NetRexxF.jar -exec hello
Exception in thread "main" java.lang.UnsupportedClassVersionError: org/eclipse/j
dt/internal/compiler/tool/EclipseCompiler : Unsupported major.minor version 51.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(
        at Method)
        at java.lang.ClassLoader.loadClass(
        at sun.misc.Launcher$AppClassLoader.loadClass(
        at java.lang.ClassLoader.loadClass(
        at org.netrexx.process.NetRexxC.process(
        at org.netrexx.process.NetRexxC.main2(
        at org.netrexx.process.NetRexxC.main2(
        at org.netrexx.process.NetRexxC.main2(
        at org.netrexx.process.NetRexxC.main(

Web applications / Re: Migrating Apache Web Server
« on: September 10, 2019, 03:45:27 pm »
It's in extra\httpd-mpm.conf

I just had to modify httpd.conf to include extra\httpd-mpm.conf

And also change the name from MaxConnectionsPerChild to MaxRequestsPerChild

The default is 0, but I changed that to 1000.

Web applications / Re: Migrating Apache Web Server
« on: September 08, 2019, 03:39:09 pm »
I can see the parameter set in conf\extra\httpd-mpm.conf

But this is not loaded by default. Nor is any LoadModule found for mpm_mpmt_os2_module. Looking at the module directory, I don't see it there.

I'm not sure what to activate to use the MaxRequestsPerChild directive. Should I just put it in httpd.conf by itself?

Web applications / Re: Migrating Apache Web Server
« on: September 07, 2019, 05:34:45 pm »
I selected Paul Smedley's latest Apache 2.2 HTTPD

I adjusted the conf/httpd.conf, and the website is running.

But not all is well. The server stops serving after a few days. Is anyone running this software? The logs seem to show nothing unusual, and there isn't really very much traffic. What could cause the server to stop?

Thanks for the link. David provided viop.sys to me in 2017, but I guess it never made it into the ArcaOS DVD. I do not know if this is related to the PMVIOP provided by IBM.

I've used the viop.sys in my systems for some time. The version you are using is two bytes larger than mine. I tried the new one on the T450s and it works the same.

If you keep going with the X250, check if you get an occasional failure to boot "OS/2 is unable to operate your hard drive" It is hard for me to make a bug report for a not quite reproducible error.

Programming / Re: fully programmatic menu creation?
« on: September 04, 2019, 03:47:40 pm »
There is some example code in the Toolkit help under Menus.

Probably you can create the equivalent of the Win32 API out of the Presentation Manager messages, which, by the way, are identical to the messages in Win32.

On the T450s, sound is possible with Uniaud.sys using /A:1
All 8 GB is recognized but only 3.3 GB is available for programs and the rest must be a RAM disk.
LAN to WAN is really pretty nice. I'm using VIX mini, which runs DDWRT.
DOS full screen works, and Alt-Home changes it to a DOS window.

Lack of USB 3 support is delaying my use of a newer laptop.
Uniaud can play through headphone jack, but not on internal speakers.

I think the lack of BIOS in new PC is going to be a problem starting early 2020.

Storage / Re: How to Format a Hard Drive
« on: September 01, 2019, 04:56:24 pm »
The OS/2 help files were neglected as features like JFS were added. I thought it would be good to try formatting both with and without /L, and compare elapsed times. I found there was a substantial difference, so it is doing something. I used 10 GB volumes on a 2 TB hard drive.

Format /L results in a lot of errors:
Code: [Select]
Internal error: devices.c(532): Verify error 87 (INVALID PARAMETER)But the volume is available at the end in spite of the errors.

It turns out that you can browse the source of the OpenJFS project at Netlabs. The source no longer matches exactly the Arca Noae source, because line 532 of devices.c is a comment. But a few lines earlier in the source code, a routine named ujfs_rw_diskblocks is returning ERROR_INVALID_PARAMETER.

So it's clearly trying to do something different with FORMAT /L.

Storage / Re: How to Format a Hard Drive
« on: September 01, 2019, 04:14:51 am »
I think Lars sort of has the answer, but I'd hoped that someone would actually know. Shouldn't we have this documented somewhere besides reading the source code? The OS/2 command reference hints that /L only applies to MO (magneto-optical) drives.

FORMAT Command: /L Parameter

Specifies the long format procedure used to format hard disks or format and install the file system on an IBM read/write optical disc. Formatting an optical disc the first time requires about 20 minutes. Reformatting a previously formatted optical disc requires only a few minutes when you do not use the /L parameter.

For hard disks, specifying the /L parameter causes media testing to be performed.

To format and install the file system on a read/write optical disc, enter the following:


where drive D is designated as the optical disc drive.

Pages: [1] 2 3 ... 30