home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: OtherApp / OtherApp.zip / cfgbeta2.zip / OS2CFG9.DAT < prev    next >
Text File  |  1995-01-10  |  114KB  |  2,631 lines

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