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

Pages: [1] 2 3 4
1
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?

Quote
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(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:142)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
        at org.netrexx.process.NetRexxC.process(NetRexxC.java:417)
        at org.netrexx.process.NetRexxC.main2(NetRexxC.java:338)
        at org.netrexx.process.NetRexxC.main2(NetRexxC.java:318)
        at org.netrexx.process.NetRexxC.main2(NetRexxC.java:314)
        at org.netrexx.process.NetRexxC.main(NetRexxC.java:168)

2
Storage / How to Format a Hard Drive
« on: August 31, 2019, 09:36:14 pm »
I have a computer that is running eComStation, and it became unreliable, with a trap screen after a minute of use.

I replaced the computer, and it's fine, but I was curious what was happening with the unreliable one. I booted from a USB stick and ran chkdsk /f on the drive, and one file was unrepairable. That was enough for me. I don't know why it happened, but I decided to format the drive and restore from backup.

I used FORMAT /L C: /FS:JFS to format the drive. That appears to work, but now I wonder what that does.

Quote
According to Jim Wilkerson, years ago, the /L parameter didn't just remove the header records but
formatted the drive removing all data. My understanding it was sector by sector putting ones and zeros
back on the drive as it was originally when it was new. I don't know what happens if there are bad areas on the
drive but I recall it may map around the bad area.

I don't think it works the same in every file system. I think the working code is implemented in the mini-FS driver. The behavior is documented for HPFS, but not for other file systems. What does FORMAT /L do in JFS?

3
Events / Warpstock 2019 - Presentations Wanted
« on: August 16, 2019, 10:25:56 pm »
I'm starting this thread to help bring both presenters and attendees to Warpstock 2019 in Orlando, FL

Feel free to reply to this and give your own suggestions.



Suggested Topics
These are the topics that have been requested for presentation in 2019. We'd like you help. If you prepare one of these presentations, you can four options for presentation.
  • come to Warpstock in Orlando and present
  • Present remotely using Skype
  • Pre-record a video to be shown at the meeting
  • have one of us make your presentation

Getting started with Qt development
It's easier than ever to set up a development system. This presentation shows how to get started with creating Qt programs. A demo of building one of the Qt sample apps is included.

VPN
There are many VPN services available for those who might need to use public WiFi or who have other reasons to want a VPN.  None that I've seen has an OS/2 client, although many work on Linux.  Is there a way to use a VPN service with OS/2 and if so, how could one do so?
I recall David asking me about VPN services which were OS/2 compatible a couple of years ago. He may use one (whether or not it came from my recommendation, I have no idea).
InJoy might be a possibility (IPSec). If they run SSL, then OpenVPN build which is publicly available (Hobbes) - as we know from our own building experience at WS 2008 - uses the half-functional TAP/TUN driver (where only TAP works), and is less than suitable. AFAIK, most of the third-party VPNs use SSL.
Having an OS/2, Windows, or Linux system available at home as a VPN endpoint and using InJoy's VPN would work without having to subscribe to a third party service. Of course, this requires a second system to be available, solid broadband, and perhaps a DDNS provider.
Maybe one of the Bitwise guys might like to touch on this. Yuri maintains the InJoy product for them, and is familiar with how it works across all platforms.
The main drawbacks to IPSec, of course, are the need for a dedicated port for the tunnel, and difficulties with NAT traversal in some situations, vs SSL, which travels over the standard 443 and traverses NATs quite well.

USB Cables and You
I've been through a multi-hour remote troubleshooting session with a client using several USB -> Parallel adapters for his invoice printer (Oki Microline 391) and label printer (Zebra). Today, it dawned on me that we have daisy-chained USB cables and the system board, now aging, may not be putting out the voltage it once did. There are length limits for USB cables described in the spec. Length, quality, type of connector, type of device, whether there is a hub in the middle (and its type), a gender changer, and finally whether the device is FS, HS, etc., all play a role in whether the signal will get from point A to point B. There are some interesting USB multimeters available, too, on the cheap.
We get tickets for ArcaOS where printers do not get signal ("but it worked with eCS! - before I moved the printer across the room..."). Too often, people take cable length and quality for granted, and we are relying more and more on USB-attached devices. The problem will get worse with USB 3, simply due to the higher bandwidths available and greater sensitivity to overall cable quality (noise level and impedance).

RPM/Yum
We could do a session on ANPM and yum and how to handle the unexpected, including the nuclear option (how to blow away an entire yum/rpm environment, even when libc and friends are already installed under \usr\lib, and reinstall the bootstrap), how to handle broken yum databases, error messages, empty package windows, broken repository URIs, other python fun...).

