home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 2 BBS / 02-BBS.zip / pcbos2_1.zip / OS2CNFG7.TXT < prev    next >
Text File  |  1993-10-17  |  90KB  |  1,638 lines

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