home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / fullpack.zip / OSTSR11.ZIP / STUPID.DOC < prev   
Text File  |  1994-05-13  |  4KB  |  75 lines

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