home *** CD-ROM | disk | FTP | other *** search
/ The Pier Shareware 6 / The_Pier_Shareware_Number_6_(The_Pier_Exchange)_(1995).iso / 035 / os2cfg9.zip / OS2CFG9.DAT < prev    next >
Text File  |  1994-11-25  |  108KB  |  2,499 lines

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