OS/2 Memory
Sometimes with modern programs, OS/2 runs short of shared memory, or has fragmentation issues. Discuss how this happens and how to avoid it.

Config.sys (This is now a Warpstock 2019 presentation)
Reviewing the order of execution of statements in Config.sys and the proper order of loading drivers. Explain briefly what each driver does. This presentation is intended to acquaint the less technical user with the software controlled by the Config.Sys file.

OS/2 Demos
Video Wizard (Moving from SNAP to Panorama and back again)
making a new printer work when no drivers are currently available

Meeting details
Warpstock 2019 will be held at the Country Inn & Suites, Orlando Airport, located at 5440 Forbes Place, Orlando, Florida 32812.
This year's event will begin Friday, November 8 and continue through Sunday, November 10
Warpstock 2019 home page: http://www.warpstock.org/staticpages/index.php?page=ws2019_home
More information on Warpstock available at: http://www.warpstock.org

4
Web applications / Migrating Apache Web Server
« on: July 24, 2019, 03:41:37 pm »
I tried posting in the Google Group "Apache for OS/2", but my post disappeared so I'll try here, too.

I'm helping someone migrate from an old website hosted by OS/2 on an IBM 300 GL machine running Apache 1.3.6. The website is pretty old-school, but it has a Flash splash page.

The target machine is an IBM M-Pro, so not that much newer, but it has a working web server, Apache 2.2.23 installed as a part of the last OS/2 AMP release. It was hosting another simple website.

Looking at it, we thought to just transfer the HTDOCS directory replacing the one on the newer M-Pro with the one from the older 300 GL. This mostly works.

The problems are that web pages seem to fail to load on the first request from a browser, then the second and subsequent attempts seem to work. In addition, I can't seem to get the Flash screen to appear. (OK, on operating systems like OS/2 that do not have Flash, it's just a black page, but instead, requests for the .swf file just seem to try forever.

Those problems seem to be connected with a reconfiguration. How can I find documentation for Apache for OS/2, particularly something related to getting started?

5
Programming / Compiling PMMail with GCC 4.9.2
« on: June 03, 2019, 07:42:03 pm »
I'd like to compile PMMail using GCC 4.9.2. Currently I have GCC 3.3.5 and a bunch of tools working.

I had hoped to just drop in GCC 4.9.2 in place of GCC 4.9.2, but somehow my GCC 4.9.2 setup is wrong.

It compiles PMMail just fine until it hits a va_start() macro. I have the same trouble compiling the attached vatest.c

In file included from k:/programs/gcc/include/machine/stdarg.h:2:0,
                 from k:/programs/gcc/include/stdarg.h:2,
                 from vatest.c:1:
vatest.c: In function 'int sum(int, ...)':
vatest.c:18:4: error: '__builtin_stdarg_start' was not declared in this scope
    va_start(ap, num_args);

Those don't look like the right include files to me. Something is wrong, but what?

6
Multimedia / SYBA USB Stereo Sound Adapter: Good or bad?
« on: May 24, 2019, 12:38:39 am »
I'm trying out the SYBA USB Stereo Sound Adapter.



So far, I'm not getting sound. The package advertises that it uses CMedia CM119. I'm attaching the dump from USBDock. The device is 0D8C:0008

I installed ArcaOS with no sound adapter, then installed the USB Audio driver. This has worked in the past for some other adapter I no longer have.

Should this adapter work?

7
Hardware / AS400 and IBM Access Client Solution (ACS)
« on: February 04, 2019, 03:47:49 pm »
I've got a Affirmative Unicomp 1225T 5250 Model M 122-Key PS2 Buckling Spring Keyboard (See attachment for picture)

I had to hook it to the computer using a Belkin USB adapter. It seems to work. Is there anything I need to do to have the system recognize all 122 keys? I have ArcaOS 5.0.3 running, and the last version of Personal Communications.

I'm trying to support Access to an AS400.
Neil still using that old piece of shit? Is that a very old AS400 customer? Or does he have a later >=V7R1 release? If so i strongly suggest to use IBM i Access Client Solution (ACS in short). It's written in Java and works like a charm. I use it daily, as thats my main development job

regards
Silvan

This didn't go anywhere for me until now. The customer just upgraded his very old AS400. Now I should be able to use ACS. I have downloaded a copy of Access Client Solution, but I don't see how to start it using OS/2. Do you use a command file or something? I tried starting from command line:

