home *** CD-ROM | disk | FTP | other *** search
/ Monster Media 1993 #2 / Image.iso / os2 / os2cnfg6.zip / OS2CNFG6.TXT
Text File  |  1993-08-05  |  83KB  |  1,425 lines

  1.  
  2.  
  3.  
  4.         ----------------------------------------------------------------------------------------------
  5.         OS/2 2.x CONFIG.SYS FILE DESCRIPTION  -  Version 6.0 / July 31, 1993 - COMPILED BY RICK MEIGS
  6.         ----------------------------------------------------------------------------------------------
  7.         Copyright (c) 1992-93, Rick Meigs, 7032 SW 26th Street, Portland, OR, 97219.  If you find er-
  8.         rors or have some helpful information, please do contact me at the address above.  I also hang 
  9.         around the FidoNet OS/2 conference, so you can drop me a note there also.
  10.         
  11.         <<=ENCOURAGEMENT=>>  This ASCII file may be freely distributed (AND YOU'RE ENCOURAGED TO DO SO) 
  12.         on a not-for-profit basis, but the copyright notice may not be removed and the file may not be 
  13.         modified.
  14.         
  15.         VIEWING FILE:  For best viewing, use the OS/2 System Editor with word wrap OFF and full screen.
  16.         
  17.         PRINTING FILE:  Print in compress print mode.
  18.         
  19.         CONTENTS:
  20.         
  21.           1.  Caution, warning and disclaimer.
  22.           2.  Initial Comments.
  23.           3.  CONFIG.SYS file description.
  24.           4.  Obscure CONFIG.SYS settings.
  25.           5.  Sample CONFIG.SYS files.
  26.           6.  How to restore a damaged CONFIG.SYS file from a backup copy.
  27.           7.  REXX Support from within the CONFIG.SYS file.
  28.         
  29.         ----------------------------------------------------------------------------------------------
  30.         1.  Cautions, warnings and disclaimers.
  31.         ----------------------------------------------------------------------------------------------
  32.         <<=CAUTION=>>  Because of the way in which OS/2s Enhance PM Editor (EPM.EXE) handles word wrap-
  33.         ping, using it to edit your CONFIG.SYS file is unwise.  Best results are obtained using OS/2s 
  34.         System Editor (E.EXE).
  35.         
  36.         <<=WARNING=>>  IF YOU PLAN ON CHANGING ANY LINE IN YOUR CURRENT CONFIG.SYS FILE, PLEASE BE SURE 
  37.         TO CREATE A BACKUP --BEFORE-- YOU START EXPERIMENTING!!!  THIS HAS SAVED ME MORE THAN ONCE.  
  38.         MAKING A BACKUP COPY WILL DO YOU KNOW GOOD IF YOU DON'T KNOW HOW TO RESTORE A DAMAGED 
  39.         CONFIG.SYS FILE WITH THE BACKUP.  I HAVE INCLUDED THE PROCEDURE AT THE END OF THIS FILE.
  40.         
  41.         <<=REQUIRED READING=>>  I CAN'T BE RESPONSIBLE FOR WHAT YOU DO WITH YOUR SYSTEM AND CONFIG.SYS 
  42.         FILE BASED UPON WHAT YOU MAY LEARN FROM THE INFORMATION PROVIDED IN THIS FILE.  EVERY EFFORT 
  43.         HAS BEEN MADE TO MAKE THIS FILE AS ACCURATE AS POSSIBLE, BUT NO WARRANTY OR FITNESS IS IMPLIED.  
  44.         THE INFORMATION IS PROVIDED ON AN "AS IS" BASIS.
  45.         
  46.         ----------------------------------------------------------------------------------------------
  47.         2.  Initial Comments.
  48.         ----------------------------------------------------------------------------------------------
  49.         This project has become something more than I had anticipated.  Now in its sixth version and 
  50.         I'm still finding out new things about OS/2s CONFIG.SYS file.  Actually, this CONFIG.SYS FILE 
  51.         DESCRIPTION has become as much an optimization handbook as it is a description.  I assume that 
  52.         someday, all that can be said about the file will have been said.  At that point I'll be able 
  53.         to sit back and just let the last update circulate <g>.
  54.         
  55.         Even with all the hours I've put into this CONFIG.SYS FILE DESCRIPTION, I still find it often 
  56.         to be a mystery.  At least one attempt to "demystify" the file has been made by a major comput-
  57.         er rag within the last year, but I found myself more "mystified" than "demystified".  Some of 
  58.         the information share was just plain wrong.  Still, mystery or not, to get the most out of OS/2 
  59.         and your system, you MUST spend a little time editing your CONFIG.SYS file.
  60.         
  61.         This whole process began 1992 when I began researching what many of the CONFIG.SYS file com-
  62.         mands were for.  This ever growing file is the result of that ongoing research.  It briefly 
  63.         describes many of the common and obscure commands.  Naturally, not all possible commands are 
  64.         listed (especially the many hardware device drivers), but there is a lot here for you to work 
  65.         with.  Version Six has been updated for OS/2 2.1.
  66.         
  67.         Unlike the DOS CONFIG.SYS file which is read sequentially, OS/2 reads the entire CONFIG.SYS 
  68.         file before it invokes the commands listed.  Therefore, except for a few exceptions which have 
  69.         been noted, it really doesn't matter where a command is placed. 
  70.         
  71.         ---------------------------------------------------------------------------------------------- 
  72.         3.  BEGINNING OF CONFIG.SYS FILE DESCRIPTION
  73.         ----------------------------------------------------------------------------------------------
  74.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  75.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  76.         
  77.           Two files are essential to the operation of OS/2:  OS2.INI and OS2SYS.INI.  If these 
  78.           files should get trashed, OS/2 isn't going to function.  Backing them up is very import-
  79.           ant.  In OS/2 version 2.0, once booted, OS/2 will not let you access or copy these crit-
  80.           ical files.  One way to circumvent this is to create your backups BEFORE OS/2 is booted.  
  81.           This CALL will do the trick.  It creates first a backup of your backup and then creates 
  82.           a backup of the original files.  This gives you a two generation backup.
  83.         
  84.           <<=NOTE=>>  In version 2.1, the INI files can be copied using the normal OS/2 COPY com-
  85.           mand, but you may wish to consider adding this CALL to your CONFIG.SYS file to automate 
  86.           the process.
  87.         
  88.           Generally OS/2 does not care where you place something in the CONFIG.SYS file.  This 
  89.           CALL is an exception in version 2.0.  It must appear are the first line as shown here 
  90.           because you need to complete this backup process before OS2.INI AND OS2SYS.INI load.
  91.         
  92.           <<=TIP=>>  OS2.INI and OS2SYS.INI can also be reconstructed at boot by holding down Alt-
  93.           F1 during boot BEFORE the OS/2 logo appears.  You may need to hold the keys down for at 
  94.           least 20 seconds.  During your initial installation of OS/2, the installation process 
  95.           stored a copy of its original INI files in the folder called INSTALL.  When you press 
  96.           Alt-F1 at boot, OS/2 moves these "backup" files into the OS/2 folder to replace the cur-
  97.           rent versions.
  98.         
  99.           <<=WARNING=>>  Use the Alt-F1 key combination as a last resort because you will lose all 
  100.           customization and changes you have made to the WpS.
  101.         
  102.           <<=TIP=>>  Add the following additional line, CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK2 
  103.           C:\OS2\INSTALL\*.INI, before the first CALL above.  This will replace the INI files in 
  104.           the INSTALL folder with a more recent version.  So when you have to use Alt-F1, you'll 
  105.           reboot without losing most of your customization to your WpS.
  106.         
  107.         IFS=C:\OS2\HPFS.IFS /CACHE:512 /CRECL:4 /AUTOCHECK:C
  108.         
  109.           This OS/2 command installs the High Performance File System (HPFS), if you want to use 
  110.           it instead of FAT.  The syntax is IFS=DRIVE:PATH\FILENAME,SWITCHES.  There are three 
  111.           switches:  
  112.         
  113.              /CACHE:nnn sets up a disk cache and its size.  The default on my 8MB system (shown 
  114.                 in the table below) is to low in my opinion.  If you have 8MB of RAM, set the 
  115.                 cache to 512, but keep in mind that you don't want an excessive cache because 
  116.                 the memory used comes directly out of memory available for programs, e.g. if 
  117.                 you set a 2MB cache on a 6MB system, you will notice a substantial negative 
  118.                 performance hit.  It is my understanding that the maximum cache size for HPFS 
  119.                 is currently 2MB and IBM does not recommend using a cache larger than 1.5MB;
  120.         
  121.                 If you have formatted your system with only HPFS partitions, the default cache 
  122.                 size in this statement will be that noted under ONE FILE SYSTEM in the table 
  123.                 below.  If you have both FAT and HPFS partitions, then OS/2 2.x defaults to 
  124.                 the cache size noted under TWO FILE SYSTEM.  The file system which uses the 
  125.                 greatest amount of your disk space gets the larger default value.
  126.         
  127.                     MEMORY SIZE IN MB       TWO FILE SYSTEM         ONE FILE SYSTEM    
  128.                             4                    128/64                   128          
  129.                             5                    128/64                   128          
  130.                             6                    256/64                   256          
  131.                             7                   256/128                   256          
  132.                             8                   256/256                   384          
  133.                             9                   256/256                   384          
  134.                          10 - 16                512/512                  1024          
  135.                          17 - 32               1024/1024                 2048          
  136.         
  137.              /CRECL sets the maximum record size for caching, from 2k to 64k in multiples of 2k; 
  138.                 and,
  139.         
  140.              /AUTOCHECK:nn tells the system to run CHKDSK and sets the drives to be checked at 
  141.                 startup.
  142.         
  143.           IFS stands for "Installable File System".
  144.         
  145.           <<=TIP=>>  If you are using only FAT partitions, then you should REM this statement and 
  146.           save yourself about 500k of RAM.
  147.         
  148.           <<=TIP=>>  If you have drive partitions larger than 80 or so megabytes, then HPFS will 
  149.           give you better performance than FAT.  On partitions of less than 80MB, their is little 
  150.           or no performance difference between HPFS and FAT.
  151.         
  152.         PAUSEONERROR=YES
  153.         
  154.           This OS/2 only command tells OS/2 to stop for a moment if it cannot process a line in 
  155.           the CONFIG.SYS file correctly.  If you don't include this statement in your CONFIG.SYS 
  156.           file, the default will be YES.  It is generally the best choice since an error message 
  157.           will appear and scroll off the screen so quickly with a NO setting that you may not no-
  158.           tice it or be able to read it.
  159.         
  160.         PROTSHELL=C:\OS2\PMSHELL.EXE
  161.         
  162.           This OS/2 command loads OS/2s user interface program (PMSHELL.EXE) which allows you to 
  163.           make full-screen and window sessions work.  The current interface program is the Work-
  164.           place Shell (WpS), but in theory you could purchase or develop your own user interface 
  165.           and use it instead of the WpS, much like Norton's Desktop is available for the Windows 
  166.           environment.  If you delete this line from your CONFIG.SYS file, OS/2 will load CMD.EXE 
  167.           by default.
  168.         
  169.         SET COMMAND:  The SET command in the CONFIG.SYS file sets up environment variables for the en-
  170.         tire system.  These environmental variables are stored by OS/2 in memory and are shared by any 
  171.         applications which calls on them.  There are a number of these "enviornment variables" covered 
  172.         below.  
  173.         
  174.         <<=NOTE=>>  These variables can also generally be changed at an OS/2 command prompt.
  175.         
  176.         <<=TIP=>>  If you want to see what varibles are set in your system, at an OS/2 command prompt 
  177.         type the word SET and press return.  You'll get a list like the following:
  178.         
  179.           WP_OBJHANDLE=87103
  180.           USER_INI=C:\OS2\OS2.INI
  181.           SYSTEM_INI=C:\OS2\OS2SYS.INI
  182.           OS2_SHELL=C:\OS2\CMD.EXE
  183.           AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  184.           RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  185.           COMSPEC=C:\OS2\CMD.EXE
  186.           PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  187.           DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;
  188.           PROMPT=$E[1;33m[$P]$G
  189.           HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  190.           GLOSSARY=C:\OS2\HELP\GLOSS;
  191.           DIRCMD=/ON /P
  192.           IPF_KEYS=SBCS
  193.           KEYS=OFF
  194.           BOOKSHELF=C:\OS2\BOOK
  195.           EPMPATH=C:\OS2\APPS;
  196.           VIDEO_DEVICES=VIO_SVGA
  197.           VIO_SVGA=DEVICE(BVHVGA,BVHSVGA)
  198.           WORKPLACE__PROCESS=NO
  199.         
  200.         SET USER_INI=C:\OS2\OS2.INI
  201.         
  202.           Tells OS/2 the name and locations of the file that contains your desktop setup informa-
  203.           tion and the options saved from various OS/2 applications.  OS2.INI is the default file 
  204.           name.  
  205.         
  206.           This file remains open the entire time OS/2 is booted and operating.  It only closes 
  207.           upon Shutdown.  If it should become "trashed", MAKEINI.EXE, which ships with OS/2 and is 
  208.           in the OS2 directory, can be used to build a new set of INI xfiles.  You will have to 
  209.           boot from an OS/2 floppy to do so.
  210.         
  211.           <<=NOTE=>>  OS2.INI is a critical file for the proper operation of OS/2 and should not 
  212.           be deleted or modified.  It is not an ASCII file and therefore cannot be modified with 
  213.           an ASCII editor if it should become damaged.  You should consider backing up this file 
  214.           by using the CALL lines shown above or with a program such as WPSBKUP, a shareware pro-
  215.           gram you can obtain on many OS/2 BBSs.
  216.         
  217.         SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  218.         
  219.           Tells OS/2 the name and location of its INI file (OS2SYS.INI).  OS2SYS.INI tells OS/2 
  220.           what kind of equipment your system uses.  NOTE:  OS2SYS.INI is a critical files and 
  221.           should not be deleted or modified.  It is not an ASCII file and can't be edited.  You 
  222.           should consider backing up this file by using the CALL line shown as the first line 
  223.           above or with a program such as WPSBKUP, a shareware program you can obtain on many OS/2 
  224.           BBSs.
  225.  
  226.           This file remains open the entire time OS/2 is booted and operating.  It only closes 
  227.           upon Shutdown.  If it should become "trashed", MAKEINI.EXE, which ships with OS/2 and is 
  228.           in the OS2 directory, can be used to build a new set of INI files.  You will have to 
  229.           boot from an OS/2 floppy to do so.
  230.         
  231.         SET OS2_SHELL=C:\OS2\CMD.EXE
  232.         
  233.           OS2_SHELL directs OS/2 to load the command-line shell (CMD.EXE) when you ask for an OS/2 
  234.           command line from the WpS.  
  235.         
  236.           <<=WARNING=>>  Be careful with this line.  OS/2 will not start without it.
  237.         
  238.           <<=TIP=>>  If you wish to run some other command-line shell, such as 4OS2, change this 
  239.           line and the SET COMSPEC=C:\OS2\CMD.EXE line, substituting the appropriate EXE file for 
  240.           CMD.EXE.
  241.         
  242.         SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  243.         
  244.           This command is used to start parts of the OS/2 WpS.  There is one other parameter:  
  245.           CONNECTIONS.  This starts any network connection in use when the system was last shut-
  246.           down.
  247.         
  248.           <<=WARNING=>>  If you remove any of these statements, then you may not get OS/2 to re-
  249.           spond or you will be restricted from accessing portions of the shell.  For example, if 
  250.           you leave out FOLDERS, Folders, including the Desktop which is also a folder, can not be 
  251.           opened.  If you delete TASKLIST, then you will not obtain the OS/2 TASKLIST when you 
  252.           press Ctrl-Esc and if PROGRAMS is in included, only programs in your startup folder will 
  253.           be available.
  254.         
  255.         SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  256.         
  257.           This line tells the system what interface program is to be used.  In this case it is the 
  258.           Workplace Shell.  I'm not aware of any other options at this time.
  259.         
  260.           <<=TIP=>>  If you want to run OS/2 with only a command line interface, you can do so by 
  261.           changing this line to read SET RUNWORKPLACE=C:\OS2\CMD.EXE.  This brings OS/2 up without 
  262.           the WpS and gives you one full screen session.  Without the WpS, you lose much of OS/2s 
  263.           functionality, but you can start other sessions using the START or DETACH command.  
  264.           Switch between session using Alt+Esc.  For those who want the power of OS/2 and like to 
  265.           work only from a command line, give this a try.
  266.         
  267.         SET RESTARTOBJECTS=YES
  268.         
  269.           This command tells OS/2 what applications to start after you suspend operations with or 
  270.           without doing a Shutdown (as in doing a Ctrl-Alt-Del because some faulty program has 
  271.           locked up your system).  If this statement is not in your CONFIG.SYS, then the default 
  272.           is YES, i.e., start all objects that were running at the time of Shutdown or reboot.  
  273.           Other options are:
  274.         
  275.              NO = do not start any applications that were running at time of shutdown or reboot.  
  276.         
  277.              STARTUPFOLDERSONLY = start objects only in the Startup folder.  This parameter is 
  278.                 also handy for another purpose.  If you have one or more programs in the Star-
  279.                 tup folder and do a shutdown without closing the programs (i.e. left the pro-
  280.                 grams open at shutdown), then reboot, OS/2 will restart the programs left open 
  281.                 AND the Startup folder will start another copy.  Thus you will have two copies 
  282.                 running.  Setting this parameter eliminates this.
  283.         
  284.              REBOOTONLY = Start objects only if the OS/2 WpS is starting from a reboot 
  285.                 (Ctrl-Alt-Del) or at power on.  Objects will not restart if the WpS is re-
  286.                 started as a result of its own error correction recycling.
  287.         
  288.           <<=TIP=>>  You can also circumvent the auto-starting of programs by holding down Ctrl-
  289.           Shift-F1 all at the same time during boot.  It must be done AFTER your mouse pointer is 
  290.           seem (but not to soon after it appears), but before any icons appear.
  291.         
  292.         SET COMSPEC=C:\OS2\CMD.EXE
  293.         
  294.           This line identifies what OS/2 command-line shell is to be used and where its at.  In 
  295.           DOS, COMMAND.COM is equivalent to CMD.EXE.
  296.         
  297.           <<=TIP=>>  If you wish to run some other command-line shell, such as 4OS2, change this 
  298.           and the SET OS2_SHELL=C:\OS2\CMD.EXE line, substituting the appropriate EXE file for 
  299.           CMD.EXE.
  300.         
  301.         LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  302.         
  303.           This is an OS/2 command.  It tells OS/2 where to locate Dynamic Link Libraries (DLLs).  
  304.           LIBPATH is similar to DPATH and PATH, but the statement can only be used in the 
  305.           CONFIG.SYS file and OS/2 does not search the current directory for DLLs unless you in-
  306.           clude it in the LIBPATH statement.  To have OS/2 search the current directory, include a 
  307.           period "." right after the equal "=" symbol as noted above.  You don't need to use the 
  308.           SET command with LIBPATH, it is not an environment variable.
  309.         
  310.         SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  311.            C:\OS2\APPS;
  312.         
  313.           Just like in DOS, it tells both DOS and OS/2 where to find programs.  
  314.         
  315.         SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  316.            C:\OS2\APPS;
  317.         
  318.           This is an OS/2 command.  It tells OS/2 programs where to look for data files.  It is 
  319.           similar to the DOS APPEND command, but unlike APPEND, DPATH only works with programs 
  320.           designed to use it.
  321.         
  322.         SET PROMPT=[$P]$G
  323.         
  324.           Like the same DOS command, this line sets how your OS/2 command prompt will appear.  
  325.           (This is for OS/2 only.  Set the DOS PROMPT default in your AUTOEXEC.BAT file.)  In the 
  326.           setting shown here, the command prompt will appear showing the current directory of the 
  327.           default drive enclosed in [] followed by the greater than symbol, i.e. [C:\]>.  Having 
  328.           brackets [] around the drive and directory information lets you quickly know when you 
  329.           are at an OS/2 command line verse a DOS command line.  
  330.         
  331.           If you type PROMPT without a parameter, OS/2 will return its default prompt [$p].
  332.         
  333.           Options include:
  334.         
  335.              $B = The   character
  336.              $C = The open parenthesis (
  337.              $D = Current date
  338.              $E = ASCII code 27 (escape) so you can work with ANSI.  See <<=TIP=>> below.
  339.              $F = The close parenthesis )
  340.              $G = The "greater than" > symbol
  341.              $H = BACKSPACE over the previous character
  342.              $I = Turns help line on
  343.              $L = The "less than" < character
  344.              $N = Default drive
  345.              $P = Current directory of default drive
  346.              $Q = The equal = character
  347.              $S = The space character
  348.              $T = Current time
  349.              $V = OS/2 version number
  350.              $_ = Carriage return or line feed
  351.         
  352.           <<=TIP=>>  You can also add ANSI control sequences to your prompt.  For example, to help 
  353.           me know visually whether I'm working with an OS/2 command line, I've add $E[1;33m to my 
  354.           prompt line, i.e. SET PROMPT=$E[1;33m[$P]$G.  This sets text to display in bold yellow 
  355.           characters.  Bold yellow characters means OS/2 command line.  White characters means DOS 
  356.           command line.
  357.         
  358.         SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  359.         
  360.           Tells OS/2 where the help files are located.  OS/2 will only look for a program's help 
  361.           files in the path shown.
  362.         
  363.         SET GLOSSARY=C:\OS2\HELP\GLOSS;
  364.         
  365.           Tells OS/2 where the Glossary file and Master Help file is located.
  366.         
  367.         SET DIRCMD=/ON /P
  368.         
  369.           This undocumented command is the OS/2 equivalent of the DIR command in DOS.  Since DOS 
  370.           5, you can tell DIR how to present file information.  To do this in OS/2, use the DIRCMD 
  371.           command.  For example:  SET DIRCMD=/ON /P tells OS/2 to display the DIR information in 
  372.           alpha order and place a pause at the end of each page.
  373.         
  374.           This is for OS/2 only.  Set the DOS default in your AUTOEXEC.BAT file.
  375.         
  376.              Options include:
  377.         
  378.              /A list files with specific attributes.  E.g. /AH list only hidden files.  Other 
  379.                 options are S A & R.  If you place a negative (-) sign in front of your speci-
  380.                 fied attribute, all files will list except those with the attribute specified.  
  381.                 E.g. /A-H-S will display all files except hidden and system files.
  382.              /B list directories and files without heading and summary information.
  383.              /F list files with the full drive and path information.  Date, time and size are 
  384.                 omitted.
  385.              /L displays information in lowercase.
  386.              /N lists files on a FAT drive in the same format used for a HPFS drive, i.e. date, 
  387.                 time, size, name.
  388.              /O list files according to sort option specified.  Sort options are:
  389.                  G = Display directories first.
  390.                  N = alphabetize by file name
  391.                 -N = reverse-alphabetizes by name
  392.                  E = alphabetize by extension
  393.                 -E = reverse-alphabetizes by extension
  394.                  D = by date, oldest first
  395.                 -D = by date, newest first
  396.                  S = by file size, smallest first
  397.                 -S = by file size, largest first
  398.              /P pauses after a full screen of files is listed.
  399.              /R displays long file names if applicable.
  400.              /S searches and displays all directories.
  401.              /W displays file names across the screen.  Date, time and size are omitted.
  402.         
  403.         SET IPF_KEYS=SBCS
  404.         
  405.           The character set for most languages can be represented as data using an 8-bit byte sin-
  406.           ce their characters sets are each less than 256 characters.  These are Single Byte Char-
  407.           acter Sets (SBCS).  Languages such as Japanese, Korean and Chinese can only be repre-
  408.           sented as data using two 8-bit bytes or 16-bits.  These are Double Byte Character Sets 
  409.           (DBCS).
  410.         
  411.           This command tells the Information Presentation Facility (INF and help files) which type 
  412.           of character set is being used, i.e., Single or Double Byte Character Set.  This is an 
  413.           Environment variable.  Removing it from my system did not seem to have any impact.
  414.         
  415.         PRIORITY_DISK_IO=YES
  416.         
  417.           This command determines whether applications running in the foreground have priority 
  418.           access to disks.  The default is YES.  If you want applications running in the back-
  419.           ground to have equal access to your disks, then change this statement to NO.
  420.         
  421.         PRIORITY=DYNAMIC
  422.         
  423.           OS/2 automatically assigns processing priorities to each thread of a program as it be-
  424.           gins processing.  A thread running in the foreground will generally have priority over a 
  425.           thread running in background.  Thread priorities are adjusted, generally based upon how 
  426.           active they are, by OS/2 on an ongoing basis to make sure each thread has adequate pro-
  427.           cessing time.  On the rare occasion that you need to run a program which must never 
  428.           change in priority, you should set PRIORITY=ABSOLUTE, otherwise, don't mess with it.
  429.         
  430.           This is another OS/2 only command and does not have to be in your CONFIG.SYS.  If it is 
  431.           not, then OS/2 defaults to PRIORITY=DYNAMIC.
  432.         
  433.         FILES=20
  434.         
  435.           This is a standard DOS command which sets the maximum number of files that DOS can ac-
  436.           cess at the same time.  OS/2 sets the default at 20, but some DOS programs may require 
  437.           that you increase this number.
  438.         
  439.         DEVICE=C:\OS2\TESTCFG.SYS
  440.         
  441.           TESTCFG.SYS is used during the install process to test your systems configuration.  It 
  442.           is also used by the Selective Install process and during device driver installations.  
  443.         
  444.           <<=NOTE=>>  Because this driver is also used by the Selective Install process, you 
  445.           should not be deleted.
  446.         
  447.         DEVICE=C:\OS2\PMDD.SYS
  448.         
  449.           OS/2 loads and uses this driver to provide pointer draw support along with POINTDD.SYS.
  450.         
  451.           <<=WARNING=>>  OS/2 will not start without this line in your CONFIG.SYS file.
  452.         
  453.         BUFFERS=30
  454.         
  455.           Tells OS/2 how many disk buffers to set aside.  Range is from 1 to 100.  Each buffer 
  456.           takes up to 512 bytes of RAM.  30 is the default and usually works well.
  457.         
  458.           Disk buffers are blocks of memory set aside by OS/2 for use in reading and writing 
  459.           blocks of data.  For example, if a program wants to change 80 bytes of a file, it needs 
  460.           to read the 512 byte sector that contains the original data, change the information and 
  461.           then write the corrected 512 byte sector back out.  A "buffer" is the 512 byte temporary 
  462.           staging area for this partial sector operation.  According to source at IBM, "OS/2 al-
  463.           lows multiple simultaneous I/O operations to be queued up for both diskette and hard 
  464.           disk.  Each 'concurrent' operation may need a buffer.  If there are not enough buffers, 
  465.           overlap can be inhibited.  Because OS/2 has more 'simultaneous' queued I/O than DOS, it 
  466.           needs more buffers."  
  467.         
  468.           <<=TIP=>>  Generally, you can speed up your system by increasing the number of BUFFERS.  
  469.           But, keep in mind that as you increase the number, you reduce available memory.  30 is 
  470.           the default, but you may wish to experiment with a higher number, like 50 or 60.  Be 
  471.           careful about using a lower number unless you only have 4MB of RAM.  With 4MB of RAM you 
  472.           may wish to set BUFFERS to 20.  This gives you some more valuable memory.
  473.         
  474.         IOPL=YES
  475.         
  476.           An OS/2 command that, when set to YES, lets programs that need to bypass OS/2, and its 
  477.           device drivers, and work directly with hardware devices, do so.  YES means that all pro-
  478.           grams can access the hardware directly.  NO means that no program can access the hard-
  479.           ware directly.  You can also specify a list of programs that are allowed to work direct-
  480.           ly with the hardware.  For example, IOPL=WS.EXE,Q.EXE would allow only these two pro-
  481.           grams to access hardware directly.  YES is the default and is generally best, since its 
  482.           hard for most of us to know when a program is written is such a way as to need direct 
  483.           access to hardware, rather than working through a device driver.
  484.         
  485.           IOPL stands for Input/Output Privilege Level.
  486.         
  487.         RUN=C:\OS2\CACHE.EXE /MAXAGE:2500
  488.         
  489.           This line runs CACHE.EXE which allows you to modify the parameters for the HPFS cache.  
  490.           CACHE.EXE is only used for HPFS partitions.  (The next CONFIG.SYS file line below sets 
  491.           up a cache for FAT.)  There are four switches:
  492.         
  493.              /LAZY:   Determines if lazy writes is ON of OFF, that is, whether the contents of 
  494.                 the cache will be written to your hard disk immediately (/LAZY:OFF) or when 
  495.                 your hard disk is idle (/LAZY:ON).  The default is ON.  I like lazy writes ON 
  496.                 because it improves performance, but keep in mind that since the system delays 
  497.                 writing data to your hard disk, you can lose data if your system should crash.  
  498.                 In the CONFIG.SYS file line above no switch is specified therefore the default 
  499.                 remains in effect, which is ON.  
  500.         
  501.                 <<=TIP=>>  Lazywrite can also be turned ON or OFF at an OS/2 command prompt.
  502.         
  503.                 <<=WARNING=>>  If you include the /LAZY switch, then the CACHE statement will 
  504.                 IGNORE ALL OTHER SWITCHES in the line.  Therefore, if you want to turn Lazy-
  505.                 write off (or on) and also change some other parameter, you will need two RUN 
  506.                 statements.
  507.         
  508.              /MAXAGE:  Sets how long data waits in the cache before it is moved to another area 
  509.                 of the cache where less used information is stored, or how long data waits in 
  510.                 the cache before it is written to the hard disk.  It is expressed in millisec-
  511.                 onds.  The default is 5,000 or about 5 seconds.  In the CONFIG.SYS file line 
  512.                 above, the wait is set at 2,500 milliseconds or about two 1 seconds.  I've 
  513.                 done this to reduce the chance of data loss.
  514.         
  515.              /DISKIDLE:  Sets how long your hard disk must be idle before it will accept data 
  516.                 from the cache.  Express in milliseconds and the default is 1,000 or about one 
  517.                 second.  In the CONFIG.SYS file line above no switch is specified therefore it 
  518.                 defaults remains in effect.
  519.         
  520.              /BUFFERIDLE:  Sets how long the cache buffer must be idle before its contents MUST 
  521.                 be written to your hard disk.  Express in milliseconds and the default is 500 
  522.                 or about 1 second.  In the CONFIG.SYS file line above no switch is specified 
  523.                 therefore it defaults remains in effect.
  524.         
  525.           <<=NOTE=>>  The HPFS IFS CONFIG.SYS file line sets up the cache and uses the system de-
  526.           faults.  This CONFIG.SYS file line is only used to modify the cache parameters.  
  527.         
  528.           <<=TIP=>>  You can check to see what parameters the HPFS cache is currently set at by 
  529.           going to an OS/2 command prompt and keying in the word CACHE and pressing the enter key.
  530.         
  531.         DISKCACHE=256,LW,32,AC:C
  532.         
  533.           If you are using FAT file system, this command sets up a RAM disk cache.  
  534.         
  535.           CACHE:  The DISKCACHE line noted here sets up a 256k cache.    The default cache size is 
  536.           based upon your RAM.  See the table below.  If you have the RAM, increase the size to 
  537.           improve system performance, but don't get carried away in using to much of your RAM.  
  538.           This will hurt performance and cause to much memory swapping to disk.  
  539.         
  540.           If you have formatted your system with only FAT partitions, the default cache size in 
  541.           this statement will be that noted under ONE FILE SYSTEM in the table below.  If you have 
  542.           both FAT and HPFS partitions, then OS/2 2.x defaults to the cache size noted under TWO 
  543.           FILE SYSTEM.  The file system which uses the greatest amount of your disk space gets the 
  544.           larger default value.  
  545.         
  546.               MEMORY SIZE IN MB       TWO FILE SYSTEM         ONE FILE SYSTEM    
  547.                       4                    128/64                   128          
  548.                       5                    128/64                   128          
  549.                       6                    256/64                   256          
  550.                       7                   256/128                   256          
  551.                       8                   256/256                   384          
  552.                       9                   256/256                   384          
  553.                    10 - 16                512/512                  1024          
  554.                    17 - 32               1024/1024                 2048          
  555.         
  556.           LW:  Enables lazy writes.  If you don't want lazy write enabled, then remove ",LW".
  557.         
  558.           32:  The third number set the threshold size.  It is express in number of sectors which 
  559.           are 512 bytes each.  Data requests from your disk that are larger than this number will 
  560.           not be cached.  The default is 4.  Thirty two (32) is said to be an optimum number.  One 
  561.           hundred twenty eight (128) is the maximum allowable.  This setting has no impact on RAM.
  562.         
  563.           AC:C:  If you want CHKDSK to automatically check your startup partition (usually C), 
  564.           then add this switch to end of the DISKCACHE command:  AC:n where n is your startup par-
  565.           tition, e.g. AC:C.
  566.         
  567.           <<=TIP=>>  If you are only using HPFS, then you should REM this statement (don't delete, 
  568.           you may need or want it later) and save some RAM.
  569.         
  570.         MAXWAIT=3
  571.         
  572.           This OS/2 command sets the longest period a program will have to wait to execute before 
  573.           OS/2 ups its priority.  This makes sure that no program is put on hold forever while 
  574.           some other program hogs the system.  You can set MAXWAIT from 1 to 255 seconds.  The 
  575.           default is 3 seconds.  
  576.         
  577.           <<=TIP=>>  When running heavy background programs, such as a BBS, change the setting to 
  578.           1, i.e. MAXWAIT=1.  This will keep the BBS software or other background programs running 
  579.           at top speed.  For general use, it appears that setting MAXWAIT=2 makes the system a 
  580.           little livelier.
  581.         
  582.         MEMMAN=SWAP,PROTECT
  583.         
  584.           OS/2 can run more programs and use more data than can actually be stored in memory at 
  585.           any given time.  This is done by swapping large amounts of memory to your hard disk and 
  586.           then reading the data back into memory when needed.  This is called virtual memory.  For 
  587.           example, if you only have 4MB of memory (Get MORE memory fast!  You need 8MB minimum 
  588.           with OS/2 2.x.) you will see lots of disk activity while you are working with your sys-
  589.           tem.  A lot of this is OS/2 swapping memory to your hard disk.  Lots of memory swapping 
  590.           will slow down your system and cause your hard disk to fragment quicker than normal.
  591.         
  592.           The MEMMAN command controls the swap process.  The syntax is MEMMAN=s,m,PROTECT where 
  593.           s=SWAP or NOSWAP; m=MOVE or NOMOVE; and PROTECT, which allows memory compaction with 
  594.           protected dynamic link libraries.  The default is to have virtual memory on.  To turn 
  595.           off virtual memory, which is NOT recommended, the CONFIG.SYS file line should read:  
  596.           MEMMAN=NOSWAP.  
  597.         
  598.           A new parameter with version 2.1 is COMMIT.  With this parameter included, OS/2 will 
  599.           allocate space in the swap file whenever a program commits memory.  Increase your SWAP-
  600.           PER.DAT file (in the SWAPPATH line below) by the amount of memory you are likely to use 
  601.           when using the COMMIT parameter.
  602.         
  603.           <<=CAUTION=>>  When messing with this line (I mean experimenting) I changed it to MEM-
  604.           MAN=NOSWAP.  As a result, I had to boot from my OS/2 Installation disk and recover my 
  605.           backup CONFIG.SYS file to get the system to boot.  I don't know why, but use caution.
  606.         
  607.           <<=NOTE=>>  The MOVE/NOMOVE parameter has no effect under OS/2 2.x and is only provided 
  608.           for OS/2 version 1.x compatibility.
  609.         
  610.         SWAPPATH=C:\OS2\SYSTEM 512 4096
  611.         
  612.           OS/2 can allocate more memory than it actually has available.  It does this by swapping 
  613.           memory to a hard disk file called SWAPPER.DAT.
  614.         
  615.           The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE AND PATH is the location where you 
  616.           want the SWAPPER.DAT file to be placed; mmm is a number from 512 to 32767 and specifies 
  617.           how large the SWAPPER.DAT file can grow before it stops consuming hard disk space.  The 
  618.           size is stated in the negative.  In other words, if you have the mmm set to 512, then 
  619.           the SWAPPER.DAT file can grow until there is only 512k left on your hard disk.  The 
  620.           variable nnn is the starting size of the SWAPPER.DAT file.  In the CONFIG.SYS file line 
  621.           above, the starting size is 4096 or 4MB.
  622.         
  623.           The default SWAPPER.DAT size is set based upon the amount of RAM your system has avail-
  624.           able as shown in the table below.
  625.         
  626.              MEMORY IN MB       MINFREE (KB)       INITIAL SIZE (KB)    
  627.                    4                4096                  6144          
  628.                    5                4096                  5120          
  629.                    6                4096                  5120          
  630.                    7                2048                  4096          
  631.                    8                2048                  4096          
  632.                    9                2048                  3072          
  633.                   10                2048                  3072          
  634.                11 - 32              2048                  2048          
  635.         
  636.           <<=TIP=>>  Normal operation of OS/2 2.x involves considerable disk activity as operating 
  637.           system functions are loaded and pages are moved in and out of the swap file.  To improve 
  638.           performance, consider dedicating a separate partition for the swap file next to the op-
  639.           erating system partition.  This helps avoid fragmentation of the swap file, because oth-
  640.           er files will not be added or deleted from the dedicated partition.  Disk access time 
  641.           will be minimized.
  642.         
  643.         BREAK=OFF
  644.         
  645.           For DOS programs only.  Many DOS programs can be stopped by holding down the Ctrl key 
  646.           and then pressing the Break key.  BREAK controls how quickly DOS programs stop when you 
  647.           interrupt them with the Ctrl-Break sequence.  If BREAK=OFF, DOS will stop the program 
  648.           only when the programs next reads a character from the keyboard or writes to the screen 
  649.           or printer.  With BREAK=ON, DOS will check for the Ctrl-Break on a more frequent basis.  
  650.           Remember that this extra checking can make your DOS programs run slower.
  651.         
  652.         THREADS=256
  653.         
  654.           OS/2 programs can have several different processes running at the same time.  These are 
  655.           called threads.  This OS/2 command sets the maximum number of threads, from 32 to 4095, 
  656.           that OS/2 can run at the same time.
  657.         
  658.           <<=TIP=>>  On systems with only 4MB of RAM, set THREADS to 128 to free up memory.  If 
  659.           you only have 4MB of RAM, get more fast.  You'll be amazed at the difference another 4 
  660.           or 8MB of RAM will make!
  661.         
  662.           <<=TIP=>>  If you have more than 8MB of RAM and run mostly OS/2 specific programs, you 
  663.           should be able to improve system responsiveness by increasing the number of threads.  
  664.           Why?  Because well written OS/2 programs will use threads to improve program perfor-
  665.           mance.  Therefore, the more OS/2 programs in use, the more threads that could be needed.
  666.         
  667.         PRINTMONBUFSIZE=134,134,134
  668.         
  669.           This OS/2 command sets the size of the print buffers for your parallel ports.  The syn-
  670.           tax is PRINTMONBUFSIZE=LPT1,LPT2,LPT3 where LPT1 is the buffer size for the parallel 
  671.           port LPT1, LPT2 is the buffer size for LPT2 and LPT3 is the buffer size for LPT3.  The 
  672.           default and minimum is 134 bytes and the maximum is 2048 bytes.
  673.         
  674.           <<=TIP=>>  If you are not using LPT2 or LPT3, then do not set up a buffer for them and 
  675.           use these bytes to increase the buffer for LPT1 (PRINTMONBUFSIZE=402,0,0) which should 
  676.           improve printing speed.  
  677.         
  678.           <<=Note=>> You still need to define a buffer for LPT2 and LPT3, but you indicate a "0" 
  679.           (zero) byte size.  You will get an error message at startup if you don't.
  680.         
  681.           <<=TIP=>>  On systems with only 4MB of RAM that are not using LPT2 or LPT3, leave LPT1 
  682.           at 134 and reduce LPT2 and LPT3 to "0" (zero).  This will free up a little memory.
  683.         
  684.         COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  685.         
  686.           Customizes your system for the country you wish to use.  It establishes which defaults 
  687.           to use when it comes to decimal separators, date and time formats, currency symbols, 
  688.           etc.  The syntax is COUNTRY=xxx,PATH,FILE NAME.  xxx is a three-digit code number that 
  689.           tells what country to use.  The number is usually (but not always) the same as the in-
  690.           ternational telephone dialing prefix for the country desired.  The table below contains 
  691.           various country codes.
  692.         
  693.             COUNTRY                  COUNTRY CODE   
  694.             Arabic-speaking          785            
  695.             Asia (English)           099            
  696.             Australia (English)      061            
  697.             Belgium                  032            
  698.             Canada (French)          002            
  699.             China                    088            
  700.             Czechoslovakia           042            
  701.             Denmark                  045            
  702.             Finland                  358            
  703.             France                   033            
  704.             Germany                  049            
  705.             Hebrew-speaking          972            
  706.             Hungary                  036            
  707.             Iceland                  354            
  708.             Italy                    039            
  709.             Japan                    081            
  710.             Korea                    082            
  711.             Latin America            003            
  712.             Netherlands              031            
  713.             Norway                   047            
  714.             Poland                   048            
  715.             Portugal                 351            
  716.             Spain                    034            
  717.             Sweden                   046            
  718.             Switzerland              041            
  719.             Taiwan                   088            
  720.             Turkey                   090            
  721.             United Kingdom           044            
  722.             United States            001            
  723.             Yugoslavia               038            
  724.         
  725.         SET KEYS=OFF
  726.         
  727.           When using the Command-line, KEYS tells CMD.EXE whether to remember previous keystrokes 
  728.           so they can be recalled with the up arrow key.  OS/2 maintains a 64k buffer for storing 
  729.           keystroke history.  KEYS can be ON or OFF.
  730.         
  731.           <<=TIP=>>  On systems with only 4MB of RAM, SET KEYS to OFF, you need the memory more 
  732.           than this feature.  Even with 8MB of RAM, since I don't use the feature I have turned it 
  733.           off to get a small memory boost.
  734.         
  735.         REM SET DELDIR=C:\DELETE,512;
  736.         
  737.           To use OS/2s UNDELETE command, you must first establish a directory in which to store 
  738.           the deleted files.  To do this, create a directory called DELETE in your root and then 
  739.           remove the "REM" from this CONFIG.SYS file line.  
  740.         
  741.           This command points OS/2 to the directory you created to place deleted files in.  It 
  742.           also indicates the maximum number of files that will be stored in the DELETE directory.  
  743.           If the number of deleted files exceeds the maximum number that you specified, then files 
  744.           are automatically removed from the directory on a first-in-first-out basis.
  745.         
  746.         BASEDEV=PRINT01.SYS
  747.         BASEDEV=IBM1FLPY.ADD
  748.         BASEDEV=IBM1S506.ADD
  749.         BASEDEV=OS2DASD.DMD
  750.         
  751.           BASEDEV installs a base device driver used by OS/2 when it is first started.  The state-
  752.           ment cannot contain either a drive or path because OS/2 cannot process such information 
  753.           at the stage at which these statements are process.  Other base device drivers include:
  754.         
  755.           PRINT01.SYS supports attached printers on non-Micro Channel PC's.
  756.           PRINT02.SYS supports attached printers on Micro Channel PC's.
  757.           IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  758.           IBM2FLPY.ADD supports diskette drives on Micro Channel PC's.
  759.           IBM2SCSI.ADD supports SCSI disk drives on Micro Channel PC's.
  760.           OS2SCSI.DMD supports non-disk SCSI devices.
  761.           IBM1S506.ADD supports non-SCSI disk drives on non-Micro Channel PC's.
  762.           OS2DASD.DMD is a general purpose driver for disk drives.
  763.           IBM2ADSK.ADD supports non-SCSI disk drives on Micro Channel PC's.
  764.           IBMINT13.I13 supports non-Micro Channel SCSI adapters.
  765.         
  766.         SET BOOKSHELF=C:\GAMMA32;C:\OS2\BOOK
  767.         
  768.           This command points to the on-line documentation (INF files) provided with OS/2 and to 
  769.           any on-line documentation provided by other OS/2 programs.  I have the GAMMATECH utili-
  770.           ties installed on my system which contains on-line documentation. 
  771.         
  772.         SET EPMPATH=C:\OS2\APPS
  773.         
  774.           Replaced SET EPATH=C:\OS2\APPS; in version 2.0.  According to one source in IBM, EPMPATH 
  775.           is used by the Enhanced Editor (EPM.EXE).
  776.         
  777.         REM DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  778.         
  779.           This device driver loads asynchronous communications support for the PM Terminal applet.  
  780.         
  781.           <<=TIP=>>  If you don't use PM Terminal, REM this line to save a little memory.  In 
  782.           fact, if you are not using PM Terminal you may wish to consider deleting the files to 
  783.           save some disk space also.
  784.         
  785.         PROTECTONLY=NO
  786.         
  787.           An OS/2 command.  Allows you to choose between a shared DOS and OS/2 operating environ-
  788.           ment or just an OS/2 environment.  If you plan to run only OS/2 programs, then set PRO-
  789.           TECTONLY=YES.  If you plan to run DOS programs (this includes Windows programs also), 
  790.           then set PROTECTONLY=NO.
  791.         
  792.         SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  793.         
  794.           This line identifies and loads the DOS command processor COMMAND.COM which you must have 
  795.           to make DOS sessions work.  The /p switch keeps the command processor in memory until 
  796.           shutdown.
  797.         
  798.           This is the line where you can also specify the size of the DOS environment variable.  
  799.           The range is 160 through 32768.  For example, to set a 1024 byte environment you would 
  800.           add the following to the end of the SHELL command line:  /E:1024
  801.         
  802.           <<=TIP=>>  You can also load and run other command processor's such as 4DOS.  To do so, 
  803.           just put 4DOS in your MDOS directory and change the SHELL line to read 4DOS.COM instead 
  804.           of COMMAND.COM.  
  805.         
  806.         FCBS=16,8
  807.         
  808.           A file control block (FCBS) is an outmoded record that gives information about a file to 
  809.           DOS.  This CONFIG.SYS file line tells DOS how many FCBS can be open at once, or, when 
  810.           DOS needs to open more FCBS than are available, how many currently open but not active 
  811.           FCBS may be closed to make room for new ones.
  812.         
  813.           The syntax is FCBS=a,b where a=the number of FCBS that DOS can have open at one time and 
  814.           b=the number of FCBS DOS cannot close to make room for new FCBS.  "a" can be as high as 
  815.           255.  "b" can have a value of 0 to 254, but must be less than "a".  Unless you get some 
  816.           kind of error message when running a DOS program that tells you the program doesn't have 
  817.           enough FCBS, leave the default as set.
  818.         
  819.           <<=TIP=>>  You may wish to experiment with a smaller number.  If you can get by with a 
  820.           smaller number, you will get back a little memory in each of your DOS sessions.
  821.         
  822.         RMSIZE=640
  823.         
  824.           This is a DOS command and sets the amount of memory available for use by each DOS ses-
  825.           sion.  The maximum is 640k.  Since some DOS programs require 640k, its best to have 
  826.           RMSIZE set to 640.
  827.         
  828.           <<=TIP=>>  If you only have 4MB of RAM or don't have any DOS programs that need a full 
  829.           640k, you should consider reducing this parameter to 512.  Many DOS applications will 
  830.           run in a 512k DOS partition.  Doing this will free up some additional RAM which will 
  831.           help performance.
  832.         
  833.           <<=TIP=>>  If you need maximum memory (more than 640k), see tip under DOS=LOW,NOUMB.
  834.         
  835.         DEVICE=C:\OS2\MDOS\VEMM.SYS 
  836.         
  837.           VEMM.SYS lets DOS programs use expanded memory unless you override it by changing a DOS 
  838.           programs SETTINGS.
  839.         
  840.           Three of its switches are:
  841.         
  842.              /S=n  Sets the limit of EMS memory in blocks of 1024k.  Default is 2.
  843.         
  844.              /L=n  Size of conventional memory that can be remapped.  Default is none.
  845.         
  846.              /F=nnnn  Memory frame address to be used to map EMS.  Default is AUTO.
  847.         
  848.           Settings you specify in a DOS session will override these switches.
  849.         
  850.           <<=NOTE=>>  The VEMM.SYS device must be listed in your CONFIG.SYS file before the 
  851.           VXMS.SYS device.
  852.         
  853.         DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  854.         
  855.           Identifies and loads the mouse driver to let you use a mouse with DOS.  Mouse support 
  856.           for OS/2 is loaded below.  
  857.         
  858.           <<=NOTE=>>  If you don't have this line (or you REM'd it), you will not have mouse sup-
  859.           port in your DOS sessions.
  860.         
  861.         DOS=LOW,NOUMB
  862.         
  863.           This is a standard DOS command that lets you control how DOS uses memory.  The OS/2 de-
  864.           fault is DOS=LOW,NOUMB and is considered by many to be the best setting for it conserves 
  865.           memory for OS/2.  DOS=HIGH (including ,UMB) reduces available memory for OS/2, but in-
  866.           creases the available memory in EVERY DOS session.  Few DOS sessions need maximum memo-
  867.           ry.  Also remember that you can move DOS HIGH for a specific program by changing that 
  868.           programs DOS.  This is done in the programs Settings Notebook and is likely the better 
  869.           way to go.  Finally, keep in mind that in OS/2 many device drivers are not taking up 
  870.           room in your 640k DOS area.  So you generally have more memory in the typical OS/2 DOS 
  871.           session than in a standard DOS session.
  872.         
  873.           The following is the amount of memory my system reports in each DOS session with 
  874.           DOS=LOW,NOUMB.  The vast majority of all DOS programs will run just fine with this 
  875.           amount of memory.
  876.         
  877.             655360 bytes total memory
  878.             655360 bytes available for DOS
  879.             618208 largest executable program size    <---- This equals about 604k
  880.         
  881.           With DOS=HIGH, the amount of memory reported is:
  882.         
  883.             655360 bytes total memory
  884.             655360 bytes available for DOS
  885.             643632 largest executable program size    <---- About 629k
  886.         
  887.           <<=TIP=>>  If you have need for maximum available RAM in a DOS session and can get by on 
  888.           CGA or MONO, change RMSIZE=639 (See description of this parameter three command lines 
  889.           above) in your CONFIG.SYS file (has to be 639k due to a bug in OS/2).  Then in DOS Set-
  890.           tings of your applications Settings Notebook, change VIDEO_MODE_RESTRICTION to CGA or 
  891.           MONO.  The amount of memory reported after doing this on my machine is:
  892.         
  893.             752640 bytes total memory
  894.             752640 bytes available for DOS
  895.             740656 largest executable program size
  896.         
  897.         REM DEVICE=C:\OS2\APM.SYS
  898.         
  899.           Device driver for ADVANCED POWER MANAGEMENT system used with laptop systems.  If you 
  900.           have this line in your CONFIG.SYS file and you are NOT using a laptop, REM or delete the 
  901.           statement.  If you are using a laptop, see the OS/2 README file for more details on its 
  902.           operation.
  903.         
  904.         DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  905.         
  906.           VXMS.SYS is a device driver that provides Extended Memory management to DOS sessions.  
  907.           XMS allows DOS programs to access more than one MB of memory.  You need the /UMB switch 
  908.           at the end if you want upper memory block support in DOS sessions.
  909.         
  910.           <<=NOTE=>>  The VXMS.SYS device must be listed in your CONFIG.SYS file after the 
  911.           VEMM.SYS device.
  912.         
  913.         DEVICE=C:\OS2\MDOS\VDPX.SYS
  914.         
  915.           Driver required when using VDPMI in the CONFIG.SYS file line below.  One authority said 
  916.           that this driver "provides V86 to Protected Mode translation for DPMI memory".  Well 
  917.           that's enough to lose me.
  918.         
  919.         DEVICE=C:\OS2\MDOS\VDPMI.SYS
  920.         
  921.           Provides "virtual" DPMI (DOS Protect Mode Interface) memory for DOS and Window sessions.  
  922.           I don't know much about this, but I've been told not to remove it.
  923.         
  924.         DEVICE=C:\OS2\MDOS\VWIN.SYS
  925.         
  926.           Assists in the process of providing seamless Windows support.
  927.         
  928.         DEVICE=C:\OS2\EXTDSKDD.SYS
  929.         
  930.           EXTDSKDD.SYS supports external disk drives.
  931.         
  932.         REM DEVICE=C:\OS2\PCMCIA.SYS 
  933.         REM DEVICE=C:\OS2\MDOS\VPCMCIA.SYS 
  934.         
  935.           These two drivers are new to version 2.1.  They provide support for computers that have 
  936.           PC Memory Card International Association (PCMCIA) adapters.
  937.         
  938.           <<=TIP=>>  If you don't have any PCMCIA devices, then you should REM these drivers to 
  939.           save a little RAM.
  940.         
  941.         REM DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  942.         
  943.           This is a CD-ROM device driver.  
  944.         
  945.           <<=TIP=>>  If you don't have a CD-ROM installed, then you should REM this line to save a 
  946.           little RAM.  Remember, the more RAM OS/2 has--up to 16MB--the better it runs.  After 
  947.           16MB it doesn't seem to improve much, overall.
  948.         
  949.         REM IFS=C:\OS2\CDFS.IFS
  950.         
  951.           This OS/2 command is needed if you have a CD-ROM.  It installs CDFS.INF which is the 
  952.           "Installable File System" for CD-ROMs.  Your CD-ROM is not going to run without it.
  953.         
  954.         DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  955.         
  956.           This command prepares your monitor to display information based upon the CODEPAGE speci-
  957.           fication.  VIOTBL.DCP is the file that contains the video fonts for displaying charac-
  958.           ters for each of the CODEPAGES supported by OS/2.  See the CODEPAGE command line below.
  959.         
  960.         DEVICE=C:\OS2\MDOS\VVGA.SYS 
  961.         
  962.           Your CONFIG.SYS file will contain various device drivers for various devices based upon 
  963.           your systems hardware configuration.  This device driver happens to be for the VGA video 
  964.           card.
  965.         
  966.         DEVICE=C:\OS2\POINTDD.SYS 
  967.         
  968.           POINTDD.SYS is the file that contains information on what the mouse pointer looks like 
  969.           and draws it on you screen.  
  970.         
  971.           <<=WARNING=>>  In order for MOUSE.SYS to work effectively, this driver must be loaded by 
  972.           OS/2.  Do not remove it from your CONFIG.SYS file.
  973.         
  974.         DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  975.         
  976.           Lets you use a mouse or track ball with OS/2.  This line also identifies the type of 
  977.           mouse you have and which COM port it is on.  QSIZE is a number from 1 to 100 which indi-
  978.           cates how many mouse actions are to be saved when you execute mouse actions faster than 
  979.           your system can handle them.
  980.         
  981.           <<=NOTE=>>  The MOUSE.SYS statement must come before the COM.SYS because COM.SYS will 
  982.           take over any unused COM port.  If COM.SYS takes over the COM ports before MOUSE.SYS is 
  983.           loaded, MOUSE.SYS will not have any COM ports available, thus no mouse support.
  984.         
  985.         DEVICE=C:\OS2\COM.SYS
  986.         
  987.           Lets you use the communications ports one and two (COM1 and COM2).  (If you want to use 
  988.           COM3 or COM4 or change the IRQ of a COM point, see <<=TIP=>> below.)  This line MUST ap-
  989.           pear after any driver that uses the communications ports.  Use COM02.SYS if you have an 
  990.           IBM PS/2 model 90 or 95.
  991.         
  992.           <<=TIP=>>  There is a very good replacement driver for COM.SYS\VCOM.SYS called 
  993.           SIO.SYS\VSIO.SYS.  It can be obtained on most OS/2 BBSs.  If you utilize a communica-
  994.           tions packet on a regular basis at high speeds (e.g. 14,400), I recommend you consider 
  995.           SIO.SYS.  Replace VCOM.SYS (below) with VSIO.SYS which comes with SIO.SYS.  SIO.SYS and 
  996.           VSIO.SYS are Shareware, not Freeware.  Register them is you use them!!!
  997.         
  998.           <<=TIP=>>  To add support for COM3 and COM4 at location 3E8 with IRQ 4 and 2E8 with 
  999.           IRQ 3 respectively, add (3,3E8,4) (4,2E8,3) to the DEVICE line,
  1000.           e.g. DEVICE=C:\OS2\COM.SYS (3,3E8,4) (4,2E8,3).  You can also use this method to change 
  1001.           a COM ports assigned IRQ. 
  1002.         
  1003.         DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1004.         
  1005.           Lets you use the communications ports for DOS and Windows sessions.  Must appear after 
  1006.           the COM.SYS driver.  
  1007.         
  1008.           <<=NOTE=>>  If you are using COM3 and/or COM4, add the appropriate parameters to the 
  1009.           COM.SYS line above only.  It is not necessary to add any parameters to this line.  
  1010.           VCOM.SYS inherits its parameters from the COM.SYS line.
  1011.         
  1012.           <<=TIP=>>  See TIP under DEVICE=C:\OS2\COM.SYS regarding SIO.SYS.
  1013.         
  1014.         DEVICE=C:\OS2\MDOS\ANSI.SYS  
  1015.         
  1016.           This is the traditional DOS command most are familiar with.  It only affects DOS ses-
  1017.           sions.  This line is not added to your CONFIG.SYS file by default.  If you want it, you 
  1018.           need to add it.
  1019.         
  1020.           OS/2 sessions have ANSI support by default.  If you are unsure if ANSI is on or off in 
  1021.           an OS/2 session, go to an OS/2 command prompt and type ANSI.  You will get a message 
  1022.           like:  ANSI extended screen and keyboard control is on.  For an OS/2 session, turn ANSI 
  1023.           off or on by typing ANSI OFF or ANSI ON at an OS/2 command prompt.
  1024.         
  1025.         DEVICE=C:\OS2\LOG.SYS
  1026.         
  1027.           This optional device driver installs OS/2s error-log file.  If you want a log of errors 
  1028.           that occur on your system, then add this and the next line to your CONFIG.SYS file.  If 
  1029.           you are interested in such things, you may wish to play with it, but be forewarned, the 
  1030.           error log information is cryptic.  For example, only error codes are reported.  To learn 
  1031.           what these codes mean, you need to have IBMs Systems Network Architecture Formats (GA27-
  1032.           3136-12) or, for a reasonable overview, get OS/2 2.1 Unleashed, 1993, SAMS Publishing.
  1033.         
  1034.           The switch /E:<kb> sets the size of the error-log buffer.  The range is from 4kb to 64kb 
  1035.           with 8kb as the default.  I've not used this switch in the CONFIG.SYS file line above, 
  1036.           therefore the default will be used.
  1037.         
  1038.           You will get a short and quick message during boot up indicating that Logging has been 
  1039.           installed and what the buffer size is.
  1040.         
  1041.           <<=NOTE=>>  LOG.SYS has its limitations.  It will not log an application error unless 
  1042.           the application has be written to make use of LOG.SYS.  Some routine system errors will 
  1043.           not log either because OS/2 opens an error message box on screen to report these.
  1044.         
  1045.         RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\LOGFILE.DAT /W:16
  1046.         
  1047.           This RUN command states the logging process and must appear AFTER you have installed the 
  1048.           LOG.SYS driver noted in the CONFIG.SYS file line above.  The two switches are:
  1049.         
  1050.              /E:<path><filename>  This is the path and file name of the test file where the er-
  1051.                 rors will be logged.  You can place it anywhere you want and call it anything 
  1052.                 you wish.  NOTE:  Like the OS/2 INI files, this file is "locked" and you will 
  1053.                 not be able to access it with your standard text editor or the OS/2 System 
  1054.                 Editor.  You will get a "violation error".  The Enhanced Editor will open the 
  1055.                 file.
  1056.         
  1057.              /W:<kb>  This is the size of the file named with the /E switch.  The default size 
  1058.                 is 64k, but with this switch you can set the value from 4k to 64k.  I've set 
  1059.                 the file size at 16k in the example line above.
  1060.         
  1061.           <<=NOTE=>>  Use SYSLOG.EXE from an OS/2 command line prompt to view your log file.
  1062.         
  1063.         CODEPAGE=437,850
  1064.         
  1065.           Lets you use the alphabet of various countries and languages.  The syntax is 
  1066.           CODEPAGE=ppp,sss, where ppp is the number of the primary national alphabet to be used 
  1067.           and sss is a secondary alphabet number.  437=US English alphabet and 850=multinational 
  1068.           alphabet.  The multinational alphabet contains most of the accented letters used in 
  1069.           various European languages.  Several other alphabets that can be supported by your ver-
  1070.           sion of OS/2.  See table below.  
  1071.         
  1072.           <<=WARNING=>>  Japan, Korean and Chinese require a special version of OS/2 and special 
  1073.           hardware.
  1074.         
  1075.           <<= NOTE=>>  If there is not a CODEPAGE statement in your CONFIG.SYS file, your key-
  1076.           board will use an alphabet based on the COUNTRY statement found earlier in your 
  1077.           CONFIG.SYS file, but your screen and printer will use their built-in defaults.
  1078.         
  1079.             COUNTRY                  PRIMARY      SECONDARY   
  1080.                                      CODE PAGE    CODE PAGE   
  1081.             Arabic-speaking          864          850         
  1082.             Asia (English)           437          850         
  1083.             Australia (English)      437          850         
  1084.             Belgium                  850          437         
  1085.             Canada (French)          863          850         
  1086.             Czechoslovakia           852          850         
  1087.             Denmark                  850          n/a         
  1088.             Finland                  850          437         
  1089.             France                   437          850         
  1090.             Germany                  850          437         
  1091.             Hebrew-speaking          862          850         
  1092.             Hungary                  852          850         
  1093.             Iceland                  850          861         
  1094.             Italy                    437          850         
  1095.             Japan                    932          437, 850    
  1096.             Korea                    934          437, 850    
  1097.             Latin America            437          850         
  1098.             Netherlands              850          437         
  1099.             Norway                   850          n/a         
  1100.             Peoples Republic of      938          437, 850    
  1101.               China                                           
  1102.             Poland                   852          850         
  1103.             Portugal                 850          860         
  1104.             Spain                    850          437         
  1105.             Sweden                   850          437         
  1106.             Switzerland (French)     850          437         
  1107.             Switzerland (German)     850          437         
  1108.             Taiwan                   437          850         
  1109.             Turkey                   857          850         
  1110.             United Kingdom           437          850         
  1111.             United States            437          850         
  1112.             Yugoslavia               852          850         
  1113.         
  1114.         DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1115.         
  1116.           Tells the keyboard which international character set to use and where to find the file 
  1117.           KEYBOARD.DCP which translates keystrokes.  The syntax is DEVINFO=KBD,cc,DRIVE,PATH,FILE-
  1118.           NAME.  The parameter cc equals the character set to be used, e.g. US = United States.  
  1119.           See table below for character set codes.
  1120.         
  1121.             LANGUAGE                   COUNTRY CODE    
  1122.             Arabic                     AR              
  1123.             Belgian                    BE              
  1124.             Canadian French            CF              
  1125.             Czech/Czech                CS243           
  1126.             Czech/Slovak               CS245           
  1127.             Danish                     DK              
  1128.             Dutch                      NL              
  1129.             Finnish                    SU              
  1130.             French                     FR              
  1131.             German                     GR              
  1132.             Hebrew                     HE              
  1133.             Hungarian                  HU              
  1134.             Icelandic                  IS              
  1135.             Italian                    IT              
  1136.             Latin American             LA              
  1137.             Norwegian                  NO              
  1138.             Polish                     PL              
  1139.             Portuguese                 PO              
  1140.             Spanish                    SP              
  1141.             Swedish                    SV              
  1142.             Swiss (French)             SF              
  1143.             Swiss (German)             SG              
  1144.             Turkish                    TR              
  1145.             United Kingdom             UK              
  1146.             United States              US              
  1147.             Yugoslavian                YU              
  1148.         
  1149.         DEVICE=C:\OS2\VDISK.SYS 512
  1150.         
  1151.           As in DOS, this driver installs a RAM disk.  In this example, the RAM disk is 512k with 
  1152.           the sectors and directories parameters set at the default level (64-byte sectors and 64 
  1153.           directory entries).  With DOS, a RAM disk could significantly improve system perfor-
  1154.           macne, but because OS/2 handles your memory far more efficently than DOS and has its own 
  1155.           sophisticated caching routines, using a RAM disk is not recommended.  
  1156.         
  1157.           <<=CAUTION=>>  Because a RAM disk takes available memory away from OS/2, you may nega-
  1158.           tively impact system performance on systems with less than 12MB of RAM.  Unless you have 
  1159.           lots of RAM or have a very specific need, don't install a RAM disk.
  1160.         
  1161.           <<=NOTE=>>  If you do install VDISK.SYS and you also have EXTDSKDD.SYS installed, 
  1162.           VDISK.SYS much be placed after EXTDSKDD.SYS in your CONFIG.SYS file.  Check your online 
  1163.           Command Reference for information on EXTDSKDD.SYS.
  1164.         
  1165.         ----------------------------------------------------------------------------------------------
  1166.         END OF CONFIG.SYS FILE DESCRIPTION
  1167.         
  1168.         
  1169.         ----------------------------------------------------------------------------------------------
  1170.         4.  Obscure CONFIG.SYS settings.
  1171.         ----------------------------------------------------------------------------------------------
  1172.         What follows are some very obscure CONFIG.SYS file settings.  They are here only for informa-
  1173.         tional purposes.  Unless you have a very specific need and know what you're doing, please don't 
  1174.         experiment with these.
  1175.         
  1176.         SET SHELLEXCEPTIONHANDLER=OFF
  1177.         
  1178.           The WpS has its own exception handling routines which allows it to recover from most 
  1179.           errors.  You can turn this "exception handling" with this command.  Could be useful when 
  1180.           debugging an object.
  1181.         
  1182.         SET OBJECTSNOOZETIME=45
  1183.         
  1184.           Useful when programming certain types of object DDLs.
  1185.         
  1186.         TIMESLICE=128,256
  1187.         
  1188.           This command allows you to manually control the minimum and maximum amount of processor 
  1189.           time any thread can receive at once.  The syntax is TIMESLICE=x,y where x is the minimum 
  1190.           time slice (in millisecond and must be at least 32) and where y is the maximum length 
  1191.           (must be less than 65536).
  1192.         
  1193.           <<=TIP=>>  It is best not to attempt to manually set TIMESLICE since OS/2 dynamically 
  1194.           handles this process far better than most of us can.
  1195.         
  1196.         TRACE=ON
  1197.         
  1198.           Helpful for System Administrators and programmers.  Assists in the tracking of system 
  1199.           problems by turning TRACE on (or off) and establishing a buffer (4k is default.  You can 
  1200.           increase this using the command TRACEBUF) to store tracing data.  You can also start 
  1201.           TRACE from an OS/2 command prompt.
  1202.         
  1203.         ----------------------------------------------------------------------------------------------
  1204.         5.  Sample CONFIG.SYS files.
  1205.         ----------------------------------------------------------------------------------------------
  1206.         
  1207.         FILE FOR CLONE WITH 8MB OF RAM AND VGA RUNNING ONLY HPFS
  1208.         --------------------------------------------------------
  1209.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  1210.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  1211.         IFS=C:\OS2\HPFS.IFS  /CACHE:512 /CRECL:4 /AUTOCHECK:C
  1212.         PROTSHELL=C:\OS2\PMSHELL.EXE
  1213.         SET USER_INI=C:\OS2\OS2.INI
  1214.         SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  1215.         SET OS2_SHELL=C:\OS2\CMD.EXE
  1216.         SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  1217.         SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  1218.         SET RESTARTOBJECTS=YES
  1219.         SET COMSPEC=C:\OS2\CMD.EXE
  1220.         LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  1221.         SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  1222.               C:\OS2\APPS;
  1223.         SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;
  1224.               C:\OS2\MDOS;C:\OS2\APPS;
  1225.         SET PROMPT=$E[1;33m[$p]$g
  1226.         SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  1227.         SET GLOSSARY=C:\OS2\HELP\GLOSS;
  1228.         SET DIRCMD=/O /P
  1229.         SET IPF_KEYS=SBCS                        (New with version 2.1)
  1230.         PRIORITY_DISK_IO=YES
  1231.         FILES=20
  1232.         DEVICE=C:\OS2\TESTCFG.SYS
  1233.         DEVICE=C:\OS2\DOS.SYS
  1234.         DEVICE=C:\OS2\PMDD.SYS
  1235.         BUFFERS=50
  1236.         IOPL=YES
  1237.         REM * DISKCACHE=256,LW,32,AC:C
  1238.         MAXWAIT=2
  1239.         MEMMAN=SWAP,PROTECT
  1240.         SWAPPATH=C:\OS2\SYSTEM 512 4096
  1241.         BREAK=OFF
  1242.         THREADS=256
  1243.         PRINTMONBUFSIZE=402,0,0
  1244.         COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1245.         SET KEYS=OFF
  1246.         REM * SET DELDIR=C:\DELETE,512;
  1247.         BASEDEV=PRINT01.SYS
  1248.         BASEDEV=IBM1FLPY.ADD
  1249.         BASEDEV=IBM1S506.ADD
  1250.         BASEDEV=OS2DASD.DMD
  1251.         SET BOOKSHELF=C:\OS2\BOOK
  1252.         SET EPMPATH=C:\OS2\APPS
  1253.         REM * DEVICE=C:\OS2\APPS\SASYNCDA.SYS 
  1254.         PROTECTONLY=NO
  1255.         SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1256.         FCBS=16,8
  1257.         RMSIZE=640
  1258.         DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1259.         DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1260.         DOS=LOW,NOUMB
  1261.         DEVICE=C:\OS2\MDOS\VDPX.SYS 
  1262.         DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1263.         DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  1264.         DEVICE=C:\OS2\MDOS\VWIN.SYS
  1265.         REM * DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1)
  1266.         REM * DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  1267.         REM * DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1268.         DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1269.         SET VIDEO_DEVICES=VIO_VGA
  1270.         SET VIO_VGA=DEVICE(BVHVGA)
  1271.         DEVICE=C:\OS2\MDOS\VVGA.SYS
  1272.         DEVICE=C:\OS2\POINTDD.SYS 
  1273.         DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 
  1274.         DEVICE=C:\OS2\COM.SYS 
  1275.         DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1276.         CODEPAGE=437,850
  1277.         DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1278.         
  1279.         FOR CLONE WITH 8MB RAM AND VGA RUNNING ONLY FAT
  1280.         -----------------------------------------------
  1281.         Make the following two changes in the CONFIG.SYS listing above.
  1282.         
  1283.              o  REM this line:  IFS=C:\OS2\HPFS.IFS  /CACHE:512 /CRECL:4 /AUTOCHECK:C
  1284.         
  1285.              o  Remove the REM from this line:  REM DISKCACHE=256,LW
  1286.         
  1287.         
  1288.         FOR CLONE WITH 8MB RAM AND VGA RUNNING BOTH FAT AND HPFS
  1289.         --------------------------------------------------------
  1290.         Make the following change in the CONFIG.SYS listing above.
  1291.         
  1292.              o  Remove the REM from this line:  REM DISKCACHE=256,LW
  1293.         
  1294.         FOR CLONE WITH 4 OR 6MB OF RAM AND VGA RUNNING FAT
  1295.         --------------------------------------------------
  1296.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.BK1 C:\OS2\*.BK2
  1297.         CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\*.BK1
  1298.         REM * IFS=C:\OS2\HPFS.IFS  /CACHE:512 /CRECL:4 /AUTOCHECK:C
  1299.         PROTSHELL=C:\OS2\PMSHELL.EXE
  1300.         SET USER_INI=C:\OS2\OS2.INI
  1301.         SET SYSTEM_INI=C:\OS2\OS2SYS.INI
  1302.         SET OS2_SHELL=C:\OS2\CMD.EXE
  1303.         SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  1304.         SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  1305.         SET RESTARTOBJECTS=YES
  1306.         SET COMSPEC=C:\OS2\CMD.EXE
  1307.         LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  1308.         SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  1309.               C:\OS2\APPS;
  1310.         SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;
  1311.               C:\OS2\MDOS;C:\OS2\APPS;
  1312.         SET PROMPT=$E[1;33m[$p]$g
  1313.         SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  1314.         SET GLOSSARY=C:\OS2\HELP\GLOSS;
  1315.         SET DIRCMD=/O /P
  1316.         SET IPF_KEYS=SBCS                        (New with version 2.1)
  1317.         PRIORITY_DISK_IO=YES
  1318.         FILES=20
  1319.         DEVICE=C:\OS2\TESTCFG.SYS
  1320.         DEVICE=C:\OS2\DOS.SYS
  1321.         DEVICE=C:\OS2\PMDD.SYS
  1322.         BUFFERS=20
  1323.         IOPL=YES
  1324.         DISKCACHE=64,LW,12,AC:C
  1325.         MAXWAIT=2
  1326.         MEMMAN=SWAP,PROTECT
  1327.         SWAPPATH=C:\OS2\SYSTEM 512 6144
  1328.         BREAK=OFF
  1329.         THREADS=128
  1330.         PRINTMONBUFSIZE=134,0,0
  1331.         COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1332.         SET KEYS=OFF
  1333.         REM * SET DELDIR=C:\DELETE,512;
  1334.         BASEDEV=PRINT01.SYS
  1335.         BASEDEV=IBM1FLPY.ADD
  1336.         BASEDEV=IBM1S506.ADD
  1337.         BASEDEV=OS2DASD.DMD
  1338.         SET BOOKSHELF=C:\OS2\BOOK
  1339.         SET EPMPATH=C:\OS2\APPS
  1340.         REM * DEVICE=C:\OS2\APPS\SASYNCDA.SYS 
  1341.         PROTECTONLY=NO
  1342.         SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1343.         FCBS=16,8
  1344.         RMSIZE=512
  1345.         DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1346.         DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1347.         DOS=LOW,NOUMB
  1348.         DEVICE=C:\OS2\MDOS\VDPX.SYS 
  1349.         DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1350.         DEVICE=C:\OS2\MDOS\VDPMI.SYS 
  1351.         DEVICE=C:\OS2\MDOS\VWIN.SYS
  1352.         REM * DEVICE=C:\OS2\PCMCIA.SYS           (New with version 2.1) 
  1353.         REM * DEVICE=C:\OS2\MDOS\VPCMCIA.SYS     (New with version 2.1)
  1354.         REM * DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1355.         DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1356.         SET VIDEO_DEVICES=VIO_VGA
  1357.         SET VIO_VGA=DEVICE(BVHVGA)
  1358.         DEVICE=C:\OS2\MDOS\VVGA.SYS
  1359.         DEVICE=C:\OS2\POINTDD.SYS 
  1360.         DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 
  1361.         DEVICE=C:\OS2\COM.SYS 
  1362.         DEVICE=C:\OS2\MDOS\VCOM.SYS  
  1363.         CODEPAGE=437,850
  1364.         DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  1365.         
  1366.         ----------------------------------------------------------------------------------------------
  1367.         6.  HOW TO RESTORE A DAMAGED CONFIG.SYS FILE FROM A BACKUP COPY
  1368.         ----------------------------------------------------------------------------------------------
  1369.         
  1370.         1.  Boot OS/2 from the OS/2 Installation Disk.
  1371.         
  1372.         2.  Insert OS/2 Disk #1 when asked.
  1373.         
  1374.         3.  Press the ESC key when you get the first text screen.  By doing this you will be put into 
  1375.             OS/2s command-line mode.
  1376.         
  1377.         4.  Assuming that your backup copy of CONFIG.SYS is named CONFIG.SAV, enter the following com-
  1378.             mand:
  1379.         
  1380.             COPY C:\CONFIG.SAV C:\CONFIG.SYS
  1381.         
  1382.             Press the ENTER key.
  1383.         
  1384.         5.  Remove OS/2 Disk #1 and reboot system.
  1385.         
  1386.         What if you didn't make a backup copy?  IBM thought about you.  When OS/2 was first installed 
  1387.         on your system, the installation program made a backup copy of your original CONFIG.SYS file.  
  1388.         It stored this file in C:\OS2\INSTALL.  To restore from this file follow the same steps above, 
  1389.         EXCEPT, in step #4 enter the following command instead of the one shown:
  1390.         
  1391.             COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  1392.         
  1393.         <<=TIP=>>  Replace the CONFIG.SYS file saved by the OS/2 installation program in the INSTALL 
  1394.         directory with your most current version, thus allowing you to restore from it.
  1395.         
  1396.         ----------------------------------------------------------------------------------------------
  1397.  
  1398.         7.  REXX SUPPORT FROM WITHIN THE CONFIG.SYS FILE.
  1399.         ----------------------------------------------------------------------------------------------
  1400.         The question of whether REXX programs can be called from within the CONFIG.SYS file has been 
  1401.         asked by a number of people.  Keith Medcalf's response to the question is one of the best I've 
  1402.         seen.
  1403.         
  1404.           ------------------------------------------------------------------------------
  1405.             Date: 07-30-93, 08:06                  Number: 483                         
  1406.             From: Keith Medcalf                     Refer: 477                         
  1407.               To: Russ Williams                     Recvd: No                          
  1408.             Subj: REXX from CONFIG.SYS               Conf: Ibm.Os2se                   
  1409.           ------------------------------------------------------------------------------
  1410.           Wednesday July 28 1993 16:34, Russ Williams wrote to All:
  1411.         
  1412.            RW> Can anyone tell me what restrictions there are on running REXX
  1413.            RW> programs from CONFIG.SYS (via "CALL=")?  It doesn't work for me, and
  1414.            RW> the online help is no help.
  1415.         
  1416.           You cannot.  The DLLs required to support Rexx are not loaded until Presentation Manager 
  1417.           is loaded.  If you require Rexx support earlier, look for a progrm call SRVREXX at a 
  1418.           fine BBS near you.
  1419.         
  1420.           Adding the line RUN=SRVREXX.EXE to the config.sys will immediately initialize Rexx.  You 
  1421.           will then be able to access Rexx with or without PM being loaded.
  1422.         
  1423.         ----------------------------------------------------------------------------------------------
  1424.         END OF FILE
  1425.