home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_21 / tricks / tricks.inf (.txt) < prev    next >
Encoding:
OS/2 Help File  |  1993-11-16  |  99.8 KB  |  1,120 lines

  1.  
  2. ΓòÉΓòÉΓòÉ 1. Introduction ΓòÉΓòÉΓòÉ
  3.  
  4. Stupid OS/2 Tricks 
  5.  
  6. (Double click on a bitmap) 
  7.  
  8. compiled by M. Woo 
  9. for the Champaign-Urbana OS/2 Users Group 
  10. release #1, Nov 1993 
  11.  
  12. Information about this document: 
  13.  
  14. o Types of "tricks" included 
  15. o How to submit tips and tricks 
  16. o Revisions 
  17. o Revision schedule 
  18. o How this document was created 
  19. o Disclaimer 
  20.  
  21.  
  22. ΓòÉΓòÉΓòÉ 1.1. Types of "tricks" included ΓòÉΓòÉΓòÉ
  23.  
  24. This file contains various tips and tricks for OS/2 which have been gathered 
  25. over time from various sources. Creation of this text was inspired by the 
  26. "Clever Tricks" section of Tim Sipples' excellent Frequently Asked Questions 
  27. list, a must read for all OS/2 owners. 
  28.  
  29. The type of tips and tricks included in this text are those which cover 
  30. features of OS/2 that people often ask about, short REXX scripts which do 
  31. interesting things, as well as other items which hopefully don't overlap 
  32. information already contained in Tim Sipples' FAQ (well, not by TOO much, 
  33. anyway). 
  34.  
  35. The tricks contained in this text do not make references to any specific 
  36. product names, other than those components included in OS/2 itself.  However, 
  37. it may occasionally have been necessary to mention generic classes of utilities 
  38. which are not included as part of OS/2. 
  39.  
  40. Related subject(s): 
  41.  
  42. o How to submit tips and tricks 
  43.  
  44.  
  45. ΓòÉΓòÉΓòÉ 1.2. How to submit tips and tricks ΓòÉΓòÉΓòÉ
  46.  
  47. If you know of any neat OS/2 tips or tricks that you're dying to share, please 
  48. send them along.  They would be greatly appreciated! 
  49.  
  50. If your tip or trick is used, your name will be listed along with it for all to 
  51. see! 
  52.  
  53. Neat OS/2 tricks can be sent to: 
  54.  
  55. Internet, m-woo@uiuc.edu 
  56. Fidonet, Sysop @ 1:233/4.0 
  57.  
  58. (these addresses are subject to change after Jan 1993) 
  59.  
  60.  
  61. ΓòÉΓòÉΓòÉ 1.3. Revisions ΓòÉΓòÉΓòÉ
  62.  
  63. INF revision marks 
  64.  
  65. Revisions/additions to this INF file will be displayed in the following text 
  66. color (this is a revision). 
  67.  
  68. Related subject(s): 
  69.  
  70. o Revision schedule 
  71.  
  72.  
  73. ΓòÉΓòÉΓòÉ 1.4. Revision schedule ΓòÉΓòÉΓòÉ
  74.  
  75. This text will be updated when the number of new tips and tricks gathered 
  76. warrants a new version. 
  77.  
  78. History: 
  79.  
  80. Release #1 - Nov 1993 
  81.  
  82. Related subject(s): 
  83.  
  84. o Revision marking 
  85.  
  86.  
  87. ΓòÉΓòÉΓòÉ 1.5. How this document was created ΓòÉΓòÉΓòÉ
  88.  
  89. This document was written using the OS/2 port of Elvis v1.6.  Screen captures 
  90. were done using PMCamera/2 v2.10, an IBM EWS package, then processed using 
  91. JoeView v1.21.  The resulting tagged document was compiled using the IPF 
  92. compiler from the IBM OS/2 Developer's Toolkit v2.0. 
  93.  
  94.  
  95. ΓòÉΓòÉΓòÉ 1.6. Disclaimer ΓòÉΓòÉΓòÉ
  96.  
  97. I don't claim to be an expert on OS/2, so I can't guarantee that all the tips 
  98. and tricks presented in this document will work with all configurations of 
  99. OS/2.  Thus, the following disclaimer: 
  100.  
  101. The reader/user assumes all responsibility, liability and risk for any damages, 
  102. incidental or consequential, resulting from the use of the information provided 
  103. in this document.  No warranty is expressed or implied, and this document is 
  104. only guaranteed to use space on your disk. 
  105.  
  106.  
  107. ΓòÉΓòÉΓòÉ 2. System ΓòÉΓòÉΓòÉ
  108.  
  109. This section covers tips and tricks which affect the system in general. 
  110.  
  111. Topics in this section: 
  112.  
  113. o Keeping applications from restarting at boot 
  114. o Shutting down without a mouse 
  115. o Rebooting from the command line 
  116. o Finding settings for original objects 
  117. o Controlling order of execution in Startup folder 
  118. o Backing up the *.ini files 
  119. o Removing device drivers for better performance 
  120. o Speeding up some IDE drives 
  121. o Disabling use of the floppy drives 
  122.  
  123.  
  124. ΓòÉΓòÉΓòÉ 2.1. Keeping applications from restarting at boot ΓòÉΓòÉΓòÉ
  125.  
  126. When OS/2 is started, it automatically opens applications which were open 
  127. during the last OS/2 session.  To keep applications from restarting on boot, 
  128. you can use either the manual or automatic method. 
  129.  
  130. Related subject(s): 
  131.  
  132. o Prevent restarting manually 
  133. o Prevent restarting automatically 
  134. o Rebooting from the command line 
  135.  
  136.  
  137. ΓòÉΓòÉΓòÉ 2.1.1. Prevent restarting manually ΓòÉΓòÉΓòÉ
  138.  
  139. To prevent applications from restarting during boot, hold down the Ctrl, left 
  140. Shift, and F1 keys at the same time, beginning when the mouse pointer appears 
  141. until the icons begin appearing on the desktop. If you find that disk activity 
  142. stops, you may have to release the keys and then quickly hold them down again. 
  143.  
  144. Related subject(s): 
  145.  
  146. o Prevent restarting automatically 
  147.  
  148.  
  149. ΓòÉΓòÉΓòÉ 2.1.2. Prevent restarting automatically ΓòÉΓòÉΓòÉ
  150.  
  151. Placing the line 
  152.  
  153. SET RESTARTOBJECTS=STARTUPFOLDERSONLY,REBOOTONLY 
  154.  
  155. into your CONFIG.SYS file will prevent any applications which had been open in 
  156. the last session from opening, but will allow programs in the Startup folder to 
  157. open. 
  158.  
  159. Related subject(s): 
  160.  
  161. o Prevent restarting manually 
  162.  
  163.  
  164. ΓòÉΓòÉΓòÉ 2.2. Shutting down without a mouse ΓòÉΓòÉΓòÉ
  165.  
  166. To shut OS/2 down without a mouse, press Ctrl-Esc to bring up the Window List, 
  167. choose the Desktop, press the Spacebar to deselect any icons, press Shift-F10 
  168. to pop up the Desktop's menu, choose Shutdown. 
  169.  
  170.  
  171. ΓòÉΓòÉΓòÉ 2.3. Rebooting from the command line ΓòÉΓòÉΓòÉ
  172.  
  173. To reboot OS/2 down from the command line, type 
  174.  
  175. SETBOOT /B 
  176.  
  177. or 
  178.  
  179. SETBOOT /IBD:<drive> 
  180.  
  181. where <drive> is the letter of the drive or partition to which you wish to boot 
  182.  
  183. Related subject(s): 
  184.  
  185. o Keeping applications from restarting at boot 
  186.  
  187.  
  188. ΓòÉΓòÉΓòÉ 2.4. Finding settings for original objects ΓòÉΓòÉΓòÉ
  189.  
  190. The settings for all of the objects which were created upon installation of 
  191. your OS/2 system are contained in the INI.RC file, located in the \OS2 
  192. subdirectory.  Those handy with REXX and the external REXXutils can use the 
  193. information contained in the INI.RC file to rebuild the original OS/2 objects. 
  194.  
  195.  
  196. ΓòÉΓòÉΓòÉ 2.5. Controlling order of execution in Startup folder ΓòÉΓòÉΓòÉ
  197.  
  198.  
  199. ΓòÉΓòÉΓòÉ <hidden> Startup execution window 1 ΓòÉΓòÉΓòÉ
  200.  
  201. You can control the order in which objects in your Startup folder execute. 
  202.  
  203.  1. Open the Startup folder in either Flowed or Non-flowed view. 
  204.  2. Drag objects or their shadows into the Startup Folder in the order you want 
  205.     them to execute. 
  206.  
  207.  
  208. ΓòÉΓòÉΓòÉ <hidden> Startup folder ΓòÉΓòÉΓòÉ
  209.  
  210. Startup folder in Flowed view with item being dragged into it. 
  211.  
  212.  
  213. ΓòÉΓòÉΓòÉ 2.6. Backing up the *.ini files ΓòÉΓòÉΓòÉ
  214.  
  215. Much of your system's customization is stored in two files, OS2.INI and 
  216. OS2SYS.INI.  To back up these important files, add the following line to the 
  217. beginning of your CONFIG.SYS: 
  218.  
  219. CALL=<drive1>:\OS2\XCOPY.EXE <drive2>:\OS2\OS*.INI <drive3>:\<path> 
  220.  
  221. where 
  222.  
  223.   <drive1> is the letter of the drive in which XCOPY.EXE is found 
  224.  
  225.   <drive2> is the letter of the drive in which the *.ini files are found 
  226.  
  227.   <drive3> is the letter of the drive in which you would like to locate the 
  228. backups of the *.ini files 
  229.  
  230.   <path> is the path in which you would like to locate the backups of the *.ini 
  231. files 
  232.  
  233.  
  234. ΓòÉΓòÉΓòÉ 2.7. Removing device drivers for better performance ΓòÉΓòÉΓòÉ
  235.  
  236. (contributed by Jack Tan) 
  237.  
  238. If you aren't using the DOS subsystem, you can improve performance by removing 
  239. DOS-specific device drivers from loading in your CONFIG.SYS (they generally 
  240. begin with the letter V).  The same applies to Win-OS/2, HPFS, CD-ROM drivers 
  241. as well. 
  242.  
  243.  
  244. ΓòÉΓòÉΓòÉ 2.8. Speeding up some IDE drives ΓòÉΓòÉΓòÉ
  245.  
  246. (contributed by Jack Tan) 
  247.  
  248. Try adding switches to the BASEDEV=IBM1S506.ADD line: 
  249.  
  250. BASEDEV=IBM1S506.ADD /A:0 /U:0 /SMS 
  251.  
  252. and use /V to see if the /SMS works (/V = verbose).  This is supposed to speed 
  253. up IDE drives that support this feature; otherwise, it will be ignored. 
  254.  
  255.  
  256. ΓòÉΓòÉΓòÉ 2.9. Disabling use of the floppy drives ΓòÉΓòÉΓòÉ
  257.  
  258. (by Darius Vaskelis) 
  259.  
  260. To prevent users from using the floppy drives under OS/2, such as in a 
  261. workstation situation: 
  262.  
  263. Remove the following line from your CONFIG.SYS: 
  264.  
  265. BASEDEV=IBMxFLPY.ADD 
  266.  
  267. Where x is 1 for ISA and EISA, or 2 for Microchannel. 
  268.  
  269.  
  270. ΓòÉΓòÉΓòÉ 3. Desktop ΓòÉΓòÉΓòÉ
  271.  
  272. This section covers tips and tricks which relate to the Workplace Shell. 
  273.  
  274. Topics in this section: 
  275.  
  276. o Saving desktop without shutting down 
  277. o Adding an "open folder" entry to the desktop's popup menu 
  278. o Changing color of shadow icon text 
  279. o Moving icon a small distance 
  280. o Changing desktop bitmaps randomly at specified interval 
  281. o Changing the standard mouse pointer 
  282. o Making an object prompt for a parameter 
  283. o Finding a "covered" icon 
  284. o Changing icon text color 
  285. o Recovering after an accidental Arrange 
  286. o Creating an onscreen "app bar" 
  287. o Creating a "trash can" 
  288. o Selecting objects without mouse 
  289. o Hiding a folder 
  290. o Creating a system file editor object 
  291.  
  292.  
  293. ΓòÉΓòÉΓòÉ 3.1. Saving desktop without shutting down ΓòÉΓòÉΓòÉ
  294.  
  295. To save the settings of your desktop without shutting down OS/2: 
  296.  
  297. (by Jack Tan) 
  298.  
  299.  1. Open the Settings folder for the Desktop. 
  300.  2. Choose the Window tab. 
  301.  3. Under Object Open Behavior, choose Create New Object. 
  302.  4. Close the Settings folder. 
  303.  5. Click on the arrow next to Open in the Desktop's popup menu; choose Icon 
  304.     View. 
  305.  6. A folder of your Desktop should appear.  You can arrange this folder any 
  306.     way you wish. 
  307.  7. Close the folder of your Desktop to save its settings.  The icon positions 
  308.     will be saved. 
  309.  8. Change the Object Open Behavior to Display Existing Window. 
  310.  9. To activate the newly-saved Desktop, use a kill utility to kill the second 
  311.     PMSHELL process.  The Workplace Shell will restart with your newly-saved 
  312.     icon settings. 
  313.  
  314. Related subject(s): 
  315.  
  316. o Recovering after an accidental Arrange 
  317.  
  318.  
  319. ΓòÉΓòÉΓòÉ 3.2. Adding an "open folder" entry to the desktop's popup menu ΓòÉΓòÉΓòÉ
  320.  
  321. To add an entry to the desktop's popup menu which allows you to open a specific 
  322. folder: 
  323.  
  324.  1. Create a REXX script, OPEN.CMD to open the folder. 
  325.  2. Open the Templates folder. 
  326.  3. Use the right mouse button to drag a copy of the Program template to the 
  327.     desired final location.  Its Settings notebook should open. 
  328.  4. Fill in the path and file name (OPEN.CMD) on the Programs page. Complete 
  329.     the General page as desired. 
  330.  5. Close the Settings notebook. 
  331.  6. Open the Settings notebook for the Desktop. 
  332.  7. Choose the Menu tab. 
  333.  8. If using OS/2 v2.1, drag the icon of your newly-created OPEN.CMD object 
  334.     onto the box underneath "Actions on menu: Primary pop-up menu." If using 
  335.     OS/2 v2.0, click on the Create Another button and fill in the proper 
  336.     information. 
  337.  9. The menu choice for your OPEN.CMD object should now be available on the 
  338.     desktop's popup menu. 
  339.  
  340. Other REXX scripts: 
  341.  
  342. o BITMAP.CMD 
  343. o SETMOUSE.CMD 
  344. o SETFONT.CMD 
  345. o CHKDRIVE.CMD 
  346.  
  347.  
  348. ΓòÉΓòÉΓòÉ 3.3. Changing color of shadow icon text ΓòÉΓòÉΓòÉ
  349.  
  350.  
  351. ΓòÉΓòÉΓòÉ <hidden> Shadow icon text window 1 ΓòÉΓòÉΓòÉ
  352.  
  353. To change the color of the shadow icon text: 
  354.  
  355.  1. Open the Scheme Palette. 
  356.  2. Choose Shadow Text. 
  357.  3. Choose the desired color from the color wheel. 
  358.  4. Close the Scheme Palette. 
  359.  5. Drag (or Alt-drag) the desired scheme to the desired folder with the right 
  360.     mouse button. 
  361.  
  362. Related subject(s): 
  363.  
  364. o Changing icon text color 
  365.  
  366.  
  367. ΓòÉΓòÉΓòÉ <hidden> Scheme Palette ΓòÉΓòÉΓòÉ
  368.  
  369. Scheme Palette with Shadow Text highlighted. 
  370.  
  371.  
  372. ΓòÉΓòÉΓòÉ 3.4. Moving icon a small distance ΓòÉΓòÉΓòÉ
  373.  
  374.  
  375. ΓòÉΓòÉΓòÉ <hidden> Moving icon window 1 ΓòÉΓòÉΓòÉ
  376.  
  377. (from Tim Sipples' FAQ) 
  378.  
  379. To move an icon a small distance, "grab" the outer edge of the icon with the 
  380. mouse and drag it to the new position. 
  381.  
  382.  
  383. ΓòÉΓòÉΓòÉ <hidden> Moving icon ΓòÉΓòÉΓòÉ
  384.  
  385.                         Moving an icon a small distance.
  386.  
  387.  
  388. ΓòÉΓòÉΓòÉ 3.5. Changing desktop bitmaps randomly at specified interval ΓòÉΓòÉΓòÉ
  389.  
  390. The Desktop bitmaps can be changed via a REXX script, BITMAP.CMD.  Note that 
  391. this script does not support tiling of bitmaps. 
  392.  
  393. Note that the location of the bitmap subdirectory is hard-coded into the script 
  394. in line 14.  You will need to alter the path before running BITMAP.CMD if you 
  395. are running OS/2 from a drive other than C: and/or are not running OS/2 v2.1. 
  396.  
  397. Other REXX scripts: 
  398.  
  399. o OPEN.CMD 
  400. o SETMOUSE.CMD 
  401. o SETFONT.CMD 
  402. o CHKDRIVE.CMD 
  403.  
  404.  
  405. ΓòÉΓòÉΓòÉ 3.6. Changing the standard mouse pointer ΓòÉΓòÉΓòÉ
  406.  
  407. You can replace the standard mouse pointer with one of your own creations. 
  408.  
  409. (by Dann Lunsford) 
  410.  
  411.  1. Use the Icon Editor to create a mouse pointer file with the extension 
  412.     *.PTR. 
  413.  2. Create the REXX script, SETMOUSE.CMD. 
  414.  3. Invoke SETMOUSE.CMD as follows: 
  415.  
  416.     SETMOUSE.CMD <drive>:\<path>\<filename>.PTR 
  417.  
  418.     where 
  419.  
  420.        <drive> is the drive on which the *.PTR file resides 
  421.  
  422.        <path> is the path on which the *.PTR file resides 
  423.  
  424.        <filename> is the name of the new mouse pointer file 
  425.  
  426. Other REXX scripts: 
  427.  
  428. o OPEN.CMD 
  429. o BITMAP.CMD 
  430. o SETFONT.CMD 
  431. o CHKDRIVE.CMD 
  432.  
  433.  
  434. ΓòÉΓòÉΓòÉ 3.7. Making an object prompt for a parameter ΓòÉΓòÉΓòÉ
  435.  
  436.  
  437. ΓòÉΓòÉΓòÉ <hidden> Object prompt window 1 ΓòÉΓòÉΓòÉ
  438.  
  439. To make an object prompt for a parameter when invoked 
  440.  
  441.  1. Open the Settings notebook for the object. 
  442.  2. In the Parameters field of the Program page, enter a left square bracket, a 
  443.     space, then a right square bracket, 
  444.     i.e., [ ] 
  445.  3. If you want text to appear along with parameter prompting, insert the 
  446.     desired text between the square brackets. 
  447.  
  448.  
  449. ΓòÉΓòÉΓòÉ <hidden> Settings notebook ΓòÉΓòÉΓòÉ
  450.  
  451. Parameters box of Settings notebook. 
  452.  
  453.  
  454. ΓòÉΓòÉΓòÉ 3.8. Finding a "covered" icon ΓòÉΓòÉΓòÉ
  455.  
  456.  
  457. ΓòÉΓòÉΓòÉ <hidden> Covered icons window 1 ΓòÉΓòÉΓòÉ
  458.  
  459. The disadvantage of having many windows open on the desktop is that icons on 
  460. the desktop can often get covered.  To find an icon more easily: 
  461.  
  462.  1. Click the right mouse button on a clear space on the desktop. 
  463.  2. Click on the arrow next to Open on the popup menu. 
  464.  3. Choose Tree or Details View (Icon View can only be selected if the 
  465.     Desktop's object open behavior has been set to Create New Window); this 
  466.     will open up a new view of your desktop from which you can find the icon 
  467.     you want. 
  468.  
  469.  
  470. ΓòÉΓòÉΓòÉ <hidden> Desktop Popup Menu ΓòÉΓòÉΓòÉ
  471.  
  472. Desktop's popup menu with Tree View highlighted. 
  473.  
  474.  
  475. ΓòÉΓòÉΓòÉ 3.9. Changing icon text color ΓòÉΓòÉΓòÉ
  476.  
  477.  
  478. ΓòÉΓòÉΓòÉ <hidden> Color Palette ΓòÉΓòÉΓòÉ
  479.  
  480. The color of the icon text on your desktop can be changed as follows: 
  481.  
  482.  1. Open the Color Palette. 
  483.  2. Hold the Ctrl key. 
  484.  3. Use the right mouse button to drag the desired color to the desktop. 
  485.  
  486. Related subject(s): 
  487.  
  488. o Changing color of shadow icon text 
  489.  
  490.  
  491. ΓòÉΓòÉΓòÉ <hidden> Color Palette ΓòÉΓòÉΓòÉ
  492.  
  493. Color Palette with color being dragged with mouse. 
  494.  
  495.  
  496. ΓòÉΓòÉΓòÉ 3.10. Recovering after an accidental Arrange ΓòÉΓòÉΓòÉ
  497.  
  498. To regain your desktop's icon positions after an accidental Arrange, use a 
  499. third-party utility which can kill processes to kill the second instance of 
  500. PMSHELL.  The Workplace Shell will restart with your old icon positions. 
  501.  
  502. Related subject(s): 
  503.  
  504. o Saving desktop without shutting down 
  505.  
  506.  
  507. ΓòÉΓòÉΓòÉ 3.11. Creating an onscreen "app bar" ΓòÉΓòÉΓòÉ
  508.  
  509.  
  510. ΓòÉΓòÉΓòÉ <hidden> App bar window 1 ΓòÉΓòÉΓòÉ
  511.  
  512. You can create something that acts a little like an "app bar": 
  513.  
  514.  1. Create a new folder. 
  515.  2. Size the folder so that it has the shape and size that you like, then 
  516.     position it where you like. 
  517.  3. Set the folder's view to either Flowed or Non-flowed. 
  518.  4. Drag shadows of your most-used applications to the folder. 
  519.  5. Drag a shadow of your "app bar" folder to your Startup folder. 
  520.  6. You now have a folder of your most-used apps that will open at boot.  You 
  521.     can further customize the "app bar" with a utility that will cause the 
  522.     folder to "float" on top of other windows so that it will be more 
  523.     accessible. 
  524.  
  525.  
  526. ΓòÉΓòÉΓòÉ <hidden> App Bar ΓòÉΓòÉΓòÉ
  527.  
  528. Example of an App Bar. 
  529.  
  530.  
  531. ΓòÉΓòÉΓòÉ 3.12. Creating a "trash can" ΓòÉΓòÉΓòÉ
  532.  
  533. You can create a trash can-like icon on your desktop: 
  534.  
  535.  1. Open the Templates folder and make a copy of the Folder template. 
  536.  2. You should now have a template called Folder:1; rename it to Trash, or 
  537.     whatever you like. 
  538.  3. Attach you favorite trash can icon to your Trash template. 
  539.  4. To create a trash can, use your right mouse button to drag a Trash folder 
  540.     from your Trash template onto your desktop. 
  541.  5. Drag objects to the Trash as you see fit. 
  542.  6. When you want to empty the Trash can, simply delete the folder, then 
  543.     replace it with a new Trash can by pulling one off of your Trash template. 
  544.  7. The advantage of using the Trash can over the shredder is that you can open 
  545.     your Trash can and observe the contents, and remove what you don't want 
  546.     deleted. 
  547.  
  548.  
  549. ΓòÉΓòÉΓòÉ 3.13. Selecting objects without mouse ΓòÉΓòÉΓòÉ
  550.  
  551. You can select objects in folders or the Deskop without a mouse.  Simply type 
  552. the first letter of the object, and the object will be highlighted. Hit Enter 
  553. to open the object.  If more than one object begins with the same letter, 
  554. subsequent typing of the same letter will jump between each object that begins 
  555. with that letter. 
  556.  
  557.  
  558. ΓòÉΓòÉΓòÉ 3.14. Hiding a folder ΓòÉΓòÉΓòÉ
  559.  
  560. You can hide folder icons on the desktop so that others can't see them: 
  561.  
  562.  1. Open the Settings notebook of the folder which you wish to hide. 
  563.  2. Click on the File tab, then click on the right arrow in the lower right 
  564.     corner to turn to the second page of the File tab. 
  565.  3. Place a check mark next to Hidden under the Flags section.  The folder 
  566.     should now be hidden. 
  567.  
  568. To view the folder's icon once again: 
  569.  
  570.  1. Open the Settings notebook for the Desktop. 
  571.  2. Click on the Include tab. 
  572.  3. Click on the right arrow in the lower right corner to turn to the second 
  573.     page of the Include tab. 
  574.  4. Click on Change.  A new dialog box will appear. 
  575.  5. In the dialog box, choose the following settings: 
  576.  
  577.     a. Property to be considered = Flags 
  578.     b. Comparison type = Not equal 
  579.     c. Comparison value = H 
  580.  
  581.  6. Click on Change. 
  582.  7. Close Settings notebook.  The icon should now be visible. 
  583.  
  584.  
  585. ΓòÉΓòÉΓòÉ 3.15. Creating a system file editor object ΓòÉΓòÉΓòÉ
  586.  
  587. You can create an object which, when opened, will open your system setup files 
  588. for editing, through the aid of a Work Area folder: 
  589.  
  590.  1. Open the Settings notebook for the System Editor. 
  591.  2. Click on the Association tab. 
  592.  3. If Plain Text does not appear in the Current Types box, use the Add button 
  593.     to add it from the Available Types box.  Close the Settings notebook. 
  594.  4. Create a new folder. 
  595.  5. Open the Settings notebook for the new folder. 
  596.  6. Click on the File tab. 
  597.  7. Place a check in the box next to Work Area.  Close the Settings notebook. 
  598.  8. Open the Drives object, then open the drive(s) with the CONFIG.SYS, 
  599.     WIN.INI, and SYSTEM.INI files. 
  600.  9. Open the Settings notebook for the CONFIG.SYS file. 
  601. 10. Click on Association. 
  602. 11. If Plain Text does not appear in the Current Types box, use the Add button 
  603.     to add it from the Available Types box.  Close the Settings notebook. 
  604.     Repeat for the Settings notebook for the WIN.INI and SYSTEM.INI files. 
  605. 12. Drag shadows of the CONFIG.SYS, WIN.INI, and SYSTEM.INI files into the new 
  606.     folder. 
  607. 13. Open the new folder if not already open. 
  608. 14. Use the right mouse button on the CONFIG.SYS shadow object to popup the 
  609.     menu.  Click on the arrow next to Open, choose System Editor.  Your 
  610.     CONFIG.SYS should be loaded into the System Editor.  Repeat for WIN.INI and 
  611.     SYSTEM.INI. 
  612. 15. Leaving the three System Editor windows open, close the new folder. 
  613. 16. You should now have a folder object that will open up your system files 
  614.     automatically when the folder is opened. 
  615.  
  616.  
  617. ΓòÉΓòÉΓòÉ 4. Presentation Manager ΓòÉΓòÉΓòÉ
  618.  
  619. This section covers tips and tricks which affect Presentation Manager. 
  620.  
  621. Topics in this section: 
  622.  
  623. o Making fonts extremely small 
  624. o Starting PM programs minimized 
  625. o Changing the default PM system font 
  626. o Moving a window in the background 
  627. o Closing several windows at once 
  628.  
  629.  
  630. ΓòÉΓòÉΓòÉ 4.1. Making fonts extremely small ΓòÉΓòÉΓòÉ
  631.  
  632.  
  633. ΓòÉΓòÉΓòÉ <hidden> Small fonts split window 1 ΓòÉΓòÉΓòÉ
  634.  
  635. You can make most Presentation Manager fonts as small as you like: 
  636.  
  637.  1. Open the Font Palette. 
  638.  2. Double click on one of the fonts.  A new dialog box will open. 
  639.  3. Under "Size," highlight the font size shown in the box. 
  640.  4. Type in a new font size that is non-zero (decimal values work); you should 
  641.     notice a corresponding change in the size of the font in the Sample box. 
  642.  
  643. Note that this trick does not work for System Proportional, System Monospaced, 
  644. or System VIO fonts. 
  645.  
  646. Related subject(s): 
  647.  
  648. o Changing the default PM system font 
  649.  
  650.  
  651. ΓòÉΓòÉΓòÉ <hidden> Font Palette ΓòÉΓòÉΓòÉ
  652.  
  653. Font Palette dialog box with point size highlighted. 
  654.  
  655.  
  656. ΓòÉΓòÉΓòÉ 4.2. Starting PM programs minimized ΓòÉΓòÉΓòÉ
  657.  
  658. (from Tim Sipples' FAQ) 
  659.  
  660. In order to start Presentation Manager programs minimized 
  661.  
  662.  1. Open the Settings notebook for the object. 
  663.  2. On the Program page, change the name of the program so that it is 
  664.     misspelled. 
  665.  3. Go to the Session page and click on Start Minimized. 
  666.  4. Go back to the Program page, and correct the spelling of the program name. 
  667.  5. Close the Settings notebook. 
  668.  
  669.  
  670. ΓòÉΓòÉΓòÉ 4.3. Changing the default PM system font ΓòÉΓòÉΓòÉ
  671.  
  672. You can change the default system font with a REXX script, SETFONT.CMD. 
  673. However, the font used in the Settings notebooks will not be affected. 
  674.  
  675. Note: system fonts are designated by font size and font name, separated only by 
  676. a period.  (e.g., 8pt Helv would be designated by "8.Helv") 
  677.  
  678. Related subject(s): 
  679.  
  680. o Making fonts extremely small 
  681. o OPEN.CMD 
  682. o BITMAP.CMD 
  683. o SETMOUSE.CMD 
  684. o CHKDRIVE.CMD 
  685.  
  686.  
  687. ΓòÉΓòÉΓòÉ 4.4. Moving a window in the background ΓòÉΓòÉΓòÉ
  688.  
  689. You can move a window in the background without bringing it to the front by 
  690. holding the Ctrl key and dragging the window by its title bar with your mouse. 
  691.  
  692.  
  693. ΓòÉΓòÉΓòÉ 4.5. Closing several windows at once ΓòÉΓòÉΓòÉ
  694.  
  695.  
  696. ΓòÉΓòÉΓòÉ <hidden> Closing windows split window 1 ΓòÉΓòÉΓòÉ
  697.  
  698. You can close all or several of your open windows using the following method: 
  699.  
  700.  1. Bring up the Window List with Ctrl-Esc or clicking both mouse buttons at 
  701.     once. 
  702.  2. Highlight the windows you want to close with your mouse. 
  703.  3. Press the Delete key on your keyboard, or click your right mouse button on 
  704.     one of the highlighted entries and choose Close from the popup menu. 
  705.  
  706.  
  707. ΓòÉΓòÉΓòÉ <hidden> Closing windows split window 2 ΓòÉΓòÉΓòÉ
  708.  
  709. Window List with highlighted items and popup menu. 
  710.  
  711.  
  712. ΓòÉΓòÉΓòÉ 5. Command Line ΓòÉΓòÉΓòÉ
  713.  
  714. This section covers tips and tricks which affect command line sessions. 
  715.  
  716. Topics in this section: 
  717.  
  718. o Pasting text without the final carriage return 
  719. o Clearing the Delete subdirectory 
  720. o Searching for file names 
  721. o Maximizing windows when opening 
  722. o Creating a scroll buffer 
  723. o Using OS/2 without the Workplace Shell 
  724. o Enhancing speed of text scrolling 
  725. o Adding entries to your PATH 
  726. o Permanently deleting a file when Undelete is active 
  727. o Suppressing echo from *.CMD files 
  728. o Getting more out of your command line 
  729. o Checking drive status 
  730.  
  731.  
  732. ΓòÉΓòÉΓòÉ 5.1. Pasting text without the final carriage return ΓòÉΓòÉΓòÉ
  733.  
  734. To paste text after a copy/mark operation without a final carriage return, hold 
  735. down the Shift key while choosing Paste from the pull-down menu. 
  736.  
  737.  
  738. ΓòÉΓòÉΓòÉ 5.2. Clearing the Delete subdirectory ΓòÉΓòÉΓòÉ
  739.  
  740. In order to remove the files from the Delete subdirectory of a drive to regain 
  741. some drive space, type the following at a command line: 
  742.  
  743. UNDELETE <drive>:\* /f /s /a 
  744.  
  745. where <drive> is the letter of the drive which contains the Delete subdirectory 
  746. you wish to clear. 
  747.  
  748. Related subject(s): 
  749.  
  750. o Permanently deleting a file when Undelete is active 
  751.  
  752.  
  753. ΓòÉΓòÉΓòÉ 5.3. Searching for file names ΓòÉΓòÉΓòÉ
  754.  
  755. To search for a particular file name on a drive, type 
  756.  
  757. DIR <drive>:\<file spec> /S 
  758.  
  759. where 
  760.  
  761. <drive> is the letter of the drive you wish to search 
  762.  
  763. <file spec> is the specification of the file you are searching; standard wild 
  764. cards can be used. 
  765.  
  766.  
  767. ΓòÉΓòÉΓòÉ 5.4. Maximizing windows when opening ΓòÉΓòÉΓòÉ
  768.  
  769.  
  770. ΓòÉΓòÉΓòÉ <hidden> Maximizing windows split window 1 ΓòÉΓòÉΓòÉ
  771.  
  772. To make all command line windows open maximized, hold the Shift key while 
  773. clicking on the maximize button. 
  774.  
  775. In some cases, you additionally may have to hold the Shift key while using the 
  776. mouse to resize the window to its fullest size by dragging the bottom right 
  777. corner. 
  778.  
  779.  
  780. ΓòÉΓòÉΓòÉ <hidden> Maximizing windows ΓòÉΓòÉΓòÉ
  781.  
  782. Command window with mouse pointer on Maximize button. 
  783.  
  784.  
  785. ΓòÉΓòÉΓòÉ 5.5. Creating a scroll buffer ΓòÉΓòÉΓòÉ
  786.  
  787. (from Tim Sipples' FAQ) 
  788.  
  789. To create a small scroll-back buffer for your command line sessions, type 
  790.  
  791. MODE 80,102 
  792.  
  793.  
  794. ΓòÉΓòÉΓòÉ 5.6. Using OS/2 without the Workplace Shell ΓòÉΓòÉΓòÉ
  795.  
  796. To use OS/2 without loading the Workplace Shell, replace the following line in 
  797. your CONFIG.SYS 
  798.  
  799. SET RUNWORKPLACE=<drive>:\OS2\PMSHELL.EXE 
  800.  
  801. with 
  802.  
  803. SET RUNWORKPLACE=<drive>:\OS2\CMD.EXE 
  804.  
  805. where <drive> is the letter of the drive on which OS/2 is located. 
  806.  
  807. Note that you can always invoke the Workplace Shell by typing PMSHELL at an 
  808. OS/2 command line.  It can consequently be removed by closing it from the 
  809. Window List. 
  810.  
  811.  
  812. ΓòÉΓòÉΓòÉ 5.7. Enhancing speed of text scrolling ΓòÉΓòÉΓòÉ
  813.  
  814. Tricks for speeding up text display. 
  815.  
  816. Related subject(s): 
  817.  
  818. o Changing font size 
  819. o Changing Video_ROM_Emulation 
  820.  
  821.  
  822. ΓòÉΓòÉΓòÉ 5.7.1. Changing font size ΓòÉΓòÉΓòÉ
  823.  
  824.  
  825. ΓòÉΓòÉΓòÉ <hidden> Changing font size window 1 ΓòÉΓòÉΓòÉ
  826.  
  827. Fonts which are 8 pixels wide generally display faster than those which are not 
  828. 8 pixels wide.  Choose Font Size from the pull-down menu, then choose a "x 8" 
  829. type of font size. 
  830.  
  831.  
  832. ΓòÉΓòÉΓòÉ <hidden> Font Size dialog ΓòÉΓòÉΓòÉ
  833.  
  834. Font Size dialog box with 14x8 font size highlighted. 
  835.  
  836.  
  837. ΓòÉΓòÉΓòÉ 5.7.2. Changing Video_ROM_Emulation ΓòÉΓòÉΓòÉ
  838.  
  839.  
  840. ΓòÉΓòÉΓòÉ <hidden> VideoROM window 1 ΓòÉΓòÉΓòÉ
  841.  
  842. Text scrolling speed can also be enhanced using the Video_ROM_Emulation 
  843. setting. 
  844.  
  845.  1. Select DOS Settings from either the pull-down menu of a DOS session, or 
  846.     from the Session page of the Settings notebook of a DOS session. 
  847.  2. Highlight Video_ROM_Emulation. 
  848.  3. Try the setting both on and off to find out if one setting results in 
  849.     better performance than the other. 
  850.  
  851.  
  852. ΓòÉΓòÉΓòÉ <hidden> DOS Settings ΓòÉΓòÉΓòÉ
  853.  
  854. DOS Settings dialog with Video_ROM_Emulation highlighted. 
  855.  
  856.  
  857. ΓòÉΓòÉΓòÉ 5.8. Adding entries to your PATH ΓòÉΓòÉΓòÉ
  858.  
  859. You can add entries to your PATH "on the fly" by using: 
  860.  
  861. PATH %PATH%;<drive>:\<path> 
  862.  
  863. where 
  864.  
  865. <drive> is the drive on which the subdirectory you want to add is located 
  866.  
  867. <path> is the path you want to add 
  868.  
  869. (This also works for DPATH) 
  870.  
  871.  
  872. ΓòÉΓòÉΓòÉ 5.9. Permanently deleting a file when Undelete is active ΓòÉΓòÉΓòÉ
  873.  
  874. If you have Undelete activated (via SET DELDIR in your CONFIG.SYS), but want to 
  875. delete a file or files so they can't be undeleted, use: 
  876.  
  877. DEL <file(s)> /F 
  878.  
  879. where <file(s)> is the file specification of the file(s) you want to delete 
  880.  
  881. Related subject(s): 
  882.  
  883. o Clearing the Delete subdirectory 
  884.  
  885.  
  886. ΓòÉΓòÉΓòÉ 5.10. Suppressing echo from *.CMD files ΓòÉΓòÉΓòÉ
  887.  
  888. If you are using batch files (*.CMD) which do not have ECHO OFF statements, you 
  889. can also suppress the echo by using the /Q switch: 
  890.  
  891. Example:  BATCH.CMD /Q 
  892.  
  893.  
  894. ΓòÉΓòÉΓòÉ 5.11. Getting more out of your command line ΓòÉΓòÉΓòÉ
  895.  
  896. Supplement your command line usage by stacking commands with &&, &, ||, and (): 
  897.  
  898. (contributed by Jack Tan) 
  899.  
  900.  1. && executes the second program only if the former succeeds, 
  901.     e.g., RunMe.EXE && RunMeIfFormerSucceeds.EXE 
  902.  
  903.  2. || executes the second program if the former doesn't succeed, 
  904.     e.g., RunMe.EXE || RunMeIfTheFormerDidntSucceed.EXE 
  905.  
  906.  3. Combining && and || results in an if..then..else situation, 
  907.     e.g., If.EXE && Then.EXE || Else.EXE 
  908.     (Else.EXE only runs if and only if both If.EXE and Then.EXE run) 
  909.  
  910.  4. & runs both the first and second programs, 
  911.     e.g., RunMe.EXE & AndMeToo.EXE 
  912.  
  913.  5. () executes the instructions within the parentheses, overriding the normal 
  914.     order of command precedence, 
  915.     e.g., DETACH (FORMAT a: /once /v:"hi" && XCOPY c:\x A: /S) & UNZIP 
  916.     myfile.zip 
  917.     (the commands in parentheses are operated on by DETACH, then UNZIP 
  918.     executes) 
  919.  
  920.  
  921. ΓòÉΓòÉΓòÉ 5.12. Checking drive status ΓòÉΓòÉΓòÉ
  922.  
  923. (inspired by a code snippet by Dick Goran) 
  924.  
  925. You can check the status of a drive (e.g., if a floppy is inserted into a 
  926. floppy drive or not) with a REXX script, CHKDRIVE.CMD. 
  927.  
  928. The routines in CHKDRIVE.CMD can be incorporated into longer REXX scripts 
  929. whenever the status of a drive needs to be ascertained. 
  930.  
  931. Other REXX scripts: 
  932.  
  933. o OPEN.CMD 
  934. o BITMAP.CMD 
  935. o SETMOUSE.CMD 
  936. o SETFONT.CMD 
  937.  
  938.  
  939. ΓòÉΓòÉΓòÉ 6. Win-OS/2 ΓòÉΓòÉΓòÉ
  940.  
  941. This section covers tips and tricks which affect Win-OS/2. 
  942.  
  943. Topics in this section: 
  944.  
  945. o Reducing Win-OS/2 initial load time 
  946. o Using Windows screen blanker for OS/2 
  947. o Running Win-OS/2 from a DOS image 
  948.  
  949.  
  950. ΓòÉΓòÉΓòÉ 6.1. Reducing Win-OS/2 initial load time ΓòÉΓòÉΓòÉ
  951.  
  952. If you are running Windows programs in a common session, the load time for the 
  953. first Windows program you execute will be much longer than subsequent load 
  954. times because OS/2 needs to load both a VDM and the Win-OS/2 code.  If you want 
  955. to speed up loading Windows programs, load a small Windows program, such as the 
  956. Clock, via your Startup folder.  Your boot time will increase, but when you 
  957. finally sit down to work, your Windows programs will load more quickly. 
  958.  
  959.  
  960. ΓòÉΓòÉΓòÉ 6.2. Using Windows screen blanker for OS/2 ΓòÉΓòÉΓòÉ
  961.  
  962. You can use a Windows screen blanker when running seamless Windows to blank the 
  963. OS/2 desktop.  However, since Win-OS/2 can sometimes miss keystrokes intended 
  964. for Presentation Manager, be sure to set the delay of the screen blanker as 
  965. long as possible. 
  966.  
  967.  
  968. ΓòÉΓòÉΓòÉ 6.3. Running Win-OS/2 from a DOS image ΓòÉΓòÉΓòÉ
  969.  
  970. You can run Win-OS/2 from a DOS image, also known as a Virtual Machine Boot 
  971. (VMB) or specific DOS session: 
  972.  
  973.  1. Put a bootable DOS system disk in the A: drive.  Make sure that you have a 
  974.     simple, DOS-compatible editor on this disk that you can use to edit the 
  975.     CONFIG.SYS and AUTOEXEC.BAT files. 
  976.  2. Open an OS/2 command line session. 
  977.  3. Create a subdirectory to store the boot images. 
  978.  4. At the OS/2 command line, type VMDISK A: <imagename> where <imagename> is a 
  979.     name you give to the boot image 
  980.  5. When the system files have been transferred from A: to your boot image 
  981.     subdirectory, close the OS/2 command line and remove the diskette from A:. 
  982.  6. Open the Templates folder and use the right mouse button to drag a template 
  983.     from the Program template icon.  The Settings notebook for the new program 
  984.     object should open. 
  985.  7. On the Program page, put an asterisk in the Path and Filename box. 
  986.  8. Click on the Session tab. 
  987.  9. Select either the DOS Window or DOS Full Screen button. 
  988. 10. Click on the DOS settings button. 
  989. 11. Highlight the DOS_STARTUP_DRIVE option. 
  990. 12. In the Value box, enter the drive, path and name of your boot image. 
  991. 13. Highlight DOS_FILES. 
  992. 14. In the Value box, set DOS_FILES to 40. 
  993. 15. Highlight DPMI_MEMORY_LIMIT. 
  994. 16. In the Value box, set DPMI_MEMORY_LIMIT to 4 or higher. 
  995. 17. Click on Save. 
  996. 18. Close the Settings notebook. 
  997. 19. Open the newly-created DOS image. 
  998. 20. While in the DOS image, create/edit the CONFIG.SYS file. 
  999. 21. The CONFIG.SYS should contain, among other entries, these lines: 
  1000.  
  1001.     a. DEVICE=<drive>:\OS2\MDOS\FSFILTER.SYS -- this line should be near the 
  1002.        top of CONFIG.SYS, and <drive> is the drive on which your OS/2 DOS 
  1003.        support files are located. 
  1004.     b. DEVICE=<drive>:\OS2\MDOS\HIMEM.SYS 
  1005.     c. DEVICE=<drive>:\OS2\MDOS\EMM386.SYS 
  1006.  
  1007. 22. Save the CONFIG.SYS and create/edit an AUTOEXEC.BAT file as you wish. 
  1008. 23. Close the session by double clicking on the title bar icon. 
  1009. 24. Reopen the DOS image, and type WIN to start Win-OS/2. 
  1010.  
  1011.  
  1012. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  1013.  
  1014. /* OPEN.CMD - opens a folder */
  1015. call RxFuncAdd "SysSetObjectData", "RexxUtil", "SysSetObjectData"
  1016. folderpath="<drive>:\<path>"
  1017. call SysSetObjectData folderpath, "OPEN=DEFAULT";
  1018. exit
  1019. /* where <drive> is the letter of the drive on which the subdirectory
  1020.                  corresponding to the folder is located
  1021.          <path>  is the path to the subdirectory corresponding to the folder */
  1022.  
  1023.  
  1024. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  1025.  
  1026. /* bitmap.cmd - change desktop background randomly */
  1027. call RxFuncAdd "SysLoadFuncs", "RexxUtil", "SysLoadFuncs"
  1028. call SysLoadFuncs
  1029. parse arg changetime;
  1030. changetime=strip(changetime)
  1031. if changetime=' ' then do
  1032.         say "BITMAP.CMD--change bitmaps randomly at a specified interval"
  1033.         say ""
  1034.         say "USAGE: bitmap <time>"
  1035.         say "where <time> is the interval between bitmap changes in seconds"
  1036.         exit
  1037.         end
  1038. else
  1039. call SysFileTree "C:\OS2\BITMAP\*.*", "bitmaps.", "O"
  1040. do forever
  1041.         call SysSleep changetime
  1042.         i = random(1,bitmaps.0)
  1043.         call SysSetObjectData "<WP_DESKTOP>", "BACKGROUND="bitmaps.i";"
  1044. end
  1045. exit
  1046.  
  1047.  
  1048. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  1049.  
  1050. /* SETMOUSE.CMD by Dann Lunsford */
  1051. /* Short procedure to set mouse pointer to contents of specified .PTR file */
  1052. /* This file is in the public domain, but I'd appreciate it greatly if you */
  1053. /* would leave this notice in...     Author:  Dann Lunsford                */
  1054. /*                                            Vortex BBS (1:203/726)       */
  1055. /*                                            13-Aug-1993                  */
  1056. /* invoke from a commandline with the name of your custom pointer file as  */
  1057. /* the argument.                                                           */
  1058. arg ptr_file_name
  1059. if ptr_fiie_name == '' then
  1060.    do
  1061.       say "Usage: setmouse complete_pointer_file_pathname"
  1062.       exit
  1063.    end
  1064. file = stream(ptr_file_name,'C','query exists')
  1065. if fiie == '' then
  1066.    do
  1067.       say "Specified file is not accessible."
  1068.       exit
  1069.    end
  1070. /* load REXX utility library */
  1071. call RxFuncAdd 'SysLoadFuncs','REXXUTIL','SysLoadFuncs'
  1072. call SysLoadFuncs
  1073. /* now do the deed */
  1074. val = x2c('01000000')||file||x2c('00')
  1075. res = SysIni('USER','PM_SysPointer','1',val)
  1076. if res \= '' then
  1077.    do
  1078.       say "Error while setting PM_SysPointer"
  1079.       exit
  1080.    end
  1081. say "Your new pointer will become effective at the next system boot."
  1082. exit
  1083.  
  1084.  
  1085. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  1086.  
  1087. /* setfont.cmd                          */
  1088. /* Usage: SETFONT <font size/type>      */
  1089. /* where <font size/type> is the        */
  1090. /* point size and font desired in the   */
  1091. /* format size.type (e.g., 8.Helv)      */
  1092. call RxFuncAdd "SysIni", "RexxUtil", "SysIni"
  1093. parse arg Font
  1094. KeyName = "DefaultFont"
  1095. call SysIni "USER","PM_SystemFonts","DefaultFont","Font"||x2c(0)
  1096. say Result
  1097. exit
  1098.  
  1099.  
  1100. ΓòÉΓòÉΓòÉ <hidden>  ΓòÉΓòÉΓòÉ
  1101.  
  1102. /* CHKDRIVE.CMD - check drive status */
  1103. '@echo off'
  1104. parse arg drive_letter;
  1105. drive_letter=delstr(drive_letter,2);
  1106. if drive_letter=' ' then do
  1107.     say "CHKDRIVE.CMD - check status of drive"
  1108.     say "USAGE: CHKDRIVE.CMD <drive>"
  1109.     say "where <drive> is the letter of drive you wish to check"
  1110.     exit
  1111.     end
  1112. else
  1113. signal ON NOTREADY name NOT_READY
  1114. call STREAM drive_letter || ':*', 'D'
  1115. say "Drive Ready"
  1116. exit
  1117. NOT_READY:
  1118. say "Drive Not Ready"
  1119. return
  1120.