home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / os2 / apps / 8572 < prev    next >
Encoding:
Text File  |  1992-11-23  |  2.4 KB  |  53 lines

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