home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.os2.misc
- Path: sparky!uunet!pmafire!news.dell.com!natinst.com!cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!linac!uchinews!ellis!sip1
- From: sip1@ellis.uchicago.edu (Timothy F. Sipples)
- Subject: Re: Windows don't remember positions
- Message-ID: <1992Nov9.171702.5759@midway.uchicago.edu>
- Sender: news@uchinews.uchicago.edu (News System)
- Reply-To: sip1@midway.uchicago.edu
- Organization: Dept. of Econ., Univ. of Chicago
- References: <16885@umd5.umd.edu>
- Date: Mon, 9 Nov 1992 17:17:02 GMT
- Lines: 42
-
- In article <16885@umd5.umd.edu> adhir@cygnus.umd.edu (Alok Dhir) writes:
- >Why is it that so few of the windows in the WPS remember their size/positions?
- >This is irking me. Every time I start the VIEWer or use HELP in an OS/2
- >session, the stupid help windows take up my entire 1024x768 desktop. This
- >is really annoying and obnoxious of these programs to do so. I have tried
- >holding shift while I resize the windows, but it still doesn't remember.
- >Is there a way?
-
- In short, no. The program must be coded to remember its window
- position. Most do -- it is bad form not to. However, if I had a dime
- for every programmer who practiced bad form...
-
- >BTW - my OS2SYS.INI file had grown to 2.5 megs long, I ran cpyini on it
- >and the new one was 150k long. I rebooted with the disks and replaced the
- >2.5 megger with the 150k-er and everything works perfectly. I thought some
- >of you would benefit from this little tidbit. I wonder why the heck OS/2
- >doesn't manage the INI file itself?? Why should we need cpyini at all?
-
- Much like WIN.INI, OS2SYS.INI can grow as applications add
- information. A few applications (e.g. Describe) are polite enough to
- have "UnInstall" routines which will remove this extraneous
- information when you delete the application. However, if you like to
- try a lot of new software, this file will grow and grow. The CopyINI
- utility presumably trims OS2SYS.INI back down to the bare, system
- essentials.
-
- The solution is again to get better programmers who will be kind
- enough to keep the information saved in the INI files to a minimum,
- and who will provide an uninstall feature. Of course, programmers
- like to think that everything they write is useful ("You mean you want
- to uninstall MY application?"), so don't hold your breath. (The
- same problem applies to Windows, as I mention, with WIN.INI. In that
- particular case WIN.INI is plain text, so you can use a text editor to
- trim it. That can be a mixed blessing, since, if you don't know what
- you are doing, you can trash things quite easily. It is a little more
- difficult with OS/2's INI files.)
-
- --
- Timothy F. Sipples | The OS/2 FREQ. ASKED QUESTIONS LIST 2.0g is avail.
- sip1@ellis.uchicago.edu | from 128.123.35.151, anonymous ftp, in /pub/os2/all
- Dept. of Econ., Univ. | /faq, or from LISTSERV@BLEKUL11.BITNET (send "HELP")
- of Chicago, 60637 | [You picked the right President, America -- Thanks.]
-