home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / diskutil / slim / os2notes.txt next >
Text File  |  1992-05-19  |  4KB  |  73 lines

  1. OS/2 2.0 CONSIDERATIONS
  2. by Timothy F. Sipples
  3. Internet: sip1@ellis.uchicago.edu
  4. May 19, 1992
  5.  
  6. [These notes are not part of the original Slim 1.10a package.]
  7.  
  8. Slim 1.10a appears to work correctly in OS/2 2.0 emulated DOS sessions.
  9. (And Slim 1.10a undoubtedly works correctly in "specific DOS versions"
  10. running in OS/2 2.0 virtual machines.)  However, testing has been
  11. cursory, and I offer no guarantees that Slim will perform perfectly
  12. in all situations.  As always with DOS on-the-fly disk compression
  13. schemes, use at your own risk.
  14.  
  15. Here are some considerations on getting the most out of Slim in your
  16. OS/2 2.0 environment.  Slim should serve fairly well until native OS/2
  17. on-the-fly disk compression software arrives (e.g. the forthcoming
  18. Stacker for OS/2).
  19.  
  20. Slim does not appear to LOADHIGH in DOS sessions.  Thus, it will
  21. require roughly 72K of conventional memory.  If needed, conventional
  22. memory can be freed in several ways including turning DOS_UMB on and
  23. switching VIDEO_MODE_RESTRICTION to CGA.  (Both are in the DOS Settings
  24. section of any DOS program object's notebook settings.)  Loading DOS
  25. TSRs before setting any environment variables can also help cut
  26. conventional memory consumption slightly.  Loading TSRs and device
  27. drivers HIGH can help.  DOS itself can be loaded HIGH.  For information
  28. on these issues consult either DOS 5.0 references or OS/2 2.0 DOS-
  29. related documentation.
  30.  
  31. SLIM ON may be placed in your AUTOEXEC.BAT file as the accompanying
  32. documentation suggests.  However, if you want to turn SLIM ON only for
  33. certain DOS programs, create a batch file to start your application with
  34. SLIM ON preceeding the name of the application.  Modify your DOS
  35. program object(s) to start the batch file instead of starting the
  36. application directly.
  37.  
  38. One reason you may not want to put SLIM ON in your AUTOEXEC.BAT file
  39. is because, while Win-OS/2 does work with Slim in limited testing,
  40. repeated error messages about "share violations" will occur.  It is best
  41. not to use SLIM ON with Win-OS/2.
  42.  
  43. Slim does not include on-the-fly compression of new or rewritten files.
  44. Hence, periodically you may wish to run Slim to compress batches of
  45. files.  OS/2 2.0 provides several ways to automate this procedure and
  46. make it more convenient.  One obvious benefit is that Slim can run in
  47. the background while you work on other tasks.  Also, REXX and/or the
  48. FOR command (see the online Command Reference and the REXX Reference,
  49. both in the Information folder) can be used to create scripts to auto-
  50. matically compress those files which have their archive attribute set
  51. a certain way (for example, to compress those files that haven't been
  52. backed up), or to compress those files which were created or revised
  53. after a certain date.  The Alarms applet (in OS/2 System -> Productivity)
  54. can be used to automatically run daily Slim compression runs, for
  55. example, with a bit of creative REXX and/or batch scripting.  A BBS
  56. operator could automatically run Slim compression on a batch of messages
  57. that has just come in from his network feed.  I leave the implementation
  58. up to the reader -- the possibilities are endless.
  59.  
  60. Since Slim is a DOS TSR, OS/2 programs will not have access to Slim
  61. compressed files.  Do not attempt to compress OS/2 executables, DLLs,
  62. and other critical files.  Moreover, you will likely not want to
  63. Slim compress data files you expect to use frequently with OS/2 programs.
  64.  
  65. Slim is more convenient than programs such as LZ-EXE, AXE, and PKLite,
  66. which compress DOS executables only.  Slim works with data files and
  67. other types of files just as well.
  68.  
  69. How Slim interacts with extended attributes has not been tested.
  70.  
  71. Finally, if you find Slim of value, please contribute the recommended
  72. amount to the publisher as described in the accompanying documentation.
  73.