Stupid OS/2 Trick by Jay Clegg Please take the time to read the disclaimer and the documentation that follows before using this program. If you're not running OS/2, DO NOT USE THIS PROGRAM. It will probably crash your system, forcing you to reboot. Also, STUPID.COM is intended to work with OS/2 version 2.1 and may not run with earlier versions of OS/2. STUPID.COM is copyrighted free-ware, which means you can use it as you see fit (free of charge) as long as you do not modify the program in any way. Please do not distribute it without this documentation file. ------- Warranty: There is no warranty, period. Full Legalese follows: DISCLAIMER Jay Clegg makes no warranty, either express or implied, including but not limited to implied warranties of merchantability and fitness for a parti- cular purpose with respect to this software. IN NO EVENT SHALL JAY CLEGG OR ANY OF HIS ASSOCIATES BE LIABLE FOR ANY DAMAGES, INCLUDING DAMAGES FOR LOSS OF BUSINESS PROFITS, BUSINESS INTERRUPTION, LOSS OF BUSINESS INFORMATION, OR OTHER PECUNIARY LOSS ARISING OUT OF THE USE OF OR INABILITY TO USE THIS PROGRAM, EVEN IF JAY CLEGG HAS BEEN ADVISED OF THE POSSIBILITY OF DAMAGES. ------- Amaze your friends with a demonstration of OS/2's multitasking capabilities! O.K., it might amuse them more than amaze them, but hey, it's free, right? STUPID.COM, when run, will launch a number of instances of itself (that *you* specify) in seperate DOS windows. These instances will proceed to display a running counter while waiting for the user to stop the program by pressing the key. The trick is to tile these windows across the screen so that you see several (up to 16, if you're brave and have the ram...) windows, each running a DOS program that displays a counter. While this is totally useless, it does demonstrate OS/2's capabilites of pre-emptive multitasking. As an added feature, (now you will see why I included this idiotic program with OSTSR) STUPID.COM is "DV-aware". That is, it will make the same checks that a Desqview-aware program would make, and make a call to DV's PAUSE function between each count if possible. So, if you have OSTSR loaded in your AUTOEXEC.BAT, each instance of STUPID.COM will return part of it's time-slice to OS/2 (via OSTSR) between each "tick" of the counter. Generally, you can see a marked difference between when OSTSR is present and when it's not. Without it, the counters will seem to jump sporatically, first one will count for a while, then another, etc. With OSTSR the counters will run very smoothly and will seem to run concurrently. I should note that they run smoothly on my system, they may or may not on yours....... My test-bed is a 486dx-40 with 16 meg of RAM. With an OSTSR setting of 2, running STUPID with 16 instances runs as smooth as glass.... So, give it a try. Everything you really need to know is in the "on-line" documentation for STUPID.COM. Just type 'STUPID' with no arguments from a DOS prompt, and follow the directions. NOTE: Use a small command-line value (like 4) before going for a large one. if you don't have a lot of RAM, running 16 instances is going to bog your system down considerably.