home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.apps
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!caen!destroyer!cs.ubc.ca!newsserver.sfu.ca!sfu.ca!weinkam
- From: weinkam@fraser.sfu.ca (James Lawrence Weinkam)
- Subject: Re: Growing OS2SYS.INI probable cause?
- Message-ID: <weinkam.722552806@sfu.ca>
- Sender: news@sfu.ca
- Organization: Simon Fraser University, Burnaby, B.C., Canada
- References: <1er451INNhe6@gap.caltech.edu>
- Date: Mon, 23 Nov 1992 21:06:46 GMT
- Lines: 41
-
- josephc@cco.caltech.edu (Joseph Chiu) writes:
-
- >I just got off the phone with IBM trying to get a handle on why there is
- >an LPT1: conflict with one of my programs. (It appears to be a vestige
- >of dongle code that was somehow left in the product... It isn't supposed
- >to need a dongle, though...)
-
- >Anways, I offhandedly mentioned my OS2SYS.INI growth to the tech on the
- >line and he asked: "Do you leave apps open when you shut down?"
-
- >According to him, that will cause the growth of the OS2SYS.INI... According
- >to what he said, OS/2 preserves the "state" of the system at shutdown,
- >thus causing the growth of the INI file. If apps are closed prior to
- >shutdown, this is not supposed to happen.
-
- >This sounds plausible. I'm going to test this theory out over the next
- >few days... It certainly explains the increased disk access during
- >shutdowns.
-
- I don't think this is the only cause of the growth. I have noticed that
- if you use editini from watson to remove something from an ini file, the
- ini file actually gets larger rather than smaller. There seems to be
- a problem in the routine that is supposed to delete stuff from the ini
- files that make them grow.
-
- I noticed this when I decided that I wanted to test out all the stuff in
- a program I was writing. I needed to make sure all the default settings
- would work, but some stuff it would only set to default if it did
- not load them from the ini files. I decided to quickly write a program
- to delete its settings from the ini file, and noticed that the ini file
- got larger. I thought that I had done something wrong, and so I used
- the debugger to make sure that I had all the right parameters when calling
- the functions to delete from the ini. Everything was set just as the
- docs said it should be. I then found the editini program on watson,
- and used it to remove some settings from the ini file, and it too made
- it grow. I assume from this that the error would most likely be in OS/2
- and not in my program, or in editini.
-
- Hope they fix this one.
-
- James Weinkam
-