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 - Gregg Young

Pages: [1] 2 3 4
1
Applications / Re: About bldlevel
« on: September 06, 2019, 09:34:28 pm »
As far as I know, it has to done when compiling the binary. I guess if a binary had a large description, the description could be replaced with a binary editor. Most exe's don't have a description, which is also added in the def file.
Actually, bldlevel does complain about not finding "driver EA's" so perhaps that is a way.

There is an EA that looks as if it would do this:
From the OS/2 programing guide
The .VERSION extended attribute (EA) contains the version number of the file format, as shown below.


    My_Application 1.0



The name of this EA consists of the string ".VERSION". The value of this EA contains the file object version number. This attribute can be ASCII or binary. Only the application that created the file object should modify the value of this EA. It can also be used to indicate an application or dynamic link library version number.

2
For the windowed sessions you can try changing this line in config.sys DEVICE=I:\OS2\MDOS\VSVGA.SYS to DEVICE=I:\OS2\MDOS\VSVGA.SYS /int10textgrfxsafe. You also need to add
mode co80
cls
to autoexec.bat
This works on my system without viop.sys so I don't know how they behave if used together.
One other note if I change DOS LOW, NOUMB to DOS HIGH, UMB in config.sys mode traps on my system.

3
Applications / Re: BS_Info v2.2 and AVxCat
« on: August 26, 2019, 11:59:52 pm »
Hi All

Just installed BS_Info v2.2 and gave it a try.

I am a little concerned about the IFS information displayed regarding my fat32 driver:-

   fat32.ifs   v0.10.r204
   *** very dangerous ***


Does anyone know why this fat32 driver is "*** very dangerous ***"?
           

Hi Pete

You are using are extremely old driver with the latest being v0.10.r381 which can be found at

https://ecsoft2.org/fat32

At this page, you can see just how far behind you are.
 
The later drivers add more types of FAT support and I believe chckdsk support along with formatting fat32 drives.

The web page is wrong.  You can format fat32 drives.  I use the Reformat  program which I bought.  If you are familiar with the command line, it can be done that way.

Fat32 entries in my config.sys file.

ifs=F:\OS2\BOOT\fat32.ifs /cache:2048 /h /q /ac:* /largefiles /fat /exfat
call=F:\OS2\cachef32.exe /f /p:2 /m:50000 /b:250 /d:5000

I believe the ArcaOS Fat32 driver is based on the 0.10.r378 version.

Hi David, Pete

The ArcaOS Fat32 driver is based on the 0.10.r359 though it does have some code from later revisions.

Fat32 isn't a very robust file system. It is just an extension of Fat16. Its directory enties are all stored in files just like the data is stored. It only has short name directory entry structures. These have been bastardized so it can use multiple short name structures to store long names.

