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 4 ... 64
16
Utilities / Re: hardware information
« on: August 09, 2023, 02:43:34 am »
Testlog.exe does quite a bit, but does not try to present it. It just makes a big log file.

17
Applications / Re: New Laptop
« on: August 06, 2023, 03:31:07 pm »
I have a Lenovo T490 laptop that is one generation behind the current T14. (Actually I have a T14 that I have not yet tested.

mem /v gives
Total physical memory:     16,236 MB
Accessible to system:       1,924 MB

On the same machine, running inside VirtualBox (host Ubuntu or Windows 11, makes no difference)
Total physical memory:      4,095 MB
Accessible to system:       3,583 MB

I predict the T14 has even less memory accessible to the system than the T490.



18
Setup & Installation / Re: USB to Serial adapter setup
« on: July 19, 2023, 03:09:58 pm »
I use a US Robotics USB modem, which looks like a USB serial port to OS/2.

My config.sys uses this:

Device=C:\os2\boot\usbcom.sys /v

The placement of this line is crucial. OS/2 assigns serial ports in order. Each device statement that claims a serial port gets the next port number. I wanted USB to have COM1, so I made sure my device statement came before device statements for the IBM File and Print client, which claims two. Also place it before any COM.SYS or other serial port driver.

You can direct OS/2 to assign a COM port number higher than the one it would normally receive. (I think it only goes up to 99 serial ports)

Device=C:\os2\boot\usbcom.sys /N:COM99

19
Applications / Re: Registry editor
« on: July 13, 2023, 03:20:44 pm »
I wonder if my ini files are a "normal" size.

Directory of  H:\os2\os2*.ini

7-13-23   6:18       2,123,544      0  OS2.INI
7-12-23   9:03         305,745      0  OS2SYS.INI

20
Applications / Re: Registry editor
« on: July 12, 2023, 03:25:46 pm »
I get the crash consistently on my computers here. The crash is the same with regedit or SysIni called from REXX. The workplace shell is unable to function after the crash.

I tried some tools from Hobbes, but mostly they behave the same. I tried quite a few boots, but all are well developed OS/2 installations with plenty of entries in OS2.INI. These systems all are working well, so I doubt there is significant corruption of any OS2.INI file.

I aslo tried rwINI from Hobbes. This is an alternative to SysIni. That works fine. SysIni works fine when booted from CD.

Perhaps SysIni (and the Prf... functions) cannot have two full-sized INI files in memory, but a tiny OS2.INI on a bootCD is OK.

Another interesting quirk is that if I boot from C:, then I cannot open C:\OS2\OS2.INI, but I can access the same file as 'USER'. The rwINI package documents this limitation. The system uses the OS2.INI file, so that will always be open while I work.

21
Applications / Registry editor
« on: July 10, 2023, 06:32:35 pm »
I'm using \OS2\SYSTEM\REGEDIT2.EXE. If I open the HINI_USER_PROFILE, then all is well. But if I open the OS2.INI file on another drive, then the REGEDIT2 closes with a new entry created in POPUPLOG.OS2.

Code: [Select]
07-10-2023  09:17:53  SYS3171  PID 0046  TID 0001  Slot 001b
H:\OS2\SYSTEM\REGEDIT2.EXE
c0000005
1ffc1b8c
P1=00000002  P2=001bfffc  P3=XXXXXXXX  P4=XXXXXXXX 
EAX=1a390000  EBX=1a533434  ECX=001c0018  EDX=00000014
ESI=1a661a44  EDI=1a390650 
DS=0053  DSACC=d0f3  DSLIM=bfffffff 
ES=0053  ESACC=d0f3  ESLIM=bfffffff 
FS=150b  FSACC=00f3  FSLIM=00000030
GS=0000  GSACC=****  GSLIM=********
CS:EIP=005b:1ffc1b8c  CSACC=d0df  CSLIM=bfffffff
SS:ESP=0053:001c0000  SSACC=d0f3  SSLIM=bfffffff
EBP=001c0044  FLG=00010202

DOSCALL1.DLL 0002:00001b8c

I can recreate this by accessing the same INI file using REXX function SysIni, although the exception location is different.

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

For the currently booted system, the call to SysINI fails. USER works, but C:\OS2\OS2.INI does not. Boot to some other drive, including a bootAble CD, and C:\OS2\OS2.INI works fine in SysINI.

If I extend my example above, it works well to set the resolution if C:\OS2\OS2.INI is substituted for USER and then I save the values for the new resolution. This is useful if a bad resolution is set on C:, preventing the presentation manager from displaying on the screen. I know there are other ways involving going to VGA and reinstalling the video driver, but this is more elegant.

23
Programming / Re: Where does OS/2 store the screen resolution?
« on: July 02, 2023, 03:14:44 pm »
Thanks, Martin. I did not look at OS/2 Multi-Media functions. DiveQueryCaps will give the information for the currently booted system, which is useful.

My main need was to work on a system that is not booted, and can't be booted to the desktop because of a wrong screen resolution. But my method doesn't work as well for the currently booted system, so I will be looking into DiveQueryCaps to do that better.

24
Programming / Re: Where does OS/2 store the screen resolution?
« on: June 24, 2023, 04:12:14 pm »
Answering myself:

http://www.edm2.com/index.php/REXX_Tips_%26_Tricks:Change_the_WPS_with_REXX#Get_the_display_resolution

Code: [Select]
/* print the current resolution */
call rxFuncAdd "SysIni", "REXXUTIL", "SysIni"

inifile = 'USER'
rblock = SysIni(inifile, 'PM_DISPLAYDRIVERS', 'DEFAULTSYSTEMRESOLUTION')
say length(rblock) "chars:" c2x(rblock)

hres = reverse(substr(rblock,1,4))
say "horizontal:" c2d(hres)

vres = reverse(substr(rblock,5,4))
say "vertical:" c2d(vres)

dres = reverse(substr(rblock,9,4))
say "depth:" c2d(dres)

resolutionChangePending = SysIni(inifile ,"PM_DISPLAYDRIVERS", "RESOLUTION_CHANGED")
   
if resolutionChangePending = "1" || "00"x then
   resolutionChangePending = 1
else
   resolutionChangePending = 0
say "resolution change pending:" resolutionChangePending

return

25
Programming / Where does OS/2 store the screen resolution?
« on: June 23, 2023, 06:26:36 pm »
I'm interested in knowing the screen resolution that OS/2 will use. The program needs to read the information from disk for a volume that is not currently booted, for example, if the computer is booted from CD, but wants to show the resolution that a disk volume will use if it is booted.

26
Events / Re: AN posted pricing for 5.1
« on: June 16, 2023, 03:05:54 pm »
To find your subscription end date,

1. log into Arca Noae
2. click on download center

27
Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: June 12, 2023, 03:54:15 pm »
I'm not sure how a local repository would help. If someone uploads a .RPM to Hobbes, how would my local repository know about the new file?

28
Comments, Suggestions & Questions / Re: Hobbes (Files) Reoganization
« on: June 11, 2023, 03:32:49 pm »
If Hobbes would support .rpm files, it should be in a repository that I can add to ANPM or my YUM repository list.

29
Setup & Installation / Re: AOO4.11.1/Firefox/Seamonkey trouble
« on: June 08, 2023, 03:22:27 pm »
I can open text documents and spreadsheets. I used these prerequisites:

libc libgcc1 libgcc-fwd openssl curl libjpeg libxslt libicu zlib libxml2 mmap pthread urpo libstdc++6 libstdc++ uclip ft2lib expat

I marked all code sections to load high.

30
Setup & Installation / Re: ArcaOS 5.0.x OVA for VirtualBox
« on: June 08, 2023, 12:24:40 am »
I tried this again with VirtualBox 7.0.8. I added my .ISO of ArcaOS 5.0.7 and it booted up to the point where it needs to find the .ISO, but it can't.

Pages: 1 [2] 3 4 ... 64