Stupid OS/2 Tricks/Warp Tips

This section covers tips and tricks for OS/2 Warp.

System
This section covers System tips for OS/2 Warp.

Changing printing from polling to interrupt driven
Warp

The default mode of printing under OS/2 Warp is now via polling, rather than interrupt-driven, as was the case in previous OS/2 versions. Polling can cause problems with printing on some systems, and can use more system resources.

To change from the polling mode of printing to interrupt-driven printing, edit the following line in your CONFIG.SYS file: BASEDEV=PRINT01.SYS to BASEDEV=PRINT01.SYS /IRQ Note that using the interrupt-driven mode of printing requires the use of IRQ 7.

Recovering a deleted Launchpad
Warp

You can recover a deleted Launchpad by adding the word LAUNCHPAD to your SET AUTOSTART line in your CONFIG.SYS file.

Conversely, to prevent the Launchpad from opening at boot, remove the word LAUNCHPAD from your SET AUTOSTART line.

Related subject(s):
 * Removing the Launchpad permanently

Keeping the system running, even through traps
Warp

To keep an unattended system, such as a BBS, running despite a TRAP condition, add the following lines to your CONFIG.SYS file: REIPL=ON Setting REIPL to ON will automatically reboot your system when a TRAP occurs. SUPPRESSPOPUPS= SUPPRESSPOPUPS will prevent TRAP information from popping up and will log the popup information to a log file. is the drive to which the log file POPUPLOG.OS2 is written. DUMPPROCESS= DUMPPROCESS causes a process dump file PDUMP.* to be written. is the drive letter to which PDUMP.* will be written.

Setting the swap file
contributed by Jack Tan

Warp

The swap file in OS/2 Warp will tend to grow larger than in previous versions of OS/2 because certain DLLs are treated differently. Therefore, to prevent excess swapping, you may wish to increase the default size of your swap file from the value which you used in previous versions of OS/2.

Related subject(s):
 * Adjusting your swap file

Creating OS/2 Warp boot diskettes
Warp

OS/2 Warp has its own facility to create boot diskettes. Simply open the System Setup folder and open the Create Utility Diskettes object.

Displaying the Recovery Screen
Warp

OS/2 Warp provides a recovery screen during reboot which gives you the following choices:
 * Use customized configuration files.
 * Boot to a command line.
 * Restore previously archived configurations.
 * Reset your primary display to VGA mode.
 * Boot to the Maintenance Desktop.

To reach the recovery screen:
 * 1) Boot OS/2 Warp.
 * 2) During boot, a small, white box will appear in the upper left hand corner of the screen.
 * 3) While the white box in onscreen, press the Alt and F1 keys simultaneously.
 * 4) The Recovery Choices screen will appear.

Related subject(s):
 * Loading Multiple Configuration Files at Boot

Displaying Device Drivers on Boot
Warp

contributed by Markku Leinio

To display device driver names on boot:
 * 1) Boot OS/2 Warp.
 * 2) During boot, a small, white box will appear in the upper left hand corner of your screen.
 * 3) While the white box is on-screen, press the Alt and F2 keys simultaneously.
 * 4) Device driver messages will appear on the screen as the drivers are loaded.

Dual Booting Without Confirmation
Warp

contributed by Jack Tan

To dual boot between DOS and OS/2 configurations using the command line without a confirmation message, use the /QUIET command line switch. For example: BOOT /DOS /QUIET or, BOOT /OS2 /QUIET

Adding Temporary LIBPATH Entries
Warp

contributed by Ian Hargreaves

It is possible to add temporary LIBPATH entries to an OS/2 session using the SET BEGINLIBPATH and SET ENDLIBPATH statements.

To add subdirectories to the beginning of the LIBPATH: SET BEGINLIBPATH= :\ ; :\ ; where is the drive for the temporary LIBPATH addition(s) and are the subdirectories to add to the LIBPATH

Showing the Buildlevel of EXE and DLL Files
Warp

contributed by Jack Tan

To display the buildlevel of IBM files, type: BLDLEVEL where is an IBM *.EXE or *.DLL file

Loading Multiple Configuration Files at Boot
Warp

Sometimes you might need to boot your OS/2 Warp machine under different versions of CONFIG.SYS. The OS/2 Warp Recovery Screen provides a way to do this.

