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 - Alex Taylor

Pages: [1] 2 3 ... 26
1
Programming / Re: Start program from VX-Rexx
« on: March 23, 2024, 10:38:15 pm »
ADDRESS CMD "P:\test\pdftotext.exe source.PDF input.txt"
Results in "private_alloc failed, error code = 0x00000137

Actually, I think this is probably an error from pdftotext.exe itself (or rather, its C runtime).

Does it depend on DLLs or other support files in its current directory? If so, you might need to change the current working directory (or possibly even manipulate the path/libpath/dpath etc).

2
Programming / Re: Start program from VX-Rexx
« on: March 22, 2024, 11:20:30 pm »
1. Don't put .exe after cmd, I'm pretty sure it's a keyword command, not a reference to cmd.exe
2. Don't use 'start', running a program with address cmd (at least from VXREXX) will already start a separate session (and minimize it, IIRC).

The following should suffice for running a program from VX-REXX:
Code: [Select]
ADDRESS CMD "P:\test\pdftotext.exe source.PDF input.txt"
Plus any output redirection you need, of course.

3
Setup & Installation / Re: DB2 v. 6.1 / Java
« on: February 23, 2024, 03:03:38 pm »
You may have the Java 1.1.8 runtime already installed in \OS2\JRE\Java11. If so, you can call it using a wrapper script that sets
Code: [Select]
SET JAVA_HOME=x:\OS2\JRE\Java11
SET SWING_HOME=%JAVA_HOME%\SWING
SET BEGINLIBPATH=%JAVA_HOME%\DLL;
SET PATH=%JAVA_HOME%\BIN;%PATH%
SET CLASSPATH=%JAVA_HOME%\LIB\SecMA.jar;%SWING_HOME%\swingall.jar;%JAVA_HOME%\LIB\classes.zip;
where x: is your system drive.

(Not tested so make whatever tweaks are needed.)

4
Applications / Re: Themes
« on: February 18, 2024, 02:34:00 pm »
If you want all the icons in the DLL, easiest way is to use RDC which is included with the RESMGR package.
Code: [Select]
rdc <dllname>But copy the DLL to a temporary directory first, because depending on the DLL this can output a large number of files.

5
Networking / Re: Updated Samba Client
« on: February 03, 2024, 02:34:06 pm »
  Like Neil, I also don't see shares with the ArcaMapper browser (AN 5.1). Is there something that can be added to smb.conf to allow displaying shares? SMBTREE works fine (once the password is added).

I assume you see the actual servers and just not the shares on them?

This is most likely due to using the wrong user credentials for browsing. The bottom right of the status bar shows the user that's currently being used. If that user doesn't have permission to see shares on each server, you won't see them. 

You can change the browsing credentials from the Network->Authenticate menu item.

6
Hardware / Re: OpenWatcom Discussion
« on: February 01, 2024, 02:13:37 pm »
FWIW, I understand from Steven that his repository should be considered the "current" one.

7
Networking / Re: ArcaMapper and Network Protocols
« on: January 23, 2024, 05:06:11 am »
Perhaps you could see if the following combination of options gets you anywhere:

Code: [Select]
   client lanman auth = yes
   client min protocol = NT1
   client NTLMv2 auth = no
   client plaintext auth = yes

8
Btw: is there a way to change the size of the WarpCenter (like xcenter) besides changing small to big icons? I May have asked it years ago, but forgot, sorry.

Sadly, no. The WarpCenter only supports those two sizes, the tallest of which is 26 pixels high. It's an unfortunate limitation.

Now, it is implemented as a WPS class (SmartCenter), so in theory, someone who was knowledgeable in WPS programming (a very short list which does not include me) might be able to enhance it by subclassing it, but that's another story.

9
To undo the resource replacement on the WarpCenter:
  • copy \os2\dll\SCENTER.DLL \os2\dll\SCENTER.BAK
  • unzip \sys\install\dialog\ORG_EN.ZIP SCENTER_DLL_ORG.RES -d \os2\dll
  • unlock \os2\dll\SCENTER.DLL
  • resmgr -a \os2\dll\SCENTER.DLL \os2\dll\SCENTER_DLL_ORG.RES
  • Reboot

10
To activate the WarpCenter, edit CONFIG.SYS and add
Code: [Select]
,WARPCENTERTo the SET AUTOSTART= line.

11
Networking / Re: ArcaMapper and Network Protocols
« on: January 18, 2024, 12:34:36 am »
In the New Connection dialog, select the "Options" button and try the following connection settings:
  • Enable encryption: turn OFF
  • Enable NTLMv1: turn ON

12
Applications / Re: ArcaOS 5.1.0 and cups
« on: January 14, 2024, 01:52:14 pm »
Try running
Code: [Select]
lpinfo -mfrom a prompt and see what happens.

13
Applications / Re: NewView - control over NEW window placement?
« on: January 12, 2024, 01:00:25 am »
Well.... Adding a settings option itself implies code changes, not just the logic but also modifying the settings notebook, extending the settings save/restore code, adding the necessary language strings and getting all the translators to update it. I'm sorry to say this strikes me as more work, not less.

BTW, I would note that this offset behaviour is consistent with many OS/2 programs and windows - including the OS/2 Window command prompt. So it's not out of place for NewView to do the same thing.

FWIW, I'm not the author of NewView, and I'm only a highly reluctant maintainer to the extent of fixing genuine bugs or addressing other serious issues. I don't honestly consider it my place to make changes to Aaron's design decisions.

14
Applications / Re: NewView - control over NEW window placement?
« on: January 09, 2024, 04:34:49 am »
Quote
Unfortunately the off-set placement of every NEW window is something that Alex doesn't see the benefit of changing

It would be more accurate to say that I couldn't find a practical way to avoid it that didn't cause more problems.

I originally did try to eliminate the offset when opening on a different virtual desktop. The problem is that NewView only knows about the most recently opened existing window, so there's no way to skip the offsetting in a way that's consistent.

To whit, try this: open NewView on one pager desktop.  Then switch to another pager desktop and open a second instance of NewView.  Then, switch back to the first pager desktop and open a third NewView window. If I didn't have the offset always applied, that third NewView window would open exactly on top of the first one, which is obviously not desirable.  Always applying the position offset prevents this problem.

I did consider trying to have NewView detect and scan through every possible existing instance, but this would have been a major undertaking, with significant overhead, that I wasn't confident I could make work in any event, and for IMHO very little practical payoff.

15
Applications / Re: DSSaver and XWP
« on: December 23, 2023, 02:24:42 pm »
Should the "PRESPARAMS PP_FOREGROUNDCOLORINDEX, CLR_BLACK" lines also be deleted?

What Rich said. However, I generally prefer to use scheme colours instead of fixed colours.  For example, replacing the above with
PRESPARAMS PP_FOREGROUNDCOLORINDEX, SYSCLR_WINDOWTEXT
will result in the current scheme's window-text colour (which is normally black) being used.

Beware, however, that the stupid IBM Dialog Editor will revert it to CLR_BLACK if you use it to edit and save the dialog. :/

Pages: [1] 2 3 ... 26