{0}[k:\programs\iaccess] java -jar acsbundle.jar
java.lang.UnsupportedClassVersionError: com/ibm/iaccess/launch/AcsLaunchPad : Un
supported major.minor version 52.0
        at java.lang.ClassLoader.defineClass1(Native Method)
        at java.lang.ClassLoader.defineClass(ClassLoader.java:634)
        at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:14
2)
        at java.net.URLClassLoader.defineClass(URLClassLoader.java:277)
        at java.net.URLClassLoader.access$000(URLClassLoader.java:73)
        at java.net.URLClassLoader$1.run(URLClassLoader.java:212)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
        at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
Could not find the main class: com.ibm.iaccess.launch.AcsLaunchPad. Program will
 exit.


8
Setup & Installation / Adding and Removing Printer drivers
« on: December 30, 2018, 05:00:45 pm »
This ought to be straightforward. The list of installed printers is listed in any printer driver properties. You select the one you want, and the system deletes it.

But sometimes it doesn't. It may give the message that the printer driver cannot be deleted because it is in use by one or more printers. But examining the other printer objects shows that none are using it.

Manage Printers gives the same behavior and messages, so it's probably not some GUI bug. What is going on?

9
Storage / Chkdsk log formatter
« on: October 23, 2018, 12:24:17 am »
I used the check disk log formatter, CHKLGJFS.EXE to format the log file for my JFS formatted disk. The version is 1.9.5 by D Azarewicz.

I don't know what it means, so I'm attaching it here. I only included the first few lines. OS/2 World does not permit the whole file to be uploaded. It's too big.

10
Hardware / 122-Key keyboard
« on: September 26, 2018, 12:45:08 am »
I've got a Affirmative Unicomp 1225T 5250 Model M 122-Key PS2 Buckling Spring Keyboard (See attachment for picture)

I had to hook it to the computer using a Belkin USB adapter. It seems to work. Is there anything I need to do to have the system recognize all 122 keys? I have ArcaOS 5.0.3 running, and the last version of Personal Communications.

I'm trying to support Access to an AS400.


11
Networking / Rsync vs NetDrive
« on: May 13, 2018, 05:12:12 pm »
I have two computers on a network. Several key directories on the server are replicated to the client using rsync, which seems to be successful.

I also have the computers connected via NetDrive. I have Peter Moylan's FTP Server on the server and NetDrive's client mapping the Server's FTP onto a drive letter on the client.

On the server, I have a folder with a title and real name that are different. This seems to move fine with the rsync software. I think the title is stored in the Extended Attributes. I can look locally on the client, and that is fine. But if I look at the server drive using NetDrive, I do not see the title. Is that because the title is an Extended Attribute which is not a part of the FTP service NetDrive can offer?

To show what is going on, see the attached screen shot. The right is the client's local drive, and the left is the server drive mounted through NetDrive FTP.

12
Applications / WPTools error message
« on: May 09, 2018, 10:20:21 pm »
I've got a client, and his INI files are likely messed up.

I asked him to run WPTools CheckINI, but he gets the error

SYS1804: The system cannot find the file PMWIN.

I'm thinking that just means PMWIN.DLL isn't in the libpath, but if PMWIN isn't in the libpath, how is OS/2 even running? So I don't really know what is going on.

13
Well, I missed my chance to ask, but the question I would have asked is this:

What is going on with Firefox? As it stands, I can leave the browser pointed to a modern, active webpage, and after some time, the system will reset. I've been doing this long enough to recognize kernel corruption. Firefox runs the system out of some resource, and the kernel is not protected from such a shortage.

Having solved some of these problems in legacy industrial systems, I know they are challenging to solve. Is there any hope that a future version of Firefox will be more forgiving of system shortages?

Is the problem actually in Firefox?

14
Mail-News / Thunderbird and a long-running script
« on: January 26, 2018, 02:52:31 am »
Sometimes Thunderbird presents a message like the attached.

Warning: Unresponsive script

A script on this page may be busy, or it may have stopped responding. You can stop the script now,
or you can continue to see if the script will complete.

Script: chrome://messenger/content/messengercompose/MsgComposeCommand.js:465

(excuse typos in above. The actual text is in the attachment.)

This is happening while typing a plain e-mail. What is going on?

15
Utilities / backup and restore using zip
« on: October 20, 2017, 04:20:31 am »
For years, well really decades, I've used zip and unzip to backup and restore bootable volumes.

Now with ArcaOS, it doesn't work.

I use zip -qrS to backup and unzip to restore.

Now that doesn't work because \usr is full of symbolic links that get replaced by files.

This make rpm/yum stop working.

Does anyone have an alternative, or better options for zip that backup and restore symbolic links?

Pages: [1] 2 3 4