To use multiple CONFIG.SYS files: COPY :\CONFIG.SYS :\OS2\BOOT\CONFIG.? where is your OS/2 Warp boot drive, ? is replaced by any single letter of the alphabet, except X, x, C, c, M, m, or V, v. COPY :\OS2\BOOT\CONFIG.? :\CONFIG.SYS where ? corresponds to the alphabetical character you used for CONFIG.?. ATTRIB ALTF1BOT.SCR -R A CONFIG.A  Configuration A B  CONFIG.B  Configuration B
 * 1) Make a backup copy of your CONFIG.SYS file and save it in a safe place.
 * 2) Copy the CONFIG.SYS file to the BOOT subdirectory as follows:
 * 1) Make any custom modifications you desire to your \OS2\BOOT\CONFIG.? file.
 * 2) Create a batch file called ALTF1?.CMD in :\OS2\BOOT where the ? is the same alphabetical character you used for CONFIG.?. The contents of the batch file should read:
 * 1) Change to the :\OS2\BOOT subdirectory.
 * 2) Remove the read-only attribute from the file ALTF1BOT.SCR as follows:
 * 1) Edit and add lines to the end of ALTF1BOT.SCR describing your new configuration choices. You should include the alphabetical character of each choice, the name of the configuration file, and perhaps some descriptive text. For example:
 * 1) Save ALTF1BOT.SCR.
 * 2) Replace the read-only attribute as follows:ATTRIB ALTF1BOT.SCR +R
 * 3) Your configuration choices should now show up on the Recovery Screen.

Related subject(s):
 * Displaying the Recovery Screen

Workplace Shell
This section covers Workplace Shell tips for OS/2 Warp.

Tearing off Launchpad drawer


Warp

You can "tear" off a drawer from the Launchpad and place it where you wish. Note that the drawer will disappear if the Launchpad is minimized or closed.


 * 1) Open the desired drawer.
 * 2) Drag the drawer to the desired location using either mouse button 1 or mouse button 2.
 * 3) To retrieve the drawer, just close the drawer as usual.

Opening the Settings Notebook
Warp A quick method of opening the Settings notebook for an object:
 * 1) Highlight the desired object.
 * 2) Hold the Alt key.
 * 3) Double click on the object with mouse button 1.

Related subject(s):
 * Closing the parent folder when opening an object.
 * Opening a windowed command line in the background

Closing the parent folder when opening an object.
Warp

You can automatically close the parent folder when opening an object:
 * 1)  Highlight the desired object.
 * 2)  Hold the Shift key.
 * 3)  Double click on the desired object with mouse button 1.

Related subject(s):
 * Opening the Settings notebook
 * Opening a windowed command line in the background
 * Closing parent folders automatically

Removing the Launchpad permanently
Warp

To remove the Launchpad permanently from your system, drag the Launchpad object to your Shredder. Then, remove the word LAUNCHPAD from the SET AUTOSTART line in your CONFIG.SYS file.

Related subject(s):
 * Recovering a deleted Launchpad

Editing animated folder icons
Warp

To edit the animated folder icon:
 * 1) Open the Settings notebook for the desired folder.
 * 2) Click on the General tab.
 * 3) Click on the right arrow in the lower right corner of the page.
 * 4) Edit and save icon as usual, or change icon as usual.

Bringing the Launchpad to the top
contributed by Jack Tan

Warp

You might know that double-clicking with mouse button 1 on the OS/2 desktop will open the Launchpad, but double-clicking on the desktop is also useful for raising the Launchpad to the top if it is covered by other windows.

Closing parent folders automatically
Warp

You can set all or some parent folders to close automatically when opening a subfolder or all objects.

To set parent folders to close automatically system-wide:
 * 1) Open the System object. It should be located in the System Setup folder.
 * 2) Click on the Window tab.
 * 3) Click once on the right arrow in the lower right hand corner of the page.
 * 4) Under "Folder Automatic Close," choose either "Subfolders only" or "All Objects."

Individual folders' automatic closure settings can be changed in the same manner through their individual Settings notebooks.

Related subject(s):
 * Closing the parent folder when opening an object

Setting default folder appearance
Warp

You can determine whether the folders on your system will default to icon, tree, or details view:
 * 1) Open the System object. It should be located in the System Setup folder.
 * 2) Click on the Window tab.
 * 3) Click twice on the right arrow in the lower right hand corner of the page. You should be on page 3 of the Window tab.
 * 4) Select Icon, Tree, or Details.
 * 5) Close the System object.

Customizing the Launchpad
Warp

The Launchpad can be customized to your taste.:
 * 1) Click on an open area (no buttons) of the Launchpad with mouse button 2 to bring up its popup menu.
 * 2) Choose Settings to open the Settings notebook.
 * 3) Pages 1 and 2 of the Options tab contain several different options which change the appearance of the Launchpad. Choose the options you desire.
 * 4) Close the Settings notebook.

Creating Multiple Launchpads
contributed by Simon C. Pol

Warp

You can create multiple Launchpads for better organization of your desktop. To create additional Launchpads:
 * 1) Click on the background of the Launchpad (i.e., not on the buttons) with mouse button 2 to bring up the popup menu.
 * 2) Choose Copy from the popup menu.
 * 3) Copy the new Launchpad to the Desktop.
 * 4) Rename the new Launchpad to a name other than "LaunchPad"
 * 5) You now have an additional Launchpad that is ready for customization.

Related subject(s):
 * Customizing the Launchpad

Using the Pickup Functions
contributed by Martin Lafaix

Warp

For those who might have trouble dragging objects with a mouse, OS/2 Warp offers the "Pickup" option, which will "pickup" and "hold" an object until it is dropped without having to hold the mouse button down while moving the mouse. To Pickup an object, hold the Alt key and click on the desired object with mouse button 2.

