home *** CD-ROM | disk | FTP | other *** search
/ DP Tool Club 12 / CD_ASCQ_12_0294.iso / vrac / os2cfg8.zip / OS2CFG8.DAT < prev   
Text File  |  1994-02-12  |  99KB  |  2,142 lines

  1. ----------------------------------------------------------------------
  2. OS/2 2.x CONFIG.SYS FILE DESCRIPTION  -  Version 8 - February 12, 1994
  3. Compiled By Rick Meigs, 7032 SW 26th Street, Portland, OR, 97219     
  4. ----------------------------------------------------------------------
  5.  Copyright (c) 1992-94 by Rick Meigs.  If you find errors or have some 
  6.  helpful information, please do contact me at the address above.  I 
  7.  also hang around the FidoNet OS/2 conference, so you can drop me a 
  8.  note there also, or at my InterNet address:  Rick.Meigs@nwcs.org.
  9.  
  10.  ENCOURAGEMENT:  This ASCII file may be freely distributed (and you're
  11.  encouraged to do so) on a not-for-profit basis, but the copyright
  12.  notice may not be removed nor may the file be modified.  This file is
  13.  Freeware (that means you can use it at no cost and pass it on to your
  14.  friends), but its not in the public domain (that simply means its a
  15.  copyrighted file).
  16.   
  17.  VIEWING FILE:  Using OS/2s Enhanced Editor will allow you to see line
  18.  numbers which can help your locate specific items in this file.  See
  19.  CONTENTS.  Regardless of what editor you use, do so with word wrap OFF
  20.  and use a monospaced (like System Monospaced) font.
  21.   
  22.  PRINTING FILE:  Now in enhanced JB format (75 column) for easy printing.
  23.   
  24.  INF FORMAT:  Don Parr of Riverside, CA., another OS/2 zealot, has
  25.  taken it upon himself to convert this file to the INF format.  Version
  26.  7 is out and circulating.  Version 8 will be along after I release
  27.  this into the system.  Watch for it on FERNWOOD, OS/2 SHAREWARE and
  28.  OS/2 CONNECTION.  Thanks Don for this great effort!
  29.  
  30. --CONTENTS-----------------------------------------------Line #----------
  31.  
  32.   1.  Caution, warning and disclaimer.                      127
  33.   2.  Initial Comments.                                     155
  34.   3.  The program CNFGINFO.EXE                              196
  35.   4.  CONFIG.SYS main file description.                     210
  36.         CALL=C:\OS2\XCOPY.EXE                               216
  37.         IFS: HPFS.IFS                                       256
  38.         PAUSEONERROR                                        363
  39.         PROTSHELL                                           372
  40.         SET Command                                         392
  41.         SET USER_INI                                        428
  42.         SET SYSTEM_INI                                      448
  43.         SET OS2_SHELL                                       464
  44.         SET AUTOSTART                                       487
  45.         SET RUNWORKPLACE                                    501
  46.         SET RESTARTOBJECTS                                  526
  47.         SET COMSPEC                                         557
  48.         LIBPATH                                             566
  49.         SET PATH                                            586
  50.         SET DPATH                                           594
  51.         SET PROMPT                                          601
  52.         SET HELP                                            642
  53.         SET GLOSSARY                                        647
  54.         SET DIRCMD                                          651
  55.         SET IPF_KEYS                                        695
  56.         PRIORITY_DISK_IO                                    709
  57.         PRIORITY                                            716
  58.         FILES                                               730
  59.         DEVICE: TESTCFG.SYS                                 739
  60.         DEVICE: PMDD.SYS                                    748
  61.         BUFFERS                                             756
  62.         IOPL                                                789
  63.         RUN: CACHE.EXE                                      806
  64.         DISKCACHE                                           897
  65.         MAXWAIT                                             947
  66.         MEMMAN                                              963
  67.         SWAPPATH                                           1016
  68.         BREAK                                              1080
  69.         THREADS                                            1091
  70.         PRINTMONBUFSIZE                                    1109
  71.         COUNTRY                                            1125
  72.         SET KEYS                                           1170
  73.         SET DELDIR                                         1182
  74.         BASEDEV                                            1196
  75.         SET BOOKSHELF                                      1229
  76.         SET EPMPATH                                        1241
  77.         SET EPATH                                          1241
  78.         DEVICE: SASYNCDA.SYS                               1246
  79.         DEVICE: SASYNCDB.SYS                               1246
  80.         PROTECTONLY                                        1256
  81.         SHELL                                              1264
  82.         FCBS                                               1279
  83.         RMSIZE                                             1298
  84.         DEVICE: VEMM.SYS                                   1313
  85.         DEVICE: VMOUSE.SYS                                 1335
  86.         DOS=                                               1343
  87.         DEVICE: APM.SYS                                    1386
  88.         DEVICE: VXMS.SYS                                   1394
  89.         DEVICE: VDPX.SYS                                   1404
  90.         DEVICE: VDPMI.SYS                                  1410
  91.         DEVICE: VWIN.SYS                                   1416
  92.         DEVICE: EXTDSKDD.SYS                               1420
  93.         DEVICE: PCMCIA.SYS                                 1424
  94.         DEVICE: VPCMCIA.SYS                                1424
  95.         DEVICE: VCDROM.SYS                                 1434
  96.         IFS: CDFS.IFS                                      1443
  97.         DEVICE: OS2CDROM.DMD                               1454
  98.         DEVINFO=SCR                                        1458
  99.         DEVICE: VVGA.SYS                                   1465
  100.         SET VIDEO_DEVICES                                  1471
  101.         SET VIO_VGA                                        1471
  102.         DEVICE: VSVGA.SYS                                  1471
  103.         DEVICE: POINTDD.SYS                                1479
  104.         DEVICE: MOUSE.SYS                                  1488
  105.         DEVICE: COM.SYS                                    1501
  106.         DEVICE: VCOM.SYS                                   1522
  107.         DEVICE: SIO.SYS                                    1534
  108.         DEVICE: VSIO.SYS                                   1534
  109.         DEVICE: MVPRODD.SYS                                1544
  110.         DEVICE: AUDIOVDD.SYS                               1544
  111.         DEVICE: ANSI.SYS                                   1550
  112.         DEVICE: LOG.SYS                                    1562
  113.         RUN: LOGDAEM.EXE                                   1586
  114.         CODEPAGE                                           1609
  115.         DEVINFO=KBD                                        1666
  116.         SET ZOCDEVICE                                      1705
  117.         DEVICE: VDISK.SYS                                  1710
  118.         DEVICE: VNPX.SYS                                   1734
  119.   5.  Novell NetWare Network Support                       1746
  120.   6.  Obscure CONFIG.SYS settings.                         1847
  121.   7.  Sample CONFIG.SYS files.                             1999
  122.   8.  How to restore a damaged CONFIG.SYS file from        2079
  123.       a backup copy.                                  
  124.   9.  REXX Support from within the CONFIG.SYS file.        2113
  125. 
  126. ---------------------------------------------------------------------
  127. 1.  CAUTION, WARNING AND DISCLAIMER.                                 
  128. ---------------------------------------------------------------------
  129.  
  130.  <<=CAUTION=>>  Because of the way in which OS/2s Enhance PM Editor
  131.  (EPM.EXE) handles word wrapping, using it to edit your CONFIG.SYS file 
  132.  is unwise.  For best results, use the OS/2 System Editor (E.EXE).
  133.   
  134.  <<=WARNING=>> If you plan on changing any line in your current
  135.  CONFIG.SYS file, please be sure to create a backup --BEFORE-- you 
  136.  start experimenting!  This has saved me more than once.  Remember, 
  137.  make the backup --BEFORE-- you change your CONFIG.SYS file.  If you 
  138.  backup the file after you make changes, then if something is wrong, 
  139.  your backup is also incorrect and it will do you no good.  If you
  140.  are viewing this information using CNFGINFO.EXE, use its Backup 
  141.  option before you proceed any further.
  142.   
  143.  Making a backup copy will do you know good if you don't know how to 
  144.  restore a damaged CONFIG.SYS file with the backup.  Therefore I have
  145.  included the procedure at the end of this file.
  146.    
  147.  <<=DISCLAIMER=>>  I CAN'T BE RESPONSIBLE FOR WHAT YOU DO WITH
  148.  YOUR SYSTEM OR YOUR CONFIG.SYS FILE BASED UPON WHAT YOU MAY LEARN 
  149.  FROM THE INFORMATION PROVIDED IN THIS FILE.  EVERY EFFORT HAS BEEN 
  150.  MADE TO MAKE THIS FILE AS ACCURATE AS POSSIBLE, BUT NO WARRANTY OR
  151.  FITNESS IS IMPLIED.  THE INFORMATION IS PROVIDED ON AN "AS IS" 
  152.  BASIS.  USE IT AT YOUR OWN RISK.
  153.   
  154. ---------------------------------------------------------------------
  155. 2.  COMMENTS.                                                        
  156. ---------------------------------------------------------------------
  157.  
  158.  This whole process started in 1992 when I began researching what many 
  159.  of the CONFIG.SYS file commands were for.  This ever growing file is 
  160.  the result of that ongoing research.  It briefly describes most of the 
  161.  common and some of the more obscure commands.  Naturally, not all 
  162.  possible commands are listed (especially the many hardware device 
  163.  drivers), but there is a lot here for you to work with.  Version 6 was 
  164.  the first version updated for OS/2 2.1.
  165.  
  166.  This file has become something more than I had anticipated when I 
  167.  first released version one.  Even after two years I'm still finding
  168.  out new things about OS/2s  CONFIG.SYS file.  Actually, this 
  169.  CONFIG.SYS file description has become as much an optimization 
  170.  "handbook" as it is a description.  I assume someday all that can be
  171.  said about the CONFIG.SYS file  will have been said.  At that point
  172.  I'll be able to sit back and just let the last update circulate :^).
  173.   
  174.  Even with all the hours I've put into this description, I still find 
  175.  the CONFIG.SYS file to be somewhat of a mystery.  Still, mystery or 
  176.  not, to get the most out of OS/2 and your system, you just may need 
  177.  to spend a little time editing your CONFIG.SYS.  So don't hold back!
  178.  
  179.  
  180.  ------------------ IMPORTANT NOTE AND WARNING ----------------------
  181.  
  182.  Unlike the DOS CONFIG.SYS file which is read sequentially, OS/2 
  183.  reads the entire file before it invokes the commands listed.  
  184.  Therefore, except for several exceptions which have been noted, it 
  185.  really doesn't matter where a command is placed.  That beings said,
  186.  on several of the "nets" and in a file called CNFGSORT.ZIP it has 
  187.  been suggested that if you organize your CONFIG.SYS file in a certain 
  188.  way, you can significantly shorten the boot time of OS/2.  I find
  189.  this sorting to be of little or no help for the vast majority of
  190.  OS/2 users.  Further, you can cause yourself a lot of problems if you
  191.  do it incorrectly--including not being able to boot your system!  So 
  192.  be very careful (and have a backup CONFIG.SYS file) if you attempt
  193.  this sorting "tip". 
  194.  
  195. ---------------------------------------------------------------------
  196. 3.  THE PROGRAM CNFGINFO.EXE.                                        
  197. ---------------------------------------------------------------------
  198.   
  199.  I'm really not much of a programer, but I have written a REXX program 
  200.  called CNFGINFO.EXE which uses this file to allow you to analysis your
  201.  own CONFIG.SYS file.  After it reads in your CONFIG.SYS file, you just
  202.  point and click on any line and information from this file is dis-
  203.  played.  It also will backup, edit and print your CONFIG.SYS file.  You
  204.  can also print this file.  Its Freeware (that means you can use it at
  205.  no cost and pass it on to your friends), but its not in the public 
  206.  domain (that simply means its a copyrighted program).  The "" symbols
  207.  are used by CNFGINFO, so please do not remove them.
  208. 
  209. ---------------------------------------------------------------------
  210. 4.  BEGINNING OF CONFIG.SYS FILE DESCRIPTION.                        
  211. ---------------------------------------------------------------------
  212.  
  213.  The order of this description area generally followes that of the
  214.  "standard" CONFIG.SYS file.
  215.  
  216. CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  217. CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  218.   
  219.   Two files are essential to the operation of OS/2:  OS2.INI and 
  220.   OS2SYS.INI.  If these files should get trashed, OS/2 isn't going to 
  221.   function.  Backing them up is very important.  In OS/2 version 2.0, 
  222.   once booted, OS/2 will not let you access or copy these critical 
  223.   files.  One way to circumvent this is to create your backups BEFORE 
  224.   OS/2 is booted.  This CALL will do the trick.  It creates first a 
  225.   backup of your backup and then creates a backup of the original 
  226.   files.  This gives you a two generation backup.  This process will 
  227.   add time to your system boot.
  228.   
  229.   Generally OS/2 does not care where you place something in the 
  230.   CONFIG.SYS file.  This CALL is an exception in version 2.0.  It 
  231.   must appear before any other line because you need to complete 
  232.   this backup process before OS2.INI AND OS2SYS.INI load.  
  233.   
  234.   <<=NOTE=>>  In version 2.1, the INI files can be copied using the 
  235.   normal OS/2 COPY command, but you may wish to consider adding this 
  236.   CALL to your CONFIG.SYS file to automate the process.
  237.    
  238.   <<=TIP=>>  OS2.INI and OS2SYS.INI can also be reconstructed at boot 
  239.   by holding down Alt-F1 during boot BEFORE the OS/2 logo appears.  
  240.   You may need to hold the keys down for at least 20 seconds.  During 
  241.   your initial installation of OS/2, the installation process stored a 
  242.   copy of its original INI files in the folder called INSTALL.  When 
  243.   you press Alt-F1 at boot, OS/2 moves these "backup" files into the 
  244.   OS/2 folder to replace the current versions.
  245.   
  246.   <<=WARNING=>>  Use the Alt-F1 key combination as a last resort 
  247.   because you will lose all customization and changes you have made to 
  248.   the WpS.
  249.   
  250.   <<=TIP=>>  Add the following additional line, CALL=C:\OS2\XCOPY.EXE 
  251.   C:\OS2\*.BK1 C:\OS2\INSTALL\*.INI, before the first CALL above.  
  252.   This will replace the INI files in the INSTALL folder with a more 
  253.   recent version.  So when you have to use Alt-F1, you'll reboot 
  254.   with little or no lose of your WpS customization.
  255. 
  256. IFS=C:\OS2\HPFS.IFS /CACHE:512 /CRECL:4 /AUTOCHECK:CD
  257.    
  258.   IFS stands for "Installable File System".  This OS/2 command 
  259.   installs the High Performance File System (HPFS), if you want to use 
  260.   it instead of FAT.  The syntax is IFS=DRIVE:PATH\FILENAME,SWITCHES.  
  261.   There are three switches:  
  262.   
  263.   /CACHE:nnn sets up a disk cache and its size.  The default on most 
  264.   systems (shown in Table 1.0 below) is to low in my opinion.  
  265.   
  266.   <<=TIP=>>  Change the size of your disk cache based upon the 
  267.   information provided in Table 1.1 below.  This great stuff was 
  268.   "provided by Proportional Software based upon a great deal of OS/2 
  269.   system tweaking done by the DCF/2 development team."  
  270.   
  271.   <<=Warning=>>  Keep this one truth in mind about cache size:  an 
  272.   excessive cache takes memory directly out of RAM available for 
  273.   programs and therefore could have a negative impact on overall 
  274.   system performance.  E.g. if you set a 2MB cache on a 6MB system, 
  275.   you will notice a substantial negative performance hit.  
  276.   
  277.   OS/2s Command Reference and other IBM sources indicate that the 
  278.   maximum cache size for HPFS is currently 2MB (2048), but IBM does 
  279.   not recommend using a cache larger than 1.5MB (1536).  Personally,
  280.   I have 16MB of RAM and have my HPFS cache set to the max:  2048.
  281.   
  282.   If this switch is omitted, the default is 10% of the available RAM.
  283.   
  284.   ========================== Table 1.0 ==============================
  285.   
  286.   If you have formatted your system with only HPFS partitions, the 
  287.   cache size in this statement, as set by OS/2 during installation, is 
  288.   that noted under ONE FILE SYSTEM in the table below.  If you have 
  289.   both FAT and HPFS partitions, then OS/2 2.x set the cache sizes to 
  290.   those noted under TWO FILE SYSTEM.  The file system which uses the 
  291.   greatest amount of your disk space gets the larger default value.
  292.   
  293.     MEMORY SIZE IN MB       TWO FILE SYSTEM         ONE FILE SYSTEM    
  294.             4                    128/64                   128          
  295.             5                    128/64                   128          
  296.             6                    256/64                   256          
  297.             7                   256/128                   256          
  298.             8                   256/256                   384          
  299.             9                   256/256                   384          
  300.          10 - 16                512/512                  1024          
  301.          17 - 32               1024/1024                 2048          
  302.   ===================================================================
  303.   
  304.   ========================== Table 1.1 ==============================
  305.   
  306.   You can get better performance from your system by using your 
  307.   available RAM in the most efficient and effective way.  Select the 
  308.   case that best describes the file system or amount of RAM you use. 
  309.   
  310.   CASE 1:  You use only HPFS or only FAT, but not both.           
  311.   
  312.                                 HPFS only.         FAT only.
  313.   System memory of at least:    Set CACHE to:      Set DISKCACHE to:
  314.   
  315.                      16 MB             2048                   2048
  316.                      12 MB             1536                   1536
  317.                       8 MB             1024                   1024
  318.   
  319.   CASE 2:  You use both HPFS and FAT with HPFS active and FAT passive.
  320.   
  321.   System memory of at least:    Set CACHE to:      Set DISKCACHE to:
  322.   
  323.                      16 MB             2048              512 -1024
  324.                      12 MB             1536              256 - 512
  325.                       8 MB             1024              128 - 256
  326.   
  327.   CASE 3:  You use both HPFS and FAT with HPFS passive and FAT active.
  328.   
  329.   System memory of at least:    Set CACHE to:      Set DISKCACHE to:
  330.                      
  331.                      16 MB             1024                   2048
  332.                      12 MB              768                   1536
  333.                       8 MB              512                   1024
  334.  
  335.   <<=NOTE=>>  For purposes of the table above, "active" and "passive" 
  336.   are descriptors for the way a partition is used.  If it is seldom 
  337.   used, it is "passive."  If a lot of disk intensive I/O occurs on the 
  338.   partition, it is "active."
  339.   ===================================================================
  340.  
  341.   /CRECL sets the maximum record size for caching, from 2k to 64k in 
  342.   multiples of 2k with a default of 4k; and,
  343.  
  344.   /AUTOCHECK:nn tells the system to run CHKDSK and sets the drives to 
  345.   be checked at startup.
  346.  
  347.   <<=TIP=>>  If you are using only FAT partitions, then you should REM 
  348.   this IFS statement and save yourself about 130k of RAM.
  349.  
  350.   <<=TIP=>>  If you have drive partitions larger than 80 or so 
  351.   megabytes, then HPFS will give you better performance than FAT.  On 
  352.   partitions of less than 80MB, most authorities indicate that there 
  353.   is only a small performance difference between HPFS and FAT.  
  354.   consider the following when comparing the relative merits of the 
  355.   HPFS versus FAT:  On large partitions of identical size, the HPFS  
  356.   will generally give you about 15% more space and improve performance
  357.   by about 28% (Information provided by Proportional Software).
  358.  
  359.   <<=NOTE=>>  Lazy write is on by default.  If you want Lazy write 
  360.   off, see the RUN=C:\OS2\CACHE.EXE command and note the discussion
  361.   of the version 2.1 bug.
  362. 
  363. PAUSEONERROR=YES
  364.    
  365.   This OS/2 only command tells OS/2 to stop for a moment if it cannot 
  366.   process a line in the CONFIG.SYS file correctly.  If you don't 
  367.   include this statement in your CONFIG.SYS file, the default will be 
  368.   YES.  It is generally the best choice since an error message will 
  369.   appear and scroll off the screen so quickly with a NO setting that 
  370.   you may not notice it or be able to read it.
  371. 
  372. PROTSHELL=C:\OS2\PMSHELL.EXE
  373.    
  374.   This OS/2 command loads OS/2s user interface program (PMSHELL.EXE) 
  375.   which allows you to make full-screen and window sessions work.  The 
  376.   current interface program is the Workplace Shell (WpS), but in 
  377.   theory you could purchase or develop your own user interface and use 
  378.   it instead of the WpS, much like Norton's Desktop is available for 
  379.   the Windows environment.  If you delete this line from your 
  380.   CONFIG.SYS file, OS/2 will load CMD.EXE by default.
  381.  
  382.   <<=NOTE=>>  There is a beta version of a new interface from IBM
  383.   called TSHELL.EXE.  TShell is a character-based, protected-mode shell
  384.   for OS/2 2.x.  With TShell you can start and switch switch between
  385.   OS/2 and DOS sessions, including WIN-OS2. Every TShell session will be
  386.   full-screen only.  As always, you still use alt-esc to switch around
  387.   sessions and control-esc to show a list of sessions.  You can download
  388.   this program as TSHELL.ZIP from most OS/2 BBSs.  There are several
  389.   other alternatives also including MSHELL.ZIP AND PMP203.ZIP (I like
  390.   this one).  Check out your OS/2 BBS for these files.
  391. 
  392. SET COMMAND:  The SET command in the CONFIG.SYS file sets up 
  393.   environment variables for the entire system.  These environmental 
  394.   variables are stored by OS/2 in memory and are shared by any 
  395.   applications which calls on them.  There are a number of these
  396.   "environment variables" covered below.  
  397.  
  398.   <<=NOTE=>>  These variables can also generally be changed at an OS/2 
  399.   command prompt.
  400.  
  401.   <<=TIP=>>  If you want to see what variables are set in your system, 
  402.   at an OS/2 command prompt type the word SET and press return.  You'll
  403.   get a list like the following:
  404.  
  405.      WP_OBJHANDLE=87103
  406.      USER_INI=C:\OS2\OS2.INI
  407.      SYSTEM_INI=C:\OS2\OS2SYS.INI
  408.      OS2_SHELL=C:\OS2\CMD.EXE
  409.      AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  410.      RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  411.      COMSPEC=C:\OS2\CMD.EXE
  412.      PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  413.         C:\;C:\OS2\MDOS;
  414.      DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  415.         C:\;C:\OS2\BITMAP;
  416.      PROMPT=$E[1;33m[$P]$G
  417.      HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  418.      GLOSSARY=C:\OS2\HELP\GLOSS;
  419.      DIRCMD=/ON /P
  420.      IPF_KEYS=SBCS
  421.      KEYS=OFF
  422.      BOOKSHELF=C:\OS2\BOOK
  423.      EPMPATH=C:\OS2\APPS;
  424.      VIDEO_DEVICES=VIO_SVGA
  425.      VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  426.      WORKPLACE__PROCESS=NO
  427. 
  428. SET USER_INI=C:\OS2\OS2.INI
  429.  
  430.   Tells OS/2 the name and locations of the file that contains your 
  431.   desktop setup information and the options saved from various OS/2 
  432.   applications.  OS2.INI is the default file name.  
  433.  
  434.   This file remains open the entire time OS/2 is booted and operating.  
  435.   It only closes upon Shutdown.  If it should become "trashed", 
  436.   MAKEINI.EXE, which ships with OS/2 and is in the OS2 directory, can 
  437.   be used to build a new set of INI files.  You will have to boot from 
  438.   an OS/2 floppy to do so.
  439.  
  440.   <<=NOTE=>>  OS2.INI is a critical file for the proper operation of 
  441.   OS/2 and should not be deleted or modified.  It is not an ASCII file 
  442.   and, if it should become damaged, cannot be modified with an ASCII 
  443.   editor.  You should consider backing up this file by using the CALL 
  444.   lines shown above or with a program such as WPSBKUP.  It is one of 
  445.   several shareware programs design for this purpose.  Check your 
  446.   favorite OS/2 BBS.
  447. 
  448. SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  449.  
  450.   Tells OS/2 the name and location of its INI file (OS2SYS.INI).  
  451.   OS2SYS.INI tells OS/2 what kind of equipment your system uses.  
  452.   NOTE:  OS2SYS.INI is a critical files and should not be deleted or 
  453.   modified.  It is not an ASCII file and can't be edited.  You should 
  454.   consider backing up this file by using the CALL line shown as the 
  455.   first line above or with a program such as WPSBKUP, a shareware 
  456.   program you can obtain on many OS/2 BBSs.
  457.  
  458.   This file remains open the entire time OS/2 is booted and operating.  
  459.   It only closes upon Shutdown.  If it should become "trashed", 
  460.   MAKEINI.EXE, which ships with OS/2 and is in the OS2 directory, can 
  461.   be used to build a new set of INI files.  You will have to boot from 
  462.   an OS/2 floppy to do so.
  463. 
  464. SET OS2_SHELL=C:\OS2\CMD.EXE
  465.   
  466.   OS2_SHELL directs OS/2 to load the command line shell (CMD.EXE) when 
  467.   you ask for an OS/2 command line from the WpS.  
  468.   
  469.   <<=WARNING=>>  Be careful with this line, OS/2 will not start 
  470.   without it.
  471.   
  472.   <<=TIP=>>  If you wish to run some other command line shell, such as 
  473.   4OS2, change this line and the SET COMSPEC=C:\OS2\CMD.EXE line, 
  474.   substituting the appropriate EXE file for CMD.EXE.
  475.  
  476.   <<=TIP=>>  If you have a need to have a .CMD file invoked when you 
  477.   launch any OS/2 full screen or windowed session, just as AUTOEXEC.BAT 
  478.   is invoked for DOS sessions, modify this command line as shown below 
  479.   and it will cause AUTOEXEC.CMD to be invoked each time you start an 
  480.   OS/2 session.
  481.  
  482.     SET OS2_SHELL=C:\OS2\CMD.EXE /k C:\AUTOEXEC.CMD
  483.  
  484.   Of course you can choose any file name you wish for the CMD file. 
  485.   AUTOEXEC.CMD is used just as an example.
  486. 
  487. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  488.   
  489.   This command is used to start parts of the OS/2 WpS.  There is one 
  490.   other parameter:  CONNECTIONS.  This starts any network connection 
  491.   in use when the system was last shutdown.
  492.   
  493.   <<=WARNING=>>  If you remove any of these statements, then you may 
  494.   not get OS/2 to respond or you will be restricted from accessing 
  495.   portions of the shell.  For example, if you leave out FOLDERS, 
  496.   Folders, including the Desktop which is also a folder, can not be 
  497.   opened.  If you delete TASKLIST, then you will not obtain the OS/2 
  498.   TASKLIST when you press Ctrl-Esc and if PROGRAMS is not included, 
  499.   only programs in your startup folder will be available.
  500. 
  501. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  502.   
  503.   This line tells the system what interface program is to be used.  In 
  504.   this case it is the Workplace Shell.  
  505.   
  506.   <<=TIP=>>  If you want to run OS/2 with only a command line 
  507.   interface, you can do so by changing this line to read SET 
  508.   RUNWORKPLACE= C:\OS2\CMD.EXE.  This brings OS/2 up without the WpS 
  509.   and gives you one screen session.  Without the WpS, you lose much of 
  510.   OS/2s functionality, but you can start other sessions using the 
  511.   START or DETACH command. Otherwise, operated just like you were in 
  512.   DOS.  If you have started more than one session, switch between them 
  513.   using Alt+Esc.  For those who want the power of OS/2 and like to 
  514.   work only from a command line, give this a try.  I'm running in this 
  515.   mode right now just as a test and it appears to work fine.
  516.   
  517.   This is also a way to improve performance on 4MB RAM systems, since 
  518.   the WpS take up LOTS of ram.
  519.   
  520.   <<=WARNING=>>  If you run without the WpS as noted in the <<=TIP=>> 
  521.   above, you can not perform a "shut down" from a command line.  To do 
  522.   a shut down, at a command line, type PMSHELL and press enter.  This 
  523.   starts the WpS.  Once the WpS is open, you should be able to perform 
  524.   a standard shut down. 
  525. 
  526. SET RESTARTOBJECTS=YES
  527.   
  528.   This command tells OS/2 what applications to start after you suspend 
  529.   operations with or without doing a Shutdown (as in doing a Ctrl-Alt-
  530.   Del because some faulty program has locked up your system).  If this 
  531.   statement is not in your CONFIG.SYS, then the default is YES, i.e., 
  532.   start all objects that were running at the time of Shutdown or 
  533.   reboot.  Other options are:
  534.   
  535.      NO = do not start any applications that were running at time 
  536.         of shutdown or reboot.  
  537.   
  538.      STARTUPFOLDERSONLY = start objects only in the Startup 
  539.         folder.  This parameter is also handy for another 
  540.         purpose.  If you have one or more programs in the Startup 
  541.         folder and do a shutdown without closing the programs 
  542.         (i.e. left the programs open at shutdown), then reboot, 
  543.         OS/2 will restart the programs left open AND the Startup 
  544.         folder will start another copy.  Thus you will have two 
  545.         copies running.  Setting this parameter eliminates this.
  546.   
  547.      REBOOTONLY = Start objects only if the OS/2 WpS is starting 
  548.         from a reboot (Ctrl-Alt-Del) or at power on.  Objects 
  549.         will not restart if the WpS is restarted as a result of 
  550.         its own error correction recycling.
  551.   
  552.   <<=TIP=>>  You can also circumvent the auto-starting of programs by 
  553.   holding down Left/Ctrl-Left/Shift-F1 all at the same time during 
  554.   boot.  It must be done AFTER your mouse pointer (or clock) is seen 
  555.   (but not to soon after it appears), but before any icons appear.
  556. 
  557. SET COMSPEC=C:\OS2\CMD.EXE
  558.   
  559.   This line identifies what OS/2 command line shell is to be used and 
  560.   where its at.  In DOS, COMMAND.COM is equivalent to CMD.EXE.
  561.   
  562.   <<=TIP=>>  If you wish to run some other command line shell, such as 
  563.   4OS2, change this and the SET OS2_SHELL=C:\OS2\CMD.EXE line, 
  564.   substituting the appropriate EXE file for CMD.EXE.
  565. 
  566. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  567.   
  568.   This is an OS/2 command.  It tells OS/2 where to locate Dynamic Link 
  569.   Libraries (DLLs).  LIBPATH is similar to DPATH and PATH, but the 
  570.   statement can only be used in the CONFIG.SYS file and OS/2 does not 
  571.   search the current directory for DLLs unless you include it in the 
  572.   LIBPATH statement.   You don't need to use the SET command with 
  573.   LIBPATH, it is not an environment variable.
  574.   
  575.   <<=TIP=>>  To reduce the search time for OS/2 to locate the file(s), 
  576.   be sure that the various PATH statements contain the correct path to 
  577.   your program and other files.  You can also have OS/2 search the 
  578.   current directory by including a period "." right after the equal 
  579.   "=" symbol.   This causes OS/2 to look in the current logged 
  580.   directory first.
  581.  
  582.   One final item that will reduce search time:  Be certain that the 
  583.   PATH, LIBPATH and DPATH statements in the CONFIG.SYS are arranged 
  584.   with the most frequently accessed subdirectories listed first. 
  585. 
  586. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  587.   C:\;C:\OS2\MDOS;C:\OS2\APPS;
  588.   
  589.   Just like in DOS, it tells both DOS and OS/2 where to find programs.  
  590.   
  591.   <<=WARNING=>>  Your path statement should contain at least the 
  592.   following directories:  \OS2, \OS2\MDOS, \OS2\SYSTEM.
  593. 
  594. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  595.   C:\;C:\OS2\MDOS;C:\OS2\APPS;
  596.   
  597.   This is an OS/2 command.  It tells OS/2 programs where to look for 
  598.   data files.  It is similar to the DOS APPEND command, but unlike 
  599.   APPEND, DPATH only works with programs designed to use it.
  600. 
  601. SET PROMPT=[$P]$G
  602.  
  603.   Like the same DOS command, this line sets how your OS/2 command 
  604.   prompt will appear.  (This is for OS/2 only.  Set the DOS PROMPT 
  605.   default in your AUTOEXEC.BAT file.)  In the setting shown here, the 
  606.   command prompt will appear showing the current directory of the 
  607.   default drive enclosed in [] followed by the greater than symbol, 
  608.   i.e. [C:\]>.  Having brackets [] around the drive and directory 
  609.   information lets you quickly know when you are at an OS/2 command 
  610.   line verse a DOS command line.  
  611.  
  612.   If you type PROMPT without a parameter, OS/2 will return its default 
  613.   prompt [$p].
  614.  
  615.   Options include:
  616.  
  617.      $B = The | character
  618.      $C = The open parenthesis (
  619.      $D = Current date
  620.      $E = ASCII code 27 (escape) so you can work with ANSI.  See 
  621.         <<=TIP=>> below.
  622.      $F = The close parenthesis )
  623.      $G = The "greater than" > symbol
  624.      $H = BACKSPACE over the previous character
  625.      $I = Turns help line on
  626.      $L = The "less than" < character
  627.      $N = Default drive
  628.      $P = Current directory of default drive
  629.      $Q = The equal = character
  630.      $S = The space character
  631.      $T = Current time
  632.      $V = OS/2 version number
  633.      $_ = Carriage return or line feed
  634.  
  635.   <<=TIP=>>  You can also add ANSI control sequences to your prompt.  
  636.   For example, to help me know visually whether I'm working with an 
  637.   OS/2 command line, I've add $E[1;33m to my prompt line, i.e. SET 
  638.   PROMPT=$E[1;33m[$P]$G.  This sets text to display in bold yellow 
  639.   characters.  Bold yellow characters means OS/2 command line.  White 
  640.   characters means DOS command line.
  641. 
  642. SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  643.  
  644.   Tells OS/2 where the help files are located.  OS/2 will only look 
  645.   for a program's help files in the path shown.
  646. 
  647. SET GLOSSARY=C:\OS2\HELP\GLOSS;
  648.  
  649.   Tells OS/2 where Glossary and Master Help files are located.
  650. 
  651. SET DIRCMD=/ON /P
  652.  
  653.   An undocumented command that is the OS/2 equivalent of the DIR 
  654.   command in DOS.  Since DOS 5, you can tell DIR how to present file 
  655.   information.  To do this in OS/2, use the DIRCMD command.  For 
  656.   example:  SET DIRCMD=/ON /P tells OS/2 to display the DIR 
  657.   information in alpha order and place a pause at the end of each 
  658.   page.
  659.  
  660.   This is for OS/2 only.  Set the DOS default in your AUTOEXEC.BAT 
  661.   file.
  662.  
  663.      Options include:
  664.  
  665.      /A list files with specific attributes.  E.g. /AH list only 
  666.         hidden files.  Other options are S A & R.  If you place a 
  667.         negative (-) sign in front of your specified attribute, 
  668.         all files will list except those with the attribute 
  669.         specified.  E.g. /A-H-S will display all files except 
  670.         hidden and system files.
  671.      /B list directories and files without heading and summary 
  672.         information.
  673.      /F list files with the full drive and path information.  
  674.         Date, time and size are omitted.
  675.      /L displays information in lowercase.
  676.      /N lists files on a FAT drive in the same format used for a 
  677.         HPFS drive, i.e. date, time, size, name.
  678.      /O list files according to sort option specified.  Sort 
  679.         options are:
  680.          G = Display directories first.
  681.          N = alphabetize by file name
  682.         -N = reverse-alphabetizes by name
  683.          E = alphabetize by extension
  684.         -E = reverse-alphabetizes by extension
  685.          D = by date, oldest first
  686.         -D = by date, newest first
  687.          S = by file size, smallest first
  688.         -S = by file size, largest first
  689.      /P pauses after a full screen of files is listed.
  690.      /R displays long file names if applicable.
  691.      /S searches and displays all directories.
  692.      /W displays file names across the screen.  Date, time and 
  693.         size are omitted.
  694. 
  695. SET IPF_KEYS=SBCS
  696.  
  697.   The character set for most languages can be represented as data 
  698.   using an 8-bit byte since their characters sets are each less than 
  699.   256 characters.  These are Single Byte Character Sets (SBCS).  
  700.   Languages such as Japanese, Korean and Chinese can only be 
  701.   represented as data using two 8-bit bytes or 16-bits.  These are 
  702.   Double Byte Character Sets (DBCS).
  703.  
  704.   This command tells the Information Presentation Facility (INF and 
  705.   help files) which type of character set is being used, i.e., Single 
  706.   or Double Byte Character Set.  This is an Environment variable.  
  707.   Removing it from my system did not seem to have any impact.
  708. 
  709. PRIORITY_DISK_IO=YES
  710.  
  711.   This command determines whether programs running in the foreground 
  712.   have priority access to disks.  The default is YES.  If you want a 
  713.   program, like a BBS, running in the background to have equal access 
  714.   to your disks, then change this statement to NO.
  715. 
  716. PRIORITY=DYNAMIC
  717.  
  718.   OS/2 automatically assigns processing priorities to each thread of a 
  719.   program as it begins processing.  A thread running in the foreground 
  720.   will generally have priority over a thread running in background.  
  721.   Thread priorities are adjusted, generally based upon how active they 
  722.   are, by OS/2 on an ongoing basis to make sure each thread has 
  723.   adequate processing time.  On the rare occasion that you need to run 
  724.   a program which must never change in priority, you should set 
  725.   PRIORITY=ABSOLUTE, otherwise, don't mess with it.
  726.  
  727.   This is another OS/2 only command and does not have to be in your 
  728.   CONFIG.SYS.  If it is not, then OS/2 defaults to PRIORITY=DYNAMIC.
  729. 
  730. FILES=20
  731.  
  732.   This is a standard DOS command which sets the maximum number of 
  733.   files that DOS can access at the same time.  OS/2 sets the default 
  734.   at 20, but some DOS programs may require that you increase this 
  735.   number.  The maximum parameter is 255.  FILES is for DOS only and 
  736.   has no effect on OS/2 sessions which can have up to 64,000 files 
  737.   open at the same time.
  738. 
  739. DEVICE=C:\OS2\TESTCFG.SYS
  740.  
  741.   TESTCFG.SYS is used during the install process to test your systems 
  742.   configuration.  It is also used by the Selective Install process and 
  743.   during device driver installations.  
  744.  
  745.   <<=NOTE=>>  Because this driver is also used by the Selective 
  746.   Install process, it should not be deleted.
  747. 
  748. DEVICE=C:\OS2\PMDD.SYS
  749.  
  750.   OS/2 loads and uses this driver to provide pointer draw support 
  751.   along with POINTDD.SYS.
  752.  
  753.   <<=WARNING=>>  OS/2 will not start without this line in your 
  754.   CONFIG.SYS file.
  755. 
  756. BUFFERS=30
  757.  
  758.   Tells OS/2 how many disk buffers to set aside.  Range is from 3 to 
  759.   100.  Each buffer takes up to 512 bytes of RAM.  30 is the default 
  760.   and usually works well.  If you are using HPFS only, see tip below.
  761.  
  762.   Disk buffers are blocks of memory set aside by OS/2 for use in 
  763.   reading and writing blocks of data.  For example, if a program wants 
  764.   to change 80 bytes of a file, it needs to read the 512 byte sector 
  765.   that contains the original data, change the information and then 
  766.   write the corrected 512 byte sector back out.  A "buffer" is the 512 
  767.   byte temporary staging area for this partial sector operation.  
  768.   According to source at IBM, "OS/2 allows multiple simultaneous I/O 
  769.   operations to be queued up for both diskette and hard disk.  Each 
  770.   'concurrent' operation may need a buffer.  If there are not enough 
  771.   buffers, overlap can be inhibited.  Because OS/2 has more 
  772.   'simultaneous' queued I/O than DOS, it needs more buffers."  
  773.  
  774.   <<=TIP=>>  Generally, you can speed up your system by increasing the 
  775.   number of BUFFERS.  But, keep in mind that as you increase the 
  776.   number, you reduce available memory.  30 is the default, but you may 
  777.   wish to experiment with a higher number, like 50 or 60.  Be careful 
  778.   about using a lower number unless you only have 4MB of RAM.  With 
  779.   4MB of RAM you may wish to set BUFFERS to 20.  This gives you some 
  780.   more valuable memory.
  781.  
  782.   <<=TIP=>>  If you are using only HPFS (i.e., no FAT partitions), set 
  783.   BUFFERS to 3.  With HPFS you don't need BUFFERS.  Remember that 3 is 
  784.   the minimum parameter.  If you set BUFFERS to 1 or 2, OS/2 will 
  785.   default to 30 since 1 and 2 are out of range.  There is one exception
  786.   to this tip.  If you access your floppy disks a lot, then a reduced
  787.   BUFFERS setting will impact floppy performance.
  788. 
  789. IOPL=YES
  790.  
  791.   An OS/2 command that, when set to YES, lets programs that need to 
  792.   bypass OS/2, and its device drivers, and work directly with hardware 
  793.   devices, do so.  One example is Lotus 123/G.  YES means that all 
  794.   programs can access the hardware directly.  NO means that no program 
  795.   can access the hardware directly.  YES is the default and is 
  796.   generally best, since its hard for most of us to know when a program 
  797.   is written is such a way as to need direct access to hardware.
  798.  
  799.   IOPL stands for Input/Output Privilege Level.
  800.  
  801.   <<=TIP=>>  You can also specify a list of programs that are allowed 
  802.   to work directly with the hardware.  For example, 
  803.   IOPL=WS.EXE,123.EXE would allow only these two programs to access 
  804.   hardware directly.
  805. 
  806. RUN=C:\OS2\CACHE.EXE /MAXAGE:2500
  807.  
  808.   This line runs CACHE.EXE which allows you to modify the parameters 
  809.   for the HPFS cache.  CACHE.EXE is only used for HPFS partitions.  
  810.   (The DISKCACHE command sets up a cache for FAT.)  There are four 
  811.   switches for CACHE.EXE:
  812.  
  813.      /LAZY:  Determines if lazy writes is ON or OFF, that is, 
  814.         whether the contents of the cache will be written to your 
  815.         hard disk immediately (/LAZY:OFF) or when your hard disk 
  816.         is idle (/LAZY:ON).  The default is ON.  I like lazy 
  817.         writes ON because it improves performance, but keep in 
  818.         mind that since the system delays writing data to your 
  819.         hard disk, you can lose data if your system should crash.  
  820.         In the CONFIG.SYS file line above no switch is specified 
  821.         therefore the default remains in effect, which is ON.  
  822.  
  823.         <<=TIP=>>  Lazy writes can also be turned ON or OFF at an 
  824.         OS/2 command prompt.
  825.  
  826.         <<=WARNING=>>  If you include the /LAZY switch, then the 
  827.         CACHE statement will IGNORE ALL OTHER SWITCHES in the 
  828.         line.  Therefore, if you want to turn lazy writes off (or 
  829.         on) and also change some other parameter, you will need 
  830.         two RUN statements.
  831.  
  832.         <<=WARNING=>>  There is a bug in OS/2 version 2.1.  I 
  833.         verified it on my system.  You can not turn lazy writes 
  834.         off from the CONFIG.SYS file.  The WpS always turns lazy 
  835.         writes ON when it loads regardless of what your CACHE.EXE 
  836.         command sets.  So, if you want lazy writes off, you will 
  837.         need to run the CACHE command AFTER the WpS starts.  
  838.         Create a CMD file to turn it off and place it in your 
  839.         startup folder.  The WpS has already done it's thing when 
  840.         the objects in the startup folder are opened.  You can 
  841.         also turn it off from a command prompt.  (Thanks to Denis 
  842.         Tonn for this critical information).
  843.  
  844.      /MAXAGE:  Sets how long data waits in the cache before it is 
  845.         moved to another area of the cache where less used 
  846.         information is stored, or how long data waits in the 
  847.         cache before it is written to the hard disk.  It is 
  848.         expressed in milliseconds.  The default is 5,000 or about 
  849.         5 seconds.  In the CONFIG.SYS file line above, the wait 
  850.         is set at 2,500 milliseconds or about two 1/2 seconds.  
  851.         I've done this to reduce the chance of data loss.
  852.  
  853.      /DISKIDLE:  Sets how long your hard disk must be idle before 
  854.         it will accept data from the cache.  Express in 
  855.         milliseconds and the default is 1,000 or about one 
  856.         second.  In the CONFIG.SYS file line above no switch is 
  857.         specified therefore it defaults remains in effect.
  858.  
  859.      /BUFFERIDLE:  Sets how long the cache buffer must be idle 
  860.         before its contents MUST be written to your hard disk.  
  861.         Express in milliseconds and the default is 500 or about 
  862.         1/2 second.  In the CONFIG.SYS file line above no switch 
  863.         is specified therefore it defaults remains in effect.
  864.  
  865.   According to one source at IBM, there are two other undocumented 
  866.   parameters.  I have not pursued their verification, so I can't tell 
  867.   you much.
  868.  
  869.      /DIRTYMAX:  The threshold number of dirty buffers before 
  870.         immediately flushing of least recently used (LRU) data 
  871.         blocks is needed.
  872.  
  873.      /WRITECACHE:  The threshold number of bytes that HPFS will 
  874.         cache for a lazy write.
  875.  
  876.   <<=NOTE=>>  The HPFS IFS CONFIG.SYS file line sets up the cache and 
  877.   uses the system defaults.  This CONFIG.SYS file line is only used to 
  878.   modify the cache parameters.  
  879.  
  880.   <<=TIP=>>  You can check to see what parameters the HPFS cache is 
  881.   currently set at by going to an OS/2 command prompt and keying in 
  882.   the word CACHE and pressing the enter key.
  883.  
  884.   <<=TIP=>>  Table 2.0 contains information on optimum settings for 
  885.   each of the main parameters.  This great stuff was "provided by 
  886.   Proportional Software based upon a great deal of OS/2 system 
  887.   tweaking done by the DCF/2 development team."
  888.  
  889.   =========================== Table 2.0 =============================
  890.  
  891.      Parameters:             LAZY WRITES               /LAZY:ON
  892.                                   MAXAGE                 >7,500 
  893.                                 DISKIDLE                 60,000 
  894.                               BUFFERIDLE                 60,000
  895.   ===================================================================
  896. 
  897. DISKCACHE=256,LW,32,AC:C
  898.  
  899.   If you are using the FAT file system, this command sets up a RAM 
  900.   disk cache.  The DISKCACHE line noted here sets up a 256k cache.    
  901.   The default cache size is based upon your RAM.  See Table 3.0.  
  902.  
  903.   <<=TIP=>>  If you have the RAM, increase the size to improve system 
  904.   performance, but don't get carried away by using to much of your 
  905.   RAM--this will hurt performance.  Maximum FAT cache size is 14MB.  
  906.   See the information on optimum cache sizes contained in Table 1.1 
  907.   above.
  908.  
  909.   =========================== Table 3.0 =============================
  910.  
  911.   If you have formatted your system with only FAT partitions, the 
  912.   default cache size in this statement will be that noted under ONE 
  913.   FILE SYSTEM.  If you have both FAT and HPFS partitions, then OS/2 
  914.   2.x defaults to the cache size noted under TWO FILE SYSTEM.  The 
  915.   file system which uses the greatest amount of your disk space gets 
  916.   the larger default value.  
  917.  
  918.       MEMORY SIZE IN MB       TWO FILE SYSTEM         ONE FILE SYSTEM    
  919.               4                    128/64                   128          
  920.               5                    128/64                   128          
  921.               6                    256/64                   256          
  922.               7                   256/128                   256          
  923.               8                   256/256                   384          
  924.               9                   256/256                   384          
  925.            10 - 16                512/512                  1024          
  926.            17 - 32               1024/1024                 2048          
  927.   ===================================================================
  928.  
  929.   LW:  Enables lazy writes.  If you don't want lazy write enabled, 
  930.   then remove ",LW".
  931.  
  932.   32:  The third number set the threshold size.  It is express in 
  933.   number of sectors which are 512 bytes each.  Data requests from your 
  934.   disk that are larger than this number will not be cached.  The 
  935.   default is 4.  Thirty two (32) is said to be an optimum number.  One 
  936.   hundred twenty eight (128) is the maximum allowable.  This setting 
  937.   has no impact on RAM.
  938.  
  939.   AC:C:  If you want CHKDSK to automatically check your startup 
  940.   partition (usually C), then add this switch to end of the DISKCACHE 
  941.   command:  AC:n where n is your startup partition, e.g. AC:C.
  942.  
  943.   <<=TIP=>>  If you are only using HPFS, then you should REM this 
  944.   statement and save some RAM (don't delete, you may need or want it 
  945.   later).
  946. 
  947. MAXWAIT=3
  948.  
  949.   This OS/2 command sets the longest period a program will have to 
  950.   wait to execute before OS/2 ups its priority.  This makes sure 
  951.   that no program is put on hold forever while some other program 
  952.   hogs the system.  You can set MAXWAIT from 1 to 255 seconds.  The 
  953.   default is 3 seconds.  
  954.  
  955.   <<=TIP=>>  When running heavy background programs, such as a BBS, 
  956.   change the setting to 1, i.e. MAXWAIT=1.  This will keep the BBS 
  957.   software or other background programs running at top speed.  For 
  958.   general use, it appears that setting MAXWAIT=2 makes the system a 
  959.   little livelier.
  960.  
  961.   <<==NOTE==>>  MAXWAIT only has an effect if PRIORITY=DYNAMIC.
  962. 
  963. MEMMAN=SWAP,PROTECT
  964.  
  965.   OS/2 can run more programs and use more data than can actually be 
  966.   stored in memory at any given time.  This is done by swapping large 
  967.   amounts of memory to your hard disk and then reading the data back 
  968.   into memory when needed.  This is called virtual memory.  For 
  969.   example, if you only have 4MB of memory (Get MORE memory fast!  You 
  970.   need 8MB minimum with OS/2 2.x.) you will see lots of disk activity 
  971.   while you are working with your system.  A lot of this is OS/2 
  972.   swapping memory to your hard disk.  Lots of memory swapping will 
  973.   slow down your system and cause your hard disk to fragment quicker 
  974.   than normal.
  975.  
  976.   The MEMMAN command controls the swap process.  The syntax is 
  977.   MEMMAN=s,m,PROTECT,COMMIT where s=SWAP or NOSWAP; m=MOVE or NOMOVE.  
  978.   The default is to have virtual memory on.  To turn off virtual 
  979.   memory, which is NOT recommended, the CONFIG.SYS file line should 
  980.   read:  MEMMAN=NOSWAP.  
  981.  
  982.   PROTECT allows the allocation and use of protected memory.  Unless 
  983.   you are a programmer who needs this set to NOPROTECT, leave the 
  984.   default.
  985.  
  986.   <<=NEW 2.1 PARAMETER=>>  A new parameter with version 2.1 is COMMIT.  
  987.   With this parameter included, OS/2 will allocate space in the swap 
  988.   file whenever a program commits memory.  Increase your SWAPPER.DAT 
  989.   file (in the SWAPPATH line below) by the amount of memory you are 
  990.   likely to use when using the COMMIT parameter.
  991.  
  992.   <<=TIP=>>  You can also use the COMMIT parameter another way.  
  993.   Without COMMIT set, the minimum free noted in you SWAPPATH specified 
  994.   the point at which OS/2 gives you a message warning that your disk 
  995.   space is running low.  When you set COMMIT, the minimum free value 
  996.   noted in your SWAPPATH statement becomes the amount of hard disk 
  997.   space that will always remain free on the swap file partition.  
  998.   Thus, with COMMIT set, you can never run out of disk space on your 
  999.   swap file partition. 
  1000.  
  1001.   <<=CAUTION=>>  When messing with the MEMMAN line, I changed it to 
  1002.   MEMMAN=NOSWAP.  As a result, I had to boot from my OS/2 Installation 
  1003.   disk and recover my backup CONFIG.SYS file to get the system to 
  1004.   boot.  I don't know why, but use caution.
  1005.  
  1006.   <<=NOTE=>>  The MOVE/NOMOVE parameter has no effect under OS/2 2.x 
  1007.   and is only provided for OS/2 version 1.x compatibility.
  1008.  
  1009.   <<=NOTE=>>  NOPACK PARAMETER.  When OS/2 initially loads a 16-bit 
  1010.   OS/2 application, it packs the segments into pages and copies them 
  1011.   to the swap file for faster recovery when needed.  This can be 
  1012.   disabled by using the NOPACK option on the MEMMAN line. However, 
  1013.   the performance decrease and larger working set will rarely offset 
  1014.   the potential of a reduced swap file size.
  1015. 
  1016. SWAPPATH=C:\OS2\SYSTEM 512 4096
  1017.    
  1018.   OS/2 can allocate more memory than it actually has available.  It 
  1019.   does this by swapping memory to a hard disk file called SWAPPER.DAT.
  1020.  
  1021.   The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE AND PATH is 
  1022.   the location where you want the SWAPPER.DAT file to be placed; mmm 
  1023.   is a number from 512 to 32767 and specifies how large the 
  1024.   SWAPPER.DAT file can grow before it stops consuming hard disk space.  
  1025.   The size is stated in the negative.  In other words, if you have the 
  1026.   mmm set to 512, then the SWAPPER.DAT file can grow until there is 
  1027.   only 512k left on your hard disk.  The variable nnn is the starting 
  1028.   size of the SWAPPER.DAT file.  In the CONFIG.SYS file line above, 
  1029.   the starting size is 4096 or 4MB.
  1030.  
  1031.   The default SWAPPER.DAT size is set based upon the amount of RAM 
  1032.   your system has available as shown in Table 4.0.
  1033.  
  1034.   ============================ Table 4.0 ============================
  1035.  
  1036.      MEMORY IN MB       MINFREE (KB)       INITIAL SIZE (KB)    
  1037.            4                4096                  6144          
  1038.            5                4096                  5120          
  1039.            6                4096                  5120          
  1040.            7                2048                  4096          
  1041.            8                2048                  4096          
  1042.            9                2048                  3072          
  1043.           10                2048                  3072          
  1044.         11 - 32             2048                  2048          
  1045.   ===================================================================
  1046.  
  1047.   <<=TIP=>>  When your swap file grows beyond the initial size you 
  1048.   have specified, OS/2 starts to manage the swap file.  This will 
  1049.   negatively impact your systems performance because of the additional 
  1050.   system overhead.  Therefore, if your swap file always exceeds its 
  1051.   initial size, consider increasing the files initial size.
  1052.  
  1053.   <<=TIP=>>  Normal operation of OS/2 2.x involves considerable disk 
  1054.   activity as operating system functions are loaded and pages are 
  1055.   moved in and out of the swap file.  Here are a couple of tips to 
  1056.   improve performance.  (1) Consider dedicating a separate partition 
  1057.   for the swap file.  This helps avoid fragmentation of the swap file, 
  1058.   because other files will not be added or deleted from the dedicated 
  1059.   partition.  (2) If you have both FAT and HPFS partitions, put the 
  1060.   swap file on the HPFS partition to take advantage of the better 
  1061.   performance of HPFS.  (3) If you have a system with two hard disk 
  1062.   controllers, put the swap file on a disk managed by the least used 
  1063.   controller.  (4)  Keep your swap file on the MOST used partition
  1064.   of the LEAST used hard drive.
  1065.  
  1066.   <<=WARNING=>>  Never put your swap file on a networked drive.
  1067.  
  1068.   <<=NOTE=>>  Your swap file will grow (in 1MB increments), but it 
  1069.   also shrinks when two conditions are met.  One, when the amount of 
  1070.   free space in the swap file is greater than 1.5MB, the swap file 
  1071.   will be compressed during system idle time.  (It will not shrink if 
  1072.   there is a constant "hit" on the drive by a program such as a swap 
  1073.   file monitor.)  Two, during the compression, free space is moved to 
  1074.   the end of the swap file.  When this free space at the end of the 
  1075.   swap file exceeds 1MB, the swap file will be shrunk.
  1076.   
  1077.   <<=NOTE=>>  See the discussion of the new COMMIT parameter for the 
  1078.   MEMMAN CONFIG.SYS line including the <<=TIP=>>.
  1079. 
  1080. BREAK=OFF
  1081.   
  1082.   For DOS programs only.  Many DOS programs can be stopped by holding 
  1083.   down the Ctrl key and then pressing the Break key.  BREAK controls 
  1084.   how quickly DOS programs stop when you interrupt them with the Ctrl-
  1085.   Break sequence.  If BREAK=OFF, DOS will stop the program only when 
  1086.   the programs next reads a character from the keyboard or writes to 
  1087.   the screen or printer.  With BREAK=ON, DOS will check for the Ctrl-
  1088.   Break on a more frequent basis.  Remember that this extra checking 
  1089.   can make your DOS programs run slower.
  1090. 
  1091. THREADS=256
  1092.  
  1093.   OS/2 programs can have several different processes running at the 
  1094.   same time.  These are called threads.  This OS/2 command sets the 
  1095.   maximum number of threads, from 32 to 4095, that OS/2 can run at the 
  1096.   same time.
  1097.  
  1098.   <<=TIP=>>  On systems with only 4MB of RAM, set THREADS to 128 to 
  1099.   free up memory.  If you only have 4MB of RAM, get more fast.  You'll 
  1100.   be amazed at the difference another 4 or 8MB of RAM will make!
  1101.  
  1102.   <<=TIP=>>  If you have more than 8MB of RAM and run lots of OS/2
  1103.   specific programs, you may be able to improve system
  1104.   responsiveness by increasing the number of threads.  Why?  Because 
  1105.   well written OS/2 programs will use threads to improve program 
  1106.   performance.  Therefore, the more OS/2 programs in use, the more 
  1107.   threads that could be needed.  But still keep in mind that this only
  1108.   holds true if you are using a fair number of OS/2 specific programs.
  1109.   For example, I opened the Enhanced Editor, AmiPro for OS/2, ZOC (a
  1110.   communications program for OS/2)and KWQ Mail/2 and still I was only
  1111.   using 47 threads.
  1112. 
  1113. PRINTMONBUFSIZE=134,134,134
  1114.  
  1115.   This OS/2 command sets the size of the print buffers for your 
  1116.   parallel ports.  The syntax is PRINTMONBUFSIZE=LPT1,LPT2,LPT3 where 
  1117.   LPT1 is the buffer size for the parallel port LPT1, LPT2 is the 
  1118.   buffer size for LPT2 and LPT3 is the buffer size for LPT3.  The 
  1119.   default and minimum is 134 bytes and the maximum is 2048 bytes.
  1120.  
  1121.   <<=Note=>>  You must define a buffer for LPT2 and LPT3 even if you 
  1122.   don't use these ports.  You will get an error message at startup if 
  1123.   you don't.
  1124.  
  1125.   <<=TIP=>>  You may be able to improve printer throughput by 
  1126.   increasing buffer size.  I have my LPT1 set to 402.  On systems 
  1127.   with less than 6MB of RAM, don't increase the size of these buffers. 
  1128. 
  1129. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1130.  
  1131.   Customizes your system for the country you wish to use.  It 
  1132.   establishes which defaults to use when it comes to decimal 
  1133.   separators, date and time formats, currency symbols, etc.  The 
  1134.   syntax is COUNTRY=xxx,PATH,FILE NAME.  xxx is a three-digit code 
  1135.   number that tells what country to use.  The number is usually (but 
  1136.   not always) the same as the international telephone dialing prefix 
  1137.   for the country desired.  Table 5.0 contains various country codes.
  1138.  
  1139.   =========== Table 5.0 =============
  1140.  
  1141.     COUNTRY              COUNTRY CODE   
  1142.     Arabic-speaking          785            
  1143.     Asia (English)           099            
  1144.     Australia (English)      061            
  1145.     Belgium                  032            
  1146.     Canada (French)          002            
  1147.     China                    088            
  1148.     Czechoslovakia           042            
  1149.     Denmark                  045            
  1150.     Finland                  358            
  1151.     France                   033            
  1152.     Germany                  049            
  1153.     Hebrew-speaking          972            
  1154.     Hungary                  036            
  1155.     Iceland                  354            
  1156.     Italy                    039            
  1157.     Japan                    081            
  1158.     Korea                    082            
  1159.     Latin America            003            
  1160.     Netherlands              031            
  1161.     Norway                   047            
  1162.     Poland                   048            
  1163.     Portugal                 351            
  1164.     Spain                    034            
  1165.     Sweden                   046            
  1166.     Switzerland              041            
  1167.     Taiwan                   088            
  1168.     Turkey                   090            
  1169.     United Kingdom           044            
  1170.     United States            001            
  1171.     Yugoslavia               038            
  1172.   ===================================
  1173. 
  1174. SET KEYS=OFF
  1175.  
  1176.   When using the command line, KEYS tells CMD.EXE whether to remember 
  1177.   previous keystrokes so they can be recalled with the up arrow key.  
  1178.   OS/2 maintains a 64k buffer for storing keystroke history.  KEYS can 
  1179.   be ON or OFF.
  1180.  
  1181.   <<=TIP=>>  On systems with only 4MB of RAM, SET KEYS to OFF, you 
  1182.   need the memory more than this feature.  Even with 8MB of RAM, since 
  1183.   I don't use the feature I have turned it off to get a small memory 
  1184.   boost.
  1185. 
  1186. SET DELDIR=C:\DELETE,512;
  1187.  
  1188.   To use OS/2s UNDELETE command, you must first establish a directory 
  1189.   in which to store the deleted files.  To do this, create a directory 
  1190.   called DELETE in your root and then remove the "REM" from this 
  1191.   CONFIG.SYS file line.  
  1192.  
  1193.   This command points OS/2 to the directory you created to place 
  1194.   deleted files in.  It also indicates the maximum number of files 
  1195.   that will be stored in the DELETE directory.  If the number of 
  1196.   deleted files exceeds the maximum number that you specified, then 
  1197.   files are automatically removed from the directory on a first-in-
  1198.   first-out basis.
  1199. 
  1200. BASEDEV=PRINT01.SYS
  1201.  
  1202.   BASEDEV installs a base device driver used by OS/2 when it is first 
  1203.   started.  The statement cannot contain either a drive or path 
  1204.   because OS/2 cannot process such information at the stage at which 
  1205.   these statements are process.  Other base device drivers include:
  1206.  
  1207.   PRINT01.SYS supports attached printers on non-Micro Channel PC's.
  1208.   PRINT02.SYS supports attached printers on Micro Channel PC's.
  1209.   IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  1210.   IBM2FLPY.ADD supports diskette drives on Micro Channel PC's.
  1211.   IBM2SCSI.ADD supports SCSI disk drives on Micro Channel PC's.
  1212.   OS2SCSI.DMD supports non-disk SCSI devices.
  1213.   IBM1S506.ADD supports non-SCSI disk drives, non-Micro Channel PC's.
  1214.   OS2DASD.DMD is a general purpose driver for disk drives.
  1215.   IBM2ADSK.ADD supports non-SCSI disk drives on Micro Channel PC's.
  1216.   IBMINT13.I13 supports non-Micro Channel SCSI adapters.
  1217.   OS2CDROM.DMD supports CD-ROM drives.
  1218.   FD16-700.ADD support driver for Future Domain 1670 SCSI.
  1219.   FD8XX.ADD supports Future Domain FD8XX devices.
  1220.   TMV1SCSI.DMD supports Media Vision CD-ROM/ProAudio SCSI.
  1221.    
  1222.   <<==NOTE==>>  Try adding the following switches to the   
  1223.   BASEDEV=IBM1S506.ADD line:  BASEDEV=IBM1S506.ADD /A:0 /U:O /SMS, and  
  1224.   use /V (/V=verbose) to see if the /SMS works.  This is supposed to   
  1225.   speed up those IDE drives that support the SMS feature.  It will
  1226.   not work on all IDE drives, but it will not damage anything either.
  1227.  
  1228.   <<==TIP==>>  If you wish to prevent users from using the floppy 
  1229.   drives under OS/2 (to keep them from loading non-authorized programs 
  1230.   or in a workstation situation), REM the BASEDEV=IBMxFLPY.ADD line 
  1231.   (where x is 1 for ISA and EISA machines, or 2 for Microchannel).
  1232. 
  1233. SET BOOKSHELF=C:\GAMMA32;C:\OS2\BOOK
  1234.  
  1235.   This command points to the online documentation (INF files) provided 
  1236.   with OS/2 and to any online documentation provided by other OS/2 
  1237.   programs.  I have the GAMMATECH utilities installed on my system 
  1238.   which contains online documentation. 
  1239.  
  1240.   <<=TIP=>>  If you an HPFS partition, copy all of your online 
  1241.   documentation (INF files) to this partition.  Then change this 
  1242.   parameter to reflect the new path.  You will notice a substantial 
  1243.   improvement in search speed since HPFS is much faster than FAT.
  1244. 
  1245. SET EPMPATH=C:\OS2\APPS
  1246.  
  1247.   Replaced SET EPATH=C:\OS2\APPS; in version 2.0.  According to one 
  1248.   source in IBM, EPMPATH is used by the Enhanced Editor (EPM.EXE).
  1249. 
  1250. DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  1251. DEVICE=C:\OS2\APPS\SASYNCDA.SYS
  1252.  
  1253.   This device driver loads communications support for the PM Terminal 
  1254.   applet.  
  1255.  
  1256.   <<=TIP=>>  If you don't use PM Terminal, REM this line to save a 
  1257.   little memory.  In fact, if you are not using PM Terminal you may 
  1258.   wish to consider deleting the files to save some disk space also.
  1259. 
  1260. PROTECTONLY=NO
  1261.  
  1262.   An OS/2 command.  Allows you to choose between a shared DOS and OS/2 
  1263.   operating environment or just an OS/2 environment.  If you plan to 
  1264.   run only OS/2 programs, then set PROTECTONLY=YES.  If you plan to 
  1265.   run DOS programs (this includes Windows programs also), then set 
  1266.   PROTECTONLY=NO.
  1267. 
  1268. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1269.  
  1270.   This line identifies and loads the DOS command processor COMMAND.COM 
  1271.   which you must have to make DOS sessions work.  The /p switch keeps 
  1272.   the command processor in memory until shutdown.
  1273.  
  1274.   This is the line where you can also specify the size of the DOS 
  1275.   environment variable.  The range is 160 through 32768.  For example, 
  1276.   to set a 1024 byte environment you would add the following to the 
  1277.   end of the SHELL command line:  /E:1024
  1278.  
  1279.   <<=TIP=>>  You can also load and run other command processor's such 
  1280.   as 4DOS.  To do so, just put 4DOS in your MDOS directory and change 
  1281.   the SHELL line to read 4DOS.COM instead of COMMAND.COM.  
  1282. 
  1283. FCBS=16,8
  1284.  
  1285.   A file control block (FCBS) is an outmoded record that gives 
  1286.   information about a file to DOS.  This CONFIG.SYS file line tells 
  1287.   DOS how many FCBS can be open at once, or, when DOS needs to open 
  1288.   more FCBS than are available, how many currently open but not active 
  1289.   FCBS may be closed to make room for new ones.
  1290.  
  1291.   The syntax is FCBS=a,b where a=the number of FCBS that DOS can have 
  1292.   open at one time and b=the number of FCBS DOS cannot close to make 
  1293.   room for new FCBS.  "a" can be as high as 255.  "b" can have a value 
  1294.   of 0 to 254, but must be less than "a".  Unless you get some kind of 
  1295.   error message when running a DOS program that tells you the program 
  1296.   doesn't have enough FCBS, leave the default as set.
  1297.  
  1298.   <<=TIP=>>  You may wish to experiment with a smaller number.  If you 
  1299.   can get by with a smaller number, you will get back a little memory 
  1300.   in each of your DOS sessions.
  1301. 
  1302. RMSIZE=640
  1303.  
  1304.   This is a DOS command and sets the amount of memory available for 
  1305.   use by each DOS session.  The maximum is 640k.  Since some DOS 
  1306.   programs require 640k, its best to have RMSIZE set to 640.
  1307.  
  1308.   <<=TIP=>>  If you only have 4MB of RAM or don't have any DOS 
  1309.   programs that need a full 640k, you should consider reducing this 
  1310.   parameter to 512.  Many DOS applications will run in a 512k DOS 
  1311.   partition.  Doing this will free up some additional RAM which will 
  1312.   help performance.
  1313.  
  1314.   <<=TIP=>>  If you need maximum memory (more than 640k), see tip 
  1315.   under DOS=LOW,NOUMB.
  1316. 
  1317. DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1318.  
  1319.   VEMM.SYS lets DOS programs use expanded memory unless you override 
  1320.   it by changing a DOS programs SETTINGS.
  1321.  
  1322.   Three of its switches are:
  1323.  
  1324.      /S=n  Sets the limit of EMS memory in blocks of 1024k.  
  1325.         Default is 2.
  1326.  
  1327.      /L=n  Size of conventional memory that can be remapped.  
  1328.         Default is none.
  1329.  
  1330.      /F=nnnn  Memory frame address to be used to map EMS.  
  1331.         Default is AUTO.
  1332.  
  1333.   <<=NOTE=>>  Settings you specify in a DOS session will override 
  1334.   these switches.
  1335.  
  1336.   <<=NOTE=>>  The VEMM.SYS device must be listed in your CONFIG.SYS 
  1337.   file before the VXMS.SYS device.
  1338. 
  1339. DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1340.  
  1341.   Identifies and loads the mouse driver to let you use a mouse with 
  1342.   DOS.  Mouse support for OS/2 is loaded below.  
  1343.  
  1344.   <<=NOTE=>>  If you don't have this line (or you REM'd it), you will 
  1345.   not have mouse support in your DOS sessions.
  1346. 
  1347. DOS=LOW,NOUMB
  1348.   
  1349.   This is a standard DOS command that lets you control how DOS uses 
  1350.   memory.  The OS/2 default is DOS=LOW,NOUMB and is considered by many 
  1351.   to be the best setting for it conserves memory for OS/2.  DOS=HIGH 
  1352.   (including ,UMB) reduces available memory for OS/2, but increases 
  1353.   the available memory in EVERY DOS session.  Few DOS sessions need 
  1354.   maximum memory.  Also remember that you can move DOS HIGH for a 
  1355.   specific program by changing that programs DOS.  This is done in the 
  1356.   programs Settings Notebook and is likely the better way to go.  
  1357.   Finally, keep in mind that in OS/2 many device drivers are not 
  1358.   taking up room in your 640k DOS area.  So you generally have more 
  1359.   memory in the typical OS/2 DOS session than in a standard DOS 
  1360.   session.
  1361.  
  1362.   The following is the amount of memory my system reports in each DOS 
  1363.   session with DOS=LOW,NOUMB.  The vast majority of all DOS programs 
  1364.   will run just fine with this amount of memory.
  1365.  
  1366.     655360 bytes total memory
  1367.     655360 bytes available for DOS
  1368.     618208 largest executable program size    <---- About 604k.
  1369.  
  1370.   With DOS=HIGH, the amount of memory reported is:
  1371.  
  1372.     655360 bytes total memory
  1373.     655360 bytes available for DOS
  1374.     643632 largest executable program size    <---- About 629k.
  1375.  
  1376.   <<=TIP=>>  If you have need for maximum available RAM in a DOS 
  1377.   session and can get by on CGA or MONO, change RMSIZE=639 (See 
  1378.   description of this parameter three command lines above) in your 
  1379.   CONFIG.SYS file (has to be 639k due to a bug in OS/2).  Then in DOS 
  1380.   Settings of your applications Settings Notebook, change 
  1381.   VIDEO_MODE_RESTRICTION to CGA or MONO.  (Note that there are some 
  1382.   reports from users that this procedure does not work on their 
  1383.   hardware.)  The amount of memory reported after doing this on my 
  1384.   machine is:
  1385.  
  1386.     752640 bytes total memory
  1387.     752640 bytes available for DOS
  1388.     740656 largest executable program size    <---- About 724k.
  1389. 
  1390. DEVICE=C:\OS2\APM.SYS
  1391.  
  1392.   Device driver for ADVANCED POWER MANAGEMENT system used with laptop 
  1393.   systems.  If you have this line in your CONFIG.SYS file and you are 
  1394.  
  1395.   NOT using a laptop, REM or delete the statement.  If you are using a 
  1396.   laptop, see the OS/2 README file for more details on its operation.
  1397. 
  1398. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1399.  
  1400.   VXMS.SYS is a device driver that provides Extended Memory management 
  1401.   to DOS sessions.  XMS allows DOS programs to access more than one MB 
  1402.   of memory.  You need the /UMB switch at the end if you want upper 
  1403.   memory block support in DOS sessions.
  1404.  
  1405.   <<=NOTE=>>  The VXMS.SYS device must be listed in your CONFIG.SYS 
  1406.   file after the VEMM.SYS device.
  1407. 
  1408. DEVICE=C:\OS2\MDOS\VDPX.SYS
  1409.  
  1410.   Driver required when using VDPMI in the CONFIG.SYS file line below.  
  1411.   One authority said that this driver "provides V86 to Protected Mode 
  1412.   translation for DPMI memory".  Well that's enough to lose me.
  1413. 
  1414. DEVICE=C:\OS2\MDOS\VDPMI.SYS
  1415.  
  1416.   Provides "virtual" DPMI (DOS Protect Mode Interface) memory for DOS 
  1417.   and Window sessions.  I don't know much about this, but I've been 
  1418.   told not to remove it.
  1419. 
  1420. DEVICE=C:\OS2\MDOS\VWIN.SYS
  1421.  
  1422.   Assists in the process of providing seamless Windows support.
  1423. 
  1424. DEVICE=C:\OS2\EXTDSKDD.SYS
  1425.  
  1426.   EXTDSKDD.SYS supports external disk drives.
  1427. 
  1428. DEVICE=C:\OS2\PCMCIA.SYS 
  1429. DEVICE=C:\OS2\MDOS\VPCMCIA.SYS 
  1430.  
  1431.   These two drivers are new to version 2.1.  They provide support for 
  1432.   computers that have PC Memory Card International Association 
  1433.   (PCMCIA) adapters.
  1434.  
  1435.   <<=TIP=>>  If you don't have any PCMCIA devices, then you should REM 
  1436.   these drivers to save a little RAM.
  1437. 
  1438. DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1439.  
  1440.   This is a CD-ROM device driver.  
  1441.  
  1442.   <<=TIP=>>  If you don't have a CD-ROM installed, then you should REM 
  1443.   this line to save a little RAM.  Remember, the more RAM OS/2 has--up 
  1444.   to 16MB--the better it runs.  After 16MB it doesn't seem to improve 
  1445.   much, overall.
  1446. 
  1447. IFS=C:\OS2\CDFS.IFS /C:4
  1448.  
  1449.   This OS/2 command is needed if you have a CD-ROM.  It installs 
  1450.   CDFS.INF which is the "Installable File System" for CD-ROMs.  Your 
  1451.   CD-ROM is not going to run without it.
  1452.     
  1453.   <<=TIP=>>  You can add cache to your CD-ROM IFS by adding the /C:n
  1454.   switch.  The variable "n" is a number which represents units of 64kb
  1455.   of memory.  For example, /C:4 would set up a 256kb cache (4 x 64kb =
  1456.   256kb).
  1457. 
  1458. DEVICE=C:\OS2\OS2CDROM.DMD /Q
  1459.     
  1460.   OS/2 CD-ROM driver used on many, but not all CD-ROM's.
  1461. 
  1462. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1463.  
  1464.   This command prepares your monitor to display information based upon 
  1465.   the CODEPAGE specification.  VIOTBL.DCP is the file that contains 
  1466.   the video fonts for displaying characters for each of the CODEPAGES 
  1467.   supported by OS/2.  See the CODEPAGE command line below.
  1468. 
  1469. DEVICE=C:\OS2\MDOS\VVGA.SYS 
  1470.  
  1471.   Your CONFIG.SYS file will contain various device drivers for various 
  1472.   devices based upon your systems hardware configuration.  This device 
  1473.   driver for supporting VGA video cards in DOS sessions.
  1474. 
  1475. SET VIDEO_DEVICES=VIO_SVGA
  1476. SET VIO_SVGA=DEVICE(BVHVGA, BVHSVGA)
  1477. DEVICE=C:\OS2\MDOS\VSVGA.SYS
  1478.       
  1479.   Your CONFIG.SYS file will contain various device drivers for various 
  1480.   devices based upon your systems hardware configuration.  These 
  1481.   device driver are for a SVGA video card.
  1482. 
  1483. DEVICE=C:\OS2\POINTDD.SYS 
  1484.  
  1485.   POINTDD.SYS is the file that contains information on what the mouse 
  1486.   pointer looks like and draws it on you screen.  
  1487.  
  1488.   <<=WARNING=>>  In order for MOUSE.SYS to work effectively, this 
  1489.   driver must be loaded by OS/2.  Do not remove it from your 
  1490.   CONFIG.SYS file.
  1491. 
  1492. DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  1493.  
  1494.   Lets you use a mouse or track ball with OS/2.  This line also 
  1495.   identifies the type of mouse you have and which COM port it is on.  
  1496.   QSIZE is a number from 1 to 100 which indicates how many mouse 
  1497.   actions are to be saved when you execute mouse actions faster than 
  1498.   your system can handle them.
  1499.  
  1500.   <<=NOTE=>>  The MOUSE.SYS statement must come before the COM.SYS 
  1501.   because COM.SYS will take over any unused COM port.  If COM.SYS 
  1502.   takes over the COM ports before MOUSE.SYS is loaded, MOUSE.SYS will 
  1503.   not have any COM ports available, thus no mouse support.
  1504. 
  1505. DEVICE=C:\OS2\COM.SYS
  1506.  
  1507.   Lets you use the communications ports one and two (COM1 and COM2).  
  1508.   (If you want to use COM3 or COM4 or change the IRQ of a COM port,
  1509.   see <<=TIP=>> below.)  This line MUST appear after any driver that 
  1510.   uses a communications port.  Use COM02.SYS for IBM PS/2 model 90
  1511.   and 95.
  1512.  
  1513.   <<=TIP=>>  There are two very good replacement drivers for 
  1514.   COM.SYS\VCOM.SYS called SIO.SYS\VSIO.SYS.  It can be obtained on 
  1515.   most OS/2 BBSs.  If you utilize communications software on a regular 
  1516.   basis at high speeds (e.g. 14,400), I recommend you consider 
  1517.   SIO.SYS.  Replace VCOM.SYS (below) with VSIO.SYS which comes with 
  1518.   SIO.SYS.  SIO.SYS and VSIO.SYS are Shareware, not Freeware.  
  1519.   Register them if you use them!
  1520.  
  1521.   <<=TIP=>>  To add support for COM3 and COM4 at location 3E8 with IRQ 
  1522.   4 and 2E8 with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3) to the 
  1523.   DEVICE line, e.g. DEVICE=C:\OS2\COM.SYS (3,3E8,4) (4,2E8,3).  You 
  1524.   can also use this method to change a COM ports assigned IRQ. 
  1525. 
  1526. DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1527.  
  1528.   Lets you use the communications ports for DOS and Windows sessions.  
  1529.   Must appear after the COM.SYS driver.  
  1530.  
  1531.   <<=NOTE=>>  If you are using COM3 and/or COM4, add the appropriate 
  1532.   parameters to the COM.SYS line above only.  It is not necessary to 
  1533.   add any parameters to this line.  VCOM.SYS inherits its parameters 
  1534.   from the COM.SYS line.
  1535.  
  1536.   <<=TIP=>>  See TIP under DEVICE=C:\OS2\COM.SYS regarding SIO.SYS.
  1537. 
  1538. DEVICE=C:\OS2\SIO.SYS
  1539. DEVICE=C:\OS2\VSIO.SYS
  1540.       
  1541.   Excellant replacement drivers for COM.SYS and VCOM.SYS.  If you
  1542.   utilize communications software on a regular basis at high speeds
  1543.   (e.g. 14,400), then these two drivers are the way to go.  Be sure
  1544.   you have REM'd out COM.SYS and VCOM.SYS when using.  SIO.SYS and
  1545.   VSIO.SYS are Shareware, not Freeware.  Register them if you
  1546.   use them!
  1547. 
  1548. DEVICE=C:\MMOS2\MVPRODD.SYS /I12 /D3  /N:PAS161$
  1549. DEVICE=C:\MMOS2\AUDIOVDD.SYS PAS161$
  1550.    
  1551.   These two drivers are for MediaVision's ProAudio Spectrum sound
  1552.   card.  The first driver is shown set for IRQ 12, DMA 3.
  1553. 
  1554. DEVICE=C:\OS2\MDOS\ANSI.SYS  
  1555.  
  1556.   This is the traditional DOS command most are familiar with.  It only 
  1557.   affects DOS sessions.  This line is not added to your CONFIG.SYS 
  1558.   file by default.  If you want it, you need to add it.
  1559.  
  1560.   OS/2 sessions have ANSI support by default.  If you are unsure if 
  1561.   ANSI is on or off in an OS/2 session, go to an OS/2 command prompt 
  1562.   and type ANSI.  You will get a message like:  "ANSI extended screen 
  1563.   and keyboard control is on."  For an OS/2 session, turn ANSI off or 
  1564.   on by typing ANSI OFF or ANSI ON at an OS/2 command prompt.
  1565. 
  1566. DEVICE=C:\OS2\LOG.SYS
  1567.  
  1568.   This optional device driver installs OS/2s error log file.  If you 
  1569.   want a log of errors that occur on your system, then add this and 
  1570.   the next line to your CONFIG.SYS file.  If you are interested in 
  1571.   such things, you may wish to play with it, but be forewarned, the 
  1572.   error log information is cryptic.  For example, only error codes are 
  1573.   reported.  To learn what these codes mean, you need to have IBMs 
  1574.   Systems Network Architecture Formats (GA27-3136-12) or, for a 
  1575.   reasonable overview, get OS/2 2.1 Unleashed, 1993, SAMS Publishing.
  1576.  
  1577.   The switch /E:<kb> sets the size of the error log buffer.  The range 
  1578.   is from 4kb to 64kb with 8kb as the default.  I've not used this 
  1579.   switch in the CONFIG.SYS file line above, therefore the default will 
  1580.   be used.
  1581.  
  1582.   You will get a short and quick message during boot up indicating 
  1583.   that Logging has been installed and what the buffer size is.
  1584.  
  1585.   <<=NOTE=>>  LOG.SYS has its limitations.  It will not log an 
  1586.   application error unless the application has be written to make 
  1587.   use of LOG.SYS.  Some routine system errors will not log either 
  1588.   because OS/2 opens an error message box on screen to report these.
  1589. 
  1590. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\LOGFILE.DAT /W:16
  1591.  
  1592.   This RUN command states the logging process and must appear AFTER 
  1593.   you have installed the LOG.SYS driver noted in the CONFIG.SYS file 
  1594.   line above.  The two switches are:
  1595.  
  1596.      /E:<path><filename>  This is the path and file name of the 
  1597.         test file where the errors will be logged.  You can place 
  1598.         it anywhere you want and call it anything you wish.  
  1599.         NOTE:  Like the OS/2 INI files, this file is "locked" and 
  1600.         you will not be able to access it with your standard text 
  1601.         editor or the OS/2 System Editor.  You will get a 
  1602.         "violation error".  The Enhanced Editor will open the 
  1603.         file.
  1604.  
  1605.      /W:<kb>  This is the size of the file named with the /E 
  1606.         switch.  The default size is 64k, but with this switch 
  1607.         you can set the value from 4k to 64k.  I've set the file 
  1608.         size at 16k in the example line above.
  1609.  
  1610.   <<=NOTE=>>  Use SYSLOG.EXE from an OS/2 command line prompt to view 
  1611.   your log file.
  1612. 
  1613. CODEPAGE=437,850
  1614.  
  1615.   Lets you use the alphabet of various countries and languages.  The 
  1616.   syntax is CODEPAGE=ppp,sss, where ppp is the number of the primary 
  1617.   national alphabet to be used and sss is a secondary alphabet number.  
  1618.  
  1619.   437=US English alphabet and 850=multinational alphabet.  The 
  1620.   multinational alphabet contains most of the accented letters used in 
  1621.   various European languages.  Several other alphabets that can be 
  1622.   supported by your version of OS/2.  See Table 6.0.  
  1623.  
  1624.   <<=WARNING=>>  Japan, Korean and Chinese require a special version 
  1625.   of OS/2 and special hardware.
  1626.  
  1627.   <<=NOTE=>>  If there is not a CODEPAGE statement in your CONFIG.SYS 
  1628.   file, your keyboard will use an alphabet based on the COUNTRY 
  1629.   statement found earlier in your CONFIG.SYS file, but your screen and 
  1630.   printer will use their built in defaults.
  1631.  
  1632.   ================== Table 6.0 =====================
  1633.  
  1634.     COUNTRY                  PRIMARY      SECONDARY   
  1635.                              CODE PAGE    CODE PAGE   
  1636.     Arabic-speaking          864          850         
  1637.     Asia (English)           437          850         
  1638.     Australia (English)      437          850         
  1639.     Belgium                  850          437         
  1640.     Canada (French)          863          850         
  1641.     Czechoslovakia           852          850         
  1642.     Denmark                  850          n/a         
  1643.     Finland                  850          437         
  1644.     France                   437          850         
  1645.     Germany                  850          437         
  1646.     Hebrew-speaking          862          850         
  1647.     Hungary                  852          850         
  1648.     Iceland                  850          861         
  1649.     Italy                    437          850         
  1650.     Japan                    932          437, 850    
  1651.     Korea                    934          437, 850    
  1652.     Latin America            437          850         
  1653.     Netherlands              850          437         
  1654.     Norway                   850          n/a         
  1655.     Peoples Republic of      938          437, 850    
  1656.       China                                           
  1657.     Poland                   852          850         
  1658.     Portugal                 850          860         
  1659.     Spain                    850          437         
  1660.     Sweden                   850          437         
  1661.     Switzerland (French)     850          437         
  1662.     Switzerland (German)     850          437         
  1663.     Taiwan                   437          850         
  1664.     Turkey                   857          850         
  1665.     United Kingdom           437          850         
  1666.     United States            437          850         
  1667.     Yugoslavia               852          850         
  1668.   ==================================================
  1669. 
  1670. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1671.  
  1672.   Tells the keyboard which international character set to use and 
  1673.   where to find the file KEYBOARD.DCP which translates keystrokes.  
  1674.   The syntax is DEVINFO=KBD,cc,DRIVE,PATH,FILENAME.  The parameter cc 
  1675.   equals the character set to be used, e.g. US = United States.  See 
  1676.   Table 7.0 for character set codes.
  1677.  
  1678.   =============== Table 7.0 ================
  1679.  
  1680.     LANGUAGE                   COUNTRY CODE    
  1681.     Arabic                     AR              
  1682.     Belgian                    BE              
  1683.     Canadian French            CF              
  1684.     Czech/Czech                CS243           
  1685.     Czech/Slovak               CS245           
  1686.     Danish                     DK              
  1687.     Dutch                      NL              
  1688.     Finnish                    SU              
  1689.     French                     FR              
  1690.     German                     GR              
  1691.     Hebrew                     HE              
  1692.     Hungarian                  HU              
  1693.     Icelandic                  IS              
  1694.     Italian                    IT              
  1695.     Latin American             LA              
  1696.     Norwegian                  NO              
  1697.     Polish                     PL              
  1698.     Portuguese                 PO              
  1699.     Spanish                    SP              
  1700.     Swedish                    SV              
  1701.     Swiss (French)             SF              
  1702.     Swiss (German)             SG              
  1703.     Turkish                    TR              
  1704.     United Kingdom             UK              
  1705.     United States              US              
  1706.     Yugoslavian                YU              
  1707.   ==========================================
  1708. 
  1709. SET ZOCDEVICE=COM2
  1710.  
  1711.   Command used by ZOC, the excellant OS/2 communications program
  1712.   from Germany.
  1713. 
  1714. DEVICE=C:\OS2\VDISK.SYS 512
  1715.  
  1716.   As in DOS, this driver installs a RAM disk.  In this example, the 
  1717.   RAM disk is 512k with the sectors and directories parameters set at 
  1718.   the default level (64-byte sectors and 64 directory entries).  With 
  1719.   DOS, a RAM disk could significantly improve system performance, but 
  1720.   because OS/2 handles your memory far more efficiently than DOS and 
  1721.   has its own sophisticated caching routines, using a RAM disk is not 
  1722.   recommended.  
  1723.  
  1724.   <<=CAUTION=>>  Because a RAM disk takes available memory away from 
  1725.   OS/2, you may negatively impact system performance on systems with 
  1726.   less than 12MB of RAM.  Unless you have lots of RAM or have a very 
  1727.   specific need, don't install a RAM disk.
  1728.  
  1729.   <<=NOTE=>>  If you do install VDISK.SYS and you also have 
  1730.   EXTDSKDD.SYS installed, VDISK.SYS much be placed after EXTDSKDD.SYS
  1731.   in your CONFIG.SYS file.  Check your online Command Reference for 
  1732.   information on EXTDSKDD.SYS.
  1733. 
  1734. DEVICE=C:\OS2\MDOS\VNPX.SYS
  1735.  
  1736.   This device driver works with your systems math coprocessor.  Some
  1737.   have suggested that if you add it to your CONFIG.SYS file you will
  1738.   see an enhancement in your systems performance.  Not so.  There is
  1739.   no reason for it to be added to your CONFIG.SYS file.  IF YOU HAVE
  1740.   A MATH COPROCESSOR, OS/2 WILL LOAD THIS DRIVER AUTOMATICALLY.  If
  1741.   you add it to your CONFIG.SYS file, a second copy of the driver will
  1742.   be loaded.  In doing so, many have reported that no DOS programs
  1743.   would run.
  1744. 
  1745. ---------------------------------------------------------------------
  1746. 5.  NOVELL NETWARE NETWORK SUPPORT.                                  
  1747. ---------------------------------------------------------------------
  1748.  Novell's NetWare is the most popular PC Network software around today.  
  1749.  We use it at work and I've used our CONFIG.SYS file entries as the 
  1750.  basis for this section of information.   
  1751.  
  1752.  <<==NOTE==>>  I'm not very knowledgeable about networks, so if
  1753.  someone would like to expand on this information and send it to
  1754.  me, I'd love to give you credit and include it here.
  1755. 
  1756. REM --- NetWare Requester statements BEGIN ---
  1757. 
  1758. DEVICE=C:\NETWARE\LSL.SYS
  1759.    
  1760.   Loads Link support Layer driver.  It is the lowest layer in the 
  1761.   Novell Open Data Link Interface model and is required at all times 
  1762.   for the requester to be active.
  1763. 
  1764. RUN=C:\NETWARE\DDAEMON.EXE
  1765.  
  1766.   A daemon is a background process that usually carries out 
  1767.   administrative tasks for the system without you knowing it.  This 
  1768.   "daemon" is required for the requester to be active.
  1769. 
  1770. DEVICE=C:\NETWARE\TOKEN.SYS
  1771.  
  1772.   This line differs depending on the network board you have.
  1773. 
  1774. DEVICE=C:\NETWARE\ROUTE.SYS
  1775.  
  1776.   No information available.
  1777. 
  1778. DEVICE=C:\NETWARE\IPX.SYS
  1779.  
  1780.   Provides Novell IPX protocol support and is required for access to a 
  1781.   NetWare server.
  1782. 
  1783. DEVICE=C:\NETWARE\SPX.SYS
  1784.  
  1785.   Provides Novell SPX protocol support.  It is my understanding that 
  1786.   this command is required for some Novell printing utilities, but is 
  1787.   optional in most cases.
  1788. 
  1789. RUN=C:\NETWARE\SPDAEMON.EXE
  1790.  
  1791.   Loads a daemon process that handles SPX packets.
  1792. 
  1793. REM DEVICE=C:\NETWARE\NMPIPE.SYS
  1794.  
  1795.   Loads the support for client-only Named Pipes support.
  1796. 
  1797. REM DEVICE=C:\NETWARE\NPSERVER.SYS
  1798.  
  1799.   Loads support for your workstation to function as a Named Pipes 
  1800.   server.
  1801. 
  1802. REM RUN=C:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
  1803.  
  1804.   This line is required for either the client or the server NetBIOS 
  1805.   support to be active and is a daemon program that is part of the 
  1806.   Named Pipes support.
  1807. 
  1808. DEVICE=C:\NETWARE\NWREQ.SYS
  1809.  
  1810.   This is the CORE REQUESTER MODULE.  This line must follow any lines 
  1811.   that support IPX, SPX, or Named Pipes.
  1812. 
  1813. IFS=C:\NETWARE\NWIFS.IFS
  1814.  
  1815.   This installed the networks Installable File System.  This enables 
  1816.   OS/2 to see the network drives just the same as local drives.
  1817. 
  1818. RUN=C:\NETWARE\NWDAEMON.EXE
  1819.  
  1820.   Another daemon program, but I'm not sure for which process.
  1821. 
  1822. DEVICE=C:\NETWARE\NETBIOS.SYS
  1823.  
  1824.   Loads support for the NETBIOS protocol.
  1825. 
  1826. RUN=C:\NETWARE\NBDAEMON.EXE
  1827.  
  1828.   Loads the NETBIOS daemon process.
  1829. 
  1830. DEVICE=C:\NETWARE\VIPX.SYS
  1831.  
  1832.   Loads support for multiple virtual DOS machine support.  It is 
  1833.   required both to have multiple DOS boxes on the network and to run 
  1834.   the NetWare DOS based utilities.
  1835. 
  1836. DEVICE=C:\NETWARE\VSHELL.SYS
  1837.  
  1838.   Loads the network shell.  It is automatically used for all DOS and 
  1839.   WIN-OS/2 sessions that require it.
  1840. 
  1841. REM --- NetWare Requester statements END ---
  1842.  
  1843. ---------------------------------------------------------------------
  1844. END OF CONFIG.SYS FILE DESCRIPTION
  1845. 
  1846. ---------------------------------------------------------------------
  1847. 6.  OBSCURE CONFIG.SYS SETTINGS.                                     
  1848. ---------------------------------------------------------------------
  1849.  What follows are some very obscure CONFIG.SYS file settings.  They are 
  1850.  here only for informational purposes.  Unless you have a very specific 
  1851.  need and know what you're doing, please don't experiment with these.
  1852.  
  1853. SET SHELLEXCEPTIONHANDLER=OFF
  1854.  
  1855.   The WpS has its own exception handling routines which allows it to 
  1856.   recover from most errors.  You can turn this "exception handling" off
  1857.   with this command.  Could be useful when debugging an object.
  1858.  
  1859. SET OBJECTSNOOZETIME=45
  1860.  
  1861.   Useful when programming certain types of object DDLs.
  1862.  
  1863. TIMESLICE=128,256
  1864.  
  1865.   This command allows you to manually control the minimum and maximum 
  1866.   amount of processor time any thread can receive at once.  The syntax 
  1867.   is TIMESLICE=x,y where x is the minimum time slice (in milliseconds
  1868.   and must be at least 32) and where y is the maximum length (must be 
  1869.   less than 65536).
  1870.  
  1871.   <<=TIP=>>  OS/2 handles time slicing dynamically.  This means that 
  1872.   the system is adjusting the time slice values based on the actual 
  1873.   processes active on the system as the workload changes.  Therefore, 
  1874.   it is best not to attempt to manually set TIMESLICE.  OS/2 can 
  1875.   handle this process far better than most of us can.
  1876.  
  1877. TRACE=ON
  1878.  
  1879.   Helpful for System Administrators and programmers.  Assists in the 
  1880.   tracking of system problems by turning TRACE on (or off) and 
  1881.   establishing a buffer (4k is default.  You can increase this using 
  1882.   the command TRACEBUF) to store tracing data.  You can also start 
  1883.   TRACE from an OS/2 command prompt.
  1884.  
  1885. TRAPDUMP
  1886.  
  1887.   Trap errors are routed to disk for analysis.
  1888.  
  1889. DUMPPROCESS
  1890.  
  1891.   Dump process is the procedure for writing memory contents to disk 
  1892.   for analysis, i.e., the dump process could not write to drive A.
  1893.  
  1894. PROTECT16
  1895.  
  1896.   Haven't found out about this one yet.  Comments?
  1897. 
  1898. ---------------------------------------------------------------------
  1899. 7.  SAMPLE CONFIG.SYS FILES.                                         
  1900. ---------------------------------------------------------------------
  1901. --------------------------------------------------------
  1902. FILE FOR CLONE WITH 8MB OF RAM AND VGA RUNNING ONLY HPFS
  1903. --------------------------------------------------------
  1904.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  1905.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  1906.  IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 /AUTOCHECK:C
  1907.  PROTSHELL=C:\OS2\PMSHELL.EXE
  1908.  SET USER_INI=C:\OS2\OS2.INI
  1909.  SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  1910.  SET OS2_SHELL=C:\OS2\CMD.EXE
  1911.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  1912.  SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  1913.  SET RESTARTOBJECTS=YES
  1914.  SET COMSPEC=C:\OS2\CMD.EXE
  1915.  LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  1916.  SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  1917.       C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  1918.  SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  1919.       C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  1920.  SET PROMPT=$E[1;33m[$p]$g
  1921.  SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  1922.  SET GLOSSARY=C:\OS2\HELP\GLOSS;
  1923.  SET DIRCMD=/O /P
  1924.  SET IPF_KEYS=SBCS                        (New with version 2.1)
  1925.  PRIORITY_DISK_IO=YES
  1926.  FILES=20
  1927.  DEVICE=C:\OS2\TESTCFG.SYS
  1928.  DEVICE=C:\OS2\DOS.SYS
  1929.  DEVICE=C:\OS2\PMDD.SYS
  1930.  BUFFERS=50
  1931.  IOPL=YES
  1932.  REM * DISKCACHE=1024,LW,32,AC:C
  1933.  RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000/BUFFERIDLE:60000
  1934.  MAXWAIT=2
  1935.  MEMMAN=SWAP,PROTECT
  1936.  SWAPPATH=C:\OS2\SYSTEM 512 4096
  1937.  BREAK=OFF
  1938.  THREADS=256
  1939.  PRINTMONBUFSIZE=402,134,134
  1940.  COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1941.  SET KEYS=OFF
  1942.  REM * SET DELDIR=C:\DELETE,512;
  1943.  BASEDEV=PRINT01.SYS
  1944.  BASEDEV=IBM1FLPY.ADD
  1945.  BASEDEV=IBM1S506.ADD
  1946.  BASEDEV=OS2DASD.DMD
  1947.  SET BOOKSHELF=C:\OS2\BOOK
  1948.  SET EPMPATH=C:\OS2\APPS
  1949.  REM * DEVICE=C:\OS2\APPS\SASYNCDA.SYS 
  1950.  PROTECTONLY=NO
  1951.  SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1952.  FCBS=16,8
  1953.  RMSIZE=640
  1954.  DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1955.  DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1956.  DOS=LOW,NOUMB
  1957.  DEVICE=C:\OS2\MDOS\VDPX.SYS 
  1958.  DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1959.  DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  1960.  DEVICE=C:\OS2\MDOS\VWIN.SYS
  1961.  REM * DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1)
  1962.  REM * DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  1963.  REM * DEVICE=C:\OS2\MDOS\VCDROM.SYS      <<-- Assumes no CD-ROM.
  1964.  DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1965.  SET VIDEO_DEVICES=VIO_VGA
  1966.  SET VIO_VGA=DEVICE(BVHVGA)
  1967.  DEVICE=C:\OS2\MDOS\VVGA.SYS
  1968.  DEVICE=C:\OS2\POINTDD.SYS 
  1969.  DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 
  1970.  DEVICE=C:\OS2\COM.SYS 
  1971.  DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1972.  CODEPAGE=437,850
  1973.  DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1974. -----------------------------------------------
  1975. FOR CLONE WITH 8MB RAM AND VGA RUNNING ONLY FAT
  1976. -----------------------------------------------
  1977. Make the following two changes in the CONFIG.SYS listing above.
  1978.  
  1979.  o  REM this line:  IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 
  1980.      /AUTOCHECK:C
  1981.  
  1982.  o  Remove the REM from this line:  REM DISKCACHE=1024,LW
  1983. --------------------------------------------------------
  1984. FOR CLONE WITH 8MB RAM AND VGA RUNNING BOTH FAT AND HPFS
  1985. --------------------------------------------------------
  1986. Make the following changes in the CONFIG.SYS listing above.
  1987.  
  1988.  o  Remove the REM from this line:  REM DISKCACHE=1024,LW
  1989.  
  1990.  o  Change the DISKCACHE size to 256, i.e. DISKCACHE=256,LW
  1991. ----------------------------------------------------
  1992. FOR CLONE WITH 16MB OF RAM AND VGA RUNNING ONLY HPFS
  1993. ----------------------------------------------------
  1994. Make the following changes in the CONFIG.SYS listing above.
  1995.  
  1996.  o  Increase the HPFS cache to 2048, i.e., /CACHE:2048.
  1997.  
  1998.  o  Change BUFFERS=50 to BUFFERS=75.
  1999.  
  2000.  o  Change FILES=20 to FILES=30
  2001.  
  2002.  o  Reduce SWAP file size, i.e. SWAPPATH=C:\OS2\SYSTEM 512 2048.
  2003.  
  2004.  o  Increase your print buffer:  PRINTMONBUFSIZE=2048,134,134.
  2005. -------------------------------------------------------------------
  2006. FOR CLONE WITH 4 OR 6MB OF RAM AND VGA RUNNING FAT (Never run HPFS)
  2007. -------------------------------------------------------------------
  2008.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  2009.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  2010.  REM * IFS=C:\OS2\HPFS.IFS  /CACHE:1024 /CRECL:4 /AUTOCHECK:C
  2011.  PROTSHELL=C:\OS2\PMSHELL.EXE
  2012.  SET USER_INI=C:\OS2\OS2.INI
  2013.  SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  2014.  SET OS2_SHELL=C:\OS2\CMD.EXE
  2015.  SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  2016.  SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  2017.  SET RESTARTOBJECTS=YES
  2018.  SET COMSPEC=C:\OS2\CMD.EXE
  2019.  LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  2020.  SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  2021.       C:\OS2\INSTALL;C:\;C:\OS2\MDOS;C:\OS2\APPS;
  2022.  SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  2023.       C:\;C:\OS2\BITMAP;C:\OS2\MDOS;C:\OS2\APPS;
  2024.  SET PROMPT=$E[1;33m[$p]$g
  2025.  SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  2026.  SET GLOSSARY=C:\OS2\HELP\GLOSS;
  2027.  SET DIRCMD=/O /P
  2028.  SET IPF_KEYS=SBCS                        (New with version 2.1)
  2029.  PRIORITY_DISK_IO=YES
  2030.  FILES=20
  2031.  DEVICE=C:\OS2\TESTCFG.SYS
  2032.  DEVICE=C:\OS2\DOS.SYS
  2033.  DEVICE=C:\OS2\PMDD.SYS
  2034.  BUFFERS=20
  2035.  IOPL=YES
  2036.  DISKCACHE=64,LW,12,AC:C
  2037.  MAXWAIT=2
  2038.  MEMMAN=SWAP,PROTECT
  2039.  SWAPPATH=C:\OS2\SYSTEM 512 6144
  2040.  BREAK=OFF
  2041.  THREADS=128
  2042.  PRINTMONBUFSIZE=134,134,134
  2043.  COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  2044.  SET KEYS=OFF
  2045.  REM * SET DELDIR=C:\DELETE,512;
  2046.  BASEDEV=PRINT01.SYS
  2047.  BASEDEV=IBM1FLPY.ADD
  2048.  BASEDEV=IBM1S506.ADD
  2049.  BASEDEV=OS2DASD.DMD
  2050.  SET BOOKSHELF=C:\OS2\BOOK
  2051.  SET EPMPATH=C:\OS2\APPS
  2052.  REM * DEVICE=C:\OS2\APPS\SASYNCDA.SYS 
  2053.  PROTECTONLY=NO
  2054.  SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  2055.  FCBS=16,8
  2056.  RMSIZE=512
  2057.  DEVICE=C:\OS2\MDOS\VEMM.SYS 
  2058.  DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  2059.  DOS=LOW,NOUMB
  2060.  DEVICE=C:\OS2\MDOS\VDPX.SYS 
  2061.  DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  2062.  DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  2063.  DEVICE=C:\OS2\MDOS\VWIN.SYS
  2064.  REM * DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1) 
  2065.  REM * DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  2066.  REM * DEVICE=C:\OS2\MDOS\VCDROM.SYS      <-- Assumes no CD-ROM.
  2067.  DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  2068.  SET VIDEO_DEVICES=VIO_VGA
  2069.  SET VIO_VGA=DEVICE(BVHVGA)
  2070.  DEVICE=C:\OS2\MDOS\VVGA.SYS
  2071.  DEVICE=C:\OS2\POINTDD.SYS 
  2072.  DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 
  2073.  DEVICE=C:\OS2\COM.SYS 
  2074.  DEVICE=C:\OS2\MDOS\VCOM.SYS  
  2075.  CODEPAGE=437,850
  2076.  DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2077. 
  2078. --------------------------------------------------------------------------
  2079. 8.  HOW TO RESTORE A DAMAGED CONFIG.SYS FILE FROM A BACKUP COPY.          
  2080. --------------------------------------------------------------------------
  2081.  
  2082.  1.  Boot OS/2 from the OS/2 Installation Disk.
  2083.  
  2084.  2.  Insert OS/2 Disk #1 when asked.
  2085.  
  2086.  3.  Press the ESC key when you get the first text screen.  By doing 
  2087.      this you will be put into OS/2s command line mode.
  2088.  
  2089.  4.  Assuming that your backup copy of CONFIG.SYS is in the root directory
  2090.      of "C" drive and is named CONFIG.SAV, enter the following command:
  2091.  
  2092.      COPY C:\CONFIG.SAV C:\CONFIG.SYS
  2093.  
  2094.      Press the ENTER key.
  2095.  
  2096.  5.  Remove OS/2 Disk #1 and reboot the system.
  2097.  
  2098.  What if you didn't make a backup copy?  IBM thought about you.  When 
  2099.  OS/2 was first installed on your system, the installation program made 
  2100.  a backup copy of your original CONFIG.SYS file.  It stored this file 
  2101.  in C:\OS2\INSTALL.  To restore from this file follow the same steps 
  2102.  above, EXCEPT, in step #4 enter the following command instead of the 
  2103.  one shown:
  2104.  
  2105.   COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  2106.  
  2107.  <<=TIP=>>  Replace the CONFIG.SYS file saved by the OS/2 installation 
  2108.  program in the INSTALL directory with your most current version, thus 
  2109.  allowing you to restore from it.  If you are viewing this information 
  2110.  using CNFGINFO.EXE, the Backup option is set to do this for you.
  2111. 
  2112. --------------------------------------------------------------------------
  2113. 9.  REXX SUPPORT FROM WITHIN THE CONFIG.SYS FILE.                         
  2114. --------------------------------------------------------------------------
  2115.  
  2116.  The question of whether REXX programs can be called from within the 
  2117.  CONFIG.SYS file has been asked by a number of people.  Keith Medcalf's 
  2118.  response to the question is one of the best I've seen.  Thanks Keith!
  2119.  
  2120.   ------------------------------------------------------------------------
  2121.     Date: 07-30-93, 08:06                  Number: 483                         
  2122.     From: Keith Medcalf                     Refer: 477                         
  2123.       To: Russ Williams                     Recvd: No                          
  2124.     Subj: REXX from CONFIG.SYS               Conf: Ibm.Os2se                   
  2125.   ------------------------------------------------------------------------
  2126.   Wednesday July 28 1993 16:34, Russ Williams wrote to All:
  2127.  
  2128.    RW> Can anyone tell me what restrictions there are on running REXX
  2129.    RW> programs from CONFIG.SYS (via "CALL=")?  It doesn't work for 
  2130.    RW> me, and the online help is no help.
  2131.  
  2132.   You cannot.  The DLLs required to support Rexx are not loaded until 
  2133.   Presentation Manager is loaded.  If you require Rexx support 
  2134.   earlier, look for a program call SRVREXX at a fine BBS near you.
  2135.  
  2136.   Adding the line RUN=SRVREXX.EXE to the config.sys will immediately 
  2137.   initialize Rexx.  You will then be able to access Rexx with or 
  2138.   without PM being loaded.
  2139. 
  2140. --------------------------------------------------------------------------
  2141. //END//
  2142.