home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / michael.txt < prev    next >
Text File  |  1995-09-11  |  16KB  |  359 lines

  1. This is a set of hints for OS/2 Warp, collected as an addendum to
  2. the "Tuning OS/2 Warp" presentation given by Michael Kilby at the
  3. June 1995 meeting(s) of the CPCUG OS/2 SIG.  Revised 9 Sep 95.
  4.  
  5. > The list of MUST HAVE files (at the end of this document)
  6. > has been updated. Please refer to this list for some of
  7. > the most useful files relating to OS/2 Warp.
  8.  
  9. NOTE:  Use the "Find" feature in the Editor to jump to the beginning
  10. of each section of this file.  Just search for the ">" character.
  11.  
  12. First, since the major focus of the SIG presentation was the
  13. OS/2 CONFIG.SYS, here's a quick list of CONFIG.SYS lines that
  14. may need tweaking.
  15.  
  16. Rather than go into detail about every line, I suggest that you
  17. consult the on-line help, or look at Rick Meigs' OS2CFG11.ZIP
  18. (available from the OS/2 Shareware BBS, listed above).  From an
  19. OS/2 command prompt, typing "HELP [word]" (where [word] is the
  20. first word on each line of the CONFIG.SYS) will usually bring up
  21. the relevant section of the OS/2 command reference.
  22.  
  23. Note that OS/2 Warp is on my F: drive - don't use these lines without
  24. making *sure* they are set properly for *your* system!  Also, my
  25. system has 16 MB of RAM, which explains the cache sizes I use.
  26.  
  27. > The following list contains *only* the lines that you
  28. > should *definitely* consider adjusting:
  29.  
  30. rem * HPFS cache size increased to 1 MB
  31. rem * comment this line out for non-HPFS systems!!!
  32. IFS=F:\OS2\HPFS.IFS /CACHE:1024 /CRECL:32 /AUTOCHECK:FG
  33. rem * increase CRECL to 16 or 32 for all caches >=512 KB.
  34.  
  35. REM * add these lines by hand!
  36. SET RESTARTOBJECTS=STARTUPFOLDERSONLY
  37. SET MENUSTYLE=SHORT
  38.  
  39. rem * ,CONNECTIONS removed from AUTOSTART (no network)
  40. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,LAUNCHPAD
  41.  
  42. rem * root dir removed from ALL paths, since I don't keep programs there.
  43. rem * this includes LIBPATH, SET PATH=, and SET DPATH=
  44.  
  45. rem * PROMPT changed from $i[$p] - I don't like the "info" bar.
  46. SET PROMPT=[$T$H$H$H] $P$G
  47.  
  48. rem * FILES increased for DOS sessions
  49. FILES=60
  50.  
  51. rem * buffers reduced from 90 - WARPPERF says that 60 should be the lower
  52. rem * limit, but I was using (Rick's) value of 30 before without trouble.
  53. BUFFERS=60
  54.  
  55. rem * Note that various install progs change this line,
  56. rem * or add another one below (FaxWorks et al.)
  57. IOPL=YES
  58.  
  59. rem * FAT cache set to specific values (was D,LW),
  60. rem * and added CRECL and autocheck parameters
  61. DISKCACHE=512,LW,16,AC:CDE
  62.  
  63. rem * MAXWAIT tweaked from 3 to 2
  64. MAXWAIT=2
  65.  
  66. rem * swapper greatly increased, path changed
  67. SWAPPATH=F:\SWAP 2048 10240
  68. rem * set the initial size (2nd number) to a little bit *larger* than
  69. rem * the typical size of your swapper during normal operation.
  70.  
  71. rem * threads reduced from 256
  72. THREADS=192
  73.  
  74. rem * print buffers increased
  75. PRINTMONBUFSIZE=2048,134,2048
  76. rem * LPT3 buffer boosted to help FaxWorks
  77.  
  78. rem * KEYS=ON retained, despite advice in OS2CFG11.ZIP
  79. rem * (I prefer keeping this feature!)
  80. SET KEYS=ON
  81.  
  82. REM * added /IRQ to eliminate print polling
  83. BASEDEV=PRINT01.SYS /IRQ
  84. rem * must have a fully pinned cable for this to work.
  85.  
  86. BASEDEV=IBM1FLPY.ADD
  87. rem * BASEDEV=IBM2FLPY.ADD removed (not a microchannel machine)
  88.  
  89. rem * added parms to IDE driver
  90. BASEDEV=IBM1S506.ADD /V /A:0 /U:0 /SMS /LBA /U:1 /SMS /LBA /A:1 /I
  91. rem * this is for *one* adapter, with *two* physical drives attached.
  92. rem * see HELP BASEDEV (and dig into it) to get the details.
  93.  
  94. rem * FCBS reduced (cannot set to "0,0" in Warp)
  95. FCBS=4,2
  96. rem * FCBS are an addressing method used by DOS 1.x vintage code.
  97.  
  98. rem LOW,NOUMB changed, since most of my DOS apps can use high memory
  99. DOS=HIGH,UMB
  100.  
  101. rem * I bought a 16550 UART, so I don't need (or want) SIO
  102. DEVICE=F:\OS2\BOOT\COM.SYS
  103. DEVICE=F:\OS2\MDOS\VCOM.SYS
  104.  
  105. I recommend NOT to use SIO unless you need to use more than one
  106. modem, or you have a comm port with a strange IRQ, or you cannot
  107. get a comm port (or modem) that has the buffered UART.
  108.  
  109. The standard OS/2 comm drivers work perfectly fine, especially on
  110. systems that have a buffered UART chip (16550) on the comm port,
  111. such with most fast internal modems (9600 and above).
  112.  
  113. This goes against the common recommendation, but I believe that
  114. your money is better spent on getting a proper UART chip (or a
  115. modem with one), than on registering SIO (but if you do use SIO,
  116. you should register it!).
  117.  
  118. rem * VIOTBL.DCP replaced with OS2THIN.DCP
  119. rem * This is available (for free) as WARPFONT.ZIP
  120. DEVINFO=SCR,VGA,F:\OS2\BOOT\OS2THIN.DCP
  121.  
  122. rem * you can add a line any DOS driver (such as sound) to
  123. rem * make it load by default for all DOS sessions.
  124. rem * I prefer to add sound only to sessions that use it,
  125. rem * so I don't put that line in the CONFIG.SYS
  126.  
  127.  
  128. > SECTION TWO - assorted other hints for the WorkPlace Shell (WPS).
  129. > These items are *not* in any particular order!
  130.  
  131. First, open up the System Setup folder, and review the settings in
  132. each of the setup objects there (Keyboard, Mouse, System, Sound,
  133. etc.) Then open up the Desktop settings and review all the info
  134. there, too!
  135.  
  136. I prefer to *disable* folder animation (System object in the System
  137. Setup folder).
  138.  
  139. Using SET MENUSTYLE=SHORT drops a lot of minor items off the
  140. standard popup menus. Here's how you do them with the mouse:
  141.  
  142. Use Ctrl+Drag to copy objects - [C]trl == [C]opy
  143. Use Ctrl+Shift+Drag to create a shadow of an object
  144.     NOTE: [C]trl+[S]hift == [C]reate [S]hadow
  145. Dragging an object *moves* it, except when working between the
  146. hard drive and a floppy. The default is copy for floppy stuff.
  147. Use Shift+Drag to "shift" (move) a file to or from a floppy.
  148.  
  149. Click Left mouse button to point (highlight) any object.
  150. Double Click Left mouse button to open an object.
  151. Double Click (left button) on any empty area to bring up the LaunchPad.
  152. Click Right mouse button to open the menu for an object.
  153. Click Right mouse button on an *empty* area of a folder (or the
  154.     desktop) to open the menu for the folder (or the desktop).
  155. Use Alt+Click (left button) to rename (alter) an object's name
  156. Use Alt+Click (right button) to activate the pickup & drop feature.
  157.  
  158. Drag system objects that clutter your desktop into the OS/2 System
  159. folder. I do this with printers, the Templates, and Information folders.
  160. You can even move the LaunchPad object into the System folder.
  161.  
  162. If you use FaxWorks, and it slows down the system when printing,
  163. go to the Spooler object in the System Setup folder, and *lower* the
  164. priority setting (to about 60). Processing the fax may take a little
  165. longer, but it won't jam the system quite so badly.
  166.  
  167. Click the right mouse button on an empty portion of the desktop, open
  168. the settings notebook for the desktop, and adjust three options there:
  169. a) For the VIEW, I prefer "non-Grid", but some folks like it "Flowed".
  170. b) The Background tab allows you to set a color or bitmap background.
  171. c) On the Lockup tab(s), set the Automatic Lockup, "Full-screen", and
  172. "Auto-dim", then click the arrow to go to page two. Set "Normal
  173. Image" (the default is "Tiled") - you can also change the bitmap,
  174. but I like the OS/2 logo for the lockup bitmap - then go to page
  175. three, and change the lockup password to a single space. Type a space
  176. in the first box, press [TAB], type a single space in the second box
  177. (to confirm the change), then click on [OK] (that's important!). You
  178. can now unlock the desktop by pressing [SPACE][ENTER].
  179.  
  180. Setting the StartUp folder to FLOWED lets you control the order
  181. in which programs are launched.
  182.  
  183. REMOVE the association from Windows NotePad to *.INI and
  184. *.TXT files, and assign the *.INI association to the OS/2 system
  185. editor. When I want to edit and INI file, I don't want to bring
  186. up a Win-OS/2 session to do it. Also remove the association
  187. for *.BMP files to PaintBrush - I prefer to use the Icon Editor.
  188.  
  189. For DOS program that have their own print drivers, consider creating a
  190. second printer object, with the NULL driver (just as a pass through).
  191. Set the port to LPT2, redirected to LPT1. Tell your DOS program to
  192. print to the LPT2.OS2 *file*. Since the DOS program has it's own
  193. driver, the printer codes do not need to be rehandled.
  194.  
  195. Use the volume control object in the MMOS2 folder to control the
  196. speaker volume. This works in *addition* to the volume control
  197. (for system sounds) in the SOUND object from the System Setup folder.
  198.  
  199. Create a second folder with often used templates. I made a folder
  200. on the desktop called FORMS, and I copied (Ctrl+Drag) only a few
  201. templates (Folder, Program, Color Palettes) to the new folder. This
  202. is a lot easier to use than the multitude of templates in the Templates
  203. folder. (Do NOT delete them, just make a copy elsewhere to use).
  204.  
  205. Create a second LaunchPad (you can have *two* - or more -
  206. on your desktop!) Here's how to do it:
  207.  
  208. 1) You only want to copy the launchpad itself, not the buttons with it.
  209. So, drag off all of the buttons from the launchpad (and the drawers),
  210. EXCEPT for one!!! If you empty it completely, OS/2 will refill it!
  211. Leave *one* button (perhaps the Shredder) on the launchpad.
  212.  
  213. 2) Click on the launchpad with the right mouse button to get the popup
  214. menu for the LaunchPad (not for the button!), and CLOSE the launchpad.
  215.  
  216. 3) Hold the Ctrl key down, and use the right mouse button to *drag*
  217. off a copy of the launchpad to another spot on the desktop.
  218.  
  219. 4) The title clash dialog will appear, since the copy has the same name.
  220. Change the name of the copy from "LaunchPad" to something else.
  221. You can call it "Pad", or "FolderPad", or "Whatever".
  222.  
  223. 5) Since it is useful to have a spare launchpad, drag a *second* copy
  224. of the launchpad off, and drop it into your Templates folder. You can't
  225. make it a Template, but you can keep a copy of the mini-LaunchPad
  226. there, and use Ctrl+Drag to make a new one whenever you need it.
  227.  
  228. 6) Double-click on both the LaunchPad and the copy to open them.
  229.  
  230. 7) Recustomize *both* Pads (the original and the new copy) to look the
  231. way you like them. I put the original horizontal at the bottom of the
  232. screen, with the second one vertical on the left hand side.
  233.  
  234. 8) After you have added new objects, you must then delete and replace
  235. the *ONE* button that was left on the pad(s) before the copy. Drag one
  236. of them to the *original* Shredder, and delete it. You should find that
  237. the *other* one also disappears. When you copy a launchPad, the button
  238. shadows are linked, which is why you needed to remove (almost)
  239. everything before making the copy.
  240.  
  241. 9) If you still want that button removed in step 8 on the LaunchPad (or
  242. the copy), re-create it by re-dragging the object to the appropriate pad.
  243.  
  244. 10) Last, use Ctrl+Shift+Drag to put a shadow of the *new* Pad into
  245. the StartUp folder, so that it will open when the machine boots. OS/2
  246. only starts up the default launchpad automatically.
  247.  
  248. Use desktop objects with InfoZIP for archive info.
  249.  
  250. 1) Create a program object for the InfoZip UNZIP program.
  251. Add an association to files named *.ZIP
  252.  
  253. 2) Use Ctrl+Drag to make a copy of the UNZIP object, and
  254. name the copy ZIPINFO. Add the switch -v to the Parameters
  255. field, and (on the session page) *remove* the check mark
  256. from the "close window on exit" box. You can use the ZIPInfo
  257. object to get the contents of a ZIP file.
  258.  
  259. 3) Use Ctrl+Drag to make *another* copy of the UNZIP object,
  260. and name this copy "SELECT". Add the switches
  261.     -C %* [Files to UNZIP]
  262. (exactly as it appears on that line) to the Parameters field.
  263. You can use the Select program to pull out a single file
  264. (using a name or any wildcard combo) out of a ZIP file.
  265. The "-C" is to make it case *insensitive*. The "%*" switch
  266. passes the name of the ZIP file, and the "[Files to UNZIP]"
  267. makes OS/2 bring up a dialog when the program starts, where
  268. you can type the name of the file(s) you want unzipped.
  269.  
  270.  
  271. > CREDITS:
  272.  
  273. Many of the hints in this document originally came from other
  274. sources. In particular, I recommend that *every* OS/2 user should
  275. download and read Rick Meigs OS/2 CONFIG file. Rick also has a
  276. program that assists in reviewing and editing the OS/2 CONFIG.SYS.
  277. The current edition of his program (as of 9 Sep 95) is available
  278. as CFGINFO4.ZIP; Rick's text file of hints is contained within
  279. that ZIP, but is also available separately as OS2CFG11.ZIP
  280.  
  281. A second "must have" document is a white paper (WARPPERF.ZIP)
  282. written by Ron Cadima of IBM ISV Development Assistance.
  283.  
  284.  
  285. > DIFFERENCES FROM CFGINFO4.ZIP -
  286.  
  287. Other than SIO, the only place where I disagree with Rick's
  288. advice is on cache settings. I prefer to set cache sizes
  289. slightly *smaller* (to leave more memory for OS/2):
  290.  
  291. 16 MB RAM: 1.5 MB *total* cache (HPFS + FAT)
  292.     I Suggest 1 MB for HPFS & 512 KB for FAT.
  293. 12 MB RAM: 1 MB total cache, split as needed between FAT/HPFS
  294. 8 MB RAM: 256 KB FAT cache, 384 KB HPFS cache
  295.     (For FAT-only, use 384 or 512 KB)
  296. 4 MB RAM: 128 KB FAT cache (never use HPFS with less than 6 MB!)
  297.  
  298. For the cache timing parameters, Rick's are longer than I prefer:
  299.  
  300. RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  301.  
  302. I don't like having data sitting in the cache for up to a whole
  303. minute, so I reduce those numbers to 7500, 15000, and 10000,
  304. respectively.  Also, I set this via a CMD object in the startup
  305. folder, not from the CONFIG.SYS
  306.  
  307.  
  308. > FILES TO DOWNLOAD - These are files that *every* OS/2 user should
  309. > have (names are as of 9 Sep 95, and may change in the future):
  310.  
  311. * Documentation:
  312. CFGINFO4.ZIP, OS2CFG11.ZIP - Rick Meigs' tuning files.
  313. EWSCAT.ZIP - Best OS/2 freeware available (from IBM!) -
  314.     Every program in EWSCAT is of the highest quality.
  315.     Download them all!  Updated every month.
  316. FAQ3.ZIP - Tim Sipples Frequently Asked Questions about OS/2
  317. PCMTAB.ZIP - list of all OS/2 compatible hardware (updated monthly)
  318. WARPPERF.ZIP - White Paper on Warp tuning from IBM Boca.
  319.  
  320. * Useful OS/2 programs:
  321. CLIPCHAR.ZIP - Easy way to hunt for high ASCII codes.
  322. HPCLC095.ZIP - best RPN calculator around.
  323. LW22.ZIP     - LiveWire (communications program for OS/2)
  324. KEYDOS.ZIP   - Sets NumLock on for DOS sessions
  325. NLOCK_ON.ZIP - Set NUMLOCK on during OS/2 boot
  326. WPSFW150.ZIP - WorkPlace Shell interface for Windows
  327.     (this file is also called WPSFWIN.ZIP on some systems).
  328. UNZ512X2.EXE, ZIP201X2.ZIP - free InfoZIP archiver programs, works
  329.     with PKZIP files. You will need the UNZIP program to unpack all
  330.     of the files listed here.
  331.  
  332. * Files to improve the appearance of OS/2:
  333. ANIMICON.ZIP - Animated icon pairs for OS/2 Warp folders.
  334. COMPASS.ZIP  - Point the mouse in *any* direction (replaces DIAGPTR.ZIP)
  335. WARPFONT.ZIP - Better fonts for full screen sessions (OS/2 and DOS)
  336.  
  337. * Games (these are shareware, so if you keep them, register them!)
  338. ENTRTN14.ZIP - A large collection of good games
  339.     (updated frequently, so the file name may change).
  340. FMCRDS27.ZIP - 8 versions of Solitaire.
  341. FOURPM.ZIP - Connect four.
  342. ROIDS23.ZIP - Leonard Guy's Asteroids variant. $10, and well worth it.
  343. SEAHAV23.ZIP - A variant of FreeCell (can also set for FreeCell rules)
  344.  
  345. * A few more random files
  346. FIPS11.ZIP - partition splitter - like Partition Magic, but very raw.
  347.     Documented, and it does work, but there's no guarantee.
  348. GAMES21G.ZIP - Settings for DOS & Win games under OS/2
  349. HPFSA02B.ZIP - HPFS driver for DOS systems
  350. HUMOROS2.ZIP - A collection of funny items related to OS/2, Windows, etc.
  351. JOESTIPS.ZIP - Another collection of hints
  352.  
  353. If you have suggestions or comments, send them to
  354. Michael Kilby (use the PRIVATE area on Pete Norloff's
  355. OS/2 Shareware BBS, 703-385-4325), or send E-Mail
  356. to Michael.Kilby@f347.n109.z1.fidonet.org
  357.  
  358. >END of MICHAEL.TXT
  359. .