home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 11 Util / 11-Util.zip / cninfo.zip / OS2CFG11.DAT < prev    next >
Text File  |  1995-06-04  |  128KB  |  2,972 lines

  1.  
  2. --------------------------------------------------------------------
  3.    OS/2 CONFIG.SYS DESCRIPTION  -  Version 11 - June 4, 1995
  4. --------------------------------------------------------------------
  5.  
  6.  Copyright (c) 1992-95 by Rick Meigs.  If you find errors or have
  7.  some helpful information, please do contact me at the address
  8.  above.  I also hang around the FidoNet OS/2 conference, so you
  9.  can drop me a note there, or at rick.meigs@nwcs.org.
  10.  
  11.  ENCOURAGEMENT:  This ASCII file may be freely distributed (and 
  12.  you're encouraged to do so) but you may not charge for the program,
  13.  except for a nominal distribution fee--generally less than US$5.00.
  14.  Further, the copyright notice may not be removed nor may the file 
  15.  be modified.  This file is Freeware (that means you can use it at 
  16.  no cost and pass it on to your friends), but it is not in the 
  17.  public domain.
  18. 
  19.  VIEWING FILE:  Regardless of what editor you use, for best
  20.  results turn word wrap OFF and use a monospaced (like System 
  21.  Monospaced) font.
  22.   
  23.  PRINTING FILE:  In enhanced JB format for easy printing and
  24.  viewing.  Print file using your favorite text editor.
  25. 
  26. -----------------------------------------------------------------
  27. 1.  CAUTION, WARNING AND DISCLAIMER.                               
  28.  
  29.  <<=CAUTION=>>  Because of the way in which OS/2s Enhanced PM
  30.  editor (EPM.EXE) handles word wrapping and its restricted line
  31.  length, using it to edit your config.sys file is unwise.  For
  32.  best results, use OS/2s System Editor (E.EXE).
  33.   
  34.  <<=WARNING=>> If you plan on changing any line in your current
  35.  config.sys file, please be sure to create a backup --BEFORE-- 
  36.  you start experimenting!  This has saved me more than once.  
  37.  Remember, make the backup --BEFORE-- you change your config.sys
  38.  file.  If you are viewing this information using CNFGINFO.EXE,
  39.  use its backup option before you proceed any further.
  40.   
  41.  A procedure for restoring a damaged config.sys is included
  42.  at the end of this file.  If you are using WARP, refer to your
  43.  user manual on WARPs archive feature.
  44.  
  45.  <<=DISCLAIMER=>>  I CAN'T BE RESPONSIBLE FOR WHAT YOU DO WITH
  46.  YOUR SYSTEM OR YOUR CONFIG.SYS FILE BASED UPON WHAT YOU MAY
  47.  LEARN FROM THE INFORMATION PROVIDED IN THIS FILE.  EVERY EFFORT
  48.  HAS BEEN MADE TO MAKE THIS FILE AS ACCURATE AS POSSIBLE, BUT
  49.  NO WARRANTY OR FITNESS IS IMPLIED.  THE INFORMATION IS PROVIDED
  50.  ON AN "AS IS" BASIS.  USE IT AT YOUR OWN RISK.
  51.   
  52. -----------------------------------------------------------------
  53. 2.  COMMENTS.                                                        
  54.  
  55.  This whole process started in 1992 when I began researching
  56.  what many of the config.sys file commands were for.  This ever
  57.  growing file is the result of that ongoing research.  It briefly
  58.  describes most of the common and some of the more obscure
  59.  commands.  Naturally, not all possible commands are listed
  60.  (especially the many hardware device drivers), but there is a
  61.  lot here for you to work with.  Version 6 was the first version
  62.  updated for OS/2 2.1 and version 9 was the first updated for
  63.  OS/2 Warp 3.
  64.  
  65.  Even with all the hours I've put into this description, I still
  66.  find the config.sys file to be somewhat of a mystery.  Still,
  67.  mystery or not, to get the most out of OS/2 and your system
  68.  you just may need to spend a little time editing your config.sys.
  69.  If you are using this file with CNFGINFO.EXE, the Analyze feature
  70.  will help you in this process.
  71.  
  72.  ----------------- IMPORTANT NOTE AND WARNING --------------------
  73.  
  74.  Unlike the DOS config.sys file which is read sequentially, OS/2 
  75.  reads the entire file before it invokes the commands listed.  
  76.  Therefore, except for several exceptions which have been noted,
  77.  it really doesn't matter where a command is placed. On several
  78.  of the "nets" and in a file called CNFGSORT.ZIP it has been
  79.  suggested that if you organize your config.sys file in a certain
  80.  way, you can significantly shorten the boot time of OS/2.  I
  81.  find this sorting to be of little or no help for the vast
  82.  majority of OS/2 users.  Further, you can cause yourself
  83.  problems if you do it incorrectly.  So be very careful and have
  84.  a backup config.sys file ready.  Sorting your config.sys file
  85.  DOES make sense for those who wish to organize it for readability
  86.  and management purposes.
  87. 
  88. -----------------------------------------------------------------
  89. 3.  THE PROGRAM CNFGINFO.EXE.                                        
  90.   
  91.  I'm really not much of a programmer, but I have written a  
  92.  program called CNFGINFO.EXE which allows you to analysis your
  93.  own config.sys file.  After it reads in your config.sys file,
  94.  you just point and click on any line and information from this
  95.  file is displayed.  It also will backup, edit and print your
  96.  config.sys file.  You can also print this file.  Its Freeware
  97.  (that means you can use it at no cost and pass it on to your
  98.  friends), but its not in the public domain.  The "" symbols
  99.  are used by CNFGINFO, so please do not remove them from this 
  100.  file.  The latest version of CNFGINFO.EXE can be downloaded as 
  101.  CFGINFO4.ZIP from the same BBS where you found this file.  
  102. 
  103. -----------------------------------------------------------------
  104. 4.  BEGINNING OF CONFIG.SYS FILE DESCRIPTION.                        
  105.  
  106. IFS=C:\OS2\HPFS.IFS /CACHE:512 /CRECL:16 /AUTOCHECK:CDE /F:2
  107.    
  108.  IFS stands for "Installable File System".  This OS/2 command 
  109.  installs the High Performance File System (HPFS).  The syntax
  110.  is IFS=DRIVE:PATH\FILENAME,SWITCHES.  There are three switches:
  111.                                   
  112.  /CACHE:nnn sets up a disk cache and its size.  The default on 
  113.  most systems (shown in Table 1.0 below) is low in my opinion.  
  114.   
  115.  <<=TIP=>>  Change the size of your disk cache based upon the 
  116.  information provided in Table 1.1 below.  This great stuff was 
  117.  provided by Proportional Software based upon a great deal of
  118.  OS/2 system tweaking done by the DCF/2 development team.  
  119.   
  120.  <<=Warning=>>  Keep this one truth in mind about cache size:
  121.  an excessive cache takes memory available for programs and
  122.  therefore could have a negative impact on overall system
  123.  performance.  For example, if you set a 2MB cache on a 6MB
  124.  system, you will notice a substantial negative performance hit.  
  125.   
  126.  OS/2s Command Reference and other IBM sources indicate that 
  127.  the maximum cache size for HPFS is currently 2MB (2048), but
  128.  IBM does not recommend using a cache larger than 1.5MB (1536).
  129.  Personally, I have 16MB of RAM and have my HPFS cache set to
  130.  the max:  2048.
  131.   
  132.  If this switch is omitted, the default is 10% of the available
  133.  RAM.
  134.   
  135.  ========================== Table 1.0 ===========================
  136.   
  137.  If you have formatted your system with only HPFS partitions, the 
  138.  cache size in this statement, as set by OS/2 during installation,
  139.  is that noted under ONE FILE SYSTEM in the table below.  If you 
  140.  have both FAT and HPFS partitions, then OS/2 sets the cache
  141.  sizes to those noted under TWO FILE SYSTEM.  The file system
  142.  which uses the greatest amount of your disk space gets the larger
  143.  default value.
  144.  
  145.  MEMORY SIZE IN MB      TWO FILE SYSTEM         ONE FILE SYSTEM*  
  146.         4                     128/64                  128/48     
  147.         5                     128/64                  128/48     
  148.         6                     256/64                  256/128    
  149.         7                     256/128                 256/512    
  150.         8                     256/256                 384/512    
  151.         9                     256/256                 384        
  152.         10 - 16               512/512                 1024       
  153.         17 - 32               1024/1024               2048       
  154.                                                                  
  155.  * Defaults in Warp are different and are shown as the second    
  156.    number.  On systems with more than 8MBs of RAM, the default   
  157.    is 10% of available RAM to a maximum cache of 4MB.            
  158.                                                                  
  159.  ================================================================
  160.   
  161.  ========================== Table 1.1 ===========================
  162.   
  163.  You can get better performance from your system by using your 
  164.  available RAM in the most efficient and effective way.  Select
  165.  the case that best describes the file system or amount of RAM
  166.  you use. 
  167.   
  168.  CASE 1:  You use only HPFS or only FAT, but not both.           
  169.   
  170.                                HPFS only.         FAT only.
  171.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  172.   
  173.                      16 MB+           2048                 2048
  174.                      12 MB            1536                 1536
  175.                       8 MB            1024                 1024
  176.   
  177.  CASE 2:  You use both HPFS and FAT with HPFS active and FAT
  178.  passive.
  179.   
  180.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  181.   
  182.                      16 MB+           2048            512 -1024
  183.                      12 MB            1536            256 - 512
  184.                       8 MB            1024            128 - 256
  185.   
  186.  CASE 3:  You use both HPFS and FAT with HPFS passive and FAT
  187.  active.
  188.   
  189.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  190.                      
  191.                      16 MB+           1024                 2048
  192.                      12 MB             768                 1536
  193.                       8 MB             512                 1024
  194.  
  195.  <<=NOTE=>>  For purposes of the table above, "active" and
  196.  "passive" are descriptors for the way a partition is used. 
  197.  If it is seldom used, it is "passive."  If a lot of disk 
  198.  intensive I/O occurs on the partition, it is "active."
  199.  
  200.  ================================================================
  201.  
  202.  /CRECL sets the maximum record size for caching, from 2k to 64k
  203.  in multiples of 2k with a default of 4k.  This parameter may not 
  204.  exceed 1/4 of the total cache size set with the /cache parameter.
  205.  
  206.  /AUTOCHECK:nn tells the system to check each drive noted to see if
  207.  it was shut down properly.  If not, it will run CHKDSK on only the
  208.  drives indicated.
  209.  
  210.  <<=NOTE=>>  If you place a plus sign (+) in front of any drive
  211.  letter, the drive will be checked every time the system starts,
  212.  even if shut down properly.
  213.  
  214.  <<=WARNING=>>  If you don't include the AUTOCHECK switch in this
  215.  command, the system will not boot.
  216.  
  217.  /F:n indicates the level of CHKDSK to be used when automatically 
  218.  checking the drives at startup when AUTOCHECK is activated.  If 
  219.  no parameter is specifed, /F:2 is the default.
  220.    
  221.  <<=NOTE=>>  A /F:3 parameter will be ingnored unless you formatted
  222.  your hard drive with the /L switch.        
  223.  
  224.  <<=TIP=>>  If you are using only FAT partitions, then you should
  225.  REM this IFS statement and save yourself some RAM.  How much?
  226.  I've seen figures from 130k to 500k, but the HPFS.IFS file is 
  227.  136k in size.
  228.  
  229.  <<=TIP=>>  If you have drive partitions larger than 80MB, then
  230.  HPFS should give you better performance than FAT.  On partitions
  231.  of less than 80MB, most authorities indicate that there is only a
  232.  small performance difference between HPFS and FAT.  Consider the
  233.  following when comparing the relative merits of the HPFS versus
  234.  FAT:  On large partitions of identical size, the HPFS will
  235.  generally give you about 15% more space and improve performance
  236.  by about 28% (Information provided by Proportional Software).
  237.  
  238.  <<=NOTE=>>  Lazy write is on by default.  If you want lazy write
  239.  off, see the RUN=C:\OS2\CACHE.EXE command later in this file.
  240. 
  241. PAUSEONERROR=YES
  242.    
  243.  This command tells OS/2 to pause after it finds any error in your
  244.  config.sys and displays an error message.  If you don't include
  245.  this statement in your config.sys file, the default will be YES.
  246.  This is generally the best choice since the error message will
  247.  appear and scroll off the screen so quickly with a NO setting that
  248.  you may not notice it.
  249. 
  250. PROTSHELL=C:\OS2\PMSHELL.EXE
  251.    
  252.  This OS/2 command tells OS/2 what program you want to use as the 
  253.  protect mode shell (the program that determines what your user
  254.  interface looks like and how it operates.)  This is the first
  255.  program OS/2 will execute.  PMSHELL.EXE is the program which
  256.  initializes OS/2 Presentation Manager.  If you delete this line
  257.  from your config.sys file, OS/2 will load PMSHELL.EXE by default.
  258.  
  259.  <<=NOTE=>>  There are several alternatives to PMSHELL.EXE.
  260.  One is OS/2s own CMD.EXE.  If you replace PMSHELL.EXE with 
  261.  CMD.EXE, you will get a full screen OS/2 session only and will
  262.  not be able to run PM programs.  A second alternative is
  263.  TSHELL.EXE.  TSHELL is a text-based, protected-mode shell for
  264.  OS/2.  Any one remember OS/2 1.x? TSHELL makes OS/2 look
  265.  something like OS/2 1.0.  OS/2 1.0 did not have a graphical
  266.  user interface.  
  267.  
  268.  With TSHELL you can start and switch full-screen sessions only. 
  269.  These can be OS/2, DOS, or WINOS2 sessions depending on your
  270.  systems configuration.  You use Alt+Esc to switch around
  271.  sessions and Ctrl+Esc to pop up the task list.  But please note,
  272.  like OS/2 1.0, there is no Presentation Manager. Thus, OS/2 PM
  273.  applications will not work. You can download TSHELL.ZIP from
  274.  most OS/2 BBSs.
  275. 
  276. SET COMMAND:  The SET command in the config.sys file sets up 
  277.  environment variables for the entire system.  These
  278.  environment variables are stored by OS/2 in memory and are
  279.  shared by any applications which calls on them.    
  280.  
  281.  <<=TIP=>>  If you want to see what variables are set in your 
  282.  system, at an OS/2 command prompt type the word SET and press 
  283.  <enter>.  You'll get a list like the following:
  284.  
  285.      WP_OBJHANDLE=87103
  286.      USER_INI=C:\OS2\OS2.INI
  287.      SYSTEM_INI=C:\OS2\OS2SYS.INI
  288.      OS2_SHELL=C:\OS2\CMD.EXE
  289.      AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  290.      RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  291.      COMSPEC=C:\OS2\CMD.EXE
  292.      PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  293.         C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  294.      DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  295.         C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;
  296.      PROMPT=$E[1;33m[$P]$G
  297.      HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  298.      GLOSSARY=C:\OS2\HELP\GLOSS;
  299.      DIRCMD=/ON /P
  300.      IPF_KEYS=SBCS
  301.      KEYS=OFF
  302.      SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;
  303.         C:\OS2\ETC\WPDSERV.IR;SOM.IR
  304.      SOMDDIR=C:\OS2\ETC\DSOM
  305.      BOOKSHELF=C:\OS2\BOOK;C:\MMOS2;D:\VXREXX
  306.      EPMPATH=C:\OS2\APPS;
  307.      VIDEO_DEVICES=VIO_SVGA
  308.      VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  309.      ZOCDEVICE=COM4
  310.      MMBASE=C:\MMOS2;
  311.      DSPPATH=C:\MMOS2\DSP;
  312.      NCDEBUG=4000
  313.      VXREXX=D:\VXREXX
  314.      WORKPLACE__PROCESS=NO
  315. 
  316. SET USER_INI=F:\OS2\OS2.INI
  317.  
  318.  Tells OS/2 the name and locations of the file that contains
  319.  your desktop setup information and the options saved from
  320.  various OS/2 applications.  OS2.INI is the default file name.  
  321.  
  322.  <<=NOTE=>>  OS2.INI is a critical file for the proper operation
  323.  of OS/2 and should not be deleted or modified.  It is not an
  324.  ASCII file and, if it should become damaged, cannot be modified
  325.  with an ASCII editor.  You should consider backing up this file
  326.  by using the CALL lines shown in HOW TO MAKE A BACKUP COPY OF 
  327.  YOUR INI FILES (if you are using CNFGINFO to view this file,
  328.  select the How To Restore..." option) or with a program such as
  329.  WPSBKUP.  It is one of several shareware programs designed for
  330.  this purpose.  Check your favorite OS/2 BBS.  You can also use 
  331.  MAKEINI.EXE, which ships with OS/2, to build a new set of INI
  332.  files.  See your OS/2 documentation on how to do this.
  333. 
  334. SET SYSTEM_INI=G:\OS2\OS2SYS.INI
  335.  
  336.  Tells OS/2 the name and location of OS2SYS.INI.  This file
  337.  tells OS/2 what kind of equipment your system uses.  NOTE:
  338.  OS2SYS.INI is a critical files and should not be deleted or
  339.  modified.  It is not an ASCII file.  You should consider backing
  340.  up this file by using the CALL line shown in HOW TO MAKE A BACKUP
  341.  COPY OF YOUR INI FILES (if you are using CNFGINFO to view this
  342.  file, select the How To Restore..." option) or with a program
  343.  such as WPSBKUP, a shareware program you can obtain on many OS/2
  344.  BBSs.  You can also use MAKEINI.EXE, which ships with OS/2, to
  345.  build a new set of INI files.  See your OS/2 documentation on how
  346.  to do this.
  347.  
  348.  This file remains open the entire time OS/2 is booted and
  349.  operating.  It only closes upon shut down.  If it should become
  350.  "trashed", MAKEINI.EXE, which ships with OS/2 and is in the OS2
  351.  directory, can be used to build a new set of INI files.  You
  352.  will have to boot from an OS/2 floppy to do so.
  353. 
  354. SET OS2_SHELL=D:\OS2\CMD.EXE
  355.   
  356.  OS2_SHELL directs OS/2 to load the command line shell (CMD.EXE)
  357.  when you ask for an OS/2 command line from the WpS.  
  358.   
  359.  <<=WARNING=>>  Be careful with this line, OS/2 will not start 
  360.  without it.
  361.   
  362.  <<=TIP=>>  If you wish to run some other command line shell,
  363.  such as 4OS2, change this line and the SET COMSPEC=C:\OS2\CMD.EXE
  364.  line, substituting the appropriate EXE file for CMD.EXE.
  365.  
  366.  <<=TIP=>>  If you have a need to have a .CMD file invoked when
  367.  you launch any OS/2 full screen or windowed session, just as 
  368.  AUTOEXEC.BAT is invoked for DOS sessions, modify this command
  369.  line as shown below and it will cause AUTOEXEC.CMD to be invoked
  370.  each time you start an OS/2 session.
  371.  
  372.      SET OS2_SHELL=C:\OS2\CMD.EXE /k C:\AUTOEXEC.CMD
  373.  
  374.  You can choose any file name you wish for the CMD file. 
  375.  AUTOEXEC.CMD is used just as an example.
  376. 
  377. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS,LAUNCHPAD
  378.   
  379.  The AUTOSTART command contains a list of WpS components which
  380.  will be started (or restarted) when the system is booted up.
  381.  There are currently five possible options:
  382.  
  383.  PROGRAMS:  Tells OS/2 to start applications, that were running 
  384.             when the system was shut down, to restart.  This
  385.             options will be ignored if SET RESTARTOBJECTS=NO.
  386.  
  387.  TASKLIST:  This parameter enables the OS/2 task list that appears 
  388.             when you press Ctrl+Esc.  Why this parameter is
  389.             available I don't know, because even when removed, I
  390.             have still been able to press Ctrl+Esc and get the task
  391.             list.  Oh well, another OS/2 mystery.
  392.  
  393.  FOLDERS:   Opens the desktop and any other folder which was open 
  394.             when the system was shut down.  
  395.  
  396.             <<=WARNING=>>  If you remove the FOLDERS statement,
  397.             OS/2 will not open your desktop (which is a folder).  
  398.              
  399.  CONNECTIONS:  This parameter restarts any network connections 
  400.                that were in use when the system was shut down.  
  401.  
  402.             <<=NOTE=>>  This parameter can be removed if your
  403.             system is not connected to a network.  Leaving it
  404.             in your config.sys file will NOT cause any problems.
  405.  
  406.  LAUNCHPAD:  Restarts the new Lauchpad supplied with Warp.
  407. 
  408. SETBOOT /T:5
  409.  
  410.  This command lets you set up the Boot Manager in OS/2.  There
  411.  are a number of switches available including:
  412.  
  413.   /T:x  Number of seconds that the Boot Manager menu will
  414.         remain on the screen before the default system starts.  A
  415.         0 (zero) setting causes the menu to be bypassed.  A NO
  416.         (as in /T:NO) causes the menu to remain displayed until
  417.         a selection is made.
  418.  
  419.   /Q    Queries the currently set startup environment, and
  420.         displays the default logical disk alias, timeout value,
  421.         mode, and drive letter assignments for each system index.
  422.  
  423.   /X:x  Sets the system startup index to indicate the partition
  424.         that the Boot Manager should start, where x is from 0 to 3.
  425.  
  426.  For complete information and other switches available, refer to
  427.  the online OS/2 Command Reference.
  428. 
  429. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  430.   
  431.  This line tells the system what interface program is to be
  432.  used.  In this case it is the Workplace Shell.
  433.   
  434.  <<=TIP=>>  If you want to run OS/2 with only a command line 
  435.  interface,  you can do so by changing this line to read 
  436.  SET RUNWORKPLACE=C:\OS2\CMD.EXE.  This brings OS/2 up without
  437.  the WpS and gives you one screen session.  You can start other 
  438.  sessions using the START or DETACH command.  Otherwise,
  439.  operated just like you were in DOS.  If you have started more
  440.  than one session, switch between them using Alt+Esc.  For those
  441.  who want the power of OS/2 and like to work only from a command
  442.  line, give this a try.  I'm running in this mode as I write this
  443.  as a test and it appears to work fine.
  444.   
  445.  This is also a way to improve performance on 4MB RAM systems,
  446.  since the WpS take up LOTS of ram.  When running without the 
  447.  WpS, I generally free up from 4 to 5 megs of RAM on my 16MB
  448.  system.
  449.   
  450.  <<=WARNING=>>  You can't perform a "shut down" from a command
  451.  line.  To do a shut down type PMSHELL and press enter.  This
  452.  starts the WpS.  Once the WpS is open, you should be able to
  453.  perform a standard shut down.  You can also download one of
  454.  several shut down programs available on most OS/2 specific
  455.  BBSs.  I use one called SHUT32.ZIP.
  456.  
  457.  <<=TIP=>>  MSHELL.EXE is another alternative.  It is a simple
  458.  mini shell for OS/2 that uses the replaceable shell 
  459.  architecture of the WpS.  MSHELL is a program launcher which
  460.  provides one list of programs to start.  This list can be
  461.  modified by creating a plain text file called MSHELL.INI. In
  462.  addition to starting programs, MSHELL can save the desktop,
  463.  interact with the spooler, and do a system shut down.
  464.  
  465.  MSHELL is IBM Employee Written Software and can be downloaded
  466.  from most OS/2 specific BBSs or ftp.cdrom.com. 
  467. 
  468. SET RESTARTOBJECTS=YES
  469.   
  470.  This command tells OS/2 what applications to start after you
  471.  suspend operations with or without doing a shut down. If this
  472.  statement is not in your config.sys, then the default is YES,
  473.  i.e., start all objects that were running at the time of shut
  474.  down or reboot.  Other options are:
  475.  
  476.   NO = do not start any applications that were running at time 
  477.        of shut down or reboot.  
  478.   
  479.   STARTUPFOLDERSONLY = start objects only in the Startup 
  480.        folder.  This parameter is also handy for another
  481.        purpose.  Lets assume you have one or more programs in
  482.        your Startup folder and do a shut down without closing
  483.        those programs.  If you have Restartobjects set to yes,
  484.        OS/2 will restart the programs left open AND the Startup 
  485.        folder will start another copy of the same programs.
  486.        Thus you will have two copies running.  Using this
  487.        parameter eliminates this.
  488.  
  489.   REBOOTONLY = Start objects only if the OS/2 WpS is starting 
  490.        from a reboot (Ctrl-Alt-Del) or at power on.  Objects 
  491.        will not restart if the WpS is restarted as a result of 
  492.        its own error correction recycling.
  493.   
  494.  <<=TIP=>>  You can also circumvent the auto-starting of
  495.  programs by holding down Left/Ctrl-Left/Shift-F1 all at the
  496.  same time during boot.  It must be done right after the clock
  497.  appears just before the desktop loads, but before any icons
  498.  appear.
  499. 
  500. SET COMSPEC=C:\OS2\CMD.EXE
  501.   
  502.  This line identifies what OS/2 command line shell is to be used
  503.  and its location.  In DOS, COMMAND.COM is equivalent to CMD.EXE.
  504.   
  505.  <<=TIP=>>  If you wish to run some other command line shell,
  506.  such as 4OS2, change this and the SET OS2_SHELL=C:\OS2\CMD.EXE
  507.  line, substituting the appropriate EXE file for CMD.EXE.
  508. 
  509. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  510.   
  511.  Tells OS/2 where to locate Dynamic Link Libraries (DLLs).  
  512.  LIBPATH is similar to DPATH and PATH, but the statement can
  513.  only be used in the config.sys file and OS/2 does not search the
  514.  current directory for DLLs unless you include it in the LIBPATH
  515.  statement.  You don't need to use the SET command with LIBPATH. 
  516.  It is not an environment variable.
  517.  
  518.  <<=TIP=>>  To reduce the search time, be sure that the various
  519.  PATH statements contain the correct path to your program and
  520.  other files.  You can also have OS/2 search the current directory
  521.  by including a period "." right after the equal "=" symbol.   This
  522.  causes OS/2 to look in the current logged directory first.
  523.  
  524.  One final item that will reduce search time:  Be certain that
  525.  the PATH, LIBPATH and DPATH statements in the config.sys are
  526.  arranged with the most frequently accessed sub directories
  527.  listed first.
  528.  
  529.  <<=WARP TIP=>>  With Warp, IBM has introduced the ability to
  530.  dynamically change LIBPATH using two new environment variables:
  531.  BEGINLIBPATH and ENDLIBPATH.  These commands are most useful
  532.  in CMD or BATCH files, but can be used in your config.sys.
  533.  Any directories that appear in the BEGINLIBPATH variable are
  534.  searched before directories in LIBPATH, and directories that
  535.  appear in the ENDLIBPATH variable are searched after those
  536.  in LIBPATH.  The correct syntax is SET BEGINLIBPATH=C:\OS2.
  537. 
  538. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  539.  
  540.  Just like in DOS, it tells OS/2 where to find programs.  For DOS
  541.  sessions, set the PATH in your Autoexec.bat file.
  542.   
  543.  <<=WARNING=>>  Your path statement should contain at least the
  544.  following directories:  \OS2, \OS2\MDOS, \OS2\SYSTEM.
  545. 
  546. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  547.   
  548.  This is an OS/2 command.  It tells OS/2 programs where to look
  549.  for data files.  It is similar to the DOS APPEND command, but
  550.  unlike APPEND, DPATH only works with programs designed to use
  551.  it.
  552. 
  553. SET PROMPT=$E[1;33m[$P]$G
  554.  
  555.  Like the same DOS command, this line sets how your OS/2 command
  556.  prompt will appear.  (This is for OS/2 only.  Set the DOS PROMPT 
  557.  default in your AUTOEXEC.BAT file.)  In the setting shown here,
  558.  the command prompt will appear showing the current directory of
  559.  the default drive enclosed in [] followed by the greater than
  560.  symbol, i.e. [C:\]>.  Having brackets [] around the drive and
  561.  directory information lets you quickly know when you are at an
  562.  OS/2 command line verse a DOS command line.  
  563.  
  564.  If you type PROMPT without a parameter, OS/2 will return its 
  565.  default prompt.
  566.  
  567.  Options include:
  568.  
  569.      $B = The | character
  570.      $C = The open parenthesis (
  571.      $D = Current date
  572.      $E = ASCII code 27 (escape) so you can work with ANSI.
  573.         See <<=TIP=>> below.
  574.      $F = The close parenthesis )
  575.      $G = The "greater than" > symbol
  576.      $H = BACKSPACE over the previous character
  577.      $I = Turns help line on
  578.      $L = The "less than" < character
  579.      $N = Default drive
  580.      $P = Current directory of default drive
  581.      $Q = The equal = character
  582.      $S = The space character
  583.      $T = Current time
  584.      $V = OS/2 version number
  585.      $_ = Carriage return or line feed
  586.  
  587.  <<=TIP=>>  You can also add ANSI control sequences to your
  588.  prompt.  For example, to help me know visually whether I'm
  589.  working with an OS/2 command line, I've add $E[1;33m to my
  590.  prompt line, i.e. SET PROMPT=$E[1;33m[$P]$G.  This sets text
  591.  to display in bold yellow characters.  
  592. 
  593. SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  594.  
  595.  Tells OS/2 where the help files are located.  OS/2 will only
  596.  look for its help files in the path shown.
  597. 
  598. SET GLOSSARY=C:\OS2\HELP\GLOSS;
  599.  
  600.  Tells OS/2 where Glossary and Master Help files are located.
  601. 
  602. SET MENUSTYLE=SHORT
  603.  
  604.  An undocumented SET command which controls the amount of
  605.  information presented to you when you activate a pop-up
  606.  menu.  For example, the standard pop-up menu on my OS/2
  607.  desktop menu provides 13 menu items.  With this SET
  608.  command in my config.sys, I only have 10 items.  The items
  609.  not presented are Help, Create Shadow, and Find.
  610. 
  611. SET DIRCMD=/ON /P
  612.  
  613.  An undocumented command that is the OS/2 equivalent of the DIR
  614.  command in DOS.  Since DOS 5, you can tell DIR how to present
  615.  file information.  To do this in OS/2, use the DIRCMD command.
  616.  For example:  SET DIRCMD=/ON /P tells OS/2 to display the DIR 
  617.  information in alpha order and place a pause at the end of each
  618.  page.
  619.  
  620.  <<=NOTE=>>  This is for OS/2 only.  Set the DOS default in your
  621.  AUTOEXEC.BAT file.
  622.  
  623.    Options include:
  624.  
  625.    /A list files with specific attributes.  E.g. /AH list only 
  626.       hidden files.  Other options are S A & R.  If you place a 
  627.       negative (-) sign in front of your specified attribute, 
  628.       all files will list except those with the attribute 
  629.       specified.  E.g. /A-H-S will display all files except 
  630.       hidden and system files.
  631.    /B list directories and files without heading and summary 
  632.       information.
  633.    /F list files with the full drive and path information.  
  634.       Date, time and size are omitted.
  635.    /L displays information in lowercase.
  636.    /N lists files on a FAT drive in the same format used for a 
  637.       HPFS drive, i.e. date, time, size, name.
  638.    /O list files according to sort option specified.  Sort 
  639.       options are:
  640.          G = Display directories first.
  641.          N = alphabetize by file name
  642.         -N = reverse-alphabetizes by name
  643.          E = alphabetize by extension
  644.         -E = reverse-alphabetizes by extension
  645.          D = by date, oldest first
  646.         -D = by date, newest first
  647.          S = by file size, smallest first
  648.         -S = by file size, largest first
  649.    /P pauses after a full screen of files is listed.
  650.    /R displays long file names if applicable.
  651.    /S searches and displays all directories.
  652.    /W displays file names across the screen.  Date, time and 
  653.       size are omitted.
  654. 
  655. LASTDRIVE=H
  656.  
  657.  Specifies the maximum number of drives that are accessible.
  658.  The value you specify with LASTDRIVE represents the last valid
  659.  drive that is recognized. 
  660. 
  661. SET IPF_KEYS=SBCS
  662.  
  663.  The character set for most languages can be represented as data
  664.  using an 8-bit byte since their characters sets are each less
  665.  than 256 characters.  These are called single-byte character sets
  666.  (SBCS).  Languages such as Japanese (Kanji), Korean and Chinese 
  667.  (both Traditional and Simplified) can only be represented using
  668.  two 8-bit bytes or 16-bits.  These are double-byte character
  669.  sets (DBCS).
  670.  
  671.  This command tells the Information Presentation Facility (INF
  672.  and help files) which type of character set is being used, i.e.,
  673.  Single or Double Byte Character Set.  This is an environment
  674.  variable.  Removing it from my system did not seem to have any
  675.  impact.
  676. 
  677. PRIORITY_DISK_IO=YES
  678.  
  679.  This command determines whether programs running in the fore-
  680.  ground have priority access to disks.  The default is YES.  If
  681.  you want a program running in the background, like a BBS, to
  682.  have equal access to your disks, then change this statement to
  683.  NO.  If you change this command to no and then find that your
  684.  communications program does not work, change back to yes.
  685. 
  686. PRIORITY=DYNAMIC
  687.  
  688.  OS/2 automatically assigns processing priorities to each thread
  689.  of a program as it begins processing.  A thread running in the
  690.  foreground will generally have priority over a thread running
  691.  in background.  Thread priorities are adjusted, generally based
  692.  upon how active they are, by OS/2 on an ongoing basis to make
  693.  sure each thread has adequate processing time.  On the rare
  694.  occasion that you need to run a program which must never change
  695.  in priority, you should set PRIORITY=ABSOLUTE, otherwise, don't
  696.  mess with it.
  697.  
  698.  <<=NOTE=>>  This command does not have to be in your config.sys.
  699.  If it isn't, OS/2 defaults to PRIORITY=DYNAMIC.
  700.  
  701.  Here are some interesting and comments posted by David Page.
  702.  "I strongly suggest that you read "The Design of OS2" by Deitel
  703.  and Kogan; Addison Wesley. It goes into great detail on this
  704.  topic.
  705.  
  706.  "To summarize: The highest priority thread always has the
  707.  machine.  If there are two equally high threads, they timeslice
  708.  having the machine.  Note that there are many Operating System
  709.  threads, like the scheduler itself, that are higher priority
  710.  than any program. Now, if PRIORITY=ABSOLUTE in the config.sys
  711.  file, that's all there is to it.  But usually, PRIORITY=DYNAMIC,
  712.  and OS/2 keeps gradually increasing the priority of a starved
  713.  thread until it gets to run. Maxwait determines the maximum
  714.  time, in seconds, before the scheduler intervenes to raise a
  715.  low priority thread up high enough to run."
  716. 
  717. FILES=20
  718.  
  719.  This is a standard DOS command which sets the maximum number
  720.  of files that DOS can access at the same time.  OS/2 sets the
  721.  install default is 20, but some DOS programs may require an
  722.  increased number.  The maximum parameter is 255.  The FILES
  723.  command is for DOS only and has no effect on OS/2 sessions
  724.  which can have up to 64,000 files open at the same time.
  725. 
  726. DEVICE=C:\OS2\TESTCFG.SYS
  727. DEVICE=C:\OS2\BOOT\TESTCFG.SYS  <---- In Warp
  728.  
  729.  TESTCFG.SYS is used during the install process to test your
  730.  systems configuration.  It is also used by the Selective Install
  731.  process and during device driver installations.  
  732.  
  733.  <<=NOTE=>>  Because this driver is used by the Selective Install
  734.  process, it should not be deleted.
  735. 
  736. DEVICE=C:\OS2\DOS.SYS
  737. DEVICE=C:\OS2\BOOT\DOS.SYS      <---- In Warp
  738.  
  739.  A device driver used to communicate between DOS and OS/2
  740.  applications running on the same system.
  741. 
  742. DEVICE=C:\OS2\PMDD.SYS
  743. DEVICE=C:\OS2\BOOT\PMDD.SYS     <---- In Warp
  744.  
  745.  OS/2 loads and uses this driver to provide pointer draw support 
  746.  along with POINTDD.SYS.
  747.  
  748.  <<=WARNING=>>  OS/2 will not start without this line in your 
  749.  config.sys file.
  750. 
  751. BUFFERS=30
  752.  
  753.  Tells OS/2 how many disk buffers to set aside.  Range is from 3  
  754.  to 100.  Each buffer takes up to 512 bytes of RAM.  The install
  755.  default usually works well.  If you are using HPFS only, see
  756.  <<=Tip=>> below.
  757.  
  758.  Disk buffers are blocks of memory set aside by OS/2 for use in 
  759.  reading and writing blocks of data.  For example, if a program
  760.  wants to change 80 bytes of a file, it needs to read the 512
  761.  byte sector that contains the original data, change the infor-
  762.  mation and then write the corrected 512 byte sector back out.
  763.  A "buffer" is the 512 byte temporary staging area for this
  764.  partial sector operation.  According to a source at IBM, "OS/2
  765.  allows multiple simultaneous I/O operations to be queued up for
  766.  both diskette and hard disk.  Each 'concurrent' operation may
  767.  need a buffer.  If there are not enough buffers, overlap can be
  768.  inhibited.  Because OS/2 has more 'simultaneous' queued I/O
  769.  than DOS, it needs more buffers."  
  770.  
  771.  <<=TIP=>>  Generally, if you are running FAT on one or more of
  772.  your hard drives, you can speed up your system by increasing
  773.  the number of BUFFERS.  But, keep in mind that as you increase
  774.  the number, you reduce available memory.  Be careful about using
  775.  a lower number unless you only have 4MB of RAM.  With 4MB of RAM
  776.  you may wish to set BUFFERS to 20.  
  777.  
  778.  <<=TIP=>>  If you are using only HPFS (i.e., no FAT partitions),
  779.  try setting BUFFERS to 3.  With HPFS you generally don't need
  780.  BUFFERS.  Remember that 3 is the minimum parameter.  If you set
  781.  BUFFERS to 1 or 2, OS/2 will default to 30 since 1 and 2 are out
  782.  of range.  There is one exception to this tip.  If you access
  783.  your floppy disks a lot, then a reduced BUFFERS setting could
  784.  impact floppy performance.
  785. 
  786. IOPL=YES
  787.  
  788.  When set to YES, this command lets programs that need to bypass
  789.  OS/2 (and its device drivers) and work directly with hardware
  790.  devices, to do so.  One example is Lotus 123/G.  YES means
  791.  that all programs can access the hardware directly.  NO means
  792.  that no program can access the hardware directly.  YES is the
  793.  default and is generally best, since its hard for most of us to
  794.  know when a program is written is such a way as to need direct
  795.  access to hardware.
  796.  
  797.  IOPL stands for Input/Output Privilege Level.
  798.  
  799.  <<=TIP=>>  You can also specify a list of programs that are
  800.  allowed to work directly with the hardware.  For example, 
  801.  IOPL=WS.EXE,123.EXE would allow only these two programs to
  802.  access hardware directly.
  803. 
  804. RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  805.  
  806.  This line runs CACHE.EXE which allows you to modify the
  807.  parameters for the HPFS cache.  CACHE.EXE is only used for
  808.  HPFS partitions.  (The DISKCACHE command sets up a cache for
  809.  FAT.)  There are four switches for CACHE.EXE:
  810.  
  811.    /LAZY:  Determines if lazy writes is ON or OFF, that is, 
  812.      whether the contents of the cache will be written to your 
  813.      hard disk immediately (/LAZY:OFF) or when your hard disk 
  814.      is idle (/LAZY:ON).  The default is ON.  I like lazy 
  815.      writes ON because it improves performance, but keep in 
  816.      mind that since the system delays writing data to your 
  817.      hard disk, you can lose data if your system should crash.
  818.      In the config.sys file line above no switch is specified 
  819.      therefore the default remains in effect, which is ON.  
  820.  
  821.      <<=TIP=>>  Lazy writes can also be turned ON or OFF at an 
  822.      OS/2 command prompt.
  823.  
  824.      <<=WARNING=>>  If you include the /LAZY switch, then the 
  825.      CACHE statement will IGNORE ALL OTHER SWITCHES in the 
  826.      line.  Therefore, if you want to turn lazy writes off (or
  827.      on) and also change some other parameter, you will need 
  828.      two RUN statements.
  829.  
  830.      <<=WARNING=>>  There is a bug in OS/2 version 2.1 which
  831.      does not appear to have been fixed in Warp.  You
  832.      can't turn lazy writes off from the config.sys file.  The
  833.      WpS always turns lazy writes ON when it loads regardless
  834.      of what your CACHE.EXE command sets.  So, if you want lazy
  835.      writes off, you will need to run the CACHE command AFTER
  836.      the WpS starts.  Create a CMD file to turn it off and place
  837.      it in your Startup folder.  The WpS has already done it's
  838.      thing when the objects in the Startup folder are opened.
  839.      You can also turn it off from a command prompt.  (Thanks
  840.      to Denis Tonn for this critical information).
  841.  
  842.    /MAXAGE:  Sets how long data waits in the cache before it is 
  843.      moved to another area of the cache where less used 
  844.      information is stored, or how long data waits in the 
  845.      cache before it is written to the hard disk.  It is 
  846.      expressed in milliseconds.  The default is 5,000 or about 
  847.      5 seconds.  In the config.sys file line above, the wait 
  848.      is set at 7,500 milliseconds or about 7 1/2 seconds.
  849.       
  850.    /DISKIDLE:  Sets how long your hard disk must be idle before
  851.      it will accept data from the cache.  Express in 
  852.      milliseconds and the default is 1,000 or about one 
  853.      second.  The minimum value must be greater than the value
  854.      specified in the BUFFERIDLE parameter.  In the config.sys
  855.      file line above no switch was specified so the default 
  856.      remains in effect.
  857.  
  858.    /BUFFERIDLE:  Sets how long the cache buffer must be idle 
  859.      before its contents MUST be written to your hard disk.  
  860.      Express in milliseconds and the default is 500 or about 
  861.      1/2 second.  In the config.sys file line above no switch 
  862.      was specified so the default remains in effect.
  863.  
  864.  According to one source at IBM, there are two other
  865.  undocumented parameters.  
  866.  
  867.    /DIRTYMAX:  The threshold number of dirty buffers before 
  868.      immediately flushing of least recently used (LRU) data 
  869.      blocks.
  870.  
  871.    /WRITECACHE:  The threshold number of bytes that HPFS will 
  872.      cache for a lazy write.
  873.  
  874.  <<=NOTE=>>  The HPFS IFS config.sys file line sets up the
  875.  cache and uses the system defaults.  This config.sys file
  876.  line is only used to modify the cache parameters.  
  877.  
  878.  <<=TIP=>>  You can check to see what parameters the HPFS cache
  879.  is currently set at by going to an OS/2 command prompt and 
  880.  keying in the word CACHE and pressing the enter key.
  881.  
  882.  <<=TIP=>>  Table 2.0 contains information on optimum settings
  883.  for each of the main parameters.  This great stuff was 
  884.  provided by Proportional Software based upon a great deal of
  885.  OS/2 system tweaking done by the DCF/2 development team.
  886.  
  887.  ========================= Table 2.0 ===========================
  888.  
  889.    Parameters:             LAZY WRITES               /LAZY:ON
  890.                                 MAXAGE                 >7,500 
  891.                               DISKIDLE                 60,000 
  892.                             BUFFERIDLE                 60,000
  893.  ===============================================================
  894. 
  895. DISKCACHE=D,LW,32,AC:CD+E
  896.  
  897.  If you are using one or more FAT partitions on a hard drive,
  898.  this command sets up a disk cache for those partitions.  The
  899.  default cache size used by OS/2 during installation is based on
  900.  how much RAM your system contains.  See Table 3.0.  The minimum
  901.  cache size is 64k and the Maximum FAT cache size is 14MB.
  902.  
  903.  <<=IMPORTANT NOTE=>>  Under Warp, during installation the 
  904.  letter "D" is used instead of the usual numeric value.  On the
  905.  "nets", several users have reported that their disk I/O was
  906.  significantly reduced when they replaced the "D"  with a value
  907.  as was the case in OS/2 2.x.  I suggest you change this setting
  908.  based on the optimum cache sizes as shown in Table 1.1 above.
  909.  If you leave the "D" setting, then OS/2 will set your FAT
  910.  diskcache based upon the amount of RAM you have as follows:
  911.  
  912.         4MB of RAM, "D" is set to 48k;
  913.         5MB of RAM, "D" is set to 64k;
  914.         6MB of RAM, "D" is set to 128k;
  915.         7 or 8MB of RAM, "D" is set to 512k; and
  916.         more than 8MB, "D" is set to 10% of RAM.
  917.  
  918.  <<=NOTE=>>  This command is for hard drives only.  DISKCACHE
  919.  does not cache FAT based floppy drives.
  920.  
  921.  <<=TIP=>>  If you have the RAM, increase the size to improve
  922.  system performance, but don't get carried away by using to much
  923.  of your RAM; this can hurt performance.  See the information on
  924.  optimum cache sizes contained in Table 1.1 which is repeated
  925.  below.
  926.  
  927.  <<=TIP=>>  If you are only using HPFS, then you should REM
  928.  this statement and save 64k of RAM (don't delete, you may need
  929.  or want it later).  If you have a FAT partition on your hard
  930.  drive and you REM this statement, OS/2 will automatically set
  931.  up a 64k cache by default.
  932.  
  933.  ========================= Table 3.0 ===========================
  934.  
  935.  If you have formatted your hard drive(s) with only FAT partitions,
  936.  the default cache size in this statement will be that noted under
  937.  ONE FILE SYSTEM.  If you have both FAT and HPFS partitions,
  938.  then OS/2 defaults to the cache size noted under TWO FILE SYSTEM.
  939.  The file system which uses the greatest amount of your disk space
  940.  gets the larger default value.  
  941.  
  942.    MEMORY SIZE IN MB      TWO FILE SYSTEM         ONE FILE SYSTEM*
  943.         4                     128/64                  128/48
  944.         5                     128/64                  128/48
  945.         6                     256/64                  256/128
  946.         7                     256/128                 256/512
  947.         8                     256/256                 384/512
  948.         9                     256/256                 384
  949.         10 - 16               512/512                 1024
  950.         17 - 32               1024/1024               2048
  951.  
  952.  * Defaults in Warp are different and are shown as the second
  953.    number.  On systems with more than 8MBs of RAM, the default
  954.    is 10% of available RAM to a maximum cache of 4MB.
  955.  
  956.  ===============================================================
  957.  
  958.  LW:  Enables lazy writes.  If you don't want lazy write enabled,
  959.  then remove ",LW".
  960.  
  961.  <<=NOTE=>>  Lazy-writing provides significant performance
  962.  improvements to your system.  If you disable this feature, the
  963.  performance of your system will suffer.
  964.  
  965.  32:  Sets the threshold size.  It is express in number of sectors
  966.  which are 512 bytes each.  Data requests from your disk that are
  967.  larger than this number will not be cached.  The default is 4.
  968.  Thirty two (32) is said to be an optimum number.  One hundred 
  969.  twenty eight (128) is the maximum allowable.  This setting has
  970.  no impact on RAM.
  971.  
  972.  AC:CD+E:  If you want CHKDSK to automatically check any partition
  973.  after an improper shut down, then add this switch to end of the
  974.  DISKCACHE command:  AC:n where n is the partition(s) to check,
  975.  e.g. AC:C.  If you add a + (plus) sign before any drive letter,
  976.  OS/2 will automatically run CHKDSK on that drive each time
  977.  you boot.
  978.  
  979.  =================== Table 1.1 Repeated ========================
  980.   
  981.  You can get better performance from your system by using your 
  982.  available RAM in the most efficient and effective way.  Select
  983.  the case that best describes the file system or amount of RAM
  984.  you use. 
  985.   
  986.  CASE 1:  You use only HPFS or only FAT, but not both.           
  987.   
  988.                                HPFS only.         FAT only.
  989.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  990.   
  991.                      16 MB+           2048                 2048
  992.                      12 MB            1536                 1536
  993.                       8 MB            1024                 1024
  994.   
  995.  CASE 2:  You use both HPFS and FAT with HPFS active and FAT
  996.  passive.
  997.   
  998.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  999.   
  1000.                      16 MB+           2048            512 -1024
  1001.                      12 MB            1536            256 - 512
  1002.                       8 MB            1024            128 - 256
  1003.   
  1004.  CASE 3:  You use both HPFS and FAT with HPFS passive and FAT
  1005.  active.
  1006.   
  1007.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  1008.                      
  1009.                      16 MB+           1024                 2048
  1010.                      12 MB             768                 1536
  1011.                       8 MB             512                 1024
  1012.  
  1013.  <<=NOTE=>>  For purposes of the table above, "active" and
  1014.  "passive" are descriptors for the way a partition is used. 
  1015.  If it is seldom used, it is "passive."  If a lot of disk 
  1016.  intensive I/O occurs on the partition, it is "active."
  1017.  
  1018.  ===============================================================
  1019. 
  1020. MAXWAIT=3
  1021.  
  1022.  This command sets the longest period a program will have 
  1023.  to wait to execute before OS/2 ups its priority.  This makes
  1024.  sure that no program is put on hold forever while some other
  1025.  program hogs the system.  You can set MAXWAIT from 1 to 255
  1026.  seconds.  The default is 3 seconds.  
  1027.  
  1028.  <<=TIP=>>  When running heavy background programs, such as a
  1029.  BBS, change the setting to 1, i.e. MAXWAIT=1.  This will keep
  1030.  the BBS software or other background programs running at top
  1031.  speed.  For general use, it appears that setting MAXWAIT=2
  1032.  makes the system a little livelier.
  1033.  
  1034.  <<=NOTE=>>  MAXWAIT only has an effect if PRIORITY=DYNAMIC.
  1035.  
  1036.  <<=NOTE=>>  The smaller the number you use, the more system
  1037.  overhead there will be.
  1038. 
  1039. MEMMAN=SWAP,PROTECT
  1040.  
  1041.  OS/2 can run more programs and use more data than can actually
  1042.  be stored in memory at any given time.  This is done by swapping
  1043.  large amounts of memory to your hard disk and then reading the
  1044.  data back into memory when needed.  This is called virtual memory.
  1045.  For example, if you have 4MB of memory you will see lots of disk
  1046.  activity while you are working with your system.  A lot of this is
  1047.  OS/2 swapping memory to and from your hard disk.  Lots of memory
  1048.  swapping slows down your system and can cause your hard disk to
  1049.  fragment quicker than normal.
  1050.  
  1051.  The MEMMAN command controls the swap process.  The syntax is 
  1052.  MEMMAN=s,m,PROTECT,COMMIT where s=SWAP or NOSWAP; m=MOVE or NOMOVE.
  1053.  The default is to have virtual memory on.  To turn off virtual 
  1054.  memory, which is NOT recommended, the config.sys file line should 
  1055.  read:  MEMMAN=NOSWAP.  See <<=CAUTION=>> below.
  1056.  
  1057.  PROTECT allows the allocation and use of protected memory for 
  1058.  certain DLLs.  This is done to protect those DLLs from being 
  1059.  trashed by an errant program.  Unless you are a programmer who 
  1060.  needs this set to NOPROTECT, leave the default.
  1061.  
  1062.  <<=NEW PARAMETER=>>  A new parameter with version 2.1 is COMMIT.
  1063.  With this parameter included, OS/2 will allocate space in the swap 
  1064.  file whenever a program commits memory, i.e., a page in the swap file
  1065.  is allocated for every page of memory committed by a program, even
  1066.  if the data never actually gets swapped out.  Your system should be
  1067.  more stable, but it will be slower also, since your swap file will
  1068.  grown when it doesn't have to.  If you use this parameter, increase
  1069.  the size of your SWAPPER.DAT file (see SWAPPATH line below) by
  1070.  the amount of memory you are likely to use when using the COMMIT 
  1071.  parameter.  Most people "in-the-know" suggest that COMMIT not be
  1072.  used unless it is required by 16-bit OS/2 applications.
  1073.  
  1074.  <<=TIP=>>  You can also use the COMMIT parameter another way.  
  1075.  Without COMMIT set, the minimum free noted in you SWAPPATH
  1076.  specified the point at which OS/2 gives you a message warning that
  1077.  your disk space is running low.  When you set COMMIT, the minimum
  1078.  free value noted in your SWAPPATH statement becomes the amount of
  1079.  hard disk space that will always remain free on the swap file
  1080.  partition.  Thus, with COMMIT set, you can never run out of disk
  1081.  space on your swap file partition. 
  1082.  
  1083.  <<=CAUTION=>>  When messing with the MEMMAN line, I changed it to
  1084.  MEMMAN=NOSWAP.  As a result, I had to boot from my OS/2 installa-
  1085.  tion disk and recover my backup config.sys file to get the system
  1086.  to boot.  According to Blake Stover, "The reason MEMMAN=NOSWAP,
  1087.  PROTECT chokes is because of the hat tricks OS/2 does while
  1088.  loading the WpS, Desktop, Bitmaps, Folders, Cache buffers, MMPM/2,
  1089.  etc..  OS/2 likes to load all of these, then swap or discard the
  1090.  inactive code.  If there is no where to swap to it dies during
  1091.  boot, unable to initialize the resources it needs.  NOSWAP,PROTECT
  1092.  should only be used for boots from floppy to do maintenance, in
  1093.  most cases.  (People who use TSHELL on a machine with a good
  1094.  amount of RAM may also use it to speed operations).  IBM does
  1095.  not recommend that you set MEMMAN to NOSWAP unless you have more
  1096.  than 8MB of RAM.
  1097.  
  1098.  <<=NOTE=>>  The MOVE/NOMOVE parameter is only provided for
  1099.  OS/2 1.x compatibility.
  1100.  
  1101.  <<=NOTE=>>  NOPACK PARAMETER.  When OS/2 initially loads a 16-bit
  1102.  OS/2 application, it packs the segments into pages and copies
  1103.  them to the swap file for faster recovery when needed.  This can
  1104.  be disabled by using the NOPACK option on the MEMMAN line. How-
  1105.  ever, the performance decrease and larger working set will rarely
  1106.  offset the potential of a reduced swap file size.
  1107.  
  1108.  <<=NOTE=>>  DELAYSWAP.  No information at this time. SWAPDOS and
  1109.  NOSWAPDOS parameters from OS/2 1.x are not valid in OS/2 2.0 and
  1110.  later.
  1111. 
  1112. SWAPPATH=C:\OS2\SYSTEM 512 4096
  1113.    
  1114.  OS/2 can allocate more memory than it actually has available. 
  1115.  It does this by swapping memory to a hard disk file called
  1116.  SWAPPER.DAT.
  1117.  
  1118.  The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE,PATH is
  1119.  the location where you want the SWAPPER.DAT file to be placed and
  1120.  mmm is a number from 512 to 32767 which specifies how large the
  1121.  SWAPPER.DAT file can grow before it stops consuming hard disk
  1122.  space.  The size is stated in the negative.  In other words, if
  1123.  you have the mmm set to 512, then the SWAPPER.DAT file can grow
  1124.  until there is only 512k left on your hard disk.  The variable
  1125.  nnn is the starting size of the SWAPPER.DAT file.
  1126.  
  1127.  The install default SWAPPER.DAT size is set based on the amount
  1128.  of RAM your system has available as shown in Table 4.0.                   
  1129.  
  1130.  ============================ Table 4.0 ============================
  1131.  
  1132.      MEMORY IN MB       MINFREE (KB)       INITIAL SIZE (KB)    
  1133.            4                4096                  6144          
  1134.            5                4096                  5120          
  1135.            6                4096                  5120          
  1136.            7                2048                  4096          
  1137.            8                2048                  4096          
  1138.            9                2048                  3072          
  1139.           10                2048                  3072               
  1140.         11 - 32             2048                  2048          
  1141.  ===================================================================
  1142.  
  1143.  <<=TIP=>>  When your swap file grows beyond the initial size you
  1144.  have specified, OS/2 starts to manage the swap file.  This
  1145.  increased overhead can negatively impact your systems performance.
  1146.  Therefore, if your swap file always exceeds its initial size,
  1147.  consider increasing the files initial size.  For example, if your
  1148.  swap file usually grows to 8MB, set the initial size of 8MB.
  1149.  
  1150.  <<=TIP=>>  Normal operation of OS/2 can involves considerable
  1151.  disk activity as operating system functions are loaded and pages
  1152.  are moved in and out of the swap file.  Here are a couple of tips
  1153.  to improve performance.  (1) Consider dedicating a separate
  1154.  partition for the swap file.  This helps avoid fragmentation of
  1155.  the swap file, because other files will not be added or deleted
  1156.  from the dedicated partition.  (2) If you have both FAT and HPFS
  1157.  partitions, put the swap file on the HPFS partition to take
  1158.  advantage of the better performance of HPFS.  (3) If you have a
  1159.  system with two hard disk controllers, put the swap file on a disk
  1160.  managed by the least used controller.  (4) Keep your swap file on
  1161.  the MOST used partition of the LEAST used hard drive.
  1162.  
  1163.  <<=WARNING=>>  Never put your swap file on a networked drive.
  1164.  
  1165.  <<=NOTE=>>  Your swap file will grow (in 1MB increments), but it
  1166.  also shrinks when two conditions are met.  One, when the amount
  1167.  of free space in the swap file is greater than 1.5MB, the swap
  1168.  file will be compressed during system idle time.  (It will not
  1169.  shrink if there is a constant "hit" on the drive by a program such
  1170.  as a swap file monitor.)  Two, during the compression, free space
  1171.  is moved to the end of the swap file.  When this free space at the
  1172.  end of the swap file exceeds 1MB, the swap file will be shrunk.
  1173.   
  1174.  <<=NOTE=>>  See the discussion of the new COMMIT parameter for the 
  1175.  MEMMAN config.sys line including the <<=TIP=>>.
  1176.  
  1177.  <<=WARP NOTE=>>  Your swap file in Warp will be larger than in
  1178.  earlier versions of OS/2.  This is normal.  The most significant
  1179.  change that has been made is how system DLL's get loaded and what
  1180.  is now valid data for swapping.  System DLL's include:  DISPLAY,
  1181.  SOM, PMMERGE, PMWP, DOSCALL1, PMATM, PMMLE, IBMDEV32, PMCTLS,
  1182.  PMSPL, IBMVGA32, PMGPI, and PMVIOP.
  1183.                                                             
  1184.  In the previous versions of OS/2, dll code was never copied to
  1185.  the swapper file.  In WARP, code for system dll's can be written
  1186.  to the swapper file and, in adition, during boot, PMMERGE,
  1187.  DOSCALL1, PMGPI, PMWP and PMVIOP will be swapped out.  This
  1188.  means that there will be an overall increase in swapper size.
  1189.  This was done to increase overall system perfomance.
  1190. 
  1191. BREAK=OFF
  1192.   
  1193.  For DOS programs only.  Many DOS programs can be stopped by
  1194.  holding down the Ctrl key and then pressing the Break key. 
  1195.  BREAK controls how quickly DOS programs stop when you interrupt
  1196.  them with the Ctrl+Break sequence.  If BREAK=OFF, DOS will stop
  1197.  the program only when the programs next reads a character from
  1198.  the keyboard or writes to the screen or printer.  With BREAK=ON,
  1199.  DOS will check for the Ctrl+Break on a more frequent basis. 
  1200.  Remember that this extra checking can make your DOS programs run
  1201.  slower.
  1202. 
  1203. THREADS=256
  1204.  
  1205.  OS/2 programs can have several different processes running at
  1206.  the same time.  These are called threads.  This command sets
  1207.  the maximum number of threads (from 32 to 4095 in OS/2 2.x and
  1208.  from 64 to 4095 in Warp 3) that OS/2 can run at the same time.
  1209.  If this command is not included in your config.sys file, OS/2
  1210.  will default to 64.  JIm Gilliland commented on what happens
  1211.  if OS/2 runs out of Threads:  "If an application tries to start
  1212.  a new thread, and OS/2 has all of its threads  already in use, 
  1213.  then OS/2 will generate an error.  It may result in a popup, or 
  1214.  it may return the error information to the application."
  1215.  
  1216.  <<=TIP=>>  On systems with only 4MB of RAM, set THREADS to 128
  1217.  to free up memory, but I don't suggest you go any lower than
  1218.  this.
  1219.  
  1220.  <<=TIP=>>  If you have more than 8MB of RAM and run lots of OS/2
  1221.  specific programs, you may be able to improve system responsive-
  1222.  ness by increasing the number of threads.  Why?  Because well
  1223.  written OS/2 programs will use threads to improve program per-
  1224.  formance.  Therefore, the more well written OS/2 programs in use,
  1225.  the more threads that could be needed.  But still keep in mind
  1226.  that this only holds true only when you are using a fair number
  1227.  of OS/2 specific programs at the same time.  Even when I opened
  1228.  the Enhanced Editor, AmiPro for OS/2, ZOC, and KWQ Mail/2, I was
  1229.  only using 57 threads.  The most threads I've ever recorded at
  1230.  one time was 76.
  1231.  
  1232.  <<=SERVER NOTE=>>  On a server it is generally considered better
  1233.  to have 512 threads.
  1234. 
  1235. PRINTMONBUFSIZE=2048,134,134
  1236.  
  1237.  This command sets the size of the print buffers for your 
  1238.  parallel ports.  The syntax is PRINTMONBUFSIZE=LPT1,LPT2,LPT3
  1239.  where LPT1 is the buffer size for the parallel port LPT1, LPT2
  1240.  is the buffer size for LPT2 and LPT3 is the buffer size for
  1241.  LPT3.  The default and minimum is 134 bytes and the maximum is
  1242.  2048 bytes.
  1243.  
  1244.  <<=Note=>>  You must define a buffer for LPT2 and LPT3 even if
  1245.  you don't use these ports.  You will get an error message at
  1246.  start up if you don't.
  1247.  
  1248.  <<=TIP=>>  You may be able to improve printer throughput by 
  1249.  increasing buffer size.  I have my LPT1 set to 2048.  On systems
  1250.  with less than 6MB of RAM, don't increase the size of these
  1251.  buffers. 
  1252.  
  1253.  <<=TRIVIA=>>  Ever wonder where IBM got a parameter like 134? 
  1254.  I did and Lynn Nash passed along the following in response to
  1255.  my question:
  1256.  
  1257.  "Obviously you have no background on the big iron or it has 
  1258.  disappeared into historical memory :-).
  1259.  
  1260.  "Mainframe line standard of 132 columns plus 2 for carriage
  1261.  return and line feed characters.  That is why all the wide
  1262.  carriage dot matrix printers also had 132 column lines, to be
  1263.  able to use that wide green bar paper. Anyone that had an early
  1264.  Okidata 83 dot matrix even had an electronic format tape, but
  1265.  that is a story for another time."
  1266. 
  1267. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1268.  
  1269.  Customizes your system for the country you wish to use.  It 
  1270.  establishes which defaults to use when it comes to decimal 
  1271.  separators, date and time formats, currency symbols, etc.  The 
  1272.  syntax is COUNTRY=xxx,PATH,FILE NAME.  xxx is a three-digit code 
  1273.  number that tells what country to use.  The number is usually
  1274.  (but not always) the same as the international telephone dialing
  1275.  prefix for the country desired.  Table 5.0 contains various
  1276.  country codes.
  1277.  
  1278.  =========== Table 5.0 =============
  1279.  
  1280.    COUNTRY              COUNTRY CODE   
  1281.    Arabic-speaking          785            
  1282.    Asia (English)           099            
  1283.    Australia (English)      061            
  1284.    Belgium                  032            
  1285.    Canada (French)          002            
  1286.    China                    088            
  1287.    Czechoslovakia           042            
  1288.    Denmark                  045            
  1289.    Finland                  358            
  1290.    France                   033            
  1291.    Germany                  049            
  1292.    Hebrew-speaking          972            
  1293.    Hungary                  036            
  1294.    Iceland                  354            
  1295.    Italy                    039            
  1296.    Japan                    081            
  1297.    Korea                    082            
  1298.    Latin America            003            
  1299.    Netherlands              031            
  1300.    Norway                   047            
  1301.    Poland                   048            
  1302.    Portugal                 351            
  1303.    Spain                    034            
  1304.    Sweden                   046            
  1305.    Switzerland              041            
  1306.    Taiwan                   088            
  1307.    Turkey                   090            
  1308.    United Kingdom           044            
  1309.    United States            001            
  1310.    Yugoslavia               038            
  1311.  ===================================
  1312. 
  1313. SET KEYS=OFF
  1314.  
  1315.  When using the command line, KEYS tells CMD.EXE whether to
  1316.  remember previous keystrokes so they can be recalled with the
  1317.  up arrow key.  OS/2 maintains a 64k buffer for storing
  1318.  keystroke history.  KEYS can be ON or OFF.  To find out
  1319.  whether KEYS is on or off, simply type KEYS without a
  1320.  parameter from an OS/2 command prompt.  To list all of
  1321.  KEYS commands, type KEYS LIST.
  1322.  
  1323.  <<=TIP=>>  On systems with only 4MB of RAM, SET KEYS to OFF,
  1324.  you need the memory more than this feature.  Even with 16MB of
  1325.  RAM, since I don't use the feature I have turned it off to
  1326.  get a small memory boost.
  1327.  
  1328.  <<=NOTE=>>  With KEYS=ON, ANSI extended keyboard sypport in
  1329.  OS/2 sessions will be disabled by the system.
  1330. 
  1331. SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;C:\OS2\ETC\WPDSERV.IR;SOM.IR
  1332.  
  1333.  SOM is an acronym for IBMs System Object Model.  OS/2s object
  1334.  orientation is based upon this technology and in Warp, the
  1335.  Workplace Shell is built on SOM Version 2 with Distributied
  1336.  SOM enabled.  This SET statement sets the path to various IR
  1337.  files.
  1338. 
  1339. SET SOMDDIR=C:\OS2\ETC\DSOM
  1340.  
  1341.  SOM is an acronym for IBMs System Object Model.  OS/2s object
  1342.  orientation is based upon this technology and in Warp, the
  1343.  Workplace Shell is built on SOM Version 2 with Distributied
  1344.  SOM enabled.  This SET statement sets the path to the DSOM
  1345.  directory.
  1346. 
  1347. SET DELDIR=C:\DELETE,512;
  1348.  
  1349.  To use OS/2s UNDELETE command, you must first establish a
  1350.  directory to store the deleted files.  To do this, create
  1351.  a directory called DELETE on each partition you have and then
  1352.  remove the "REM" from this config.sys file line.  
  1353.  
  1354.  This command points OS/2 to the directory you created to place
  1355.  deleted files in.  It also indicates the maximum K bytes of
  1356.  files that will be stored in the DELETE directory.  If the
  1357.  number of deleted files exceeds the maximum K bytes that you
  1358.  specified, then files are automatically removed from the
  1359.  directory on a first-in-first-out basis.
  1360.  
  1361.  <<=WARNING=>>  Using this command will have an impact on system
  1362.  performance.  File operations in particular will be slower.
  1363. 
  1364. BASEDEV=
  1365.  
  1366.  BASEDEV installs a base device driver used by OS/2 when it is first
  1367.  started.  The statement cannot contain either a drive or path 
  1368.  because OS/2 cannot process such information at the stage at which 
  1369.  these statements are loaded.  These base device drivers include:
  1370.  
  1371.  PRINT01.SYS supports attached printers on non-Micro Channel PC's.
  1372.  PRINT02.SYS supports attached printers on Micro Channel PC's.
  1373.  IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  1374.  IBM2FLPY.ADD supports diskette drives on Micro Channel PC's.
  1375.  IBM2SCSI.ADD supports SCSI disk drives on Micro Channel PC's.
  1376.  OS2SCSI.DMD supports non-disk SCSI devices.
  1377.  IBM1S506.ADD supports non-SCSI disk drives, non-Micro Channel PC's.
  1378.  OS2DASD.DMD is a general purpose driver for disk drives.
  1379.  IBM2ADSK.ADD supports non-SCSI disk drives on Micro Channel PC's.
  1380.  IBMINT13.I13 supports non-Micro Channel SCSI adapters.
  1381.  OS2CDROM.DMD supports CD-ROM drives.
  1382.  FD16-700.ADD support driver for Future Domain 16xx SCSI.
  1383.  FD8XX.ADD supports Future Domain FD8XX devices.
  1384.  TMV1SCSI.DMD supports Media Vision CD-ROM/ProAudio SCSI.
  1385.  SONY31A.ADD supports the Sony CDU-31A & CDU-33A CD-ROM drive.
  1386.  SONY535.ADD supports the Sony CDU-531 & CDU-535 CD-ROM drives.
  1387.  MITFX001.ADD supports a Mitsumi CD-ROM drive.
  1388.  AHA154X.ADD supports SCSI on Adaptec 1542C controllers.
  1389.  AHA174X.ADD supports SCSI on Adaptec 1742 controllers.
  1390.  OS2ASPI.DMD Adaptec ASPI support.
  1391.  HITCDS1.FLT supports Hitachi CDR-1750.
  1392.  SBCD2.ADD supports Panasonic CD-ROM drives.
  1393.  LMS206.ADD supports Philips CD-ROM drives
  1394.  ULTRA14.ADD supports Ultrastor SCSI controller.
  1395.  XDFLOPPY.FLT supports IBMs 1.8mb OS/2 installation disk format.
  1396.  AUTODRV2.SYS supports PCMCIA modems.
  1397.  ICMEMCDD.SYS & ICMEMMTD.SYS supports PCMCIA flash memory.
  1398.  PCM2ATA.ADD supports PCMCIA ATA devices.
  1399.   
  1400.  <<=TIP=>>  Try adding the following switches to the
  1401.  BASEDEV=IBM1S506.ADD line: BASEDEV=IBM1S506.ADD /A:0 /U:0 /SMS,
  1402.  and use /V (/V=verbose) to see if the /SMS works.  This will
  1403.  improve performacne on those IDE drives that support the SMS
  1404.  feature.  It will not work on all IDE drives, but it will not
  1405.  damage anything either.  See your Command Reference INF file
  1406.  for more information on these and other parameters for this
  1407.  driver.
  1408.  
  1409.  <<=TIP=>>  If you wish to prevent users from using the
  1410.  floppy drives under OS/2 (to keep them from loading non-
  1411.  authorized programs or in a workstation situation), REM the 
  1412.  BASEDEV=IBMxFLPY.ADD line (where x is 1 for ISA and EISA
  1413.  machines, or 2 for Microchannel).
  1414.  
  1415.  <<=NOTE=>>  In Warp, the install program may have placed both
  1416.  IBM1FLPY.ADD and IBM2FLPY.ADD BASEDEV drivers in your 
  1417.  config.sys.  Remove IBM2FLPY.ADD if you don't have a Micro
  1418.  Channel PC.
  1419.  
  1420.  <<=WARP TIP=>>  With Warp, the default transmission protocal use
  1421.  by PRINTO1.SYS and PRINTO2.SYS is the polling transmission
  1422.  method.  The protocal used by previous versions of OS/2 was the
  1423.  interrupt transmission method.  In Warp, you can change back
  1424.  to the interrupt method by adding the /IRQ switch.
  1425.  
  1426.  <<=TIP=>>  From Paul Kurr:  "Since I'm running on a LAN at work
  1427.  here, I have no need for direct printer support of any kind since
  1428.  this is taken care of by my NOS (LAN Server).  So I have REM'd
  1429.  BASEVEV=PRINT01.SYS to save some RAM."
  1430. 
  1431. SET BOOKSHELF=C:\GAMMA32;C:\OS2\BOOK
  1432.  
  1433.  This command points to the on-line documentation (INF files)
  1434.  provided with OS/2 or other OS/2 programs.  I have the
  1435.  GAMMATECH utilities installed on my system which contains
  1436.  on-line documentation. 
  1437.  
  1438.  <<=TIP=>>  If you have an HPFS partition, copy all of your
  1439.  on-line documentation (INF files) to this partition.  Then 
  1440.  change this parameter to reflect the new path.  You will
  1441.  notice a substantial improvement in search speed since HPFS
  1442.  is much faster than FAT.
  1443. 
  1444. SET EPMPATH=C:\OS2\APPS
  1445.  
  1446.  Replaced SET EPATH=C:\OS2\APPS in version 2.0.  According to
  1447.  one source in IBM, EPMPATH is used by the Enhanced Editor
  1448.  (EPM.EXE) to locate its files.
  1449. 
  1450. DEVICE=D:\OS2\VASPIDD.SYS
  1451. DEVICE=D:\OS2\VASPI.SYS
  1452.  
  1453.   Adaptech ASPI device drivers for SCSI support.
  1454. 
  1455. DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  1456. DEVICE=C:\OS2\APPS\SASYNCDA.SYS
  1457.  
  1458.  This device driver loads communications support for the PM
  1459.  Terminal applet.  The PM Terminal applet, and this
  1460.  device driver, were dropped in OS/2 Warp.
  1461.  
  1462.  <<=TIP=>>  If you don't use PM Terminal, REM this line to
  1463.  save a little memory.  In fact, if you are not using PM
  1464.  Terminal applet you may wish to consider deleting the files
  1465.  to save some disk space also.
  1466. 
  1467. PROTECTONLY=NO
  1468.  
  1469.  Allows you to choose between a shared DOS and OS/2 operating
  1470.  environment or just an OS/2 environment.  If you plan to run
  1471.  only OS/2 programs, then set PROTECTONLY=YES.  If you plan to
  1472.  run DOS programs (including Windows), then set PROTECTONLY=NO.
  1473.  
  1474.  <<=NOTE=>>  Jonathan de Boyne Pollard relayed the following:
  1475.  "Part of the difficulty of talking about OS/2 2.x, as opposed
  1476.  to OS/2 1.x, is that *all* processes run in *protected mode*.
  1477.  The 386 never runs in real mode in OS/2 2.x.
  1478.  
  1479.  "Virtual DOS Machines are run in v8086 mode, which is still
  1480.  *protected mode*, as the paging mechanism is still active.
  1481.  The major difference between v8086 and normal protected mode
  1482.  is that the segment base addresses in linear memory are
  1483.  fixed, instead of being determined by the entries for each
  1484.  selector in the LDT and GDT.
  1485.  
  1486.  "So PROTECTONLY in OS/2 2.x means *don't use v8086 protected
  1487.  mode*. For a while there we thought that it meant *don't use
  1488.  real mode* and so was useless to OS/2 2.x, but it seems after
  1489.  all that it retains its original OS/2 1.x semantics, if not 
  1490.  its original mechanism."
  1491. 
  1492. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1493.  
  1494.  This line identifies and loads the DOS command processor
  1495.  COMMAND.COM which you must have to make DOS sessions work.  The
  1496.  /p switch keeps the command processor in memory until shut down.
  1497.  
  1498.  <<=NOTE=>>  This is the line where you can also specify the size
  1499.  of the DOS environment variable.  The range is 160 through 32768.
  1500.  For example, to set a 1024 byte environment you would add the
  1501.  following to the end of the SHELL command line:  /E:1024
  1502.  
  1503.  <<=TIP=>>  You can also load and run other command processor's
  1504.  such as 4DOS.  To do so, just put 4DOS in your MDOS directory
  1505.  and change the SHELL line to read 4DOS.COM instead of
  1506.  COMMAND.COM.
  1507. 
  1508. FCBS=4,2
  1509.  
  1510.  File Control Blocks (FCBS) are an outmoded holdover from old 
  1511.  versions of DOS.  The blocks are an internal holding area for
  1512.  data about concurrently open files.  In newer versions of DOS,
  1513.  these FCBS have been replaced by File Handles, but some DOS
  1514.  programs still use them and you need this statement for com-
  1515.  patibility.  The command tells an OS/2 VDM how many FCBS can
  1516.  be open at once, or, when DOS needs to open more FCBS than are
  1517.  available, how many currently open but not active FCBS may be
  1518.  closed to make room for new ones.
  1519.  
  1520.  The syntax is FCBS=a,b where a=the number of FCBS that DOS can
  1521.  have open at one time and b=the number of FCBS DOS cannot close
  1522.  to make room for new FCBS.  "a" can be as high as 255.  "b" can
  1523.  have a value of 0 to 254, but must be less than "a".  Unless
  1524.  you get some kind of error message when running a DOS program
  1525.  that tells you the program doesn't have enough FCBS, leave the
  1526.  default as set.
  1527.  
  1528.  <<=TIP=>>  You may wish to experiment with a smaller number.
  1529.  If you can get by with a smaller number, you will get back a
  1530.  little memory in each of your DOS sessions.  My suggestions is
  1531.  that you set it to 4,2.  If you make this change and then load
  1532.  a DOS program that says it can't open a file, increase the
  1533.  first value, reboot, and see if the error message goes away.
  1534.  You can also increase or change the value in the DOS programs
  1535.  Settings notebook.
  1536. 
  1537. RMSIZE=640
  1538.  
  1539.  This is a DOS command and sets the amount of memory available
  1540.  for use by each DOS session.  The maximum is 640k.  Since some
  1541.  DOS programs require 640k, its best to have RMSIZE set to 640.
  1542.  
  1543.  <<=TIP=>>  If you only have 4MB of RAM or don't have any DOS 
  1544.  programs that need a full 640k, you should consider reducing
  1545.  this parameter to 512.  Many DOS applications will run in a
  1546.  512k DOS partition.  Doing this will free up some additional
  1547.  RAM which will help performance.  Remember that Windows is
  1548.  a DOS program.  I don't suggest you attempt to run it in less
  1549.  than 640kb.
  1550.  
  1551.  <<=TIP=>>  If you need maximum memory (more than 640k), see
  1552.  tip under DOS=LOW,NOUMB.
  1553. 
  1554. DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1555.  
  1556.  VEMM.SYS lets DOS programs use expanded memory unless you
  1557.  override it by changing a DOS programs SETTINGS.
  1558.  
  1559.  Three of its switches are:
  1560.  
  1561.    /S=n  Sets the limit of EMS memory in blocks of 1024k.  
  1562.       Default is 2.
  1563.  
  1564.    /L=n  Size of conventional memory that can be remapped.  
  1565.       Default is none.
  1566.  
  1567.    /F=nnnn  Memory frame address to be used to map EMS.  
  1568.       Default is AUTO.
  1569.  
  1570.  <<=NOTE=>>  Settings you specify in a DOS session will
  1571.  override these switches.
  1572.  
  1573.  <<=NOTE=>>  The VEMM.SYS device must be listed in your
  1574.  config.sys file before the VXMS.SYS device.
  1575. 
  1576. DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1577.  
  1578.  Identifies and loads the mouse driver to let you use a mouse
  1579.  with DOS.  Mouse support for OS/2 is loaded below.  
  1580.  
  1581.  <<=NOTE=>>  If you don't have this line (or you REM'd it), you
  1582.  will not have mouse support in your DOS sessions.
  1583. 
  1584. DOS=LOW,NOUMB
  1585.   
  1586.  This is a standard DOS command that lets you control how DOS
  1587.  uses memory.  The default is DOS=LOW,NOUMB and is considered
  1588.  by many to be the best setting for it conserves memory
  1589.  for OS/2.  DOS=HIGH (including ,UMB) reduces available memory
  1590.  for OS/2, but increases the available memory in EVERY DOS
  1591.  session.  Few DOS sessions need maximum memory.  Also remember
  1592.  that you can move DOS HIGH for a specific program by changing
  1593.  that programs Settings.  This is done in the programs Settings
  1594.  Notebook and is likely the better way to go.  Finally, keep in
  1595.  mind that in OS/2 many device drivers are not taking up room in
  1596.  your 640k DOS area.  So you generally have more memory in the
  1597.  typical OS/2 DOS session than in a standard DOS session.
  1598.  
  1599.  The following is the amount of memory my system reports in each
  1600.  DOS session with DOS=LOW,NOUMB.  The vast majority of all DOS
  1601.  programs will run just fine with this amount of memory.
  1602.  
  1603.    655360 bytes total memory
  1604.    655360 bytes available for DOS
  1605.    618208 largest executable program size    <---- About 604k.
  1606.  
  1607.  With DOS=HIGH, the amount of memory reported is:
  1608.  
  1609.    655360 bytes total memory
  1610.    655360 bytes available for DOS
  1611.    643632 largest executable program size    <---- About 629k.
  1612.  
  1613.  <<=TIP=>>  If you need the maximum available RAM in a DOS
  1614.  session and can get by on CGA or MONO, in the DOS Settings of
  1615.  your applications Settings Notebook, change VIDEO_MODE_RESTRICTION
  1616.  to CGA or MONO.  (Note that there are some reports from users
  1617.  that this procedure does not work on their hardware.)  A final
  1618.  note:  For this to work on some systems, you may need to change
  1619.  RMSIZE command to 639 (RMSIZE=639).  See description of this
  1620.  parameter under RMSIZE.  This is the result of a bug in OS/2.  I
  1621.  have not verified if this bug is still in Warp.  Any one care to
  1622.  verify if it is still around?
  1623.  
  1624.  The amount of memory reported after doing this on my machine is:
  1625.  
  1626.    752640 bytes total memory
  1627.    752640 bytes available for DOS
  1628.    740656 largest executable program size    <---- About 724k.
  1629. 
  1630. LOADHIGH C:\OS2\MDOS\TSR.EXE
  1631. LH C:\OS2\MDOS\TSR.EXE
  1632.  
  1633.  This command is for DOS sessions and loads TRS programs into
  1634.  upper memory blocks if they are available.  If upper memory
  1635.  blocks are not available, the TRS will be loaded into
  1636.  conventional memory.
  1637. 
  1638. DEVICE=C:\OS2\APM.SYS
  1639.  
  1640.  Device driver for ADVANCED POWER MANAGEMENT system used with
  1641.  laptop systems.  Not using a laptop?  Then REM or delete the
  1642.  statement.  If you are using a laptop, see the OS/2 README
  1643.  file for more details on its operation.
  1644. 
  1645. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1646.  
  1647.  VXMS.SYS is a device driver that provides Extended Memory
  1648.  management to DOS sessions.  XMS allows DOS programs to access
  1649.  more than one MB of memory.  
  1650.  
  1651.  There is a total of five switches available.
  1652.  
  1653.     /UMB  Upper memory block support in DOS sessions.
  1654.  
  1655.     /NOUMB  No upper memory block support.
  1656.  
  1657.     /XXMLIMIT=m,n  Indicates the total system wide memory limit.
  1658.  
  1659.     /HMAMIN=m  Sets the minimum request size for high memory,
  1660.                from 1k to 63k.
  1661.  
  1662.     /NUMHANDLES=m  Sets the number of handles in each DOS session,
  1663.                    from 1 to 128.
  1664.  
  1665.  <<=NOTE=>>  The VXMS.SYS device must be listed in your
  1666.  config.sys file after the VEMM.SYS device.
  1667. 
  1668. DEVICE=C:\OS2\MDOS\VDPX.SYS
  1669.  
  1670.  Driver required when using VDPMI in the config.sys line
  1671.  below.  One authority said that this driver "provides V86 to
  1672.  Protected Mode translation for DPMI memory".  Well that's
  1673.  enough to lose me.
  1674. 
  1675. DEVICE=C:\OS2\MDOS\VDPMI.SYS
  1676.  
  1677.  Provides "virtual" DPMI (DOS Protect Mode Interface) memory
  1678.  for DOS and Window sessions.  I don't know much about this,
  1679.  but I've been told not to remove it.
  1680. 
  1681. DEVICE=C:\OS2\MDOS\VWIN.SYS
  1682.  
  1683.  Assists in the process of providing seamless Windows support.
  1684. 
  1685. DEVICE=C:\OS2\EXTDSKDD.SYS
  1686.  
  1687.  EXTDSKDD.SYS supports external disk drives.  There are five
  1688.  switches available.  See your online Command Reference for 
  1689.  complete details on these switches.
  1690. 
  1691. DEVICE=C:\OS2\PCMCIA.SYS 
  1692. DEVICE=C:\OS2\MDOS\VPCMCIA.SYS 
  1693.  
  1694.  These two drivers were new beginning with version 2.1.  They
  1695.  provide support for computers that have PC Memory Card
  1696.  International Association (PCMCIA) adapters.
  1697.  
  1698.  <<=TIP=>> If you don't have any PCMCIA devices, then you
  1699.  should REM these drivers to save a little RAM.
  1700.  
  1701.  <<=NOTE=>>  If you are using PCMCIA adapters and you find that
  1702.  your communications ports (COM1 - COM4) are not working
  1703.  properly, place these two device drivers after the COM.SYS and
  1704.  VCOM.SYS statements.
  1705. 
  1706. DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1707.  
  1708.  This is a CD-ROM device driver that provides support in DOS
  1709.  sessions.
  1710.  
  1711.  <<=TIP=>> If you don't have a CD-ROM installed, then you should
  1712.  REM this line to save a little RAM.  Remember, the more RAM OS/2
  1713.  has, up to 16MB, the better it runs.  After 16MB it doesn't seem
  1714.  to improve much, overall.
  1715. 
  1716. IFS=C:\OS2\CDFS.IFS /C:4
  1717. IFS=C:\OS2\BOOT\CDFS.IFS /C:4     <---- In Warp
  1718.  
  1719.  This OS/2 command is needed if you have a CD-ROM.  It installs 
  1720.  CDFS.INF which is the "Installable File System" for CD-ROMs. 
  1721.  Your CD-ROM is not going to run without it.
  1722.     
  1723.  <<=TIP=>> You can add cache to your CD-ROM IFS by adding the
  1724.  /C:n switch.  The variable "n" is a number which represents
  1725.  units of 64kb of memory.  For example, /C:4 would set up a
  1726.  256kb cache (4 x 64kb = 256kb).
  1727.  
  1728.  Other switches include the following:
  1729.  
  1730.  /P: Indicates the debug output port. The values can be 1 (COM1)
  1731.      or 2 (COM2).
  1732.  
  1733.  /K  Indicates the supplemental volume descriptor with KANJI.
  1734.  
  1735.  /M:n  Where n indicates the maximum number of file sectors to
  1736.        read at a time.  The default is 8.
  1737.  
  1738.  /Q  Suppresses initialization messages.
  1739.  
  1740.  Thanks to Ron Pelt for reminding me to add this information.
  1741. 
  1742. DEVICE=C:\OS2\OS2CDROM.DMD /Q
  1743. DEVICE=C:\OS2\BOOT\OS2CDROM.DMD /Q   <---- In Warp
  1744.     
  1745.  OS/2 driver used on many, but not all CD-ROM's.
  1746. 
  1747. DEVICE=C:\OS2\MDOS\VW32S.SYS
  1748.  
  1749.  WIN32 program support driver.
  1750. 
  1751. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1752. DEVINFO=SCR,VGA,C:\OS2\BOOT\VIOTBL.DCP
  1753.  
  1754.  This command prepares your monitor to display information based
  1755.  upon the CODEPAGE specification.  VIOTBL.DCP is the file that
  1756.  contains the video fonts for displaying characters for each of
  1757.  the CODEPAGES supported by OS/2.  See the CODEPAGE command line
  1758.  below.
  1759. 
  1760. DEVICE=C:\OS2\MDOS\VVGA.SYS 
  1761.  
  1762.  Your config.sys file will contain various device drivers for
  1763.  various devices based upon your systems hardware configuration.
  1764.  This device driver for supporting VGA video cards in DOS sessions.
  1765. 
  1766. SET VIDEO_DEVICES=VIO_SVGA
  1767. SET VIO_SVGA=DEVICE(BVHVGA, BVHSVGA)
  1768. DEVICE=C:\OS2\MDOS\VSVGA.SYS
  1769.       
  1770.  Your config.sys file will contain various device drivers for
  1771.  various devices based upon your systems hardware configuration.
  1772.  These device driver are for a SVGA video card.
  1773. 
  1774. SET VIDEO_DEVICES=VIO_VGA
  1775. SET VIO_VGA=DEVICE(BVHVGA)
  1776. DEVICE=C:\OS2\MDOS\VVGA.SYS
  1777.  
  1778.  Your config.sys file will contain various device drivers for
  1779.  various devices based upon your systems hardware configuration.
  1780.  These device driver are for a VGA video card.
  1781.  
  1782. 
  1783. DEVICE=C:\OS2\POINTDD.SYS 
  1784. DEVICE=C:\OS2\BOOT\POINTDD.SYS    <---- In Warp
  1785.  
  1786.  Provides mouse-pointer draw support.  Text modes 0, 1, 2, 3, and
  1787.  7 and graphic modes D, E, F, and 10 are supported.  For graphic
  1788.  modes D, E, F, and 10, the correct graphic device driver must
  1789.  also be installed. 
  1790.  
  1791.  <<=WARNING=>> In order for MOUSE.SYS to work effectively, this 
  1792.  driver must be loaded by OS/2 before MOUSE.SYS.  Do not remove
  1793.  it from your config.sys file.
  1794. 
  1795. DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  1796. DEVICE=C:\OS2\BOOT\MOUSE.SYS SERIAL=COM1 QSIZE=10  <-- In Warp
  1797.  
  1798.  Lets you use a mouse or track ball.  This line also identifies
  1799.  the type of mouse you have and which COM port it is on.  QSIZE
  1800.  is a number from 1 to 100 which indicates how many mouse
  1801.  actions are to be saved when you execute mouse actions
  1802.  faster than your system can handle them.  There is also a 
  1803.  RELAXED parameter which you would place after QSIZE.  It can
  1804.  be used with any mouse when the pointer is jumping randomly
  1805.  about the screen.  IBM does not suggest you use this parameter
  1806.  unless you are experiencing this problem.
  1807.  
  1808.  <<=NOTE=>> The MOUSE.SYS statement must come before COM.SYS, but
  1809.  after POINTDD.SYS, because COM.SYS will take over any unused COM
  1810.  port.  If COM.SYS takes over the COM ports before MOUSE.SYS is
  1811.  loaded, MOUSE.SYS will not have any COM ports available, thus no
  1812.  mouse support.
  1813. 
  1814. DEVICE=C:\OS2\RODENT\RODENT.SYS COM=1 BUTTONS=3
  1815.  
  1816.  Device driver for the shareware mouse driver call Rodent.
  1817. 
  1818. DEVICE=C:\OS2\COM.SYS
  1819. DEVICE=C:\OS2\BOOT\COM.SYS        <---- In Warp
  1820.  
  1821.  Lets you use the communications ports COM1 and COM2.  If you
  1822.  want to use COM3 or COM4 or change the IRQ of any COM port,
  1823.  see <<=TIP=>> below.  This line MUST appear after any driver
  1824.  that uses a communications port.  Use COM02.SYS for IBM PS/2
  1825.  model 90 and 95.
  1826.  
  1827.  <<=TIP=>> There are two very good replacement drivers for 
  1828.  COM.SYS\VCOM.SYS called SIO.SYS\VSIO.SYS.  It can be obtained
  1829.  on most OS/2 BBSs.  If you utilize communications software on a
  1830.  regular basis at high speeds (e.g. 14,400), I recommend you 
  1831.  consider SIO.SYS.  Replace VCOM.SYS with VSIO.SYS which
  1832.  comes with SIO.SYS.  SIO.SYS and VSIO.SYS are Shareware, not 
  1833.  Freeware.  Register them if you use them!
  1834.  
  1835.  <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with
  1836.  IRQ 4 and 2E8 with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3)
  1837.  to the DEVICE line, e.g. DEVICE=C:\OS2\COM.SYS (3,3E8,4)
  1838.  (4,2E8,3).  You can also use this method to change a COM ports
  1839.  assigned IRQ. 
  1840. 
  1841. DEVICE=C:\OS2\COM02.SYS
  1842. DEVICE=C:\OS2\BOOT\COM02.SYS        <---- In Warp
  1843.  
  1844.  For IBM PS/2 model 90 & 95 only.
  1845.  
  1846.  Lets you use the communications ports COM1 and COM2.  If you
  1847.  want to use COM3 or COM4 or change the IRQ of any COM port,
  1848.  see <<=TIP=>> below.  This line MUST appear after any driver
  1849.  that uses a communications port.
  1850.  
  1851.  <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with
  1852.  IRQ 4 and 2E8 with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3)
  1853.  to the DEVICE line, e.g. DEVICE=C:\OS2\COM02.SYS (3,3E8,4)
  1854.  (4,2E8,3).  You can also use this method to change a COM ports
  1855.  assigned IRQ. 
  1856. 
  1857. DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1858.  
  1859.  Lets you use the communications ports for DOS and Windows
  1860.  sessions.  Must appear after the COM.SYS driver.  
  1861.  
  1862.  <<=NOTE=>> If you are using COM3 and/or COM4, add the
  1863.  appropriate parameters to the COM.SYS line above only.  It is
  1864.  not necessary to add any parameters to this line.  VCOM.SYS
  1865.  inherits its parameters from the COM.SYS line.
  1866.  
  1867.  <<=TIP=>> See TIP under DEVICE=C:\OS2\COM.SYS regarding 
  1868.  SIO.SYS.
  1869. 
  1870. DEVICE=C:\SIO\SIO.SYS
  1871.  
  1872.  Excellent replacement driver for COM.SYS.  If you utilize 
  1873.  communications software on a regular basis at high speeds 
  1874.  (e.g. 14,400), then the SIO drivers are the way to go.
  1875.  Be sure you have REM'd out COM.SYS when using.  SIO.SYS and
  1876.  VSIO.SYS are Shareware, not Freeware.  Register them if you
  1877.  use them!  Check your favorite OS/2 BBS to locate the SIO
  1878.  drivers.  See also VSIO.SYS.
  1879. 
  1880. DEVICE=C:\SIO\VSIO.SYS
  1881.  
  1882.  Excellent replacement driver for VCOM.SYS.  If you utilize
  1883.  communications software on a regular basis at high speeds 
  1884.  (e.g. 14,400), then the SIO drivers are the way to go.
  1885.  Be sure you have REM'd out VCOM.SYS when using.  SIO.SYS and
  1886.  VSIO.SYS are Shareware, not Freeware.  Register them if you
  1887.  use them!  Check your favorite OS/2 BBS to locate the SIO
  1888.  drivers.  See also SIO.SYS.
  1889. 
  1890. MODE
  1891.  
  1892.  MODE is a multipurpose command that allows you to control
  1893.  printer ports, serial ports, modems, video monitors and disks.
  1894.  For example, if you want to "lock" in the baud rate on COM2,
  1895.  add the following MODE command to your config.sys file:
  1896.  
  1897.  MODE COM2 baud  (where baud is the rate you want to lock)
  1898.  
  1899. DEVICE=C:\MMOS2\MVPRODD.SYS /I11 /D3 /S:1,220,1,5 /N:PAS161$
  1900. DEVICE=C:\MMOS2\AUDIOVDD.SYS PAS161$
  1901.    
  1902.  These two drivers are for MediaVision's ProAudio Spectrum
  1903.  sound card.  The first driver is set for IRQ 11, DMA 3 with
  1904.  Sound Blaster support on IRQ 5 and DMA 1.
  1905.  
  1906.  <<=Warp TIP=>>  MediaVison's technical support indicates that
  1907.  the only correct settings for the PAS 16 in Warp is IRQ 11
  1908.  and DMA 3.  If you are experiencing static or white noise
  1909.  during bootup, MediaVison indicates that this is caused by
  1910.  using an IRQ other than 11 and DMA 3.  They also indicate that
  1911.  the two device driver lines must be the last lines in your 
  1912.  config.sys file.  Note that this information didn't solve the
  1913.  static problem for all users I've talked with, but it did for
  1914.  some.  Others have indicated that adding the /T:1 switch solved
  1915.  their "white noise" problem.
  1916.   
  1917.  My experience has been that any change to the MVPRODD.SYS 
  1918.  parameters will solve this problem, until you have to reset
  1919.  your system without a proper shut down.  Then the "white
  1920.  noise" returns, so I add or subtract the /T:1 parameter.
  1921.  
  1922.  There are new drivers in the Warp FullPak which solved the
  1923.  "white noise" problem for me.
  1924.  
  1925.  <<=Warp NOTE=>>  I've heard that there may be a bug in Warp
  1926.  which causes problems in WIN-OS2 "seamless" mode.  A solutions
  1927.  is contained in SNDWOR.ZIP which can be downloaded from many
  1928.  OS/2 BBSs.
  1929. 
  1930. DEVICE=C:\MMOS2\SB16D2.SYS 1 1 5 5 220 4 330 /N:SBAUD1$ /Q
  1931. DEVICE=C:\MMOS2\AUDIOVDD.SYS SBAUD1$
  1932.  
  1933.  These two drivers are for Sound Blaster 16 sound card. 
  1934.  Regarding the SB16D2.SYS driver, Doug Boulter comments that:
  1935.  
  1936.  - the first number is the device number, in this case 1;
  1937.  - the second number is the 8-bit DMA channel, also 1;
  1938.  - the third number is the 16-bit DMA channel, in this case 5;
  1939.  - the fourth number is the interrupt, IRQ 5;
  1940.  - the fifth number is the base I/O address, 220H;
  1941.  - the sixth number is the buffer size; and
  1942.  - the seventh number is the MIDI base I/O address, 330H.
  1943. 
  1944. DEVICE=C:\MMOS2\JAZZDD.SYS /I:5 /D:1 /E:5 /T:330 /Q:10 /P:220 /N:JAZZ1$
  1945.  
  1946.  Support driver of Creative Labs Jazz16 card.
  1947. 
  1948. DEVICE=C:\OS2\MDOS\ANSI.SYS  
  1949.  
  1950.  This is the traditional DOS command most are familiar with.
  1951.  It only affects DOS sessions.  This line is not added to your
  1952.  config.sys file by default.  If you want it, you need to add it.
  1953.  
  1954.  OS/2 sessions have ANSI support by default.  If you are unsure
  1955.  if ANSI is on or off in an OS/2 session, go to an OS/2 command
  1956.  prompt and type ANSI.  You will get a message like:  "ANSI
  1957.  extended screen and keyboard control is on."  For an OS/2
  1958.  session, turn ANSI off or on by typing ANSI OFF or ANSI ON at
  1959.  an OS/2 command prompt.
  1960.  
  1961.  There is two switches:
  1962.  
  1963.     /X Redefines keys with extended dey values as distinct keys.
  1964.     /K Disables extended keyboard capabilities.  You would use
  1965.        this switch if an application does not support extended
  1966.        keyboard.
  1967. 
  1968. SET ETC=C:\TCPI\ETC
  1969. SET TMP=C:\TCPIP\TMP
  1970. DEVICE=C:\TCPIP\BIN\INET.SYS
  1971. DEVICE=C:\TCPIP\BIN\IFNDISNL.SYS
  1972. DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  1973. DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  1974. RUN=C:\TCPIP\BIN\CNTRL.EXE
  1975. RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  1976.  
  1977.  Provides TCP/IP support for Warp's InterNet tools provided in the
  1978.  Bonus Pack.
  1979.  
  1980.  <<=TIP=>> If you don't need TCP/IP support in DOS sesions, and you
  1981.  don't if you are using the Bonus Pack tools, REM the following
  1982.  lines:
  1983.  
  1984.    DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  1985.    DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  1986.    RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  1987.  
  1988.  Remember that Windows is a DOS based system.
  1989. 
  1990. DEVICE=C:\OS2\TOUCH.SYS
  1991.  
  1992.  (From OS/2s online documentation)
  1993.  
  1994.  Implements support for touch devices.  For a touch device to be
  1995.  effectively used, the POINTDD.SYS device driver and appropriate
  1996.  mouse device-driver support must be loaded. In addition, these
  1997.  statements must be included in the CONFIG.SYS file in the
  1998.  following order: 
  1999.  
  2000.  o  A device-dependent statement that gives the name of the
  2001.     file containing the information for the touch device you use. 
  2002.  
  2003.  o  A device-independent statement that identifies the touch
  2004.     device to TOUCH.SYS
  2005.   
  2006.  If during installation, OS/2 detects a touch device installed on
  2007.  your system, the Install program automatically loads the required
  2008.  device-driver support necessary to enable the touch device.  The
  2009.  touch device shares the auxiliary device (mouse) port on the
  2010.  system with the mouse by allowing the mouse to connect to the 
  2011.  touch device, which is then connected to the system. 
  2012.  
  2013.  The Install program automatically adds the following statements
  2014.  to the CONFIG.SYS file: 
  2015.  
  2016.   DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  2017.   DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  2018.   RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  2019.   DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  2020.   
  2021.  "x" is 1 or 2 depending on the bus architecture of your system.
  2022.  TOUCO21D.BIN is the touch-device microcode binary file and
  2023.  TOUCH.INI is a text file containing default parameter settings.
  2024.  
  2025.  The RUN=CALIBRAT.EXE statement is to activate the Calibration
  2026.  program.  This program performs the dual actions of downloading
  2027.  calibration-constant data to the touch device each time the
  2028.  system is started, and enabling recalibration of the touch
  2029.  device at initial setup, and when the device is moved to a new
  2030.  location. 
  2031.  
  2032.  To recalibrate the touch device, enter the following at an OS/2
  2033.  command prompt: 
  2034.  
  2035.   x:           (where "x" is your OS/2 boot drive.)
  2036.   CD \OS2
  2037.   CALIBRAT -U
  2038. 
  2039. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  2040. DEVICE=C:\OS2\PDITOU01.SYS
  2041. DEVICE=C:\OS2\PDITOU02.SYS
  2042.  
  2043.  See DEVICE=C:\OS2\TOUCH.SYS
  2044. 
  2045. DEVICE=C:\OS2\LOG.SYS
  2046.  
  2047.  This optional device driver installs OS/2s error log file.  If
  2048.  you want a log of errors that occur on your system, then add
  2049.  this and the next line to your config.sys file.  If you are
  2050.  interested in such things, you may wish to play with it, but
  2051.  be forewarned, the error log information is cryptic and
  2052.  incomplete.  See note below.  To learn what these codes mean,
  2053.  you need to have IBMs Systems Network Architecture Formats
  2054.  (GA27-3136-12) or, for a reasonable overview, get OS/2 2.1
  2055.  Unleashed, 1993, SAMS Publishing.
  2056.  
  2057.  The switch /E:nn sets the size of the error log buffer.  The
  2058.  range is from 4kb to 64kb with 8kb as the default.  
  2059.  
  2060.  You will get a short and quick message during boot up
  2061.  indicating that Logging has been installed and what the buffer
  2062.  size is.
  2063.  
  2064.  <<=NOTE=>> LOG.SYS has its limitations.  It will not log an 
  2065.  application error unless the application has been written to make
  2066.  use of LOG.SYS.  Some routine system errors will not log either 
  2067.  because OS/2 opens an error message box on screen to report
  2068.  these.
  2069. 
  2070. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\LOGFILE.DAT /W:16
  2071.  
  2072.  This RUN command starts the logging process and must appear
  2073.  AFTER you have installed the LOG.SYS driver noted in the 
  2074.  config.sys line above.  The two switches are:
  2075.  
  2076.   /E:path\filename  This is the path and file name of the
  2077.      test file where the errors will be logged.  You can place 
  2078.      it anywhere you want and call it anything you wish.  
  2079.      NOTE:  Like the OS/2 INI files, this file is "locked" and 
  2080.      you will not be able to access it with your standard text 
  2081.      editor or the OS/2 System Editor.  You will get a 
  2082.      "violation error".  The Enhanced Editor will open the file.
  2083.  
  2084.   /W:nn  This is the size of the file named with the /E
  2085.      switch.  The default size is 64k, but with this switch 
  2086.      you can set the value from 4k to 64k.  I've set the file 
  2087.      size at 16k in the example line above.
  2088.  
  2089.  <<=NOTE=>> Use SYSLOG.EXE from an OS/2 command line prompt to
  2090.  view your log file.
  2091. 
  2092. CODEPAGE=437,850
  2093.  
  2094.  Lets you use the alphabet of various countries and languages.
  2095.  The syntax is CODEPAGE=ppp,sss, where ppp is the number of the
  2096.  primary national alphabet to be used and sss is a secondary 
  2097.  alphabet number.  From an OS/2 command line, you can use the
  2098.  CHCP command to switch between these two code pages.  This can
  2099.  be useful in order to type, display or print data in a
  2100.  different language from the version installed.  CHCP can be
  2101.  used either without a parameter to query the current code
  2102.  page, or with one parameter in order to switch between primary
  2103.  and secondary code pages.  CHCP cannot be used to change to a
  2104.  code page not defined in the CODEPAGE= config.sys line.  
  2105.  
  2106.  437=US English alphabet and 850=multinational alphabet.  The 
  2107.  multinational alphabet contains most of the accented letters 
  2108.  used in various European languages.  Several other alphabets
  2109.  that can be supported by your version of OS/2.  See Table 6.0.  
  2110.  
  2111.  <<=WARNING=>> Japan, Korean and Chinese require a special 
  2112.  version of OS/2 and special hardware.
  2113.  
  2114.  <<=WARNING=>> The choice of code page is made at installation
  2115.  time and should only be changed by using Selective Install. 
  2116.  
  2117.  <<=NOTE=>> If there is not a CODEPAGE statement in your
  2118.  config.sys, your keyboard will use an alphabet based on
  2119.  the COUNTRY statement found earlier in your config.sys,
  2120.  but your screen and printer will use their built in defaults.
  2121.  
  2122.  <<=TIP=>> Holger Granholm of Helsinki, Finland provided the
  2123.  following excellent commentary on CODEPAGE=437,850.
  2124.  
  2125.  "I would like to point out that the 437=US English alphabet also 
  2126.  contains most of the accented letters used in various European
  2127.  languages as also shown by their secondary code page listing.
  2128.  
  2129.  "Code page 850 is missing a lot of the mathematical and
  2130.  electronics symbols and quite many of the graphic characters
  2131.  contained in the extended (128 - 256) ASCII character set.
  2132.  
  2133.  "Ever since I found out (in 1986) that I had to set my Epson
  2134.  printer to the US character set to be able to print the accented
  2135.  characters I have only used code page 437 on my computers.
  2136.  
  2137.  "The newer DOS versions force on you NLSFUNC, DISPLAY.SYS, CHCP
  2138.  and what not as soon as they learn that you use anything else
  2139.  than english. All these can be deleted to save memory. Also OS/2
  2140.  puts code page 850 ahead of 437 when you choose another country
  2141.  or keyboard than US/English.
  2142.  
  2143.  "One of the first things I did to the OS/2 CONFIG.SYS file was
  2144.  to change those around."
  2145.  
  2146.  ================== Table 6.0 =====================
  2147.  
  2148.    COUNTRY                  PRIMARY      SECONDARY   
  2149.                             CODE PAGE    CODE PAGE   
  2150.    Arabic-speaking          864          437
  2151.    Asia (English)           437          850         
  2152.    Australia (English)      437          850         
  2153.    Belgium                  850          437
  2154.    Bosnia                   852          850
  2155.    Brazil                   850          437
  2156.    Canada (French)          850          863
  2157.    Czech                    852          850
  2158.    Croatia                  852          850
  2159.    Denmark                  865          850
  2160.    Finland                  850          437
  2161.    France                   850          437
  2162.    Germany                  850          437
  2163.    Hebrew-speaking          862,850      437
  2164.    Hungary                  852          850         
  2165.    Iceland                  850          861         
  2166.    Italy                    850          437
  2167.    Japan                    932,437      850
  2168.    Korea                    934,437      850
  2169.    Latin America            850          437
  2170.    Netherlands              850          437
  2171.    Norway                   865          850
  2172.    Peoples Republic of      1381,437     850
  2173.      China                                           
  2174.    Poland                   852          850         
  2175.    Portugal                 850          860
  2176.    Slovak                   852          850
  2177.    Slovenia                 852          850
  2178.    Spain                    850          437
  2179.    Sweden                   865          850
  2180.    Switzerland (French)     850          437
  2181.    Switzerland (German)     850          437
  2182.    Taiwan                   938,437      850
  2183.    Turkey                   857          850         
  2184.    United Kingdom           850          437
  2185.    United States            437          850    
  2186.  ==================================================
  2187. 
  2188. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2189.  
  2190.  Tells the keyboard which international character set to use and 
  2191.  where to find the file KEYBOARD.DCP which translates keystrokes.  
  2192.  The syntax is DEVINFO=KBD,cc,DRIVE,PATH,FILENAME.  The parameter
  2193.  cc equals the character set to be used, e.g. US = United States.
  2194.  See Table 7.0 for character set codes.        
  2195.  
  2196.  =============== Table 7.0 ================
  2197.  
  2198.    LANGUAGE                   COUNTRY CODE    
  2199.    Arabic                     AR              
  2200.    Belgian                    BE              
  2201.    Canadian French            CF              
  2202.    Czech/Czech                CS243           
  2203.    Czech/Slovak               CS245           
  2204.    Danish                     DK              
  2205.    Dutch                      NL              
  2206.    Finnish                    SU              
  2207.    French                     FR              
  2208.    German                     GR              
  2209.    Hebrew                     HE              
  2210.    Hungarian                  HU              
  2211.    Icelandic                  IS              
  2212.    Italian                    IT              
  2213.    Latin American             LA              
  2214.    Norwegian                  NO              
  2215.    Polish                     PL              
  2216.    Portuguese                 PO              
  2217.    Spanish                    SP              
  2218.    Swedish                    SV              
  2219.    Swiss (French)             SF
  2220.    Swiss (German)             SG              
  2221.    Turkish                    TR              
  2222.    United Kingdom             UK              
  2223.    United States              US              
  2224.    Yugoslavian                YU              
  2225.  ==========================================
  2226. 
  2227. SET ZOCDEVICE=COM4
  2228.  
  2229.  Command used by ZOC, the excellent OS/2 communications Shareware
  2230.  program from Germany.
  2231. 
  2232. DEVICE=D:\BACKMAST\FTDVR.SYS
  2233. DEVICE=D:\BACKMAST\TC15DVR.SYS
  2234. DEVICE=D:\BACKMAST\PTDVR.SYS
  2235.  
  2236.  Drivers of Backmaster tape backup system.
  2237. 
  2238. DEVICE=C:\OS2\APPS\SYSIOS2.SYS  <<--- new with Warp
  2239.  
  2240.  This device driver is required by the System Information Tools
  2241.  provided in the "BonusPak" that comes with OS/2 Warp.  If you plan
  2242.  on using these tools, do not delete this driver.
  2243. 
  2244. SET DSPPATH=C:\MMOS2\DSP;
  2245.  
  2246.  An environment variable used by various sound devices that support
  2247.  digital signal processors (DSPs).  This is a "path" statement.  It
  2248.  tells the device where to retrieve DSP modules.  If you don't have
  2249.  a sound device which supports DSP, like M-Audio adapter or the
  2250.  Sound Blaster 16 CSP, you can REM this line.
  2251. 
  2252. SET MMBASE=C:\MMOS2;
  2253.  
  2254.  An environment variable which indicates the path to OS/2s
  2255.  multimedia programs.
  2256. 
  2257. SET NCDEBUG=4000
  2258.  
  2259.  In both Lotus 123 and Excel, users can record and play back audio
  2260.  and video annotations for specific cells.  NCDEBUG is an
  2261.  environment variable required for this to work in Lotus 123. 
  2262.  Excel does not need.  If you do not have a need for this support,
  2263.  or have Lotus 123, you may REM this line.
  2264. 
  2265. SET IBMWORKS_INI=C:\IBMWORKS    <<--- new with Warp
  2266.  
  2267.  IBM Works is an intergrated package of programs including a word
  2268.  processor, database and spreadsheet which is included with OS/2
  2269.  Warp's BonusPak.  This statement tells the system where the
  2270.  IBM Works' INI file is located.
  2271.   
  2272.  <<=TIP=>>  Many Warp users who have installed IBMWORKS from the
  2273.  BonusPak report that system performance is greatly enhanced by
  2274.  running IWDEREG.CMD program contained in the IBMWORKS folder.
  2275.  This program deregisters IBMWORKS and releases a large amount
  2276.  of RAM back to your system.  Yes, IBMWORKS will still work, but
  2277.  you may lose some functionality between applications.
  2278. 
  2279. DEVICE=C:\OS2\VDISK.SYS 512
  2280. DEVICE=C:\OS2\BOOT\VDISK.SYS 512  <<--- In Warp
  2281.  
  2282.  As in DOS, this driver installs a RAM disk.  In this example,
  2283.  the RAM disk is 512k with the sectors and directories parameters
  2284.  set at the default level (64-byte sectors and 64 directory
  2285.  entries).  With DOS, a RAM disk could significantly improve
  2286.  system performance, but because OS/2 handles your memory far
  2287.  more efficiently than DOS and has its own sophisticated caching
  2288.  routines, using a RAM disk is not recommended.  
  2289.  
  2290.  <<=CAUTION=>> Because a RAM disk takes available memory away
  2291.  from OS/2, you may negatively impact system performance on
  2292.  systems with less than 12MB of RAM.  Unless you have lots of
  2293.  RAM or have a very specific need, don't install a RAM disk.
  2294.  
  2295.  <<=NOTE=>> If you do install VDISK.SYS and you also have 
  2296.  EXTDSKDD.SYS installed, VDISK.SYS must be placed after
  2297.  EXTDSKDD.SYS in your config.sys file.  Check your on-line
  2298.  Command Reference for information on EXTDSKDD.SYS.
  2299. 
  2300. DEVICE=C:\OS2\MDOS\VNPX.SYS
  2301.  
  2302.  This device driver works _with_ your systems math coprocessor.
  2303.  If you do not have a math coprocessor, this driver will not load.
  2304.  Some have suggested that if you add it to your config.sys you
  2305.  will see an enhancement in your systems performance.  Not so. 
  2306.  There is no reason for it to be added to your config.sys
  2307.  file.  IF YOU HAVE A MATH COPROCESSOR, OS/2 WILL LOAD THIS
  2308.  DRIVER AUTOMATICALLY.  If you add it to your config.sys file,
  2309.  a second copy of the driver will be loaded.  In doing so, many
  2310.  have reported that no DOS programs would run.  DO NOT ADD THIS
  2311.  STATEMENT TO YOUR CONFIG.SYS FILE.
  2312. 
  2313. SET OCRNOTES=C:\Faxworks\Calera
  2314.   
  2315.  SET OCRNOTES supports the optical character reader software from
  2316.  Calera.  Thanks to Doug Boulter for this and other suggestions!
  2317. 
  2318. DEVICE=E:\FaxWorks\Fmd.sys
  2319.  
  2320.  Device driver support for FaxWorks for OS/2 which is part of the
  2321.  Warp 3 BonusPak.  This driver allows for the synchronous
  2322.  communications involved in transmitting a fax.
  2323.                             
  2324. -----------------------------------------------------------------
  2325. 5.  NOVELL NETWARE NETWORK SUPPORT.                                  
  2326.  
  2327.  Novell's NetWare is the most popular PC Network software around 
  2328.  today.  We use it at work and I've used our config.sys file
  2329.  entries as the basis for this section of information.   
  2330.  
  2331.  <<=NOTE=>> I'm not very knowledgeable about networks, so if
  2332.  someone would like to expand on this information and send it to
  2333.  me, I'd love to give you credit and include it here.
  2334. 
  2335. REM --- NetWare Requester statements BEGIN ---
  2336. 
  2337. DEVICE=C:\NETWARE\LSL.SYS
  2338.    
  2339.  Loads Link support Layer driver.  It is the lowest layer in
  2340.  the Novell Open Data Link Interface model and is required at
  2341.  all times for the requester to be active.
  2342. 
  2343. RUN=C:\NETWARE\DDAEMON.EXE
  2344.  
  2345.  A daemon is a background process that usually carries out 
  2346.  administrative tasks for the system without you knowing it. 
  2347.  This "daemon" is required for the requester to be active.
  2348. 
  2349. DEVICE=C:\NETWARE\TOKEN.SYS
  2350.  
  2351.  This line differs depending on the network board you have.
  2352. 
  2353. DEVICE=C:\NETWARE\ROUTE.SYS
  2354.  
  2355.  No information available.
  2356. 
  2357. DEVICE=C:\NETWARE\IPX.SYS
  2358.  
  2359.  Provides Novell IPX protocol support and is required for
  2360.  access to a NetWare server.
  2361. 
  2362. DEVICE=C:\NETWARE\SPX.SYS
  2363.  
  2364.  Provides Novell SPX protocol support.  It is my understanding
  2365.  that this command is required for some Novell printing
  2366.  utilities, but is optional in most cases.
  2367. 
  2368. RUN=C:\NETWARE\SPDAEMON.EXE
  2369.  
  2370.  Loads a daemon process that handles SPX packets.
  2371. 
  2372. REM DEVICE=C:\NETWARE\NMPIPE.SYS
  2373.  
  2374.  Loads the support for client-only Named Pipes support.
  2375. 
  2376. REM DEVICE=C:\NETWARE\NPSERVER.SYS
  2377.  
  2378.  Loads support for your workstation to function as a Named
  2379.  Pipes server.
  2380. 
  2381. REM RUN=C:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
  2382.  
  2383.  This line is required for either the client or the server
  2384.  NetBIOS support to be active and is a daemon program that is
  2385.  part of the Named Pipes support.
  2386. 
  2387. DEVICE=C:\NETWARE\NWREQ.SYS
  2388.  
  2389.  This is the CORE REQUESTER MODULE.  This line must follow any
  2390.  lines that support IPX, SPX, or Named Pipes.
  2391. 
  2392. IFS=C:\NETWARE\NWIFS.IFS
  2393.  
  2394.  This installed the networks Installable File System.  This IFS
  2395.  enables OS/2 to see the network drives just the same as local 
  2396.  drives.
  2397. 
  2398. RUN=C:\NETWARE\NWDAEMON.EXE
  2399.  
  2400.  Another daemon program, but I'm not sure for which process.
  2401. 
  2402. DEVICE=C:\NETWARE\NETBIOS.SYS
  2403.  
  2404.  Loads support for the NETBIOS protocol.
  2405. 
  2406. RUN=C:\NETWARE\NBDAEMON.EXE
  2407.  
  2408.  Loads the NETBIOS daemon process.
  2409. 
  2410. DEVICE=C:\NETWARE\VIPX.SYS
  2411.  
  2412.  Loads support for multiple virtual DOS machine support.  It is 
  2413.  required both to have multiple DOS boxes on the network and to
  2414.  run the NetWare DOS based utilities.
  2415. 
  2416. DEVICE=C:\NETWARE\VSHELL.SYS
  2417.  
  2418.  Loads the network shell.  It is automatically used for all DOS
  2419.  and WIN-OS/2 sessions that require it.
  2420. 
  2421. REM --- NetWare Requester statements END ---
  2422. -----------------------------------------------------------------
  2423. 5a.  OTHER ITEMS
  2424. 
  2425. DEVICE=C:\IBMCOM\PROTMAN.OS2 /I:C:\IBMCOM
  2426. RUN=C:\IBMCOM\PROTOCOL\NETBIND.EXE
  2427. DEVICE=C:\IBMCOM\MACS\IBMTOK.OS2
  2428.  
  2429.  These commands are added to your config.sys file when you install
  2430.  LAN Adapter and Protocol Support (LAPS).  LAPS may also add other
  2431.  commands if other protocols like NETBIOS and IEEE 802.2 are
  2432.  loaded.
  2433. 
  2434. DEVICE=C:\CMLIB\VHAPI.OS2
  2435.  
  2436.  Paul Kurr wrote the following.  "This provides for Virtual HLLAPI
  2437.  support within VDM's (not sure about VMB's).  This allows DOS
  2438.  programs that use the HLLAPI to access the HOST sessions running
  2439.  at the OS/2 level under comm mgr.  So you can actually watch your
  2440.  comm mgr sessions in one window and your DOS program in another
  2441.  while they interact."
  2442. 
  2443. DEVICE=C:\IBMLAN\NETPROG\VNETAPI.OS2
  2444.  
  2445.  Paul Kurr wrote:  "This sets up the virtual network support API
  2446.  within the VDM's (not VMB's).  This allows DOS programs running
  2447.  within a VDM to "see" that the network is loaded, and interact
  2448.  with it (get/set redirections and such).  If VDOLANAPI support
  2449.  is required in a VMB the device driver VNETAPI.SYS needs to be
  2450.  loaded within the VMB (this is found in \IBMLAN\NETPROG)."
  2451. 
  2452. RUN=C:\IBMLAN\NETPROG\VNRMINIT.EXE
  2453. SET NWDBPATH=C:\IBMLAN\NETPROG
  2454. SET DLSINI=C:\IBMLAN\NETPROG\NETGUI.INI
  2455. SET INIT_FILE_NAMES=netgui
  2456. SET INIT_FILE_RANGES=200
  2457. SET WPS_COMMUNICATION=YES
  2458. SET LOCPATH=C:\IBMLAN\XPG4\LOCALE
  2459. SET LANG=ENUS437
  2460. DEVICE=C:\IBMLAN\NETPROG\RDRHELP.200
  2461. IFS=C:\IBMLAN\NETPROG\NETWKSTA.200 /I:C:\IBMLAN /N
  2462. RUN=C:\IBMLAN\NETPROG\LSDAEMON.EXE
  2463.  
  2464.  Items with \IBMLAN provide support for LAN Server.  According to
  2465.  Paul Kurr, the SET statements are for LS 4 GUI support.
  2466. 
  2467. -----------------------------------------------------------------
  2468. END OF CONFIG.SYS FILE DESCRIPTION 
  2469. 
  2470. -----------------------------------------------------------------
  2471. 6.  OBSCURE CONFIG.SYS SETTINGS. 
  2472.  
  2473.  What follows are some very obscure config.sys settings.  They
  2474.  are here only for informational purposes.  Unless you have a
  2475.  very specific need and know what you're doing, please don't
  2476.  experiment with these.
  2477.  
  2478. SET SHELLEXCEPTIONHANDLER=OFF
  2479.                             
  2480.  The WpS has its own exception handling routines which allow it
  2481.  to recover from most errors, but when programming your own
  2482.  objects, you want to see all errors as they occur.  You can turn
  2483.  WpS "exception handling" off with this command.  Could be useful
  2484.  when debugging a Workplace Shell object.
  2485. 
  2486. SET OBJECTSNOOZETIME=45                                  
  2487.  
  2488.  Useful when programming certain types of object DLLs.  The
  2489.  default setting for the snooze time is 90 seconds.  Unless you
  2490.  are programming your own Workplace Shell objects, you should
  2491.  not change the default setting.
  2492. 
  2493. SET SHAPIEXCEPTIONHANDLER=OFF                     
  2494.  
  2495.  This command disables the WpS API exception handler, and all
  2496.  WpS exceptions are handled by OS/2.
  2497. 
  2498. SET VIDEO_APERTURE=xxx
  2499.  
  2500.  This command allows you to set the address for video memory
  2501.  refresh buffers, where xxx is a hexadecimal number.
  2502. 
  2503. SUPPRESSPOPUPS=x
  2504.  
  2505.  Use SUPRESSPOPUPS to suppress the popup box display of trap
  2506.  information messages and logs the trap information to the
  2507.  file POPUPLOG.OS2 in the root directory of the drive specified
  2508.  by "x".
  2509.   
  2510.  <<=NOTE=>> The log file name cannot be overridden.
  2511. 
  2512. REIPL=ON  <---- new with Warp.
  2513.  
  2514.  This command automatically restarts the system when a system
  2515.  trap or internal processing error occurs.  Parameter is ON or
  2516.  OFF.  Default is OFF.
  2517.   
  2518.  <<=TIP=>>  This command along with the SUPPRESSPOPUPS command
  2519.  can be very useful to those running a BBS.  If a trap or internal
  2520.  processing error occurs while your BBS is unattended, having 
  2521.  these two command in your config.sys will cause your system to
  2522.  log the error and then restart the system, so your BBS is back
  2523.  online.
  2524.   
  2525. TIMESLICE=128,256
  2526.  
  2527.  This command allows you to manually control the minimum and
  2528.  maximum amount of processor time any thread can receive at
  2529.  once.  The syntax is TIMESLICE=x,y where x is the minimum time
  2530.  slice (in milliseconds and must be at least 32) and where y is
  2531.  the maximum length (must be less than 65536).
  2532.  
  2533.  Jim Gilliland once posted: "The Timeslice parameter controls the
  2534.  minimum and maximum timeslice that OS/2 will allow an application
  2535.  to use.  If you make the timeslice longer, OS/2's dispatching
  2536.  overhead will be reduced, but the system's multitasking operation
  2537.  will be "choppier".  Increasing the length of the maximum
  2538.  timeslice (the second parameter) will allow OS/2 to gradually
  2539.  increase the length of the timeslice used by an application when
  2540.  it is not competing with any other apps for CPU time (that is,
  2541.  when it is the only app running or all others are blocked)."
  2542.  
  2543.  <<=TIP=>> OS/2 handles time slicing dynamically.  This means
  2544.  that the system is adjusting the time slice values based on
  2545.  the actual processes active on the system as the workload
  2546.  changes.  Therefore, it is best not to attempt to manually
  2547.  set TIMESLICE.  OS/2 can handle this process far better than
  2548.  most of us can.
  2549. 
  2550. TRACE=ON
  2551.  
  2552.  The system trace facility is used to record a sequence of
  2553.  system events, function calls, or data.  The record is usually
  2554.  produced for program debugging purposes.  After the trace data
  2555.  is recorded, the System Trace Formatter is used to retrieve it
  2556.  from the system trace buffer (see TRACEBUF below) and format
  2557.  the data to either your display, printer, or to a file.  Start
  2558.  tracking system problems by turning TRACE on which will
  2559.  establish a 4KB default buffer.  (You can increase this using
  2560.  the command TRACEBUF) to store tracing data.  You can also
  2561.  start TRACE from an OS/2 command prompt.
  2562.  
  2563.  <<=NOTE=>> You can turn TRACE=ON and then set TRACE=OFF for
  2564.  major or minor codes.  For example, TRACE=OFF 24,50,98. 
  2565. 
  2566. TRACEBUF=x
  2567.  
  2568.  This command sets the size of the trace buffer.  If any valid
  2569.  TRACE statement is in your config.sys, the default size of
  2570.  the trace buffer will be 4KB.  You can modify this size with
  2571.  the TRACEBUF command.  Maximum size is 63KB.  "x" is a specific
  2572.  number from 1 to 63, representing a multiple of 1024 bytes.
  2573. 
  2574. TRAPDUMP=xx,d
  2575.  
  2576.  Parameters are:  OFF,drive letter
  2577.                   ON,drive letter
  2578.                   R0,drive letter
  2579.  
  2580.  Indicates when a stand alone dump is to be taken and where the
  2581.  dump is to be placed.  The default value is OFF and the default
  2582.  drive is "A".
  2583.  
  2584.  If you are sending a memory dump to hard disk, you must first
  2585.  create a FAT partition labeled SADUMP and give it a size
  2586.  greater than the amount of physical memory in your system.
  2587.  The drive you specify in the TRAPDUMP statement must contain
  2588.  the SADUMP partition.  Any existing data in this partition
  2589.  will be overwritten.  The system will restart after the TRAPDUMP
  2590.  process has been completed.
  2591.  
  2592.  <<=NOTE=>> If REIPL=ON is specified in the config.sys file, the
  2593.  system will restart automatically and no dump will be taken when
  2594.  a system trap or internal processing error occurs.
  2595.  
  2596.  Luca Regoli, Societa' Italiana Autori Editori, provides the
  2597.  following information on this command.
  2598.  
  2599.  "This way whenever a trap occurs you don't get anything on the 
  2600.  screen.  The PC beeps and [responds] as if you had depressed
  2601.  CTRL+ALT+NUMLOCK / NUMLOCK.
  2602.  
  2603.  "Not very useful though I don't know how to get traps infor-
  2604.  mation from the dump disk (and don't want to download all 20Mb
  2605.  dump of memory any time I get a trap)."
  2606. 
  2607. DUMPPROCESS=x
  2608.  
  2609.  Activates the Dump Process.  Any application process that traps
  2610.  will cause a process dump.  The information will be written to
  2611.  a dump file named PDUMP.xxx where xxx is an index that is
  2612.  incremented each time a new process dump is created.  This dump
  2613.  file resides in the root directory of drive specified in "x".    
  2614.                                                                        
  2615. PROTECT16                                                            
  2616.    
  2617.  Haven't found out about this one yet.  Comments?
  2618. 
  2619. AUTOFAIL=YES
  2620.  
  2621.  This command does not appear in your config.sys.  If not set to
  2622.  Yes, OS/2 default is No.  In the default setting, when an error
  2623.  occurs, OS/2 will only display a window informing you of the
  2624.  problem.  If you wish to see the actual error code information,
  2625.  set AUTOFAIL to Yes. 
  2626.  
  2627.  <<=NOTE=>>  This command can't be run from an OS/2 prompt.
  2628.  
  2629.  <<=TIP=>>  Paul Kurr writes:  "I set this value to YES on my
  2630.  machine so that I'm not interrupted with those pesky drive not
  2631.  ready popups and such.  AUTOFAIL=YES takes the "first" option
  2632.  in those windows presented (usually return error code to program).
  2633.  
  2634.  "This can be seen most easily when running WIN-OS2 with a CDROM
  2635.  installed--either empty or with a music CD in the drive.  With
  2636.  AUTOFAIL=NO (default) OS/2 pop's up the window stating that my
  2637.  drive "E" is not ready.  With AUTOFAIL=YES, the first "selection"
  2638.  from that error is executed -- returning the failed drive status
  2639.  to WINOS2, which just keeps running fine."
  2640. 
  2641. VME=NO
  2642.  
  2643.  If you attempt to run WIN-OS2 and see the error message DOS 5
  2644.  Error, you may need to add this command.  Paradox V4.5 for DOS
  2645.  and Turbocadv3.2 for DOS under Warp 3 are known to need this
  2646.  command in some cases.  The code to support Virtual Mode
  2647.  Extensions on Pentium machines will occasionally causes problems
  2648.  with Warp.  This command generally solves the problem.
  2649. 
  2650. SET BEGINLIBPATH=C:\OS2
  2651. SET ENDLIBPATH=C:\OS2
  2652.  
  2653.  With Warp, IBM has introduced the ability to dynamically change
  2654.  LIBPATH using two new environment variables:  BEGINLIBPATH and
  2655.  ENDLIBPATH.  These commands are most useful in CMD or BATCH
  2656.  files, but can be used in your config.sys.  Any directories that
  2657.  appear in the BEGINLIBPATH variable are searched before
  2658.  directories in LIBPATH, and directories that appear in the
  2659.  ENDLIBPATH variable are searched after those in LIBPATH.
  2660. 
  2661. 
  2662. -----------------------------------------------------------------
  2663. 7.  SAMPLE CONFIG.SYS FILES.
  2664.  
  2665. FILE FOR CLONE WITH 8MB OF RAM AND VGA RUNNING ONLY HPFS
  2666.  
  2667.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2  (not needed in Warp)
  2668.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1  (not needed in Warp)
  2669.   IFS=C:\OS2\HPFS.IFS /CACHE:1024 /CRECL:32 /AUTOCHECK:C
  2670.   RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  2671.   PROTSHELL=C:\OS2\PMSHELL.EXE
  2672.   SET USER_INI=C:\OS2\OS2.INI
  2673.   SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  2674.   SET OS2_SHELL=C:\OS2\CMD.EXE
  2675.   SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,LAUNCHPAD
  2676.   SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  2677.   SET RESTARTOBJECTS=YES
  2678.   SET COMSPEC=C:\OS2\CMD.EXE
  2679.   LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  2680.   SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  2681.   SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  2682.   SET PROMPT=$E[1;33m[$p]$g
  2683.   SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  2684.   SET GLOSSARY=C:\OS2\HELP\GLOSS;
  2685.   SET DIRCMD=/O /P
  2686.   SET IPF_KEYS=SBCS                        (New with version 2.1)
  2687.   PRIORITY_DISK_IO=YES
  2688.   FILES=30
  2689.   DEVICE=C:\OS2\TESTCFG.SYS
  2690.   DEVICE=C:\OS2\DOS.SYS
  2691.   DEVICE=C:\OS2\PMDD.SYS
  2692.   BUFFERS=50
  2693.   IOPL=YES
  2694.   REM DISKCACHE=1024,LW,32,AC:C
  2695.   MAXWAIT=2
  2696.   MEMMAN=SWAP,PROTECT
  2697.   SWAPPATH=C:\OS2\SYSTEM 512 4096
  2698.   BREAK=OFF
  2699.   THREADS=256
  2700.   PRINTMONBUFSIZE=2048,134,134
  2701.   COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  2702.   SET KEYS=OFF
  2703.   SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;  (new with Warp)
  2704.       C:\OS2\ETC\WPDSERV.IR;SOM.IR
  2705.   SET SOMDDIR=C:\OS2\ETC\DSOM                      (new with Warp)
  2706.   REM SET DELDIR=C:\DELETE,512;
  2707.   BASEDEV=PRINT01.SYS
  2708.   BASEDEV=IBM1FLPY.ADD
  2709.   BASEDEV=IBM1S506.ADD
  2710.   BASEDEV=OS2DASD.DMD
  2711.   SET BOOKSHELF=C:\OS2\BOOK
  2712.   SET EPMPATH=C:\OS2\APPS
  2713.   REM DEVICE=C:\OS2\APPS\SASYNCDA.SYS              (not in Warp)
  2714.   PROTECTONLY=NO
  2715.   SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  2716.   FCBS=4,2
  2717.   RMSIZE=640
  2718.   DEVICE=C:\OS2\MDOS\VEMM.SYS
  2719.   DEVICE=C:\OS2\MDOS\VMOUSE.SYS
  2720.   DOS=LOW,NOUMB
  2721.   DEVICE=C:\OS2\MDOS\VDPX.SYS
  2722.   DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  2723.   DEVICE=C:\OS2\MDOS\VDPMI.SYS
  2724.   DEVICE=C:\OS2\MDOS\VWIN.SYS
  2725.   REM DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1)
  2726.   REM DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  2727.   REM DEVICE=C:\OS2\MDOS\VCDROM.SYS      <<-- Assumes no CD-ROM.
  2728.   DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  2729.   SET VIDEO_DEVICES=VIO_VGA
  2730.   SET VIO_VGA=DEVICE(BVHVGA)
  2731.   DEVICE=C:\OS2\MDOS\VVGA.SYS
  2732.   DEVICE=C:\OS2\POINTDD.SYS
  2733.   DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1
  2734.   DEVICE=C:\OS2\COM.SYS
  2735.   DEVICE=C:\OS2\MDOS\VCOM.SYS
  2736.   CODEPAGE=437,850
  2737.   DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2738. -----------------------------------------------
  2739. FOR CLONE WITH 8MB RAM AND VGA RUNNING ONLY FAT
  2740. -----------------------------------------------
  2741. Make the following two changes in the config.sys listing above.
  2742.  
  2743.  o  REM this line:  IFS=C:\OS2\HPFS.IFS /CACHE:1024 /CRECL:32 /AUTOCHECK:C
  2744.  
  2745.  o  Remove the REM from this line:  REM DISKCACHE=DISKCACHE=1024,LW,32,AC:C
  2746. --------------------------------------------------------
  2747. FOR CLONE WITH 8MB RAM AND VGA RUNNING BOTH FAT AND HPFS
  2748. --------------------------------------------------------
  2749. Make the following changes in the config.sys listing above.
  2750.  
  2751.  o  Remove the REM from this line:  REM DISKCACHE=1024,LW,32,AC:C
  2752.  
  2753.  o  Change the DISKCACHE size to 256, i.e. DISKCACHE=256,LW,32,AC:C
  2754. ----------------------------------------------------
  2755. FOR CLONE WITH 16MB OF RAM AND VGA RUNNING ONLY HPFS
  2756. ----------------------------------------------------
  2757. Make the following changes in the config.sys listing above.
  2758.  
  2759.  o  Increase the HPFS cache to 2048, (/CACHE:2048).
  2760.  
  2761.  o  Increase the HPFS CRECL command to 64, (/CRECL:64).
  2762.  
  2763.  o  Change BUFFERS=50 to BUFFERS=75.
  2764.  
  2765.  o  Change FILES=20 to FILES=30
  2766. -------------------------------------------------------------------
  2767. FOR CLONE WITH 4 OR 6MB OF RAM AND VGA RUNNING FAT (Never run HPFS)
  2768. -------------------------------------------------------------------
  2769.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2  (not needed in Warp)
  2770.   CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1  (not needed in Warp)
  2771.   REM IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:32 /AUTOCHECK:C
  2772.   PROTSHELL=C:\OS2\PMSHELL.EXE
  2773.   SET USER_INI=C:\OS2\OS2.INI
  2774.   SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  2775.   SET OS2_SHELL=C:\OS2\CMD.EXE
  2776.   SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,LAUNCHPAD
  2777.   SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  2778.   SET RESTARTOBJECTS=YES
  2779.   SET COMSPEC=C:\OS2\CMD.EXE
  2780.   LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  2781.   SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  2782.   SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  2783.   SET PROMPT=$E[1;33m[$p]$g
  2784.   SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  2785.   SET GLOSSARY=C:\OS2\HELP\GLOSS;
  2786.   SET DIRCMD=/O /P
  2787.   SET IPF_KEYS=SBCS                        (New with version 2.1)
  2788.   PRIORITY_DISK_IO=YES
  2789.   FILES=20
  2790.   DEVICE=C:\OS2\TESTCFG.SYS
  2791.   DEVICE=C:\OS2\DOS.SYS
  2792.   DEVICE=C:\OS2\PMDD.SYS
  2793.   BUFFERS=20
  2794.   IOPL=YES
  2795.   DISKCACHE=64,LW,12,AC:C <-- Note: Use 48 instead of 64 with Warp.
  2796.   MAXWAIT=3
  2797.   MEMMAN=SWAP,PROTECT
  2798.   SWAPPATH=C:\OS2\SYSTEM 512 6144
  2799.   BREAK=OFF
  2800.   THREADS=128
  2801.   PRINTMONBUFSIZE=134,134,134
  2802.   COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  2803.   SET KEYS=OFF
  2804.   SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR; (new with Warp)
  2805.       C:\OS2\ETC\WPDSERV.IR;SOM.IR
  2806.   SET SOMDDIR=C:\OS2\ETC\DSOM                     (new with Warp)
  2807.   REM SET DELDIR=C:\DELETE,512;
  2808.   BASEDEV=PRINT01.SYS
  2809.   BASEDEV=IBM1FLPY.ADD
  2810.   BASEDEV=IBM1S506.ADD
  2811.   BASEDEV=OS2DASD.DMD
  2812.   SET BOOKSHELF=C:\OS2\BOOK
  2813.   SET EPMPATH=C:\OS2\APPS
  2814.   REM DEVICE=C:\OS2\APPS\SASYNCDA.SYS    (not in Warp)
  2815.   PROTECTONLY=NO
  2816.   SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  2817.   FCBS=4,2
  2818.   RMSIZE=512  <---leave at 640 if you are using Windows.
  2819.   DEVICE=C:\OS2\MDOS\VEMM.SYS
  2820.   DEVICE=C:\OS2\MDOS\VMOUSE.SYS
  2821.   DOS=LOW,NOUMB
  2822.   DEVICE=C:\OS2\MDOS\VDPX.SYS
  2823.   DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  2824.   DEVICE=C:\OS2\MDOS\VDPMI.SYS
  2825.   DEVICE=C:\OS2\MDOS\VWIN.SYS
  2826.   REM DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1)
  2827.   REM DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  2828.   REM DEVICE=C:\OS2\MDOS\VCDROM.SYS      <-- Assumes no CD-ROM.
  2829.   DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  2830.   SET VIDEO_DEVICES=VIO_VGA
  2831.   SET VIO_VGA=DEVICE(BVHVGA)
  2832.   DEVICE=C:\OS2\MDOS\VVGA.SYS
  2833.   DEVICE=C:\OS2\POINTDD.SYS
  2834.   DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1                                      
  2835.   DEVICE=C:\OS2\COM.SYS                                                    
  2836.   DEVICE=C:\OS2\MDOS\VCOM.SYS                                              
  2837.   CODEPAGE=437,850
  2838.   DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2839. 
  2840. -----------------------------------------------------------------
  2841. 8.  HOW TO RESTORE A DAMAGED CONFIG.SYS FILE FROM A BACKUP COPY.
  2842.  
  2843.  A.  Boot OS/2 from the OS/2 Installation Disk.
  2844.  
  2845.  B.  Insert OS/2 Disk #1 when asked.
  2846.  
  2847.  C.  Press the ESC key when you get the first text screen.  By
  2848.      doing this you will be put into OS/2s command line mode.
  2849.  
  2850.  D.  Assuming that your backup copy of config.sys is in the root
  2851.      directory of "C" drive and is named CONFIG.SAV, enter the 
  2852.      following command:
  2853.  
  2854.      COPY C:\CONFIG.SAV C:\CONFIG.SYS
  2855.  
  2856.      Press the ENTER key.
  2857.  
  2858.  E.  Remove OS/2 Disk #1 and reboot the system.
  2859.  
  2860.  What if you didn't make a backup copy?  IBM thought about you. 
  2861.  When OS/2 was first installed on your system, the installation
  2862.  program made a backup copy of your original config.sys file. 
  2863.  It stored this file in C:\OS2\INSTALL.  To restore from this
  2864.  file follow the same steps above, EXCEPT, in step "D" enter the
  2865.  following command instead of the one shown:
  2866.  
  2867.    COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  2868.    
  2869.  <<=TIP=>> Replace the config.sys file saved by the OS/2
  2870.  installation program in the INSTALL directory with your most
  2871.  current version, thus allowing you to restore from it.  If you
  2872.  are viewing this information using CNFGINFO.EXE, the Backup
  2873.  option is set to do this for you.
  2874.  
  2875.  <<=WARP NOTE=>> In OS/2 Warp, IBM provides an archive feature which
  2876.  can be activated by opening your Desktop settings, click on the
  2877.  Archive Tab, and then click on "Create archive at every system
  2878.  restart".  With this feature activated, you can simply press
  2879.  Alt+F1 at boot and be presented with a menu which will allow you
  2880.  to boot with an alternate (backup) config.sys file.  See your
  2881.  user documentation for details. 
  2882.  
  2883. -----------------------------------------------------------------
  2884. HOW TO MAKE A BACKUP COPY OF YOUR INI FILES.
  2885. -----------------------------------------------------------------
  2886.  
  2887.  CALL=C:\OS2\XCOPY.EXE C:\OS2\INSTALL\*.BK1 C:\OS2\INSTALL\*.INI /T /R /O
  2888.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\INSTALL\*.BK1 /T /R /O
  2889.   
  2890.  Two files are essential to the operation of OS/2:  OS2.INI and 
  2891.  OS2SYS.INI.  If these files should get trashed, OS/2 isn't going
  2892.  to function.  Backing them up is very important.  In OS/2 
  2893.  version 2.0, once booted, OS/2 will not let you access or copy
  2894.  these critical files.  One way to circumvent this is to create
  2895.  your backups BEFORE OS/2 is booted.  This CALL will do the trick.
  2896.  It creates first a backup of your backup and then creates a
  2897.  backup of the original files.  This gives you a two generation
  2898.  backup.  This process will add time to your system boot.
  2899.   
  2900.  Generally OS/2 does not care where you place something in the 
  2901.  config.sys file.  This CALL is an exception in version 2.0.  It 
  2902.  must appear before any other line because you need to complete 
  2903.  this backup process before OS2.INI AND OS2SYS.INI load.  
  2904.   
  2905.  <<=NOTE=>>  In version 2.1, the INI files can be copied after
  2906.  the system is booted by using OS/2s COPY command, but you may
  2907.  wish to consider adding this CALL to your config.sys file to
  2908.  automate the process.
  2909.    
  2910.  <<=NOTE=>>  In OS/2 Warp, IBM provides a archive feature
  2911.  which can be activated by opening your Desktop settings, click
  2912.  on the Archive Tab, and then click on "Create archive at every
  2913.  system restart".  You do not need this CALL if you use this
  2914.  archive feature.
  2915.  
  2916.  <<=TIP=>>  OS2.INI and OS2SYS.INI can also be reconstructed at
  2917.  boot by holding down Alt-F1 during boot BEFORE the OS/2 logo
  2918.  appears.  You may need to hold the keys down for at least 20
  2919.  seconds.  During your initial installation of OS/2, the 
  2920.  installation process stored a copy of its original INI files
  2921.  in the folder called INSTALL.  When you press Alt-F1 at boot,
  2922.  OS/2 moves these "backup" files into the OS/2 folder to
  2923.  replace the current versions.  The "CALL" shown above keeps
  2924.  the INI files in your INSTALL folder current.
  2925.   
  2926.  <<=WARNING=>>  If you are using a version of OS/2 before Warp,
  2927.  use the Alt-F1 key combination as a last resort because you may
  2928.  lose all customizing and changes you have made to the WpS.
  2929.   
  2930.  <<=NOTE=>>  The switches used mean the following:
  2931.  
  2932.       /T  -- allows xcopying of files with System attribute
  2933.       /R  -- allows xcopying of files with Read-only attribute
  2934.       /O  -- allows xcopying *onto* a file which has System,
  2935.              Read-only, or Hidden attribute.
  2936.  
  2937.  Thanks to Melissa Woo for pointing out the need for these
  2938.  switches.
  2939. 
  2940. -----------------------------------------------------------------
  2941. 9.  REXX SUPPORT FROM WITHIN THE CONFIG.SYS FILE.
  2942.  
  2943.  The question of whether REXX programs can be called from within
  2944.  the config.sys file has been asked by a number of people.  Keith
  2945.  Medcalf's response to the question is one of the best I've seen.  
  2946.  Thanks Keith!
  2947.  
  2948.  ----------------------------------------------------------------
  2949.    Date: 07-30-93, 08:06                  Number: 483                         
  2950.    From: Keith Medcalf                     Refer: 477                         
  2951.      To: Russ Williams                     Recvd: No                          
  2952.    Subj: REXX from config.sys               Conf: Ibm.Os2se                   
  2953.  ----------------------------------------------------------------
  2954.  Wednesday July 28 1993 16:34, Russ Williams wrote to All:
  2955.  
  2956.   RW> Can anyone tell me what restrictions there are on running
  2957.   RW> REXX programs from config.sys (via "CALL=")?  It doesn't
  2958.   RW> work for me, and the on-line help is no help.
  2959.  
  2960.  You cannot.  The DLLs required to support Rexx are not loaded
  2961.  until Presentation Manager is loaded.  If you require Rexx
  2962.  support earlier, look for a program call SRVREXX at a fine BBS
  2963.  near you.
  2964.  
  2965.  Adding the line RUN=SRVREXX.EXE to the config.sys will
  2966.  immediately initialize Rexx.  You will then be able to access
  2967.  Rexx with or without PM being loaded.
  2968.  
  2969. -----------------------------------------------------------------
  2970. 
  2971. //END//
  2972.