home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 8 Other / 08-Other.zip / iplpau.zip / IPLPAUSE.TXT < prev    next >
Text File  |  1993-11-01  |  7KB  |  131 lines

  1.     ┌─────────────────────────────────────────────────────────────────────┐
  2.     │                                                                     │
  3.     │IPLPAUSE:  A small timer program for your CONFIG.SYS during startup. │
  4.     │--------   (IPL means Initial Program Load...also known as "booting" │
  5.     │           the system).                                              │
  6.     │                                                                     │
  7.     │      BY:  Knight Research - Copyright (c) 1993 All Rights Reserved. │
  8.     │      --                                                             │
  9.     │ License:  Give it away to all your friends, use it for private or   │
  10.     │ -------   commercial applications or whatever practical application │
  11.     │           you can find.                                             │
  12.     │                                                                     │
  13.     │Feedback:  Constructive feedback and suggestions can be sent via     │
  14.     │--------   Compuserve to:  71301,3400                                │
  15.     │                                                                     │
  16.     │           or mailed to:   Knight Research                           │
  17.     │                           P.O. Box 25285                            │
  18.     │                           St. Paul, Minnesota 55125                 │
  19.     │                           USA                                       │
  20.     │                                                                     │
  21.     │ Payment:  If you LIKE this program and USE it, drop me a note.      │
  22.     │ -------   I'll add you to my mailing list.                          │
  23.     │           If you LIKE this program and USE it, pass it on to at     │
  24.     │           least ONE other OS/2 user.                                │
  25.     │                                                                     │
  26.     │ Systems:  IPLPAUSE is a 16-bit application and should work well     │
  27.     │ -------   with any version of OS/2 since 1.1 (tested through        │
  28.     │           OS/2 2.1).                                                │
  29.     │                                                                     │
  30.     └─────────────────────────────────────────────────────────────────────┘
  31.  
  32.     Description:  A small timer program, which when called from your
  33.     -----------   config.sys, allows you to press any key during system
  34.                   startup to "interrupt" the boot process, and places
  35.                   you at the C> prompt...Presentation Manager is not
  36.                   running at this point and you can freely copy your
  37.                   OS2.INI - OS2SYS.INI, modify your Startup.Cmd file,
  38.                   remove objects from the Startup folder or whatever
  39.                   maintenance you need to perform.
  40.  
  41.                   After making your changes, type EXIT to continue the
  42.                   system startup and continue on into Presentation Manager.
  43.  
  44.  
  45.      Advantages:  IPLPAUSE allows you to STOP digging out the installation
  46.      ----------   or other boot diskettes everytime you want to start OS/2
  47.                   in "maintenance mode"...just to be able to copy or restore
  48.                   your .INI files. Or have you ever crashed your system and
  49.                   had OS/2 "automatically" remember all the objects that
  50.                   were running, and attempts to restart them the next time
  51.                   you boot-up? Its difficult to break into the
  52.                   automatic startup sequence with CNTL-BREAK or the
  53.                   <LEFT-CNTL> <LEFT SHIFT> <F1> key combination.
  54.  
  55.                   Instead, when the system restarts, IPLPAUSE will give
  56.                   you 15 seconds (countdown style) whereby you can
  57.                   press any key to interrupt the system boot process, and
  58.                   nicely places you at the command prompt. If you don't
  59.                   press a key, the system will automatically continue on
  60.                   and boot OS/2. (If you're impatient, you can hit the
  61.                   <ESC> key to tell the system to skip the rest of the
  62.                   countdown and boot immediately).
  63.  
  64.  
  65.          Syntax:  Place in the CONFIG.SYS:
  66.          ------
  67.                   CALL=C:\OS2\CMD.EXE /C "C:\IPLPAUSE.EXE" & EXIT
  68.  
  69.                   or
  70.  
  71.                   CALL=C:\OS2\CMD.EXE /C "C:\IPLPAUSE.EXE 15" & EXIT
  72.  
  73.                   The '15' refers to the number of seconds which IPLPAUSE
  74.                   will countdown from before automatically continuing.
  75.                   (If left blank, the default is 15 seconds).
  76.  
  77.  
  78.  
  79.    Installation:  Copy the IPLPAUSE.EXE program to the C:\ directory.
  80.    ------------   (It doesn't really matter where you put it but this is
  81.                   the place I used in the example).
  82.                   Place a one line CALL in your CONFIG.SYS file...pick an
  83.                   appropriate spot near the top...perhaps after the
  84.                   SET COMSPEC= line. Type the line EXACTLY as you see it,
  85.                   or paste the line from the IPLPAUSE.DAT using your
  86.                   favorite editor.
  87.                   See the example below:
  88.                   .
  89.                   .
  90.                   .
  91.      (partial     PROTSHELL=C:\OS2\PMSHELL.EXE
  92.      CONFIG.SYS)  SET USER_INI=C:\OS2\OS2.INI
  93.                   SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  94.                   SET OS2_SHELL=C:\OS2\CMD.EXE
  95.                   SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  96.                   SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  97.                   SET COMSPEC=C:\OS2\CMD.EXE
  98.                   rem
  99.                   rem ***************************************************
  100.                   rem ***************************************************
  101.                   rem ***************************************************
  102.                   rem
  103.     Insert here==>CALL=C:\OS2\CMD.EXE /C "C:\IPLPAUSE.EXE 15" & EXIT
  104.     -----------   rem
  105.                   rem ***************************************************
  106.                   rem ***************************************************
  107.                   rem ***************************************************
  108.                   rem
  109.                   LIBPATH=C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\IBMCOM\DLL;
  110.                   SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  111.                   SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  112.                   .
  113.                   .
  114.                   .
  115.  
  116.  
  117.       Drawbacks:  IPLPAUSE is a normal ring-3 application. It does NOT
  118.       ---------   stop your system device drivers from starting up
  119.                   before it interrupts the boot process. (The program would
  120.                   have to be a device driver itself to accomplish this,
  121.                   and would require good testing to be sure it didn't cause
  122.                   conflicts with all the different system configurations
  123.                   in existence...but its not a bad idea).
  124.  
  125.  
  126.          Source:  The C source code is included with this program. IPLPAUSE
  127.          ------   was compiled with the MSC 6.0 compiler for backward
  128.                   16-bit compatability with OS/2 1.3 but the newer 32 bit
  129.                   compilers would have worked as well.
  130.  
  131.