Probably all OS2 Fat32 drivers suffer from directory entry corruption under heavy load. Fortunately, it is seldom seen under light usage. It is more likely with caching (Note the cache is disabled in the current Netlabs and ArcOS versions), with multiprocessors and under heavy load such as rsyncing a large number of file from multiple directories from a Fat32 hard drive to a Fat32 USB stick. Fortunately, chkdsk can usually fix the problem.  However, rarely it will cause mismatch Fats and chkdsk will give up kindly telling you to run chkdsk in Windows (which won't work either as fixing the fats requires scandisk). The only ways to fix it in OS2 is using DFSee or reformatting the drive.

Gregg

4
Programming / Re: Mozturbo help
« on: August 24, 2019, 10:54:13 pm »
ArcaOS has a program for this. In Computer->System Setup->Network->TCP/IP is a program called Default Internet Applications which can be used to set all the default internet related apps. It sets web browser to Firefox and Thunderbird for email if you do a default ArcaOS install. It sets them to SeaMonkey if you install that while installing ArcaOS. They aren't set at all if you don't install any of these when you install ArcaOS.

5
A couple of thing to check:

First what protocol are you using to run Peer. If it is Netbios over TCP/IP this will prevent Samba from working, Remove netbios over TCP/IP and replace with Netbios.

Next how is the NAS accessed by name or by IP address. If it is by name you need to add this to your hosts file
(NAS   192.168.0.2 to X:\MPTN\ETC\hosts). Obviously use the correct values here.

You need to reboot after either of these changes

6
Applications / Re: Revisiting old OS/2 Software.
« on: July 17, 2019, 09:07:05 pm »
There is also the programming calculator scalc on Hobbes. http://hobbes.nmsu.edu/download/pub/os2/apps/calc/scalc98.zip

7
Programming / Re: Compiling PMMail with GCC 4.9.2
« on: July 09, 2019, 02:08:33 am »
Rich Thanks for the code.

Paul Yes I realize that now sorry for the noise.

8
Programming / Re: Compiling PMMail with GCC 4.9.2
« on: July 08, 2019, 07:52:44 pm »
After building pmmail we discovered an odd issue with the gcc compilers. The popen function is hard coded to use sh as its shell which doesn't play well with path names containing back slashes and of course fails on systems where sh isn't installed.  This problem exists in 4.9.2 (I haven't tried the RPM version) and 8.3.0 (only ones I have tried). Apparently this wasn't true for 3.3.5. I have reported this on Paul's Mantis site.

9
Networking / Re: Samba 4.9.0 based client
« on: June 08, 2019, 10:46:24 pm »
Hi Paul

smbspool.exe is broken in 4.9.4 and higher (tried 4.9.5 & 4.10.1). I am using the SMB printer port which works with version 4.4 and 4.7.7. These are the only versions I have tried.

I get "Error 1 during spooling to smb://USERNAME:****@CATMASTER/PIPPIN/Printer" Error 1 is NT_STATUS_ACCESS_VIOLATION. See ticket 2528 on the AN mantis site for more details. Thanks

Gregg

10
Programming / Re: Compiling PMMail with GCC 4.9.2
« on: June 03, 2019, 11:37:30 pm »
Try reinstalling libc-0.1.1-1-devel which is where the header for this is located. The header is "include\386\stdarg.h". It defines va_start.

11
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 10:52:21 pm »

libgcc has changed/added functions since the GCC 4.9.2 version and corresponding libgcc1.dll

To avoid having to rely on an updated libgcc1.dll; I recommend you link with -static-libgcc which helps avoid a DLL dependency

Cheers,

Paul

Thanks Paul

This worked unfortunately the resulting PMMail produced corrupted headers (blank from). It still trapped with -O1 or higher.

Gregg

12
Programming / Re: Which GCC compiler version do people recommend?
« on: May 05, 2019, 12:22:39 am »
Paul thanks for the link.

I got it to build but it doesn't run. No error message when I tried from command line. I have this in popuplog.os2.

05-04-2019  16:12:33  SYS2070  PID 0ceb  TID 0001  Slot 00f1
G:\PMMAIL\BIN\PMMAIL.EXE
PMMAIL->GCC1.___gthread_os2_mutex_lock
127

Any suggestions? Thanks

Gregg

13
Programming / Re: Which GCC compiler version do people recommend?
« on: May 04, 2019, 10:40:25 pm »
Hi Paul

Where can I get 8.3? Thanks

Gregg

14
Programming / Which GCC compiler version do people recommend?
« on: May 04, 2019, 09:30:43 pm »
Hi

I am building PMMail with gcc 4.92. If I use -O1 or -O2 optimization pmmail traps on loading a folder. If I use -Og or none it works fine. I am thinking this might be caused by a defect in 4.92. I am wondering what newer gcc version people recommend so I can test this theory?

Thanks

Gregg

15


BUT: PMMail crashes with the new libc under some circumstance when accessing a folder (I have to take a deeper look into that, but looking into the log says that it's a problem with memory allocation)

I had this happen too. I believe it is caused by a corrupt message file in the folder. I had to remove some files from my inbox using FM/2 to get PMMail to load. I created a new folder and put some of the files in it returning others to the inbox. The inbox works but indexing the new folder traps. I haven't had time to track down the offending file.

Since I am trying to troubleshoot the Lucide issue I should note I am using the new libc also.

Pages: [1] 2 3 4