After you've picked up the object, you can do one of three things with it:
 * 1) Copy the object - hold the Ctrl key and click with mouse button 2 on the location to which you want to copy the object
 * 2) Move the object - hold the Shift key and click with mouse button 2 on the location to which you want to move the object
 * 3) Create a shadow of the object - hold both the Ctrl and Shift keys and click with mouse button 2 on the location on which you wish to create the shadow

Bringing the Launchpad to the Top Using the Keyboard
contributed by Jack Tan

Warp

To raise the Launchpad to the top in any folder, including the Workplace Shell itself:
 * 1) Deselect all objects in the folder by pressing the Ctrl and backslash (\) keys.
 * 2) Press the Enter key.

Related subject(s):
 * Bringing the Launchpad to the top

Opening Parent Folder While Closing Child Folder
contributed by Martin S. Hanoian and Martin Lafaix

Warp

To close a child folder while opening its parent folder, hold the Shift key while choosing the "Open parent" option in the folder's menu.

Putting Template Buttons on the Launchpad
contributed by Robert I. Petersen

Warp

If you use a template frequently, it can be useful to have a template button on the Launchpad. Unfortunately, when you try to drag a template to the Launchpad, it becomes an object. The solution is to use the "Pickup" option to place the template onto the Launchpad.

Related subject(s):
 * Using the Pickup Functions

Preventing Save of Desktop Settings Between Shutdowns
Warp

To prevent desktop settings from being saved at shutdown in OS/2 Warp:
 * 1) Open the Settings notebook for the desktop.
 * 2) Choose the Desktop tab.
 * 3) Uncheck the "Save Desktop Settings" box.

Command Line
This section covers Command Line tips for OS/2 Warp.

Obtaining information about your hardware
Warp

To obtain extensive information about your hardware, use the RMVIEW command at an OS/2 command prompt. RMVIEW /? will provide a list of the different command line switches which can be used with RMVIEW.

Setting video modes in a command line window
contributed by Jack Tan

Warp

In previous versions of OS/2, you could not specify non-standard column and row sizes in windowed command lines. In OS/2 Warp, non-standard sizes can be specified. Just use the OS/2 MODE command: MODE , where is the number of columns and is the number of rows

Related subject(s):
 * Creating a scroll buffer
 * Resizing a command line window permanently

Viewing HLP Files Without Opening the Application
contributed by Jack Tan

Warp

To view a help file (*.HLP) without having to open the application, use the following command at a command prompt (you must have the Internet support installed): VIEWHELP where is an OS/2 help file that ends with the *.HLP extension.

Note: Typing VIEWHELP without parameters will give you a list of the available options for the command.

BonusPak
This section covers BonusPak tips for OS/2 Warp.

Command Line Options for the WebExplorer
contributed by Jack Tan

Warp

To increase the number of threads used by the WebExplorer (up to a maximum of 8), add the following into the Parameters box of the WebExplorer's Settings notebook: -t where is the number of threads desired

To prevent the WebExplorer from asking for confirmation when it is closed, add: -q to the Parameters box of the WebExplorer's Settings notebook.

Pulling Down Menus in WebExplorer Presentation Mode
contributed by Jack Tan

Warp

To access the pull-down menus when using the WebExplorer's Presentation Mode, tap the Alt key and use the arrow keys to pull down and move between menus.

Using Different INI Files with the WebExplorer
contributed by Doug Heintzman

Warp

To avoid building up long and unmanageable quick lists in the WebExplorer, create multiple WebExplorer icons and have them call different INI files by adding the following to the Parameters box of the WebExplorer's Settings notebook: -i :\tcpip\etc\ .ini where is the drive, is the name of the INI file you wish to use

The first time you open the new WebExplorer object(s), you will receive a message that the INI file doesn't exist and new one will be created.

Adding Fastkeys to the WebExplorer Quick List
contributed by Jack Tan

Warp

To add Fastkey access to the items on your WebExplorer QuickList:
 * 1) Click on the QuickList button to open the QuickList Document List box.
 * 2) Highlight the entry to which you would like to add the Fastkey.
 * 3) Click on the Edit button.
 * 4) Place a tilde (~) in front of the letter that you would like to use as the Fastkey.
 * 5) Close the QuickList Document List box.
 * 6) The Fastkey will show up as underlined when you use the QuickList pulldown menu.

Setting the Size of the WebExplorer
contributed by Christopher Hayashida

Warp

You can customize the size of the WebExplorer on your screen:
 * 1) Edit the file \TCPIP\ETC\EXPLORE.INI.
 * 2) To set the leftmost edge, add xleft=  where is the number of pixels from the left side of the screen.
 * 3) To set the bottom edge, add xbottom=  where is the number of pixels from the bottom of the screen.
 * 4) To set the width, add width=  where is the number of pixels wide.
 * 5) To set the height, add height= </tt> where is the number of pixels high.