home *** CD-ROM | disk | FTP | other *** search
/ PC Online 1998 November / PCO_1198.ISO / filesbbs / os2 / cfginfo6.arj / CFGINFO6.ZIP / os2cfg15.dat < prev    next >
Encoding:
Text File  |  1998-09-07  |  151.5 KB  |  3,645 lines

  1.  
  2. --------------------------------------------------------------------
  3.    OS/2 CONFIG.SYS DESCRIPTION  -  Version 15 - September, 1998
  4. --------------------------------------------------------------------
  5.  os2cfg15.dat is partly rewritten, as computers and their 
  6.  use have changed significantly since the release of 
  7.  CONFIGINFO in the year 1995.
  8.  New commands by Klaus Staedtler (stadt@ibm.net) 
  9.  The informations here aren't complete, 
  10.  especially parameters for Java, Network and MMOS are rare. 
  11.  I'll maybe in the future add them when I have the time 
  12.  and get the informations (K.S.).
  13.  Look also at Chapter 7. sample where the use of other IFS 
  14.  (Windows NTFS/FAT32 Apple HFS Linux EXT) is discussed
  15.  Additionally I've added an instruction (see Chapter 11)
  16.  how to install Warp 4 over an laplink cable,
  17.  also good for networking over an parallel cable.
  18.  The instruction was written by Jerry Rowe.
  19.  
  20.  AS RICK MEIGS SEEMS TO SUPPORT CONFIGINFO NO MORE SEND YOUR
  21.  IFORMATIONS PLEASE TO KLAUS STAEDTLER stadt@ibm.net THANKS
  22.  
  23.  ENCOURAGEMENT:  This ASCII file may be freely distributed (and 
  24.  you're encouraged to do so) but you may not charge for the program,
  25.  Further, the copyright notice may not be removed nor may the file 
  26.  be modified.  This file is Freeware (that means you can use it at 
  27.  no cost and pass it on to your friends), but it is not in the 
  28.  public domain.
  29. 
  30.  VIEWING FILE:  Regardless of what editor you use, for best
  31.  results turn word wrap OFF and use a monospaced (like System 
  32.  Monospaced) font.
  33.   
  34.  PRINTING FILE:  In enhanced JB format for easy printing and
  35.  viewing.  Print file using your favorite text editor.
  36. 
  37. -----------------------------------------------------------------
  38. 1.  CAUTION, WARNING AND DISCLAIMER.                               
  39.  
  40.  <<=CAUTION=>>  Because of the way in which OS/2s Enhanced PM
  41.  editor (EPM.EXE) handles word wrapping and its restricted line
  42.  length, using it to edit your config.sys file is unwise.  For
  43.  best results, use OS/2s System Editor (E.EXE).
  44.   
  45.  <<=WARNING=>> If you plan on changing any line in your current
  46.  config.sys file, please be sure to create a backup --BEFORE-- 
  47.  you start experimenting!  This has saved me more than once.  
  48.  Remember, make the backup --BEFORE-- you change your config.sys
  49.  file.  If you are viewing this information using CNFGINFO.EXE,
  50.  use its backup option before you proceed any further.
  51.   
  52.  A procedure for restoring a damaged config.sys is included
  53.  at in Chapter 8. of this file also an advise how to use 
  54.  multiple configuration. If you are using WARP, refer to your
  55.  user manual on WARPs archive feature first.
  56.  
  57.  <<=TIP=>> For creating maintenance disks and partitions there
  58.  is the very useful FREE IBM EWS Tool Bootdisk, the latest
  59.  version is btos2915.zip
  60.  
  61.  If you plan to install warp 4 over an laplink cable there's
  62.  an instruction in chapter 11. at the end of the file
  63.  
  64.  <<=TIP=>> There is also an very usefull FREE IBM EWS TOOL 
  65.  called Warp'n Go for handling the config.sys. It works 
  66.  normally only together with WARP 3. You can use it in WARP4
  67.  when you insert in OS2VER the following lines:
  68.  23=WARPNGO.EXE
  69.  23=WARPNGO.DLL
  70.  ATTENTION ! using Warp'n Go together with WARP 4 deletes the
  71.  WARPCENTER Statement from SET AUTOSTART, but you can copy an
  72.  Shadow of the WarpCenter into the Autostart Folder, this 
  73.  solves additionally some problems reported with WarpCenter
  74.  startet by the config.sys.
  75.  
  76.  AS for OS/2 the both ini's OS2.INI and OS2SYS.INI are of great
  77.  importance have an look on them also. There are the great FREE 
  78.  WPS-TOOLS by Henk Kelder for an backup, restore and check of 
  79.  these files, they can be found on many servers, bbs or on the
  80.  authors homepage http://www.os2ss.com/information/kelder/ 
  81.  latest version is WPTOOL25.ZIP
  82.  For editing the INI Files you can make use of Regedit/2
  83.  supplied with newer Fixpacks for Warp 4, there is also an somewhat
  84.  faster FREE Editor called mINI by Kai Evers available at 
  85.  http://www1.stuttgart.netsurf.de/~kevers/
  86.  
  87.  <<=DISCLAIMER=>>  I CAN'T BE RESPONSIBLE FOR WHAT YOU DO WITH
  88.  YOUR SYSTEM OR YOUR CONFIG.SYS FILE BASED UPON WHAT YOU MAY
  89.  LEARN FROM THE INFORMATION PROVIDED IN THIS FILE.  EVERY EFFORT
  90.  HAS BEEN MADE TO MAKE THIS FILE AS ACCURATE AS POSSIBLE, BUT
  91.  NO WARRANTY OR FITNESS IS IMPLIED.  THE INFORMATION IS PROVIDED
  92.  ON AN "AS IS" BASIS.  USE IT AT YOUR OWN RISK.
  93.   
  94. -----------------------------------------------------------------
  95. 2.  COMMENTS.                                                        
  96.  
  97.  This whole process started in 1992 when Rick Meigs began researching
  98.  what many of the config.sys file commands were for. This ever
  99.  growing file is the result of that ongoing research. It briefly
  100.  describes most of the common and some of the more obscure
  101.  commands.  Naturally, not all possible commands are listed
  102.  (especially the many hardware device drivers), but there is a
  103.  lot here for you to work with.  Version 6 was the first version
  104.  updated for OS/2 2.1 and version 9 was the first updated for
  105.  OS/2 Warp 3. Version 12 was the first updated for Warp 4.
  106.  Naturally this information file can't be complete otherwise it
  107.  would have the size of some Meg's and the people working at
  108.  helpdesks would loose their job ;-)
  109.  -----------------------------------------------------------------
  110. 3. IMPORTANT NOTE AND WARNING 
  111.  
  112.  Unlike the DOS config.sys file which is read sequentially, OS/2 
  113.  reads the entire file before it invokes the commands listed.  
  114.  Therefore, except for several exceptions which have been noted,
  115.  it really doesn't matter where a command is placed. On several
  116.  of the "nets" and in a file called CNFGSORT.ZIP it has been
  117.  suggested that if you organize your config.sys file in a certain
  118.  way, you can significantly shorten the boot time of OS/2. I
  119.  find this sorting to be of little or no help for the vast
  120.  majority of OS/2 users.  Further, you can cause yourself
  121.  problems if you do it incorrectly.  So be very careful and have
  122.  a backup config.sys file ready.  Sorting your config.sys file
  123.  DOES make sense for those who wish to organize it for readability
  124.  and management purposes.
  125.  
  126.  Despite this warning of Rick I've added the last available version
  127.  of Configsort, THANKS to Judy McDermott from Judy's Warped World
  128.  http://www.gt-online.com/~bri for reminding me (K.S.)
  129. 
  130. -----------------------------------------------------------------
  131. 4.  BEGINNING OF CONFIG.SYS FILE DESCRIPTION.                        
  132.  
  133. IFS=C:\OS2\HPFS.IFS /CACHE:512 /CRECL:16 /AUTOCHECK:CDE /F:2
  134.    
  135.  IFS stands for "Installable File System".  This OS/2 command 
  136.  installs the High Performance File System (HPFS).  The syntax
  137.  is IFS=DRIVE:PATH\FILENAME,SWITCHES. There are three switches:
  138.                                   
  139.  /CACHE:nnn sets up a disk cache and its size. The default on 
  140.  most systems is low in my opinion.  
  141.   
  142.  <<=Warning=>>  Keep this one truth in mind about cache size:
  143.  an excessive cache takes memory available for programs and
  144.  therefore could have a negative impact on overall system
  145.  performance. But today, when most systems have 32MB+ the 
  146.  problem is more the restriction of the cache to 2MB.
  147.   
  148.  OS/2s Command Reference and other IBM sources indicate that 
  149.  the maximum cache size for HPFS is currently 2MB (2048), but
  150.  IBM does not recommend using a cache larger than 1.5MB (1536).
  151.  Personally, I have 16MB of RAM and have my HPFS cache set to
  152.  the max: 2048.
  153.   
  154.  If this switch is omitted, the default is 10% of the available
  155.  RAM on systems with more than 8MBs of RAM.
  156.  
  157.  <<=TIP=>> Use HPFS386.IFS if you have an license. It brings 
  158.  an significant performance boost into your system.
  159.  
  160.  <<=TIP=>> At the end of the file is a detailed discussion how 
  161.  to set the cache with system less than 32 MB
  162.  
  163.  <<=TIP=>> For analyzing HPFS formatted drives there is the FREE
  164.  Tool DFsee by Jan van Wijk, available at http://www.fsys.demon.nl
  165.  
  166.  <<=TIP=>> For undeleting files on HPFS Drives use the great IBM
  167.  EWS Tool File Phoenix (Rel. 1.35) by Joe DiAdamo, available
  168.  at many servers or BBS.
  169.  ========================== Table 1.0 ===========================
  170.   
  171.  You can get better performance from your system by using your 
  172.  available RAM in the most efficient and effective way.  Select
  173.  the case that best describes the file system or amount of RAM
  174.  you use. 
  175.   
  176.  CASE 1:  You use only HPFS or only FAT, but not both.           
  177.   
  178.                                HPFS only.         FAT only.
  179.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  180.   
  181.                      16 MB+           2048                 2048
  182.   
  183.  CASE 2:  You use both HPFS and FAT with HPFS active and FAT
  184.  passive.
  185.   
  186.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  187.   
  188.                      16 MB+           2048            512 -1024
  189.   
  190.  CASE 3:  You use both HPFS and FAT with HPFS passive and FAT
  191.  active.
  192.   
  193.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  194.                      
  195.                      16 MB+           1024                 2048
  196.   
  197.  <<=NOTE=>>  For purposes of the table above, "active" and
  198.  "passive" are descriptors for the way a partition is used. 
  199.  If it is seldom used, it is "passive."  If a lot of disk 
  200.  intensive I/O occurs on the partition, it is "active."
  201.  
  202.  ================================================================
  203.  
  204.  /CRECL sets the maximum record size for caching, from 2k to 64k
  205.  in multiples of 2k with a default of 4k.  This parameter may not 
  206.  exceed 1/4 of the total cache size set with the /cache parameter.
  207.  
  208.  /AUTOCHECK:nn tells the system to check each drive noted to see if
  209.  it was shut down properly.  If not, it will run CHKDSK on only the
  210.  drives indicated.
  211.  
  212.  <<=NOTE=>>  If you place a plus sign (+) in front of any drive
  213.  letter, the drive will be checked every time the system starts,
  214.  even if shut down properly.
  215.  
  216.  <<=WARNING=>>  If you don't include the AUTOCHECK switch in this
  217.  command, the system will not boot.
  218.  
  219.  /F:n indicates the level of CHKDSK to be used when automatically 
  220.  checking the drives at startup when AUTOCHECK is activated.  If 
  221.  no parameter is specifed, /F:2 is the default.
  222.    
  223.  <<=NOTE=>>  A /F:3 parameter will be ingnored unless you formatted
  224.  your hard drive with the /L switch.        
  225.  
  226.  <<=TIP=>>  If you are using only FAT partitions, then you should
  227.  REM this IFS statement and save yourself some RAM.  How much?
  228.  I've seen figures from 130k to 500k, but the HPFS.IFS file is 
  229.  136k in size.
  230.  
  231.  <<=TIP=>>  If you have drive partitions larger than 80MB, then
  232.  HPFS should give you better performance than FAT.  On partitions
  233.  of less than 80MB, most authorities indicate that there is only a
  234.  small performance difference between HPFS and FAT.  Consider the
  235.  following when comparing the relative merits of the HPFS versus
  236.  FAT:  On large partitions of identical size, the HPFS will
  237.  generally give you about 15% more space and improve performance
  238.  by about 28% (Information provided by Proportional Software).
  239.  
  240.  <<=NOTE=>>  Lazy write is on by default.  If you want lazy write
  241.  off, see the RUN=C:\OS2\CACHE.EXE command later in this file.
  242. 
  243. PAUSEONERROR=YES
  244.    
  245.  This command tells OS/2 to pause after it finds any error in your
  246.  config.sys and displays an error message.  If you don't include
  247.  this statement in your config.sys file, the default will be YES.
  248.  This is generally the best choice since the error message will
  249.  appear and scroll off the screen so quickly with a NO setting that
  250.  you may not notice it.
  251. 
  252. PROTSHELL=C:\OS2\PMSHELL.EXE
  253.    
  254.  This OS/2 command tells OS/2 what program you want to use as the 
  255.  protect mode shell (the program that determines what your user
  256.  interface looks like and how it operates.)  This is the first
  257.  program OS/2 will execute.  PMSHELL.EXE is the program which
  258.  initializes OS/2 Presentation Manager.  If you delete this line
  259.  from your config.sys file, OS/2 will load PMSHELL.EXE by default.
  260.  
  261.  <<=NOTE=>>  There are several alternatives to PMSHELL.EXE.
  262.  One is OS/2s own CMD.EXE.  If you replace PMSHELL.EXE with 
  263.  CMD.EXE, you will get a full screen OS/2 session only and will
  264.  not be able to run PM programs.  A second alternative is
  265.  TSHELL.EXE.  TSHELL is a text-based, protected-mode shell for
  266.  OS/2.  Any one remember OS/2 1.x? TSHELL makes OS/2 look
  267.  something like OS/2 1.0.  OS/2 1.0 did not have a graphical
  268.  user interface.  
  269.  
  270.  With TSHELL you can start and switch full-screen sessions only. 
  271.  These can be OS/2, DOS, or WINOS2 sessions depending on your
  272.  systems configuration.  You use Alt+Esc to switch around
  273.  sessions and Ctrl+Esc to pop up the task list.  But please note,
  274.  like OS/2 1.0, there is no Presentation Manager. Thus, OS/2 PM
  275.  applications will not work. You can download TSHELL.ZIP from
  276.  most OS/2 BBSs.
  277. 
  278. SET COMMAND:  The SET command in the config.sys file sets up 
  279.  environment variables for the entire system.  These
  280.  environment variables are stored by OS/2 in memory and are
  281.  shared by any applications which calls on them.    
  282.  
  283.  <<=TIP=>>  If you want to see what variables are set in your 
  284.  system, at an OS/2 command prompt type the word SET and press 
  285.  <enter>.  You'll get a list like the following:
  286.  
  287.      WP_OBJHANDLE=87103
  288.      USER_INI=C:\OS2\OS2.INI
  289.      SYSTEM_INI=C:\OS2\OS2SYS.INI
  290.      OS2_SHELL=C:\OS2\CMD.EXE
  291.      AUTOSTART=PROGRAMS,TASKLIST,FOLDERS
  292.      RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  293.      COMSPEC=C:\OS2\CMD.EXE
  294.      PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  295.         C:\OS2\INSTALL;C:\;C:\OS2\MDOS;
  296.      DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;
  297.         C:\OS2\INSTALL;C:\;C:\OS2\BITMAP;
  298.      PROMPT=$E[1;33m[$P]$G
  299.      HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  300.      GLOSSARY=C:\OS2\HELP\GLOSS;
  301.      DIRCMD=/ON /P
  302.      IPF_KEYS=SBCS
  303.      KEYS=OFF
  304.      SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;
  305.      ... 
  306. 
  307. SET USER_INI=F:\OS2\OS2.INI
  308.  
  309.  Tells OS/2 the name and locations of the file that contains
  310.  your desktop setup information and the options saved from
  311.  various OS/2 applications.  OS2.INI is the default file name.  
  312.  
  313.  <<=NOTE=>>  OS2.INI is a critical file for the proper operation
  314.  of OS/2 and should not be deleted or modified.  It is not an
  315.  ASCII file and, if it should become damaged, cannot be modified
  316.  with an ASCII editor.  You should consider backing up this file
  317.  by using the CALL lines shown in HOW TO MAKE A BACKUP COPY OF 
  318.  YOUR INI FILES (if you are using CNFGINFO to view this file,
  319.  select the How To Restore..." option) or with a program such as
  320.  WPSBKUP out of the WPTOOLS by Henk Kelder. You can also use 
  321.  MAKEINI.EXE, which ships with OS/2, to build a new set of INI
  322.  files. See your OS/2 documentation on how to do this.
  323.  
  324.  <<=TIP=>> For editing the INI Files you can make use of Regedit/2
  325.  supplied with newer Fixpacks for Warp 4, there is also an somewhat
  326.  faster FREE Editor called mINI by Kai Evers available at 
  327.  http://www1.stuttgart.netsurf.de/~kevers/
  328. 
  329. SET SYSTEM_INI=G:\OS2\OS2SYS.INI
  330.  
  331.  Tells OS/2 the name and location of OS2SYS.INI. This file
  332.  tells OS/2 what kind of equipment your system uses. NOTE:
  333.  OS2SYS.INI is a critical files and should not be deleted or
  334.  modified.  It is not an ASCII file. You should consider backing
  335.  up this file by using the CALL line shown in HOW TO MAKE A BACKUP
  336.  COPY OF YOUR INI FILES (if you are using CNFGINFO to view this
  337.  file, select the How To Restore..." option) or with a program
  338.  such as WPSBKUP, part of the WPTOOLS by Henk Kelder.
  339.  You can also use MAKEINI.EXE, which ships with OS/2, to build
  340.  a new set of INI files.  See your OS/2 documentation on how
  341.  to do this.
  342.  
  343.  This file remains open the entire time OS/2 is booted and
  344.  operating. It only closes upon shut down.
  345.  
  346.  <<=TIP=>> For editing the INI Files you can make use of Regedit/2
  347.  supplied with newer Fixpacks for Warp 4, there is also an somewhat
  348.  faster FREE Editor called mINI by Kai Evers available at 
  349.  http://www1.stuttgart.netsurf.de/~kevers/
  350. 
  351. SET EPFINSTDIR=C:\CFG\EPFINST
  352.  
  353.  Sets the path for the IBM-Installer
  354.  
  355.  <<=TIP=>> Make an own directory for the installer use not the default 
  356.  and move  all files like epfi* to this directory, if you have to make 
  357.  an new installation of OS/2 there is an clean way to update or delete
  358.  the programms who are using the IBM-Installer
  359. 
  360. SET OS2_SHELL=D:\OS2\CMD.EXE
  361.   
  362.  OS2_SHELL directs OS/2 to load the command line shell (CMD.EXE)
  363.  when you ask for an OS/2 command line from the WpS.  
  364.   
  365.  <<=WARNING=>>  Be careful with this line, OS/2 will not start 
  366.  without it.
  367.   
  368.  <<=TIP=>>  If you wish to run some other command line shell,
  369.  such as 4OS2, change this line and the SET COMSPEC=C:\OS2\CMD.EXE
  370.  line, substituting the appropriate EXE file for CMD.EXE.
  371.  
  372.  <<=TIP=>>  If you have a need to have a .CMD file invoked when
  373.  you launch any OS/2 full screen or windowed session, just as 
  374.  AUTOEXEC.BAT is invoked for DOS sessions, modify this command
  375.  line as shown below and it will cause AUTOEXEC.CMD to be invoked
  376.  each time you start an OS/2 session.
  377.  
  378. SET OS2_SHELL=C:\OS2\CMD.EXE /k C:\AUTOEXEC.CMD
  379.  
  380.  You can choose any file name you wish for the CMD file. 
  381.  AUTOEXEC.CMD is used just as an example.
  382. 
  383. SET AUTOSTART=PROGRAMS,TASKLIST,FOLDERS,CONNECTIONS,LAUNCHPAD,WARPCENTER
  384.   
  385.  The AUTOSTART command contains a list of WpS components which
  386.  will be started (or restarted) when the system is booted up.
  387.  There are currently six possible options:
  388.  
  389.  PROGRAMS:  Tells OS/2 to start applications, that were running 
  390.             when the system was shut down, to restart.  This
  391.             options will be ignored if SET RESTARTOBJECTS=NO.
  392.  
  393.  TASKLIST:  This parameter enables the OS/2 task list that appears 
  394.             when you press Ctrl+Esc.  Why this parameter is
  395.             available I don't know, because even when removed, I
  396.             have still been able to press Ctrl+Esc and get the task
  397.             list.  Oh well, another OS/2 mystery.
  398.  
  399.  FOLDERS:   Opens the desktop and any other folder which was open 
  400.             when the system was shut down.  
  401.  
  402.             <<=WARNING=>>  If you remove the FOLDERS statement,
  403.             OS/2 will not open your desktop (which is a folder).  
  404.              
  405.  CONNECTIONS:  This parameter restarts any network connections 
  406.                that were in use when the system was shut down.  
  407.  
  408.             <<=NOTE=>>  This parameter can be removed if your
  409.             system is not connected to a network.  Leaving it
  410.             in your config.sys file will NOT cause any problems.
  411.  
  412.  LAUNCHPAD:  Restarts the new Lauchpad supplied with Warp.
  413.  
  414.              <<=NOTE=>> This parameter can be removed if you don't
  415.              want to autostart the launchpad.
  416.  
  417.  WARPCENTER: Restarts the Warpcenter supplied new with Warp4
  418.  
  419.             <<=NOTE=>> can be removed if you don't want to 
  420.             autostart the WarpCenter
  421.  
  422.             <<=TIP=>> It is reported that in some cases the 
  423.             autostart of the WarpCenter by the config.sys crashes 
  424.             the WPS. If this appears, delete WarpCenter, and
  425.             make instead an reference in the autostart folder.
  426.             See also the WarpCenter SET options in this file 
  427.  
  428.             <<=TIP=>> Don't use other activity monitors (e.g. like
  429.             the one delivered with Describe, or Pulse) together with
  430.             the enabled activity monitor in WarpCenter.
  431. 
  432. SETBOOT /T:5
  433.  
  434.  This command lets you set up the Boot Manager in OS/2.  There
  435.  are a number of switches available including:
  436.  
  437.   /T:x  Number of seconds that the Boot Manager menu will
  438.         remain on the screen before the default system starts.  A
  439.         0 (zero) setting causes the menu to be bypassed.  A NO
  440.         (as in /T:NO) causes the menu to remain displayed until
  441.         a selection is made.
  442.  
  443.   /Q    Queries the currently set startup environment, and
  444.         displays the default logical disk alias, timeout value,
  445.         mode, and drive letter assignments for each system index.
  446.  
  447.   /X:x  Sets the system startup index to indicate the partition
  448.         that the Boot Manager should start, where x is from 0 to 3.
  449.  
  450.  For complete information and other switches available, refer to
  451.  the online OS/2 Command Reference.
  452. 
  453. SET RUNWORKPLACE=C:\OS2\PMSHELL.EXE
  454.   
  455.  This line tells the system what interface program is to be
  456.  used.  In this case it is the Workplace Shell.
  457.   
  458.  <<=TIP=>>  If you want to run OS/2 with only a command line 
  459.  interface,  you can do so by changing this line to read 
  460.  SET RUNWORKPLACE=C:\OS2\CMD.EXE.  This brings OS/2 up without
  461.  the WpS and gives you one screen session.  You can start other 
  462.  sessions using the START or DETACH command.  Otherwise,
  463.  operated just like you were in DOS.  If you have started more
  464.  than one session, switch between them using Alt+Esc.  For those
  465.  who want the power of OS/2 and like to work only from a command
  466.  line, give this a try.  I'm running in this mode as I write this
  467.  as a test and it appears to work fine.
  468.   
  469.  <<=WARNING=>>  You can't perform a "shut down" from a command
  470.  line.  To do a shut down type PMSHELL and press enter.  This
  471.  starts the WpS.  Once the WpS is open, you should be able to
  472.  perform a standard shut down.  You can also download one of
  473.  several shut down programs available on most OS/2 specific
  474.  BBSs.  I use one called SHUT32.ZIP.
  475.  
  476.  <<=TIP=>>  MSHELL.EXE is another alternative.  It is a simple
  477.  mini shell for OS/2 that uses the replaceable shell 
  478.  architecture of the WpS.  MSHELL is a program launcher which
  479.  provides one list of programs to start.  This list can be
  480.  modified by creating a plain text file called MSHELL.INI. In
  481.  addition to starting programs, MSHELL can save the desktop,
  482.  interact with the spooler, and do a system shut down.
  483.  
  484.  MSHELL is IBM Employee Written Software and can be downloaded
  485.  from most OS/2 specific BBSs or ftp.cdrom.com. 
  486. 
  487. SET RESTARTOBJECTS=YES
  488.   
  489.  This command tells OS/2 what applications to start after you
  490.  suspend operations with or without doing a shut down. If this
  491.  statement is not in your config.sys, then the default is YES,
  492.  i.e., start all objects that were running at the time of shut
  493.  down or reboot.  Other options are:
  494.  
  495.   NO = do not start any applications that were running at time 
  496.        of shut down or reboot.  
  497.   
  498.   STARTUPFOLDERSONLY = start objects only in the Startup 
  499.        folder.  This parameter is also handy for another
  500.        purpose.  Lets assume you have one or more programs in
  501.        your Startup folder and do a shut down without closing
  502.        those programs.  If you have Restartobjects set to yes,
  503.        OS/2 will restart the programs left open AND the Startup 
  504.        folder will start another copy of the same programs.
  505.        Thus you will have two copies running.  Using this
  506.        parameter eliminates this.
  507.  
  508.   REBOOTONLY = Start objects only if the OS/2 WpS is starting 
  509.        from a reboot (Ctrl-Alt-Del) or at power on.  Objects 
  510.        will not restart if the WpS is restarted as a result of 
  511.        its own error correction recycling.
  512.   
  513.  <<=TIP=>>  You can also circumvent the auto-starting of
  514.  programs by holding down Left/Ctrl-Left/Shift-F1 all at the
  515.  same time during boot.  It must be done right after the clock
  516.  appears just before the desktop loads, but before any icons
  517.  appear.
  518. 
  519. SET COMSPEC=C:\OS2\CMD.EXE
  520.   
  521.  This line identifies what OS/2 command line shell is to be used
  522.  and its location.  In DOS, COMMAND.COM is equivalent to CMD.EXE.
  523.   
  524.  <<=TIP=>>  If you wish to run some other command line shell,
  525.  such as 4OS2, change this and the SET OS2_SHELL=C:\OS2\CMD.EXE
  526.  line, substituting the appropriate EXE file for CMD.EXE.
  527. 
  528. SET TEMP=C:\TEMP
  529. SET TMP=C:\TEMP
  530.  
  531.  Sets the directory for temporary files
  532. 
  533. LIBPATH=.;C:\OS2\DLL;C:\OS2\MDOS;C:\;C:\OS2\APPS\DLL;
  534.   
  535.  Tells OS/2 where to locate Dynamic Link Libraries (DLLs).  
  536.  LIBPATH is similar to DPATH and PATH, but the statement can
  537.  only be used in the config.sys file and OS/2 does not search the
  538.  current directory for DLLs unless you include it in the LIBPATH
  539.  statement.  You don't need to use the SET command with LIBPATH. 
  540.  It is not an environment variable.
  541.  
  542.  <<=TIP=>>  To reduce the search time, be sure that the various
  543.  PATH statements contain the correct path to your program and
  544.  other files.  You can also have OS/2 search the current directory
  545.  by including a period "." right after the equal "=" symbol.   This
  546.  causes OS/2 to look in the current logged directory first.
  547.  
  548.  One final item that will reduce search time:  Be certain that
  549.  the PATH, LIBPATH and DPATH statements in the config.sys are
  550.  arranged with the most frequently accessed sub directories
  551.  listed first.
  552.  
  553.  <<=WARP TIP=>>  With Warp, IBM has introduced the ability to
  554.  dynamically change LIBPATH using two new environment variables:
  555.  BEGINLIBPATH and ENDLIBPATH.  These commands are most useful
  556.  in CMD or BATCH files, but can be used in your config.sys.
  557.  Any directories that appear in the BEGINLIBPATH variable are
  558.  searched before directories in LIBPATH, and directories that
  559.  appear in the ENDLIBPATH variable are searched after those
  560.  in LIBPATH.  The correct syntax is SET BEGINLIBPATH=C:\OS2.
  561.  
  562.  <<=NETSCAPE TIP=>> Netscape must be in the first place of the
  563.  Libpath, if you use Staroffice 4.0 check if thats correct, if
  564.  not move the Staroffice Path behind Netscape and install 
  565.  Servicepak 2 or higher otherwise the Staroffice Browser wont
  566.  function. 
  567. 
  568. SET PATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  569.  
  570.  Just like in DOS, it tells OS/2 where to find programs.  For DOS
  571.  sessions, set the PATH in your Autoexec.bat file.
  572.   
  573.  <<=WARNING=>>  Your path statement should contain at least the
  574.  following directories:  \OS2, \OS2\MDOS, \OS2\SYSTEM.
  575.  
  576.  <<=TIP=>> In Warp4 peerinst.exe doesn't work correct if the path
  577.  contains more than 256 Characters, if this happens make a copy
  578.  of your config.sys and shorten the path temporarily
  579. 
  580. SET DPATH=C:\OS2;C:\OS2\SYSTEM;C:\OS2\MDOS\WINOS2;C:\OS2\INSTALL;
  581.   
  582.  This is an OS/2 command.  It tells OS/2 programs where to look
  583.  for data files.  It is similar to the DOS APPEND command, but
  584.  unlike APPEND, DPATH only works with programs designed to use
  585.  it.
  586. 
  587. SET PROMPT=$E[1;33m[$P]$G
  588.  
  589.  Like the same DOS command, this line sets how your OS/2 command
  590.  prompt will appear.  (This is for OS/2 only.  Set the DOS PROMPT 
  591.  default in your AUTOEXEC.BAT file.)  In the setting shown here,
  592.  the command prompt will appear showing the current directory of
  593.  the default drive enclosed in [] followed by the greater than
  594.  symbol, i.e. [C:\]>.  Having brackets [] around the drive and
  595.  directory information lets you quickly know when you are at an
  596.  OS/2 command line verse a DOS command line.  
  597.  
  598.  If you type PROMPT without a parameter, OS/2 will return its 
  599.  default prompt.
  600.  
  601.  Options include:
  602.  
  603.      $B = The | character
  604.      $C = The open parenthesis (
  605.      $D = Current date
  606.      $E = ASCII code 27 (escape) so you can work with ANSI.
  607.         See <<=TIP=>> below.
  608.      $F = The close parenthesis )
  609.      $G = The "greater than" > symbol
  610.      $H = BACKSPACE over the previous character
  611.      $I = Turns help line on
  612.      $L = The "less than" < character
  613.      $N = Default drive
  614.      $P = Current directory of default drive
  615.      $Q = The equal = character
  616.      $S = The space character
  617.      $T = Current time
  618.      $V = OS/2 version number
  619.      $_ = Carriage return or line feed
  620.  
  621.  <<=TIP=>>  You can also add ANSI control sequences to your
  622.  prompt.  For example, to help me know visually whether I'm
  623.  working with an OS/2 command line, I've add $E[1;33m to my
  624.  prompt line, i.e. SET PROMPT=$E[1;33m[$P]$G.  This sets text
  625.  to display in bold yellow characters. SET PROMP=$E[30;47m
  626.  $E[K[$P] deletes the settings done by other programs and sets
  627.  text to display black on white.
  628. 
  629. SET HELP=C:\OS2\HELP;C:\OS2\HELP\TUTORIAL;
  630.  
  631.  Tells OS/2 where the help files are located.  OS/2 will only
  632.  look for its help files in the path shown.
  633. 
  634. SET GLOSSARY=C:\OS2\HELP\GLOSS;
  635.  
  636.  Tells OS/2 where Glossary and Master Help files are located.
  637. 
  638. SET MENUSTYLE=SHORT
  639.  
  640.  An undocumented SET command which controls the amount of
  641.  information presented to you when you activate a pop-up
  642.  menu.  For example, the standard pop-up menu on my OS/2
  643.  desktop menu provides 13 menu items.  With this SET
  644.  command in my config.sys, I only have 10 items.  The items
  645.  not presented are Help, Create Shadow, and Find.
  646. 
  647. SET DIRCMD=/ON /P
  648.  
  649.  An undocumented command that is the OS/2 equivalent of the DIR
  650.  command in DOS.  Since DOS 5, you can tell DIR how to present
  651.  file information.  To do this in OS/2, use the DIRCMD command.
  652.  For example:  SET DIRCMD=/ON /P tells OS/2 to display the DIR 
  653.  information in alpha order and place a pause at the end of each
  654.  page.
  655.  
  656.  <<=NOTE=>>  This is for OS/2 only.  Set the DOS default in your
  657.  AUTOEXEC.BAT file.
  658.  
  659.    Options include:
  660.  
  661.    /A list files with specific attributes.  E.g. /AH list only 
  662.       hidden files.  Other options are S A & R.  If you place a 
  663.       negative (-) sign in front of your specified attribute, 
  664.       all files will list except those with the attribute 
  665.       specified.  E.g. /A-H-S will display all files except 
  666.       hidden and system files.
  667.    /B list directories and files without heading and summary 
  668.       information.
  669.    /F list files with the full drive and path information.  
  670.       Date, time and size are omitted.
  671.    /L displays information in lowercase.
  672.    /N lists files on a FAT drive in the same format used for a 
  673.       HPFS drive, i.e. date, time, size, name.
  674.    /O list files according to sort option specified.  Sort 
  675.       options are:
  676.          G = Display directories first.
  677.          N = alphabetize by file name
  678.         -N = reverse-alphabetizes by name
  679.          E = alphabetize by extension
  680.         -E = reverse-alphabetizes by extension
  681.          D = by date, oldest first
  682.         -D = by date, newest first
  683.          S = by file size, smallest first
  684.         -S = by file size, largest first
  685.    /P pauses after a full screen of files is listed.
  686.    /R displays long file names if applicable.
  687.    /V shows the size seperated by an point e.g 1000.000kb 
  688.    /S searches and displays all directories.
  689.    /W displays file names across the screen.  Date, time and 
  690.       size are omitted.
  691.  
  692.  <<=TIP=>> If you install Lotus SmartSuite 96 from a CDROM under WARP 4 
  693.  it will hang at about 85%. You can load the word processor separately 
  694.  but Freelance Graphics causes the hang. Lotus told that the cure was to
  695.  REM out the SET DIRCMD= line in the config.sys, reboot, install, remove 
  696.  the REM and reboot.
  697. 
  698. LASTDRIVE=H
  699.  
  700.  Specifies the maximum number of drives that are accessible.
  701.  The value you specify with LASTDRIVE represents the last valid
  702.  drive that is recognized. 
  703. 
  704. SET IPF_KEYS=SBCS
  705.  
  706.  The character set for most languages can be represented as data
  707.  using an 8-bit byte since their characters sets are each less
  708.  than 256 characters.  These are called single-byte character sets
  709.  (SBCS).  Languages such as Japanese (Kanji), Korean and Chinese 
  710.  (both Traditional and Simplified) can only be represented using
  711.  two 8-bit bytes or 16-bits.  These are double-byte character
  712.  sets (DBCS).
  713.  
  714.  This command tells the Information Presentation Facility (INF
  715.  and help files) which type of character set is being used, i.e.,
  716.  Single or Double Byte Character Set.  This is an environment
  717.  variable.  Removing it from my system did not seem to have any
  718.  impact.
  719. 
  720. SET SCKILLFEATUREENABLED=1
  721.  
  722.  Allows to kill misbehaving programs with a Ctrl/left click on the WarpCenter
  723.  task list (second button from the left)
  724. 
  725. SET SCKILLCONFIRMDISABLED=1
  726.  
  727.  Disables the the security question for the kill feature in Warpcenter
  728.  use with care !
  729. 
  730. SET SCFINDUTILITY=C:\OS2\APPS\PMSEEK.EXE
  731.  
  732.  Replaces 'find objects' in WarpCenter by a faster and more useful program
  733. 
  734. SET SCUSEPRETTYCLOCK=1
  735.  
  736.  Changes the appearance of the WarpCenter clock
  737. 
  738. SET MENUSFOLLOWPOINTER=ON
  739.  
  740.  Enables cascading menus in Warpcenter like in Windows 95
  741. 
  742. SET PM_ASYNC_FOCUS_CHANGE=ON | ON x | OFF
  743.  
  744.  ONLY FOR WARP 3 !!
  745.  
  746.  The "SIQ" feature is new with FixPak XR_W017. It allows the user to
  747.  take focus away from an application that is monopolizing the message
  748.  queue.  When the FixPak is installed, the SIQ feature is disabled
  749.  (OFF).
  750.  The parameters to the SET command are:
  751.  
  752.  The default is OFF (disabled).
  753.  
  754.  To turn it on (enable) put the following in the CONFIG.SYS file and
  755.  reboot:
  756.  
  757.  SET PM_ASYNC_FOCUS_CHANGE=ON
  758.  
  759.  To change the timeout value put the following in the CONFIG.SYS file
  760.  and reboot:
  761.  
  762.  SET PM_ASYNC_FOCUS_CHANGE=ON x
  763.  
  764.  where x is in milliseconds (default is 2000 (2 seconds))
  765. 
  766. PRIORITY_DISK_IO=YES
  767.  
  768.  This command determines whether programs running in the fore-
  769.  ground have priority access to disks.  The default is YES.  If
  770.  you want a program running in the background, like a BBS, to
  771.  have equal access to your disks, then change this statement to
  772.  NO.  If you change this command to no and then find that your
  773.  communications program does not work, change back to yes.
  774. 
  775. PRIORITY=DYNAMIC
  776.  
  777.  OS/2 automatically assigns processing priorities to each thread
  778.  of a program as it begins processing.  A thread running in the
  779.  foreground will generally have priority over a thread running
  780.  in background.  Thread priorities are adjusted, generally based
  781.  upon how active they are, by OS/2 on an ongoing basis to make
  782.  sure each thread has adequate processing time.  On the rare
  783.  occasion that you need to run a program which must never change
  784.  in priority, you should set PRIORITY=ABSOLUTE, otherwise, don't
  785.  mess with it.
  786.  
  787.  <<=NOTE=>>  This command does not have to be in your config.sys.
  788.  If it isn't, OS/2 defaults to PRIORITY=DYNAMIC.
  789.  
  790.  Here are some interesting and comments posted by David Page.
  791.  "I strongly suggest that you read "The Design of OS2" by Deitel
  792.  and Kogan; Addison Wesley. It goes into great detail on this
  793.  topic.
  794.  
  795.  "To summarize: The highest priority thread always has the
  796.  machine.  If there are two equally high threads, they timeslice
  797.  having the machine.  Note that there are many Operating System
  798.  threads, like the scheduler itself, that are higher priority
  799.  than any program. Now, if PRIORITY=ABSOLUTE in the config.sys
  800.  file, that's all there is to it.  But usually, PRIORITY=DYNAMIC,
  801.  and OS/2 keeps gradually increasing the priority of a starved
  802.  thread until it gets to run. Maxwait determines the maximum
  803.  time, in seconds, before the scheduler intervenes to raise a
  804.  low priority thread up high enough to run."
  805. 
  806. FILES=20
  807.  
  808.  This is a standard DOS command which sets the maximum number
  809.  of files that DOS can access at the same time.  OS/2 sets the
  810.  install default is 20, but some DOS programs may require an
  811.  increased number.  The maximum parameter is 255.  The FILES
  812.  command is for DOS only and has no effect on OS/2 sessions
  813.  which can have up to 64,000 files open at the same time.
  814. 
  815. DEVICE=C:\OS2\TESTCFG.SYS
  816. DEVICE=C:\OS2\BOOT\TESTCFG.SYS  <---- In Warp
  817.  
  818.  TESTCFG.SYS is used during the install process to test your
  819.  systems configuration.  It is also used by the Selective Install
  820.  process and during device driver installations.  
  821.  
  822.  <<=NOTE=>>  Because this driver is used by the Selective Install
  823.  process, it should not be deleted.
  824. 
  825. DEVICE=C:\OS2\DOS.SYS
  826. DEVICE=C:\OS2\BOOT\DOS.SYS      <---- In Warp
  827.  
  828.  A device driver used to communicate between DOS and OS/2
  829.  applications running on the same system.
  830. 
  831. DEVICE=C:\OS2\PMDD.SYS
  832. DEVICE=C:\OS2\BOOT\PMDD.SYS     <---- In Warp
  833.  
  834.  OS/2 loads and uses this driver to provide pointer draw support 
  835.  along with POINTDD.SYS.
  836.  
  837.  <<=WARNING=>>  OS/2 will not start without this line in your 
  838.  config.sys file.
  839. 
  840. DEVICE=C:\OS2\BOOT\PAUSE.SYS /w:NNN
  841.  
  842.  where: NNN = seconds to wait (default = 30 seconds)
  843.  
  844.  Pauses the config.sys for an given time
  845.  Useful for maintenance purposes
  846.  the driver can be found at the IBM Device Driver Pak Online site.
  847.  
  848.  <<=TIP=>> Together with BASEDEV=IBM1S506.ADD the /W switch does 
  849.  the same
  850. 
  851. BUFFERS=30
  852.  
  853.  Tells OS/2 how many disk buffers to set aside.  Range is from 3  
  854.  to 100.  Each buffer takes up to 512 bytes of RAM.  The install
  855.  default usually works well.  If you are using HPFS only, see
  856.  <<=Tip=>> below.
  857.  
  858.  Disk buffers are blocks of memory set aside by OS/2 for use in 
  859.  reading and writing blocks of data.  For example, if a program
  860.  wants to change 80 bytes of a file, it needs to read the 512
  861.  byte sector that contains the original data, change the infor-
  862.  mation and then write the corrected 512 byte sector back out.
  863.  A "buffer" is the 512 byte temporary staging area for this
  864.  partial sector operation.  According to a source at IBM, "OS/2
  865.  allows multiple simultaneous I/O operations to be queued up for
  866.  both diskette and hard disk.  Each 'concurrent' operation may
  867.  need a buffer.  If there are not enough buffers, overlap can be
  868.  inhibited.  Because OS/2 has more 'simultaneous' queued I/O
  869.  than DOS, it needs more buffers."  
  870.  
  871.  <<=TIP=>>  Generally, if you are running FAT on one or more of
  872.  your hard drives, you can speed up your system by increasing
  873.  the number of BUFFERS.  But, keep in mind that as you increase
  874.  the number, you reduce available memory.  Be careful about using
  875.  a lower number unless you only have 4MB of RAM.  With 4MB of RAM
  876.  you may wish to set BUFFERS to 20.  
  877.  
  878.  <<=TIP=>>  If you are using only HPFS (i.e., no FAT partitions),
  879.  try setting BUFFERS to 3.  With HPFS you generally don't need
  880.  BUFFERS.  Remember that 3 is the minimum parameter.  If you set
  881.  BUFFERS to 1 or 2, OS/2 will default to 30 since 1 and 2 are out
  882.  of range.  There is one exception to this tip.  If you access
  883.  your floppy disks a lot, then a reduced BUFFERS setting could
  884.  impact floppy performance.
  885. 
  886. IOPL=YES
  887.  
  888.  When set to YES, this command lets programs that need to bypass
  889.  OS/2 (and its device drivers) and work directly with hardware
  890.  devices, to do so.  One example is Lotus 123/G.  YES means
  891.  that all programs can access the hardware directly.  NO means
  892.  that no program can access the hardware directly.  YES is the
  893.  default and is generally best, since its hard for most of us to
  894.  know when a program is written is such a way as to need direct
  895.  access to hardware.
  896.  
  897.  IOPL stands for Input/Output Privilege Level.
  898.  
  899.  <<=TIP=>>  You can also specify a list of programs that are
  900.  allowed to work directly with the hardware.  For example, 
  901.  IOPL=WS.EXE,123.EXE would allow only these two programs to
  902.  access hardware directly.
  903. 
  904. RUN=C:\OS2\CACHE.EXE /MAXAGE:7500 /DISKIDLE:60000 /BUFFERIDLE:60000
  905.  
  906.  This line runs CACHE.EXE which allows you to modify the
  907.  parameters for the HPFS cache.  CACHE.EXE is only used for
  908.  HPFS partitions.  (The DISKCACHE command sets up a cache for
  909.  FAT.)  There are four switches for CACHE.EXE:
  910.  
  911.    /LAZY:  Determines if lazy writes is ON or OFF, that is, 
  912.      whether the contents of the cache will be written to your 
  913.      hard disk immediately (/LAZY:OFF) or when your hard disk 
  914.      is idle (/LAZY:ON).  The default is ON.  I like lazy 
  915.      writes ON because it improves performance, but keep in 
  916.      mind that since the system delays writing data to your 
  917.      hard disk, you can lose data if your system should crash.
  918.      In the config.sys file line above no switch is specified 
  919.      therefore the default remains in effect, which is ON.  
  920.  
  921.      <<=TIP=>>  Lazy writes can also be turned ON or OFF at an 
  922.      OS/2 command prompt.
  923.  
  924.      <<=WARNING=>>  If you include the /LAZY switch, then the 
  925.      CACHE statement will IGNORE ALL OTHER SWITCHES in the 
  926.      line.  Therefore, if you want to turn lazy writes off (or
  927.      on) and also change some other parameter, you will need 
  928.      two RUN statements.
  929.  
  930.      <<=WARNING=>>  There is a bug in OS/2 version 2.1 which
  931.      does not appear to have been fixed in Warp.  You
  932.      can't turn lazy writes off from the config.sys file.  The
  933.      WpS always turns lazy writes ON when it loads regardless
  934.      of what your CACHE.EXE command sets.  So, if you want lazy
  935.      writes off, you will need to run the CACHE command AFTER
  936.      the WpS starts.  Create a CMD file to turn it off and place
  937.      it in your Startup folder.  The WpS has already done it's
  938.      thing when the objects in the Startup folder are opened.
  939.      You can also turn it off from a command prompt.  (Thanks
  940.      to Denis Tonn for this critical information).
  941.  
  942.    /MAXAGE:  Sets how long data waits in the cache before it is 
  943.      moved to another area of the cache where less used 
  944.      information is stored, or how long data waits in the 
  945.      cache before it is written to the hard disk.  It is 
  946.      expressed in milliseconds.  The default is 5,000 or about 
  947.      5 seconds.  In the config.sys file line above, the wait 
  948.      is set at 7,500 milliseconds or about 7 1/2 seconds.
  949.       
  950.    /DISKIDLE:  Sets how long your hard disk must be idle before
  951.      it will accept data from the cache.  Express in 
  952.      milliseconds and the default is 1,000 or about one 
  953.      second.  The minimum value must be greater than the value
  954.      specified in the BUFFERIDLE parameter.  In the config.sys
  955.      file line above no switch was specified so the default 
  956.      remains in effect.
  957.  
  958.    /BUFFERIDLE:  Sets how long the cache buffer must be idle 
  959.      before its contents MUST be written to your hard disk.  
  960.      Express in milliseconds and the default is 500 or about 
  961.      1/2 second.  In the config.sys file line above no switch 
  962.      was specified so the default remains in effect.
  963.  
  964.  According to one source at IBM, there are two other
  965.  undocumented parameters.  
  966.  
  967.    /DIRTYMAX:  The threshold number of dirty buffers before 
  968.      immediately flushing of least recently used (LRU) data 
  969.      blocks.
  970.  
  971.    /WRITECACHE:  The threshold number of bytes that HPFS will 
  972.      cache for a lazy write.
  973.  
  974.  <<=NOTE=>>  The HPFS IFS config.sys file line sets up the
  975.  cache and uses the system defaults.  This config.sys file
  976.  line is only used to modify the cache parameters.  
  977.  
  978.  <<=TIP=>>  You can check to see what parameters the HPFS cache
  979.  is currently set at by going to an OS/2 command prompt and 
  980.  keying in the word CACHE and pressing the enter key.
  981.  
  982.  <<=TIP=>>  Table 2.0 contains information on optimum settings
  983.  for each of the main parameters.  This great stuff was 
  984.  provided by Proportional Software based upon a great deal of
  985.  OS/2 system tweaking done by the DCF/2 development team.
  986.  
  987.  ========================= Table 2.0 ===========================
  988.  
  989.    Parameters:             LAZY WRITES               /LAZY:ON
  990.                                 MAXAGE                 >7,500 
  991.                               DISKIDLE                 60,000 
  992.                             BUFFERIDLE                 60,000
  993.  ===============================================================
  994.  <<=TIP=>> Warp 4 Cache info direct from "Mr HPFS" Doug Azzarito of 
  995.  IBM - Austin
  996.  
  997.  Doug: CACHE.EXE shouldn't be used in CONFIG.SYS, it should be put 
  998.  in STARTUP.CMD. If you type CACHE ? you will see:
  999.  
  1000.      The specified option, ?, is incorrect.
  1001.      Correct usage: cache [OPTIONS]
  1002.      where OPTIONS is one or more of:
  1003.       -DISKIDLE:n         Sets disk-idle time before write to n 
  1004.                           milliseconds.
  1005.       -MAXAGE:n           Sets maximum age of cache buffer to n 
  1006.                           milliseconds.
  1007.       -BUFFERIDLE:n       Sets buffer idle time to n milliseconds.
  1008.       -Lazy:ON|OFF|n      Turns lazy writing on, off or set to 'n' 
  1009.                           lazy writers.
  1010.       -READAHEAD:ON|OFF|n Turns read ahead on, off or set to 'n' 
  1011.                           read ahead workers.                                                                       
  1012.  
  1013.      The new parameters are LAZY:n (in Warp 3 it only allowed ON & OFF) 
  1014.      and -READAHEAD. The -n in READAHEAD isn't used, but will accept 0 
  1015.      or 1, and turn that into an ON or OFF. 
  1016.  
  1017.  Ron: Do you know of the /DirtyMax and /WriteCache switches?
  1018.  
  1019.      Doug: They're not very useful - I use them in testing only. 
  1020.      The DIRTYMAX switch sets a maximum number of dirty buffers - 
  1021.      if this limit is reached, the lazy-writer wakes up and cleans 
  1022.      up the cache. It is set at 80% of the cache. 
  1023.      WRITECACHE is a parameter that sets the maximum size of a WRITE 
  1024.      that will be put in cache. It is set to the maximum size of a 
  1025.      write operation (64K).
  1026. 
  1027. DISKCACHE=D,LW,32,AC:CD+E
  1028.  
  1029.  If you are using one or more FAT partitions on a hard drive,
  1030.  this command sets up a disk cache for those partitions.  The
  1031.  default cache size used by OS/2 during installation is based on
  1032.  how much RAM your system contains.  See Table 3.0.  The minimum
  1033.  cache size is 64k and the Maximum FAT cache size is 14MB.
  1034.  
  1035.  <<=IMPORTANT NOTE=>>  Under Warp, during installation the 
  1036.  letter "D" is used instead of the usual numeric value.  On the
  1037.  "nets", several users have reported that their disk I/O was
  1038.  significantly reduced when they replaced the "D"  with a value
  1039.  as was the case in OS/2 2.x.  I suggest you change this setting
  1040.  based on the optimum cache sizes as shown in Table 1.1 above.
  1041.  If you leave the "D" setting, then OS/2 will set your FAT
  1042.  diskcache based upon the amount of RAM you have as follows:
  1043.  
  1044.         7 or 8MB of RAM, "D" is set to 512k; and
  1045.         more than 8MB, "D" is set to 10% of RAM.
  1046.  
  1047.  <<=NOTE=>>  This command is for hard drives only.  DISKCACHE
  1048.  does not cache FAT based floppy drives.
  1049.  
  1050.  <<=TIP=>>  If you have the RAM, increase the size to improve
  1051.  system performance, but don't get carried away by using to much
  1052.  of your RAM; this can hurt performance.  See the information on
  1053.  optimum cache sizes contained in Table 1.1 which is repeated
  1054.  below.
  1055.  
  1056.  <<=TIP=>>  If you are only using HPFS, then you should REM
  1057.  this statement and save 64k of RAM (don't delete, you may need
  1058.  or want it later).  If you have a FAT partition on your hard
  1059.  drive and you REM this statement, OS/2 will automatically set
  1060.  up a 64k cache by default.
  1061.  
  1062.  ========================= Table 3.0 ===========================
  1063.  
  1064.  If you have formatted your hard drive(s) with only FAT partitions,
  1065.  the default cache size in this statement will be that noted under
  1066.  ONE FILE SYSTEM.  If you have both FAT and HPFS partitions,
  1067.  then OS/2 defaults to the cache size noted under TWO FILE SYSTEM.
  1068.  The file system which uses the greatest amount of your disk space
  1069.  gets the larger default value.  
  1070.  
  1071.    MEMORY SIZE IN MB      TWO FILE SYSTEM         ONE FILE SYSTEM*
  1072.         10 - 16               512/512                 1024
  1073.         17 - 32               1024/1024               2048
  1074.  
  1075.  * Defaults in Warp are different and are shown as the second
  1076.    number.  On systems with more than 8MBs of RAM, the default
  1077.    is 10% of available RAM to a maximum cache of 4MB.
  1078.  
  1079.  <<=TIP=>> See the end of the file for an detailed discussion how
  1080.  to set the cache for less powered systems.
  1081.  
  1082.  ===============================================================
  1083.  
  1084.  LW:  Enables lazy writes.  If you don't want lazy write enabled,
  1085.  then remove ",LW".
  1086.  
  1087.  <<=NOTE=>>  Lazy-writing provides significant performance
  1088.  improvements to your system.  If you disable this feature, the
  1089.  performance of your system will suffer.
  1090.  
  1091.  32:  Sets the threshold size.  It is express in number of sectors
  1092.  which are 512 bytes each.  Data requests from your disk that are
  1093.  larger than this number will not be cached.  The default is 4.
  1094.  Thirty two (32) is said to be an optimum number.  One hundred 
  1095.  twenty eight (128) is the maximum allowable.  This setting has
  1096.  no impact on RAM.
  1097.  
  1098.  AC:CD+E:  If you want CHKDSK to automatically check any partition
  1099.  after an improper shut down, then add this switch to end of the
  1100.  DISKCACHE command:  AC:n where n is the partition(s) to check,
  1101.  e.g. AC:C.  If you add a + (plus) sign before any drive letter,
  1102.  OS/2 will automatically run CHKDSK on that drive each time
  1103.  you boot.
  1104.  
  1105.  =================== Table 1.1 Repeated ========================
  1106.   
  1107.  You can get better performance from your system by using your 
  1108.  available RAM in the most efficient and effective way.  Select
  1109.  the case that best describes the file system or amount of RAM
  1110.  you use. 
  1111.   
  1112.  CASE 1:  You use only HPFS or only FAT, but not both.           
  1113.   
  1114.                                HPFS only.         FAT only.
  1115.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  1116.   
  1117.                      16 MB+           2048                 2048
  1118.  
  1119.  CASE 2:  You use both HPFS and FAT with HPFS active and FAT
  1120.  passive.
  1121.   
  1122.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  1123.   
  1124.                      16 MB+           2048            512 -1024
  1125.   
  1126.  CASE 3:  You use both HPFS and FAT with HPFS passive and FAT
  1127.  active.
  1128.   
  1129.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  1130.                      
  1131.                      16 MB+           1024                 2048
  1132.  
  1133.  <<=NOTE=>>  For purposes of the table above, "active" and
  1134.  "passive" are descriptors for the way a partition is used. 
  1135.  If it is seldom used, it is "passive."  If a lot of disk 
  1136.  intensive I/O occurs on the partition, it is "active."
  1137.  
  1138.  ===============================================================
  1139. 
  1140. MAXWAIT=3
  1141.  
  1142.  This command sets the longest period a program will have 
  1143.  to wait to execute before OS/2 ups its priority.  This makes
  1144.  sure that no program is put on hold forever while some other
  1145.  program hogs the system.  You can set MAXWAIT from 1 to 255
  1146.  seconds.  The default is 3 seconds.  
  1147.  
  1148.  <<=TIP=>>  When running heavy background programs, such as a
  1149.  BBS, change the setting to 1, i.e. MAXWAIT=1.  This will keep
  1150.  the BBS software or other background programs running at top
  1151.  speed.  For general use, it appears that setting MAXWAIT=2
  1152.  makes the system a little livelier.
  1153.  
  1154.  <<=NOTE=>>  MAXWAIT only has an effect if PRIORITY=DYNAMIC.
  1155.  
  1156.  <<=NOTE=>>  The smaller the number you use, the more system
  1157.  overhead there will be.
  1158. 
  1159. MEMMAN=SWAP,PROTECT
  1160.  
  1161.  OS/2 can run more programs and use more data than can actually
  1162.  be stored in memory at any given time.  This is done by swapping
  1163.  large amounts of memory to your hard disk and then reading the
  1164.  data back into memory when needed.  This is called virtual memory.
  1165.  For example, if you have 4MB of memory you will see lots of disk
  1166.  activity while you are working with your system.  A lot of this is
  1167.  OS/2 swapping memory to and from your hard disk.  Lots of memory
  1168.  swapping slows down your system and can cause your hard disk to
  1169.  fragment quicker than normal.
  1170.  
  1171.  The MEMMAN command controls the swap process.  The syntax is 
  1172.  MEMMAN=s,m,PROTECT,COMMIT where s=SWAP or NOSWAP; m=MOVE or NOMOVE.
  1173.  The default is to have virtual memory on.  To turn off virtual 
  1174.  memory, which is NOT recommended, the config.sys file line should 
  1175.  read:  MEMMAN=NOSWAP.  See <<=CAUTION=>> below.
  1176.  
  1177.  PROTECT allows the allocation and use of protected memory for 
  1178.  certain DLLs.  This is done to protect those DLLs from being 
  1179.  trashed by an errant program.  Unless you are a programmer who 
  1180.  needs this set to NOPROTECT, leave the default.
  1181.  
  1182.  <<=NEW PARAMETER=>>  A new parameter with version 2.1 is COMMIT.
  1183.  With this parameter included, OS/2 will allocate space in the swap 
  1184.  file whenever a program commits memory, i.e., a page in the swap file
  1185.  is allocated for every page of memory committed by a program, even
  1186.  if the data never actually gets swapped out.  Your system should be
  1187.  more stable, but it will be slower also, since your swap file will
  1188.  grown when it doesn't have to.  If you use this parameter, increase
  1189.  the size of your SWAPPER.DAT file (see SWAPPATH line below) by
  1190.  the amount of memory you are likely to use when using the COMMIT 
  1191.  parameter.  Most people "in-the-know" suggest that COMMIT not be
  1192.  used unless it is required by 16-bit OS/2 applications.
  1193.  
  1194.  <<=TIP=>>  You can also use the COMMIT parameter another way.  
  1195.  Without COMMIT set, the minimum free noted in you SWAPPATH
  1196.  specified the point at which OS/2 gives you a message warning that
  1197.  your disk space is running low.  When you set COMMIT, the minimum
  1198.  free value noted in your SWAPPATH statement becomes the amount of
  1199.  hard disk space that will always remain free on the swap file
  1200.  partition.  Thus, with COMMIT set, you can never run out of disk
  1201.  space on your swap file partition. 
  1202.  
  1203.  <<=CAUTION=>>  When messing with the MEMMAN line, I changed it to
  1204.  MEMMAN=NOSWAP.  As a result, I had to boot from my OS/2 installa-
  1205.  tion disk and recover my backup config.sys file to get the system
  1206.  to boot.  According to Blake Stover, "The reason MEMMAN=NOSWAP,
  1207.  PROTECT chokes is because of the hat tricks OS/2 does while
  1208.  loading the WpS, Desktop, Bitmaps, Folders, Cache buffers, MMPM/2,
  1209.  etc..  OS/2 likes to load all of these, then swap or discard the
  1210.  inactive code.  If there is no where to swap to it dies during
  1211.  boot, unable to initialize the resources it needs.  NOSWAP,PROTECT
  1212.  should only be used for boots from floppy to do maintenance, in
  1213.  most cases.  (People who use TSHELL on a machine with a good
  1214.  amount of RAM may also use it to speed operations).  IBM does
  1215.  not recommend that you set MEMMAN to NOSWAP unless you have more
  1216.  than 8MB of RAM.
  1217.  
  1218.  <<=NOTE=>>  The MOVE/NOMOVE parameter is only provided for
  1219.  OS/2 1.x compatibility.
  1220.  
  1221.  <<=NOTE=>>  NOPACK PARAMETER.  When OS/2 initially loads a 16-bit
  1222.  OS/2 application, it packs the segments into pages and copies
  1223.  them to the swap file for faster recovery when needed.  This can
  1224.  be disabled by using the NOPACK option on the MEMMAN line. How-
  1225.  ever, the performance decrease and larger working set will rarely
  1226.  offset the potential of a reduced swap file size.
  1227.  
  1228.  <<=NOTE=>>  DELAYSWAP.  No information at this time. SWAPDOS and
  1229.  NOSWAPDOS parameters from OS/2 1.x are not valid in OS/2 2.0 and
  1230.  later.
  1231. 
  1232. SWAPPATH=C:\OS2\SYSTEM 512 4096
  1233.    
  1234.  OS/2 can allocate more memory than it actually has available. 
  1235.  It does this by swapping memory to a hard disk file called
  1236.  SWAPPER.DAT.
  1237.  
  1238.  The syntax is SWAPPATH=DRIVE,PATH,mmm,nnn where DRIVE,PATH is
  1239.  the location where you want the SWAPPER.DAT file to be placed and
  1240.  mmm is a number from 512 to 32767 which specifies how large the
  1241.  SWAPPER.DAT file can grow before it stops consuming hard disk
  1242.  space.  The size is stated in the negative.  In other words, if
  1243.  you have the mmm set to 512, then the SWAPPER.DAT file can grow
  1244.  until there is only 512k left on your hard disk.  The variable
  1245.  nnn is the starting size of the SWAPPER.DAT file.
  1246.  
  1247.  <<=TIP=>>  When your swap file grows beyond the initial size you
  1248.  have specified, OS/2 starts to manage the swap file.  This
  1249.  increased overhead can negatively impact your systems performance.
  1250.  Therefore, if your swap file always exceeds its initial size,
  1251.  consider increasing the files initial size.  For example, if your
  1252.  swap file usually grows to 8MB, set the initial size of 8MB.
  1253.  
  1254.  <<=TIP=>>  Normal operation of OS/2 can involves considerable
  1255.  disk activity as operating system functions are loaded and pages
  1256.  are moved in and out of the swap file.  Here are a couple of tips
  1257.  to improve performance.  (1) Consider dedicating a separate
  1258.  partition for the swap file.  This helps avoid fragmentation of
  1259.  the swap file, because other files will not be added or deleted
  1260.  from the dedicated partition.  (2) If you have both FAT and HPFS
  1261.  partitions, put the swap file on the HPFS partition to take
  1262.  advantage of the better performance of HPFS.  (3) If you have a
  1263.  system with two hard disk controllers, put the swap file on a disk
  1264.  managed by the least used controller.  (4) Keep your swap file on
  1265.  the MOST used partition of the LEAST used hard drive.
  1266.  
  1267.  <<=WARNING=>>  Never put your swap file on a networked drive.
  1268.  
  1269.  <<=NOTE=>>  Your swap file will grow (in 1MB increments), but it
  1270.  also shrinks when two conditions are met.  One, when the amount
  1271.  of free space in the swap file is greater than 1.5MB, the swap
  1272.  file will be compressed during system idle time.  (It will not
  1273.  shrink if there is a constant "hit" on the drive by a program such
  1274.  as a swap file monitor.)  Two, during the compression, free space
  1275.  is moved to the end of the swap file.  When this free space at the
  1276.  end of the swap file exceeds 1MB, the swap file will be shrunk.
  1277.   
  1278.  <<=NOTE=>>  See the discussion of the new COMMIT parameter for the 
  1279.  MEMMAN config.sys line including the <<=TIP=>>.
  1280.  
  1281.  <<=WARP NOTE=>>  Your swap file in Warp will be larger than in
  1282.  earlier versions of OS/2.  This is normal.  The most significant
  1283.  change that has been made is how system DLL's get loaded and what
  1284.  is now valid data for swapping.  System DLL's include:  DISPLAY,
  1285.  SOM, PMMERGE, PMWP, DOSCALL1, PMATM, PMMLE, IBMDEV32, PMCTLS,
  1286.  PMSPL, IBMVGA32, PMGPI, and PMVIOP.
  1287.                                                             
  1288.  In the previous versions of OS/2, dll code was never copied to
  1289.  the swapper file.  In WARP, code for system dll's can be written
  1290.  to the swapper file and, in adition, during boot, PMMERGE,
  1291.  DOSCALL1, PMGPI, PMWP and PMVIOP will be swapped out.  This
  1292.  means that there will be an overall increase in swapper size.
  1293.  This was done to increase overall system perfomance.
  1294. 
  1295. BREAK=OFF
  1296.   
  1297.  For DOS programs only.  Many DOS programs can be stopped by
  1298.  holding down the Ctrl key and then pressing the Break key. 
  1299.  BREAK controls how quickly DOS programs stop when you interrupt
  1300.  them with the Ctrl+Break sequence.  If BREAK=OFF, DOS will stop
  1301.  the program only when the programs next reads a character from
  1302.  the keyboard or writes to the screen or printer.  With BREAK=ON,
  1303.  DOS will check for the Ctrl+Break on a more frequent basis. 
  1304.  Remember that this extra checking can make your DOS programs run
  1305.  slower.
  1306. 
  1307. THREADS=256
  1308.  
  1309.  OS/2 programs can have several different processes running at
  1310.  the same time.  These are called threads.  This command sets
  1311.  the maximum number of threads (from 32 to 4095 in OS/2 2.x and
  1312.  from 64 to 4095 in Warp 3) that OS/2 can run at the same time.
  1313.  If this command is not included in your config.sys file, OS/2
  1314.  will default to 64.  JIm Gilliland commented on what happens
  1315.  if OS/2 runs out of Threads:  "If an application tries to start
  1316.  a new thread, and OS/2 has all of its threads  already in use, 
  1317.  then OS/2 will generate an error.  It may result in a popup, or 
  1318.  it may return the error information to the application."
  1319.  
  1320.  <<=TIP=>>  If you have more than 8MB of RAM and run lots of OS/2
  1321.  specific programs, you may be able to improve system responsive-
  1322.  ness by increasing the number of threads.  Why?  Because well
  1323.  written OS/2 programs will use threads to improve program per-
  1324.  formance.  Therefore, the more well written OS/2 programs in use,
  1325.  the more threads that could be needed.  But still keep in mind
  1326.  that this only holds true only when you are using a fair number
  1327.  of OS/2 specific programs at the same time.  Even when I opened
  1328.  the Enhanced Editor, AmiPro for OS/2, ZOC, and KWQ Mail/2, I was
  1329.  only using 57 threads.  The most threads I've ever recorded at
  1330.  one time was 76.
  1331.  
  1332.  <<=SERVER NOTE=>>  On a server it is generally considered better
  1333.  to have 512 threads.
  1334. 
  1335. PRINTMONBUFSIZE=2048,134,134
  1336.  
  1337.  This command sets the size of the print buffers for your 
  1338.  parallel ports.  The syntax is PRINTMONBUFSIZE=LPT1,LPT2,LPT3
  1339.  where LPT1 is the buffer size for the parallel port LPT1, LPT2
  1340.  is the buffer size for LPT2 and LPT3 is the buffer size for
  1341.  LPT3.  The default and minimum is 134 bytes and the maximum is
  1342.  2048 bytes.
  1343.  
  1344.  <<=Note=>>  You must define a buffer for LPT2 and LPT3 even if
  1345.  you don't use these ports.  You will get an error message at
  1346.  start up if you don't.
  1347.  
  1348.  <<=TIP=>>  You may be able to improve printer throughput by 
  1349.  increasing buffer size.  I have my LPT1 set to 2048.  On systems
  1350.  with less than 6MB of RAM, don't increase the size of these
  1351.  buffers. 
  1352.  
  1353.  <<=TRIVIA=>>  Ever wonder where IBM got a parameter like 134? 
  1354.  I did and Lynn Nash passed along the following in response to
  1355.  my question:
  1356.  
  1357.  "Obviously you have no background on the big iron or it has 
  1358.  disappeared into historical memory :-).
  1359.  
  1360.  "Mainframe line standard of 132 columns plus 2 for carriage
  1361.  return and line feed characters.  That is why all the wide
  1362.  carriage dot matrix printers also had 132 column lines, to be
  1363.  able to use that wide green bar paper. Anyone that had an early
  1364.  Okidata 83 dot matrix even had an electronic format tape, but
  1365.  that is a story for another time."
  1366. 
  1367. COUNTRY=001,C:\OS2\SYSTEM\COUNTRY.SYS
  1368.  
  1369.  Customizes your system for the country you wish to use.  It 
  1370.  establishes which defaults to use when it comes to decimal 
  1371.  separators, date and time formats, currency symbols, etc.  The 
  1372.  syntax is COUNTRY=xxx,PATH,FILE NAME.  xxx is a three-digit code 
  1373.  number that tells what country to use.  The number is usually
  1374.  (but not always) the same as the international telephone dialing
  1375.  prefix for the country desired. If in doubt consult your OS/2 
  1376.  online-reference.
  1377. 
  1378. SET KEYS=OFF
  1379.  
  1380.  When using the command line, KEYS tells CMD.EXE whether to
  1381.  remember previous keystrokes so they can be recalled with the
  1382.  up arrow key.  OS/2 maintains a 64k buffer for storing
  1383.  keystroke history.  KEYS can be ON or OFF.  To find out
  1384.  whether KEYS is on or off, simply type KEYS without a
  1385.  parameter from an OS/2 command prompt.  To list all of
  1386.  KEYS commands, type KEYS LIST.
  1387.  
  1388.  <<=NOTE=>>  With KEYS=ON, ANSI extended keyboard sypport in
  1389.  OS/2 sessions will be disabled by the system.
  1390. 
  1391. SET SOMIR=C:\OS2\ETC\SOM.IR;C:\OS2\ETC\WPSH.IR;C:\OS2\ETC\WPDSERV.IR;SOM.IR
  1392.  
  1393.  SOM is an acronym for IBMs System Object Model.  OS/2s object
  1394.  orientation is based upon this technology and in Warp, the
  1395.  Workplace Shell is built on SOM Version 2 with Distributied
  1396.  SOM enabled.  This SET statement sets the path to various IR
  1397.  files.
  1398. 
  1399. SET SOMDDIR=C:\OS2\ETC\DSOM
  1400.  
  1401.  SOM is an acronym for IBMs System Object Model.  OS/2s object
  1402.  orientation is based upon this technology and in Warp, the
  1403.  Workplace Shell is built on SOM Version 2 with Distributied
  1404.  SOM enabled.  This SET statement sets the path to the DSOM
  1405.  directory.
  1406. 
  1407. SET DELDIR=C:\DELETE,512;
  1408.  
  1409.  To use OS/2s UNDELETE command, you must first establish a
  1410.  directory to store the deleted files.  To do this, create
  1411.  a directory called DELETE on each partition you have and then
  1412.  remove the "REM" from this config.sys file line.  
  1413.  
  1414.  This command points OS/2 to the directory you created to place
  1415.  deleted files in.  It also indicates the maximum K bytes of
  1416.  files that will be stored in the DELETE directory.  If the
  1417.  number of deleted files exceeds the maximum K bytes that you
  1418.  specified, then files are automatically removed from the
  1419.  directory on a first-in-first-out basis.
  1420.  
  1421.  <<=WARNING=>>  Using this command will have an impact on system
  1422.  performance.  File operations in particular will be slower.
  1423.  I don't recommend the use of DELDIR at all.
  1424.  
  1425.  <<=TIP=>> Better make use of the File Phoenix 1.35 by Joe 
  1426.  DiAdamo an FREE IBM EWS Tool available at many servers and bbs.
  1427.  
  1428.  <<=TIP=>> There is also an McIntosh like Trashcan by Kai
  1429.  Sommerfeld (with sounds, bells and whistles), and FREE 
  1430.  ones by Andrea Henicke and Mark Kimes (unfortunately with 
  1431.  very ugly icons that can't be substituted, they also don't
  1432.  seem to work correct together with Warp 4)
  1433. 
  1434. SET HOSTNAME=xyz.ab
  1435.  
  1436.  Sets the variable for the Hostname
  1437. 
  1438. SET USE_HOSTS_FIRST=1
  1439.  
  1440.  Enables the loopback-interface needed by many programs (e.g. Visual
  1441.  Age for Java, XFREE86) or if an nameserver works in your LAN.
  1442.  You also have to edit the file x:\mptn\bin\setup.cmd and insert 
  1443.  after all other 'ifconfig' statements the line 
  1444.  'ifconfig lo 127.0.0.1', then generate an file named 'hosts' in the
  1445.  directory x:\mptn\etc or x:\tcpip\etc and insert 127.0.0.1 localhost;
  1446.  the correct directory can be found out by typing the command
  1447.  'echo %etc%' at an command line
  1448.  
  1449.  <<= TIP =>> the necessary configuration can also be done by using the
  1450.  TCP/IP Notebook.
  1451. 
  1452. SET LOTUS_BROWSER=X:\Path\Browser.exe
  1453.  
  1454.  To make Lotus Freelance for Warp 4 use the web browser you want 
  1455.  you'll need to set this, otherwise Netscape will be used
  1456. 
  1457. BASEDEV=
  1458.  
  1459.  BASEDEV installs a base device driver used by OS/2 when it is first
  1460.  started.  The statement cannot contain either a drive or path 
  1461.  because OS/2 cannot process such information at the stage at which 
  1462.  these statements are loaded.  These base device drivers include
  1463.  (not all delivered or available drivers are listed):
  1464.  
  1465.  PRINT01.SYS supports attached printers on non-Micro Channel PC's.
  1466.  PRINT02.SYS supports attached printers on Micro Channel PC's.
  1467.  IBM1FLPY.ADD supports diskette drives on non-Micro Channel PC's.
  1468.  IBM2FLPY.ADD supports diskette drives on Micro Channel PC's.
  1469.  IBM2SCSI.ADD supports SCSI disk drives on Micro Channel PC's.
  1470.  OS2SCSI.DMD supports non-disk SCSI devices.
  1471.  IBM1S506.ADD supports non-SCSI disk drives, non-Micro Channel PC's.
  1472.  OS2DASD.DMD is a general purpose driver for disk drives.
  1473.  IBM2ADSK.ADD supports non-SCSI disk drives on Micro Channel PC's.
  1474.  IBMINT13.I13 supports non-Micro Channel SCSI adapters.
  1475.  OS2CDROM.DMD supports CD-ROM drives.
  1476.  FD16-700.ADD support driver for Future Domain 16xx SCSI.
  1477.  FD8XX.ADD supports Future Domain FD8XX devices.
  1478.  AHA154X.ADD supports SCSI on Adaptec 1542C controllers.
  1479.  AHA174X.ADD supports SCSI on Adaptec 1742 controllers.
  1480.  OS2ASPI.DMD Adaptec ASPI support.
  1481.  AIC7870.ADD supports SCSI on Adaptec 7870 controllers (e.g. 2940)
  1482.  ULTRA14.ADD supports Ultrastor SCSI controller.
  1483.  XDFLOPPY.FLT supports IBMs 1.8mb OS/2 installation disk format.
  1484.  AUTODRV2.SYS supports PCMCIA modems.
  1485.  ICMEMCDD.SYS & ICMEMMTD.SYS supports PCMCIA flash memory.
  1486.  PCM2ATA.ADD supports PCMCIA ATA devices.
  1487.  OPTICAL.DMD New with Warp4 Support for Optical devices like MO
  1488.  RESERVE.SYS New with Warp4, for not PnP aware adapters; see tip
  1489.  TIMER0.SYS New with Warp4, Harware timer for correct sound timings
  1490.  CHKDSK.SYS New with Fixpaks supports large disks
  1491.  ATAPI.FLT New with Fixpaks supports Removable Media like Zip100, LS120
  1492.  CMPXCHG8.SYS New with Fixpaks fixes the Pentium F00F bug
  1493.  
  1494.  <<=TIP=>>  Try adding the following switches to the
  1495.  BASEDEV=IBM1S506.ADD line: BASEDEV=IBM1S506.ADD /A:0 /U:0 /SMS,
  1496.  and use /V (/V=verbose) to see if the /SMS works.  This will
  1497.  improve performance on those IDE drives that support the SMS
  1498.  feature.  It will not work on all IDE drives, but it will not
  1499.  damage anything either.  See your Command Reference INF file
  1500.  for more information on these and other parameters for this
  1501.  driver. If you have problems with the busmuster feature in 
  1502.  newer versions of IBM1S506.ADD (this occurs e.g. on some 
  1503.  Thinkpads) disable the feature by adding !BM. In newer versions
  1504.  there is also the /W switch, it pauses the config.sys after 
  1505.  displaying the verboses.
  1506.  
  1507.  <<=TIP=>>  If you wish to prevent users from using the
  1508.  floppy drives under OS/2 (to keep them from loading non-
  1509.  authorized programs or in a workstation situation), REM the 
  1510.  BASEDEV=IBMxFLPY.ADD line (where x is 1 for ISA and EISA
  1511.  machines, or 2 for Microchannel).
  1512.  
  1513.  <<=NOTE=>>  In Warp, the install program may have placed both
  1514.  IBM1FLPY.ADD and IBM2FLPY.ADD BASEDEV drivers in your 
  1515.  config.sys.  Remove IBM2FLPY.ADD if you don't have a Micro
  1516.  Channel PC.
  1517.  
  1518.  <<=WARP TIP=>>  With Warp, the default transmission protocal use
  1519.  by PRINTO1.SYS and PRINTO2.SYS is the polling transmission
  1520.  method.  The protocal used by previous versions of OS/2 was the
  1521.  interrupt transmission method.  In Warp, you can change back
  1522.  to the interrupt method by adding the /IRQ switch.
  1523.  
  1524.  <<=TIP=>>  From Paul Kurr:  "Since I'm running on a LAN at work
  1525.  here, I have no need for direct printer support of any kind since
  1526.  this is taken care of by my NOS (LAN Server).  So I have REM'd
  1527.  BASEVEV=PRINT01.SYS to save some RAM."
  1528.  
  1529.  <<=Tip=>> By Sam Detweiler: "for adapters that are not PnP and do not
  1530.  have a legacy detector, one can use the DOCUMENTED approach of adding
  1531.  a BASEDEV=RESERVE.SYS /p:2e8,8 to the config.sys and re-running hard-
  1532.  ware detection at the next boot. It causes the reserve.snp to pre-
  1533.  allocate the defined resources so that PnP adapters can't use them.
  1534.  
  1535.  <<=TIP=>> If Warp doesn't recognize the AIC7870 Driver add the 
  1536.  parameter /A:n n=Number of Controller and /TAG:n n=number of
  1537.  PCI-Slot to AIC7870.ADD
  1538.  
  1539.  <<=TIP=>> By Paul F.Grobler: The tablet / enhanced mouse driver by 
  1540.  M. Finney was broken by the GA code of Merlin but i found a work-around.
  1541.  The symptoms i got was an error free driver load (including vmouse.sys),
  1542.  a mouse cursor on the first graphic mode screen but the mouse pointer
  1543.  was static ie it would not move. All that was required was to put
  1544.  a "basedev=reserve.sys /IO:3f8,8 /IRQ:4" as the first line of my config.
  1545.  sys. You will note that the values correspond to normal com1 as this is 
  1546.  were my tablet is connected. By modifying the values to /IO:2f8,8 and
  1547.  /IRQ:3 this should work for com2.
  1548.  
  1549.  <<=TIP=>> If you want to use SCSI Hardisks together with (E)IDE-Disks 
  1550.  and to boot from SCSI first, make sure that the SCSI-Drivers are in 
  1551.  front of the IDE-Drivers (normally IBM1S506.ADD).
  1552.  
  1553.  <<=TIP=>> After installation you can put an REM in front of the
  1554.  XDFLOPPY.FLT, as it's only needed for the installation disks and
  1555.  Fixpak disks.
  1556.  
  1557.  <<=TIP=>> If you have removable media drives (MO, IOMEGA, SYQUEST
  1558.  and others) look at http://rheooptik.fmf.uni-freiburg.de/www/faq/
  1559.  remmedia.htm for an detailed removable media FAQ.
  1560.  
  1561.  <<=TIP=>> If you are using RSJ CD Writer 2.59 or above you may 
  1562.  add the parameter /ALL to BASEDEV=OS2ASPI.DMD. 
  1563.  After booting your machine, the recorder will be usable as a standard
  1564.  CDROM drive, and you will nevertheless be able to attach the CD to our
  1565.  filesystem. But please ensure that you're not using the CDROM drive
  1566.  letter at the same time when the CDR is attached to RSJ's filesystem,
  1567.  otherwise this will result in errors.
  1568.  It seems that the latest version of the Adaptec 2940 driver (ver 2.2)
  1569.  does not work correctly with RSJ, but version 2.11 works fine.
  1570. 
  1571. RESERVEDRIVELETTER=x
  1572.  
  1573.  New in Warp 4, Warp 3 with Fixpaks higher 35
  1574.  Note: Multiple RESERVEDRIVELETTER statements are allowed but only the
  1575.  last one is used.
  1576.  
  1577.  During the processing of CONFIG.SYS, OS/2 allocates drive letters for
  1578.  all BASEDEV= statements. In general, the only BASEDEV= statements that
  1579.  allocate drive letters are those for the Disk Device Driver, which
  1580.  will allocate 1 drive letter sequentially for each local disk
  1581.  partition. Three local disk partitions would allocate C:,D:,E:.
  1582.  
  1583.  After processing BASEDEV= statements, the system will honor the
  1584.  RESERVEDRIVELETTER statement(s). If the RESERVEDRIVELETTER statement
  1585.  conflicts with any drive letter already assigned to a local disk
  1586.  partition, an error message will be generated and that
  1587.  RESERVEDRIVELETTER statement will be ignored.
  1588.  
  1589.  The next processing occurs for DEVICE= statements.  DEVICE= statements
  1590.  for local block mode devices will assign drive letters, starting
  1591.  sequentially immediately after the highest drive letter specified in a
  1592.  RESERVEDRIVELETTER statement. Examples of local devices which use
  1593.  drive letters are CDROM, R/W OPTICAL, TAPE, Virtual Disks (VDISK).
  1594. 
  1595. SET BOOKSHELF=C:\GAMMA32;C:\OS2\BOOK
  1596.  
  1597.  This command points to the on-line documentation (INF files)
  1598.  provided with OS/2 or other OS/2 programs.  I have the
  1599.  GAMMATECH utilities installed on my system which contains
  1600.  on-line documentation. 
  1601.  
  1602.  <<=TIP=>>  If you have an HPFS partition, copy all of your
  1603.  on-line documentation (INF files) to this partition.  Then 
  1604.  change this parameter to reflect the new path.  You will
  1605.  notice a substantial improvement in search speed since HPFS
  1606.  is much faster than FAT.
  1607. 
  1608. SET EPMPATH=C:\OS2\APPS
  1609.  
  1610.  Replaced SET EPATH=C:\OS2\APPS in version 2.0.  According to
  1611.  one source in IBM, EPMPATH is used by the Enhanced Editor
  1612.  (EPM.EXE) to locate its files.
  1613. 
  1614. DEVICE=D:\OS2\VASPIDD.SYS
  1615. DEVICE=D:\OS2\VASPI.SYS
  1616.  
  1617.   Adaptec ASPI device drivers for SCSI support.
  1618. 
  1619. DEVICE=C:\OS2\APPS\SASYNCDB.SYS
  1620. DEVICE=C:\OS2\APPS\SASYNCDA.SYS
  1621.  
  1622.  This device driver loads communications support for the PM
  1623.  Terminal applet.  The PM Terminal applet, and this
  1624.  device driver, were dropped in OS/2 Warp.
  1625.  
  1626.  <<=TIP=>>  If you don't use PM Terminal, REM this line to
  1627.  save a little memory.  In fact, if you are not using PM
  1628.  Terminal applet you may wish to consider deleting the files
  1629.  to save some disk space also.
  1630. 
  1631. DEVICE=X:\LPTOOLFOLD\LPTDD.SYS
  1632.  
  1633.  This driver is for the LPTools an parallel to parallel port
  1634.  solution like laplink.
  1635.  
  1636.  <<=NOTE=>> The FREE LPTool is developed by Jan van Wijk, and 
  1637.  can be downloaded at his homepage http://www.fsys.demon.nl
  1638. 
  1639. PROTECTONLY=NO
  1640.  
  1641.  Allows you to choose between a shared DOS and OS/2 operating
  1642.  environment or just an OS/2 environment.  If you plan to run
  1643.  only OS/2 programs, then set PROTECTONLY=YES.  If you plan to
  1644.  run DOS programs (including Windows), then set PROTECTONLY=NO.
  1645.  
  1646.  <<=NOTE=>>  Jonathan de Boyne Pollard relayed the following:
  1647.  "Part of the difficulty of talking about OS/2 2.x, as opposed
  1648.  to OS/2 1.x, is that *all* processes run in *protected mode*.
  1649.  The 386 never runs in real mode in OS/2 2.x.
  1650.  
  1651.  "Virtual DOS Machines are run in v8086 mode, which is still
  1652.  *protected mode*, as the paging mechanism is still active.
  1653.  The major difference between v8086 and normal protected mode
  1654.  is that the segment base addresses in linear memory are
  1655.  fixed, instead of being determined by the entries for each
  1656.  selector in the LDT and GDT.
  1657.  
  1658.  "So PROTECTONLY in OS/2 2.x means *don't use v8086 protected
  1659.  mode*. For a while there we thought that it meant *don't use
  1660.  real mode* and so was useless to OS/2 2.x, but it seems after
  1661.  all that it retains its original OS/2 1.x semantics, if not 
  1662.  its original mechanism."
  1663. 
  1664. SHELL=C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  1665.  
  1666.  This line identifies and loads the DOS command processor
  1667.  COMMAND.COM which you must have to make DOS sessions work.  The
  1668.  /p switch keeps the command processor in memory until shut down.
  1669.  
  1670.  <<=NOTE=>>  This is the line where you can also specify the size
  1671.  of the DOS environment variable.  The range is 160 through 32768.
  1672.  For example, to set a 1024 byte environment you would add the
  1673.  following to the end of the SHELL command line:  /E:1024
  1674.  
  1675.  <<=TIP=>>  You can also load and run other command processor's
  1676.  such as 4DOS.  To do so, just put 4DOS in your MDOS directory
  1677.  and change the SHELL line to read 4DOS.COM instead of
  1678.  COMMAND.COM.
  1679. 
  1680. FCBS=4,2
  1681.  
  1682.  File Control Blocks (FCBS) are an outmoded holdover from old 
  1683.  versions of DOS.  The blocks are an internal holding area for
  1684.  data about concurrently open files.  In newer versions of DOS,
  1685.  these FCBS have been replaced by File Handles, but some DOS
  1686.  programs still use them and you need this statement for com-
  1687.  patibility.  The command tells an OS/2 VDM how many FCBS can
  1688.  be open at once, or, when DOS needs to open more FCBS than are
  1689.  available, how many currently open but not active FCBS may be
  1690.  closed to make room for new ones.
  1691.  
  1692.  The syntax is FCBS=a,b where a=the number of FCBS that DOS can
  1693.  have open at one time and b=the number of FCBS DOS cannot close
  1694.  to make room for new FCBS.  "a" can be as high as 255.  "b" can
  1695.  have a value of 0 to 254, but must be less than "a".  Unless
  1696.  you get some kind of error message when running a DOS program
  1697.  that tells you the program doesn't have enough FCBS, leave the
  1698.  default as set.
  1699.  
  1700.  <<=TIP=>>  You may wish to experiment with a smaller number.
  1701.  If you can get by with a smaller number, you will get back a
  1702.  little memory in each of your DOS sessions.  My suggestions is
  1703.  that you set it to 4,2.  If you make this change and then load
  1704.  a DOS program that says it can't open a file, increase the
  1705.  first value, reboot, and see if the error message goes away.
  1706.  You can also increase or change the value in the DOS programs
  1707.  Settings notebook.
  1708. 
  1709. RMSIZE=640
  1710.  
  1711.  This is a DOS command and sets the amount of memory available
  1712.  for use by each DOS session.  The maximum is 640k.  Since some
  1713.  DOS programs require 640k, its best to have RMSIZE set to 640.
  1714.  
  1715.  <<=TIP=>>  If you need maximum memory (more than 640k), see
  1716.  tip under DOS=LOW,NOUMB.
  1717. 
  1718. DEVICE=C:\OS2\MDOS\VEMM.SYS 
  1719.  
  1720.  VEMM.SYS lets DOS programs use expanded memory unless you
  1721.  override it by changing a DOS programs SETTINGS.
  1722.  
  1723.  Three of its switches are:
  1724.  
  1725.    /S=n  Sets the limit of EMS memory in blocks of 1024k.  
  1726.       Default is 2.
  1727.  
  1728.    /L=n  Size of conventional memory that can be remapped.  
  1729.       Default is none.
  1730.  
  1731.    /F=nnnn  Memory frame address to be used to map EMS.  
  1732.       Default is AUTO.
  1733.  
  1734.  <<=NOTE=>>  Settings you specify in a DOS session will
  1735.  override these switches.
  1736.  
  1737.  <<=NOTE=>>  The VEMM.SYS device must be listed in your
  1738.  config.sys file before the VXMS.SYS device.
  1739. 
  1740. DEVICE=C:\OS2\MDOS\VMOUSE.SYS 
  1741.  
  1742.  Identifies and loads the mouse driver to let you use a mouse
  1743.  with DOS.  Mouse support for OS/2 is loaded below.  
  1744.  
  1745.  <<=NOTE=>>  If you don't have this line (or you REM'd it), you
  1746.  will not have mouse support in your DOS sessions.
  1747. 
  1748. DOS=LOW,NOUMB
  1749.   
  1750.  This is a standard DOS command that lets you control how DOS
  1751.  uses memory.  The default is DOS=LOW,NOUMB and is considered
  1752.  by many to be the best setting for it conserves memory
  1753.  for OS/2.  DOS=HIGH (including ,UMB) reduces available memory
  1754.  for OS/2, but increases the available memory in EVERY DOS
  1755.  session.  Few DOS sessions need maximum memory.  Also remember
  1756.  that you can move DOS HIGH for a specific program by changing
  1757.  that programs Settings.  This is done in the programs Settings
  1758.  Notebook and is likely the better way to go.  Finally, keep in
  1759.  mind that in OS/2 many device drivers are not taking up room in
  1760.  your 640k DOS area.  So you generally have more memory in the
  1761.  typical OS/2 DOS session than in a standard DOS session.
  1762.  
  1763.  The following is the amount of memory my system reports in each
  1764.  DOS session with DOS=LOW,NOUMB.  The vast majority of all DOS
  1765.  programs will run just fine with this amount of memory.
  1766.  
  1767.    655360 bytes total memory
  1768.    655360 bytes available for DOS
  1769.    618208 largest executable program size    <---- About 604k.
  1770.  
  1771.  With DOS=HIGH, the amount of memory reported is:
  1772.  
  1773.    655360 bytes total memory
  1774.    655360 bytes available for DOS
  1775.    643632 largest executable program size    <---- About 629k.
  1776.  
  1777.  <<=TIP=>>  If you need the maximum available RAM in a DOS
  1778.  session and can get by on CGA or MONO, in the DOS Settings of
  1779.  your applications Settings Notebook, change VIDEO_MODE_RESTRICTION
  1780.  to CGA or MONO.  (Note that there are some reports from users
  1781.  that this procedure does not work on their hardware.)  A final
  1782.  note:  For this to work on some systems, you may need to change
  1783.  RMSIZE command to 639 (RMSIZE=639).  See description of this
  1784.  parameter under RMSIZE.  This is the result of a bug in OS/2.  I
  1785.  have not verified if this bug is still in Warp.  Any one care to
  1786.  verify if it is still around?
  1787.  
  1788.  The amount of memory reported after doing this on my machine is:
  1789.  
  1790.    752640 bytes total memory
  1791.    752640 bytes available for DOS
  1792.    740656 largest executable program size    <---- About 724k.
  1793. 
  1794. LOADHIGH C:\OS2\MDOS\TSR.EXE
  1795. LH C:\OS2\MDOS\TSR.EXE
  1796.  
  1797.  This command is for DOS sessions and loads TRS programs into
  1798.  upper memory blocks if they are available.  If upper memory
  1799.  blocks are not available, the TRS will be loaded into
  1800.  conventional memory.
  1801. 
  1802. DEVICE=C:\OS2\APM.SYS
  1803.  
  1804.  Device driver for ADVANCED POWER MANAGEMENT system used with
  1805.  laptop systems.  Not using a laptop?  Then REM or delete the
  1806.  statement.  If you are using a laptop, see the OS/2 README
  1807.  file for more details on its operation.
  1808. 
  1809. RUN=\OS2\BOOT\APMDAEMN.EXE
  1810.  
  1811.  New in Fixpaks, fixes some errors when using APM 1.2
  1812. 
  1813. DEVICE=C:\OS2\MDOS\VXMS.SYS /UMB
  1814.  
  1815.  VXMS.SYS is a device driver that provides Extended Memory
  1816.  management to DOS sessions.  XMS allows DOS programs to access
  1817.  more than one MB of memory.  
  1818.  
  1819.  There is a total of five switches available.
  1820.  
  1821.     /UMB  Upper memory block support in DOS sessions.
  1822.  
  1823.     /NOUMB  No upper memory block support.
  1824.  
  1825.     /XXMLIMIT=m,n  Indicates the total system wide memory limit.
  1826.  
  1827.     /HMAMIN=m  Sets the minimum request size for high memory,
  1828.                from 1k to 63k.
  1829.  
  1830.     /NUMHANDLES=m  Sets the number of handles in each DOS session,
  1831.                    from 1 to 128.
  1832.  
  1833.  <<=NOTE=>>  The VXMS.SYS device must be listed in your
  1834.  config.sys file after the VEMM.SYS device.
  1835. 
  1836. DEVICE=C:\OS2\MDOS\VDPX.SYS
  1837.  
  1838.  Driver required when using VDPMI in the config.sys line
  1839.  below.  One authority said that this driver "provides V86 to
  1840.  Protected Mode translation for DPMI memory".  Well that's
  1841.  enough to lose me.
  1842. 
  1843. DEVICE=C:\OS2\MDOS\VDPMI.SYS
  1844.  
  1845.  Provides "virtual" DPMI (DOS Protect Mode Interface) memory
  1846.  for DOS and Window sessions.  I don't know much about this,
  1847.  but I've been told not to remove it.
  1848. 
  1849. DEVICE=C:\OS2\MDOS\VWIN.SYS
  1850.  
  1851.  Assists in the process of providing seamless Windows support.
  1852. 
  1853. DEVICE=C:\OS2\EXTDSKDD.SYS
  1854.  
  1855.  EXTDSKDD.SYS supports external disk drives.  There are five
  1856.  switches available.  See your online Command Reference for 
  1857.  complete details on these switches.
  1858. 
  1859. DEVICE=C:\OS2\PCMCIA.SYS 
  1860. DEVICE=C:\OS2\MDOS\VPCMCIA.SYS 
  1861.  
  1862.  These two drivers were new beginning with version 2.1.  They
  1863.  provide support for computers that have PC Memory Card
  1864.  International Association (PCMCIA) adapters.
  1865.  
  1866.  <<=TIP=>> If you don't have any PCMCIA devices, then you
  1867.  should REM these drivers to save a little RAM.
  1868.  
  1869.  <<=NOTE=>>  If you are using PCMCIA adapters and you find that
  1870.  your communications ports (COM1 - COM4) are not working
  1871.  properly, place these two device drivers after the COM.SYS and
  1872.  VCOM.SYS statements.
  1873. 
  1874. DEVICE=C:\OS2\MDOS\VCDROM.SYS 
  1875.  
  1876.  This is a CD-ROM device driver that provides support in DOS
  1877.  sessions.
  1878.  
  1879.  <<=TIP=>> If you don't have a CD-ROM installed, then you should
  1880.  REM this line to save a little RAM.  Remember, the more RAM OS/2
  1881.  has, up to 16MB, the better it runs.  After 16MB it doesn't seem
  1882.  to improve much, overall.
  1883. 
  1884. IFS=C:\OS2\CDFS.IFS /C:4
  1885. IFS=C:\OS2\BOOT\CDFS.IFS /C:4     <---- In Warp
  1886.  
  1887.  This OS/2 command is needed if you have a CD-ROM.  It installs 
  1888.  CDFS.INF which is the "Installable File System" for CD-ROMs. 
  1889.  Your CD-ROM is not going to run without it.
  1890.     
  1891.  <<=TIP=>> You can add cache to your CD-ROM IFS by adding the
  1892.  /C:n switch.  The variable "n" is a number which represents
  1893.  units of 64kb of memory.  For example, /C:4 would set up a
  1894.  256kb cache (4 x 64kb = 256kb).
  1895.  
  1896.  Other switches include the following:
  1897.  
  1898.  /P: Indicates the debug output port. The values can be 1 (COM1)
  1899.      or 2 (COM2).
  1900.  
  1901.  /K  Indicates the supplemental volume descriptor with KANJI.
  1902.  
  1903.  /M:n  Where n indicates the maximum number of file sectors to
  1904.        read at a time.  The default is 8.
  1905.  
  1906.  /Q  Suppresses initialization messages.
  1907.  
  1908.  /w  enables Joliet support, new in Fixpaks
  1909. 
  1910. DEVICE=C:\OS2\OS2CDROM.DMD /Q
  1911. DEVICE=C:\OS2\BOOT\OS2CDROM.DMD /Q   <---- In Warp
  1912.     
  1913.  OS/2 driver used on many, but not all CD-ROM's.
  1914. 
  1915. DEVICE=C:\OS2\MDOS\VW32S.SYS
  1916.  
  1917.  WIN32 program support driver.
  1918. 
  1919. DEVINFO=SCR,VGA,C:\OS2\VIOTBL.DCP
  1920. DEVINFO=SCR,VGA,C:\OS2\BOOT\VIOTBL.DCP
  1921.  
  1922.  This command prepares your monitor to display information based
  1923.  upon the CODEPAGE specification.  VIOTBL.DCP is the file that
  1924.  contains the video fonts for displaying characters for each of
  1925.  the CODEPAGES supported by OS/2.  See the CODEPAGE command line
  1926.  below.
  1927. 
  1928. DEVICE=C:\OS2\MDOS\VVGA.SYS 
  1929.  
  1930.  Your config.sys file will contain various device drivers for
  1931.  various devices based upon your systems hardware configuration.
  1932.  This device driver for supporting VGA video cards in DOS sessions.
  1933. 
  1934. SET VIDEO_DEVICES=VIO_SVGA
  1935. SET VIO_SVGA=DEVICE(BVHVGA, BVHSVGA)
  1936. DEVICE=C:\OS2\MDOS\VSVGA.SYS
  1937.       
  1938.  Your config.sys file will contain various device drivers for
  1939.  various devices based upon your systems hardware configuration.
  1940.  These device driver are for a SVGA video card.
  1941. 
  1942. SET VIDEO_DEVICES=VIO_VGA
  1943. SET VIO_VGA=DEVICE(BVHVGA)
  1944. DEVICE=C:\OS2\MDOS\VVGA.SYS
  1945.  
  1946.  Your config.sys file will contain various device drivers for
  1947.  various devices based upon your systems hardware configuration.
  1948.  These device driver are for a VGA video card.
  1949. 
  1950. SET VIDEO_DEVICES=VIO_MGA
  1951. SET VIO_MGA=DEVICE(BVHVGA,BMGAX64)
  1952. DEVICE=C:\MGA\OS2\KMGAX64.SYS
  1953.  
  1954.  These are the device driver for a Matrox video card
  1955.  
  1956. 
  1957. DEVICE=C:\OS2\POINTDD.SYS 
  1958. DEVICE=C:\OS2\BOOT\POINTDD.SYS    <---- In Warp
  1959.  
  1960.  Provides mouse-pointer draw support.  Text modes 0, 1, 2, 3, and
  1961.  7 and graphic modes D, E, F, and 10 are supported.  For graphic
  1962.  modes D, E, F, and 10, the correct graphic device driver must
  1963.  also be installed. 
  1964.  
  1965.  <<=WARNING=>> In order for MOUSE.SYS to work effectively, this 
  1966.  driver must be loaded by OS/2 before MOUSE.SYS.  Do not remove
  1967.  it from your config.sys file.
  1968. 
  1969. DEVICE=C:\OS2\MOUSE.SYS SERIAL=COM1 QSIZE=10
  1970. DEVICE=C:\OS2\BOOT\MOUSE.SYS SERIAL=COM1 QSIZE=10  <-- In Warp
  1971.  
  1972.  Lets you use a mouse or track ball.  This line also identifies
  1973.  the type of mouse you have and which COM port it is on.  QSIZE
  1974.  is a number from 1 to 100 which indicates how many mouse
  1975.  actions are to be saved when you execute mouse actions
  1976.  faster than your system can handle them.  There is also a 
  1977.  RELAXED parameter which you would place after QSIZE.  It can
  1978.  be used with any mouse when the pointer is jumping randomly
  1979.  about the screen.  IBM does not suggest you use this parameter
  1980.  unless you are experiencing this problem.
  1981.  
  1982.  <<=NOTE=>> The MOUSE.SYS statement must come before COM.SYS, but
  1983.  after POINTDD.SYS, because COM.SYS will take over any unused COM
  1984.  port.  If COM.SYS takes over the COM ports before MOUSE.SYS is
  1985.  loaded, MOUSE.SYS will not have any COM ports available, thus no
  1986.  mouse support.
  1987. 
  1988. DEVICE=C:\OS2\RODENT\RODENT.SYS COM=1 BUTTONS=3
  1989.  
  1990.  Device driver for the shareware mouse driver call Rodent.
  1991. 
  1992. DEVICE=C:\OS2\COM.SYS
  1993. DEVICE=C:\OS2\BOOT\COM.SYS        <---- In Warp
  1994.  
  1995.  Lets you use the communications ports COM1 and COM2.  If you
  1996.  want to use COM3 or COM4 or change the IRQ of any COM port,
  1997.  see <<=TIP=>> below.  This line MUST appear after any driver
  1998.  that uses a communications port.  Use COM02.SYS for IBM PS/2
  1999.  model 90 and 95.
  2000.  
  2001.  <<=TIP=>> There are two very good replacement drivers for 
  2002.  COM.SYS\VCOM.SYS called SIO.SYS\VSIO.SYS.  It can be obtained
  2003.  on most OS/2 BBSs.  If you utilize communications software on a
  2004.  regular basis at high speeds (e.g. 14,400), I recommend you 
  2005.  consider SIO.SYS.  Replace VCOM.SYS with VSIO.SYS which
  2006.  comes with SIO.SYS.  SIO.SYS and VSIO.SYS are Shareware, not 
  2007.  Freeware.  Register them if you use them!
  2008.  
  2009.  <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with
  2010.  IRQ 4 and 2E8 with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3)
  2011.  to the DEVICE line, e.g. DEVICE=C:\OS2\COM.SYS (3,3E8,4)
  2012.  (4,2E8,3).  You can also use this method to change a COM ports
  2013.  assigned IRQ. 
  2014. 
  2015. DEVICE=C:\OS2\COM02.SYS
  2016. DEVICE=C:\OS2\BOOT\COM02.SYS        <---- In Warp
  2017.  
  2018.  For IBM PS/2 model 90 & 95 only.
  2019.  
  2020.  Lets you use the communications ports COM1 and COM2.  If you
  2021.  want to use COM3 or COM4 or change the IRQ of any COM port,
  2022.  see <<=TIP=>> below.  This line MUST appear after any driver
  2023.  that uses a communications port.
  2024.  
  2025.  <<=TIP=>> To add support for COM3 and COM4 at location 3E8 with
  2026.  IRQ 4 and 2E8 with IRQ 3 respectively, add (3,3E8,4) (4,2E8,3)
  2027.  to the DEVICE line, e.g. DEVICE=C:\OS2\COM02.SYS (3,3E8,4)
  2028.  (4,2E8,3).  You can also use this method to change a COM ports
  2029.  assigned IRQ. 
  2030. 
  2031. DEVICE=C:\OS2\MDOS\VCOM.SYS  
  2032.  
  2033.  Lets you use the communications ports for DOS and Windows
  2034.  sessions.  Must appear after the COM.SYS driver.  
  2035.  
  2036.  <<=NOTE=>> If you are using COM3 and/or COM4, add the
  2037.  appropriate parameters to the COM.SYS line above only.  It is
  2038.  not necessary to add any parameters to this line.  VCOM.SYS
  2039.  inherits its parameters from the COM.SYS line.
  2040.  
  2041.  <<=TIP=>> See TIP under DEVICE=C:\OS2\COM.SYS regarding 
  2042.  SIO.SYS.
  2043. 
  2044. DEVICE=C:\SIO\SIO.SYS
  2045.  
  2046.  Excellent replacement driver for COM.SYS.  If you utilize 
  2047.  communications software on a regular basis at high speeds 
  2048.  (e.g. 14,400), then the SIO drivers are the way to go.
  2049.  SIO.SYS must reside in the config.sys after MOUSE.SYS !
  2050.  Be sure you have REM'd out COM.SYS when using.  SIO.SYS and
  2051.  VSIO.SYS are Shareware, not Freeware.  Register them if you
  2052.  use them!  Check your favorite OS/2 BBS to locate the SIO
  2053.  drivers.  See also VSIO.SYS.
  2054. 
  2055. DEVICE=C:\SIO\VSIO.SYS
  2056.  
  2057.  Excellent replacement driver for VCOM.SYS.  If you utilize
  2058.  communications software on a regular basis at high speeds 
  2059.  (e.g. 14,400), then the SIO drivers are the way to go.
  2060.  Be sure you have REM'd out VCOM.SYS when using.  SIO.SYS and
  2061.  VSIO.SYS are Shareware, not Freeware.  Register them if you
  2062.  use them!  Check your favorite OS/2 BBS to locate the SIO
  2063.  drivers.  See also SIO.SYS.
  2064. 
  2065. MODE
  2066.  
  2067.  MODE is a multipurpose command that allows you to control
  2068.  printer ports, serial ports, modems, video monitors and disks.
  2069.  For example, if you want to "lock" in the baud rate on COM2,
  2070.  add the following MODE command to your config.sys file:
  2071.  
  2072.  MODE COM2 baud  (where baud is the rate you want to lock)
  2073. 
  2074. DEVICE=C:\MMOS2\MVPRODD.SYS /I11 /D3 /S:1,220,1,5 /N:PAS161$
  2075. DEVICE=C:\MMOS2\AUDIOVDD.SYS PAS161$
  2076.    
  2077.  These two drivers are for MediaVision's ProAudio Spectrum
  2078.  sound card.  The first driver is set for IRQ 11, DMA 3 with
  2079.  Sound Blaster support on IRQ 5 and DMA 1.
  2080.  
  2081.  <<=Warp TIP=>>  MediaVison's technical support indicates that
  2082.  the only correct settings for the PAS 16 in Warp is IRQ 11
  2083.  and DMA 3.  If you are experiencing static or white noise
  2084.  during bootup, MediaVison indicates that this is caused by
  2085.  using an IRQ other than 11 and DMA 3.  They also indicate that
  2086.  the two device driver lines must be the last lines in your 
  2087.  config.sys file.  Note that this information didn't solve the
  2088.  static problem for all users I've talked with, but it did for
  2089.  some.  Others have indicated that adding the /T:1 switch solved
  2090.  their "white noise" problem.
  2091.   
  2092.  My experience has been that any change to the MVPRODD.SYS 
  2093.  parameters will solve this problem, until you have to reset
  2094.  your system without a proper shut down.  Then the "white
  2095.  noise" returns, so I add or subtract the /T:1 parameter.
  2096.  
  2097.  There are new drivers in the Warp FullPak which solved the
  2098.  "white noise" problem for me.
  2099.  
  2100.  <<=Warp NOTE=>>  I've heard that there may be a bug in Warp
  2101.  which causes problems in WIN-OS2 "seamless" mode.  A solutions
  2102.  is contained in SNDWOR.ZIP which can be downloaded from many
  2103.  OS/2 BBSs.
  2104. 
  2105. DEVICE=C:\MMOS2\ES1868DD.SYS /B:220 /D:1 /F:3 /I:5 /C:4 /M:300
  2106.        ,7 /N:ES18681$
  2107. DEVICE=C:\MMOS2\VAUDDRV.SYS ES18681$
  2108.  
  2109.  These are the sounddrivers for the ESS1868pnp (many soundcards)
  2110. 
  2111. DEVICE=C:\MMOS2\SB16D2.SYS 1 1 5 5 220 4 330 /N:SBAUD1$ /Q
  2112. DEVICE=C:\MMOS2\AUDIOVDD.SYS SBAUD1$
  2113.  
  2114.  These two drivers are for Sound Blaster 16 sound card. 
  2115.  Regarding the SB16D2.SYS driver, Doug Boulter comments that:
  2116.  
  2117.  - the first number is the device number, in this case 1;
  2118.  - the second number is the 8-bit DMA channel, also 1;
  2119.  - the third number is the 16-bit DMA channel, in this case 5;
  2120.  - the fourth number is the interrupt, IRQ 5;
  2121.  - the fifth number is the base I/O address, 220H;
  2122.  - the sixth number is the buffer size; and
  2123.  - the seventh number is the MIDI base I/O address, 330H.
  2124. 
  2125. DEVICE=C:\MMOS2\SBAWED2.SYS /C:1 /D:1 /H:5 /I:5 /A:220 /M:330 /N:SBAUD1$ 
  2126.        /Q /P /G
  2127.  
  2128.  This driver is for Sound Blaster AWE32 sound card. 
  2129.  
  2130.  <<=TIP=>> According to OS/2-Inside the statement can be shortened to:
  2131.  SBAWED2.SYS /N:SBAUD1$
  2132.  
  2133. 
  2134. DEVICE=C:\MMOS2\JAZZDD.SYS /I:5 /D:1 /E:5 /T:330 /Q:10 /P:220 /N:JAZZ1$
  2135.  
  2136.  Support driver of Creative Labs Jazz16 card.
  2137. 
  2138. DEVICE=C:\OS2\MDOS\ANSI.SYS  
  2139.  
  2140.  This is the traditional DOS command most are familiar with.
  2141.  It only affects DOS sessions.  This line is not added to your
  2142.  config.sys file by default.  If you want it, you need to add it.
  2143.  
  2144.  OS/2 sessions have ANSI support by default.  If you are unsure
  2145.  if ANSI is on or off in an OS/2 session, go to an OS/2 command
  2146.  prompt and type ANSI.  You will get a message like:  "ANSI
  2147.  extended screen and keyboard control is on."  For an OS/2
  2148.  session, turn ANSI off or on by typing ANSI OFF or ANSI ON at
  2149.  an OS/2 command prompt.
  2150.  
  2151.  There is two switches:
  2152.  
  2153.     /X Redefines keys with extended dey values as distinct keys.
  2154.     /K Disables extended keyboard capabilities.  You would use
  2155.        this switch if an application does not support extended
  2156.        keyboard.
  2157. 
  2158. SET ETC=C:\TCPI\ETC
  2159. SET TMP=C:\TCPIP\TMP
  2160. DEVICE=C:\TCPIP\BIN\INET.SYS
  2161. DEVICE=C:\TCPIP\BIN\IFNDISNL.SYS
  2162. DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  2163. DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  2164. RUN=C:\TCPIP\BIN\CNTRL.EXE
  2165. RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  2166.  
  2167.  Provides TCP/IP support for Warp's InterNet tools provided in the
  2168.  Bonus Pack.
  2169.  
  2170.  <<=TIP=>> If you don't need TCP/IP support in DOS sesions, and you
  2171.  don't if you are using the Bonus Pack tools, REM the following
  2172.  lines:
  2173.  
  2174.    DEVICE=C:\TCPIP\BIN\VDOSTCP.VDD
  2175.    DEVICE=C:\TCPIP\BIN\VDOSTCP.SYS
  2176.    RUN=C:\TCPIP\BIN\VDOSCTL.EXE
  2177.  
  2178.  Remember that Windows is a DOS based system.
  2179. 
  2180. DEVICE=C:\OS2\TOUCH.SYS
  2181.  
  2182.  (From OS/2s online documentation)
  2183.  
  2184.  Implements support for touch devices.  For a touch device to be
  2185.  effectively used, the POINTDD.SYS device driver and appropriate
  2186.  mouse device-driver support must be loaded. In addition, these
  2187.  statements must be included in the CONFIG.SYS file in the
  2188.  following order: 
  2189.  
  2190.  o  A device-dependent statement that gives the name of the
  2191.     file containing the information for the touch device you use. 
  2192.  
  2193.  o  A device-independent statement that identifies the touch
  2194.     device to TOUCH.SYS
  2195.   
  2196.  If during installation, OS/2 detects a touch device installed on
  2197.  your system, the Install program automatically loads the required
  2198.  device-driver support necessary to enable the touch device.  The
  2199.  touch device shares the auxiliary device (mouse) port on the
  2200.  system with the mouse by allowing the mouse to connect to the 
  2201.  touch device, which is then connected to the system. 
  2202.  
  2203.  The Install program automatically adds the following statements
  2204.  to the CONFIG.SYS file: 
  2205.  
  2206.   DEVICE=C:\OS2\PDITOU0x.SYS CODE=C:\OS2TOUCO21.BIN INIT=C:TOUCH.INI
  2207.   DEVICE=C:\OS2\TOUCH.SYS TYPE=PDITOU$
  2208.   RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  2209.   DEVICE=C:\OS2\MOUSE.SYS TYPE=PDIMOU$
  2210.   
  2211.  "x" is 1 or 2 depending on the bus architecture of your system.
  2212.  TOUCO21D.BIN is the touch-device microcode binary file and
  2213.  TOUCH.INI is a text file containing default parameter settings.
  2214.  
  2215.  The RUN=CALIBRAT.EXE statement is to activate the Calibration
  2216.  program.  This program performs the dual actions of downloading
  2217.  calibration-constant data to the touch device each time the
  2218.  system is started, and enabling recalibration of the touch
  2219.  device at initial setup, and when the device is moved to a new
  2220.  location. 
  2221.  
  2222.  To recalibrate the touch device, enter the following at an OS/2
  2223.  command prompt: 
  2224.  
  2225.   x:           (where "x" is your OS/2 boot drive.)
  2226.   CD \OS2
  2227.   CALIBRAT -U
  2228. 
  2229. RUN=C:\OS2\CALIBRATE.EXE-C C:\OS2CALIBRAT.DAT
  2230. DEVICE=C:\OS2\PDITOU01.SYS
  2231. DEVICE=C:\OS2\PDITOU02.SYS
  2232.  
  2233.  See DEVICE=C:\OS2\TOUCH.SYS
  2234. 
  2235. DEVICE=C:\OS2\LOG.SYS
  2236.  
  2237.  This optional device driver installs OS/2s error log file.  If
  2238.  you want a log of errors that occur on your system, then add
  2239.  this and the next line to your config.sys file.  If you are
  2240.  interested in such things, you may wish to play with it, but
  2241.  be forewarned, the error log information is cryptic and
  2242.  incomplete.  See note below.  To learn what these codes mean,
  2243.  you need to have IBMs Systems Network Architecture Formats
  2244.  (GA27-3136-12) or, for a reasonable overview, get OS/2 2.1
  2245.  Unleashed, 1993, SAMS Publishing.
  2246.  
  2247.  The switch /E:nn sets the size of the error log buffer.  The
  2248.  range is from 4kb to 64kb with 8kb as the default.  
  2249.  
  2250.  You will get a short and quick message during boot up
  2251.  indicating that Logging has been installed and what the buffer
  2252.  size is.
  2253.  
  2254.  <<=NOTE=>> LOG.SYS has its limitations.  It will not log an 
  2255.  application error unless the application has been written to make
  2256.  use of LOG.SYS.  Some routine system errors will not log either 
  2257.  because OS/2 opens an error message box on screen to report
  2258.  these.
  2259. 
  2260. RUN=C:\OS2\SYSTEM\LOGDAEM.EXE /E:C:\OS2\LOGFILE.DAT /W:16
  2261.  
  2262.  This RUN command starts the logging process and must appear
  2263.  AFTER you have installed the LOG.SYS driver noted in the 
  2264.  config.sys line above.  The two switches are:
  2265.  
  2266.   /E:path\filename  This is the path and file name of the
  2267.      test file where the errors will be logged.  You can place 
  2268.      it anywhere you want and call it anything you wish.  
  2269.      NOTE:  Like the OS/2 INI files, this file is "locked" and 
  2270.      you will not be able to access it with your standard text 
  2271.      editor or the OS/2 System Editor.  You will get a 
  2272.      "violation error".  The Enhanced Editor will open the file.
  2273.  
  2274.   /W:nn  This is the size of the file named with the /E
  2275.      switch.  The default size is 64k, but with this switch 
  2276.      you can set the value from 4k to 64k.  I've set the file 
  2277.      size at 16k in the example line above.
  2278.  
  2279.  <<=NOTE=>> Use SYSLOG.EXE from an OS/2 command line prompt to
  2280.  view your log file.
  2281. 
  2282. CODEPAGE=437,850
  2283.  
  2284.  Lets you use the alphabet of various countries and languages.
  2285.  The syntax is CODEPAGE=ppp,sss, where ppp is the number of the
  2286.  primary national alphabet to be used and sss is a secondary 
  2287.  alphabet number.  From an OS/2 command line, you can use the
  2288.  CHCP command to switch between these two code pages.  This can
  2289.  be useful in order to type, display or print data in a
  2290.  different language from the version installed.  CHCP can be
  2291.  used either without a parameter to query the current code
  2292.  page, or with one parameter in order to switch between primary
  2293.  and secondary code pages.  CHCP cannot be used to change to a
  2294.  code page not defined in the CODEPAGE= config.sys line.  
  2295.  
  2296.  437=US English alphabet and 850=multinational alphabet.  The 
  2297.  multinational alphabet contains most of the accented letters 
  2298.  used in various European languages.  Several other alphabets
  2299.  that can be supported by your version of OS/2.  See Table 6.0.  
  2300.  
  2301.  <<=WARNING=>> Japan, Korean and Chinese require a special 
  2302.  version of OS/2 and special hardware.
  2303.  
  2304.  <<=WARNING=>> The choice of code page is made at installation
  2305.  time and should only be changed by using Selective Install. 
  2306.  
  2307.  <<=NOTE=>> If there is not a CODEPAGE statement in your
  2308.  config.sys, your keyboard will use an alphabet based on
  2309.  the COUNTRY statement found earlier in your config.sys,
  2310.  but your screen and printer will use their built in defaults.
  2311.  
  2312.  <<=TIP=>> Holger Granholm of Helsinki, Finland provided the
  2313.  following excellent commentary on CODEPAGE=437,850.
  2314.  
  2315.  "I would like to point out that the 437=US English alphabet also 
  2316.  contains most of the accented letters used in various European
  2317.  languages as also shown by their secondary code page listing.
  2318.  
  2319.  "Code page 850 is missing a lot of the mathematical and
  2320.  electronics symbols and quite many of the graphic characters
  2321.  contained in the extended (128 - 256) ASCII character set.
  2322.  
  2323.  "Ever since I found out (in 1986) that I had to set my Epson
  2324.  printer to the US character set to be able to print the accented
  2325.  characters I have only used code page 437 on my computers.
  2326.  
  2327.  "The newer DOS versions force on you NLSFUNC, DISPLAY.SYS, CHCP
  2328.  and what not as soon as they learn that you use anything else
  2329.  than english. All these can be deleted to save memory. Also OS/2
  2330.  puts code page 850 ahead of 437 when you choose another country
  2331.  or keyboard than US/English.
  2332.  
  2333.  "One of the first things I did to the OS/2 CONFIG.SYS file was
  2334.  to change those around."
  2335.  
  2336.  ================== Table 6.0 =====================
  2337.  
  2338.  <<=NOTE=>> The Table is according to Warp 4 your system may vary
  2339.  
  2340.    COUNTRY                  PRIMARY      SECONDARY   ALTERNATIVE
  2341.                             CODE PAGE    CODE PAGE   CODE PAGE
  2342.    Albania                  850          437
  2343.    Austria                  850          437         1004
  2344.    Arabic-speaking          864          850         437 
  2345.    Asia (English)           437          850         
  2346.    Australia (English)      850          437         1004
  2347.    Baltic Countries         921         
  2348.    Belgium                  850          437         1004
  2349.    Bosnia                   852          850
  2350.    Brazil                   850          437         1004
  2351.    Bulgaria                 915          850         855
  2352.    Canada (French)          850          863         1004
  2353.    Czech                    852          850
  2354.    Croatia                  852          850
  2355.    Denmark                  850          865         1004
  2356.    Estland                  922          850
  2357.    Finland                  850          437         1004
  2358.    France                   850          437         1004
  2359.    Germany                  850          437         1004
  2360.    Great Britain            850          437         1004
  2361.    Greek                    869          850         812
  2362.    Hebrew-speaking          862,850      437
  2363.    Hungary                  852          850         1004         
  2364.    Iceland                  850          861         1004         
  2365.    Ireland                  850          437         1004
  2366.    Italy                    850          437         1004
  2367.    Israel                   862          850         437
  2368.    Japan                    943          850         942
  2369.    Korea                    949          850         944
  2370.    Kroatia                  852          850
  2371.    Kyrillic                 855
  2372.    Latin America            850          437         1004
  2373.    Latin 1 Multlingual      850
  2374.    Latin 2 Eastern Eurpe    852
  2375.    Lettland                 921          850
  2376.    Mazedonia                855          850         915
  2377.    Netherlands              850          437         1004
  2378.    New Sealand              850          437         1004
  2379.    Nordic Lands             865
  2380.    Norway                   850          865         1004
  2381.    Peoples Republic of      1381         850         946
  2382.      China                                           
  2383.    Poland                   852          850         
  2384.    Portugal                 850          860         1004
  2385.    Rumania                  852          850         1004
  2386.    Russia                   866          850         915
  2387.    Serbia/Montenegro        855          850         915
  2388.    Slovak                   852          850
  2389.    Slovenia                 852          850
  2390.    Spain                    850          437         1004
  2391.    South Africa             850          437         1004
  2392.    Sweden                   850          437         1004
  2393.    Switzerland (French)     850          437         1004
  2394.    Switzerland (German)     850          437         1004
  2395.    Taiwan                   950          850         948
  2396.    Thailand                 874          850
  2397.    Turkey                   857          850         1004
  2398.    United Kingdom           850          437
  2399.    United States            437          850
  2400.    Windows Latin 1          1004    
  2401.  
  2402.  <<=NOTE=>> Arabian, Greek, Hebrew, Thai and DBCS Codepages are only
  2403.  fully supported in OS/2-Versions developed for those countries.
  2404.  
  2405.  <<=TIP=>> In Warp 4 are many new Codepages, Codepage 1004 is according 
  2406.  to the WINDOWS ANSI Standard, this is immportant for an correct
  2407.  interpretation of german 'umlauts' and to convert dokuments between 
  2408.  Windows and OS/2
  2409.  ==================================================
  2410. 
  2411. DEVINFO=KBD,US,C:\OS2\KEYBOARD.DCP
  2412.  
  2413.  Tells the keyboard which international character set to use and 
  2414.  where to find the file KEYBOARD.DCP which translates keystrokes.  
  2415.  The syntax is DEVINFO=KBD,cc,DRIVE,PATH,FILENAME.  The parameter
  2416.  cc equals the character set to be used, e.g. US = United States.
  2417.  See Table 7.0 for character set codes.        
  2418.  
  2419.  =============== Table 7.0 ================
  2420.  
  2421.    LANGUAGE                   COUNTRY CODE    
  2422.    Arabic                     AR              
  2423.    Belgian                    BE              
  2424.    Canadian French            CF              
  2425.    Czech/Czech                CS243           
  2426.    Czech/Slovak               CS245           
  2427.    Danish                     DK              
  2428.    Dutch                      NL              
  2429.    Finnish                    SU              
  2430.    French                     FR              
  2431.    German                     GR              
  2432.    Hebrew                     HE              
  2433.    Hungarian                  HU              
  2434.    Icelandic                  IS              
  2435.    Italian                    IT              
  2436.    Latin American             LA              
  2437.    Norwegian                  NO              
  2438.    Polish                     PL              
  2439.    Portuguese                 PO              
  2440.    Spanish                    SP              
  2441.    Swedish                    SV              
  2442.    Swiss (French)             SF
  2443.    Swiss (German)             SG              
  2444.    Turkish                    TR              
  2445.    United Kingdom             UK              
  2446.    United States              US              
  2447.    Yugoslavian                YU              
  2448.  ==========================================
  2449. 
  2450. SET ZOCDEVICE=COM4
  2451.  
  2452.  Command used by older versions of ZOC, 
  2453.  the excellent OS/2 communications Shareware program from Germany.
  2454. 
  2455. SET SPEALOGO=OFF
  2456.  
  2457.  Use this if you have an Spea Graphics-Card to disable the Logo
  2458. 
  2459. SET MGA=C:\MGA\OS2
  2460.  
  2461.  Sets the default installation directory for Matrox Video Cards
  2462. 
  2463. SET IBMAV=C:\IBMAV
  2464.  
  2465.  Sets the default path for IBMAV
  2466. 
  2467. SET TZ=MEZ-1 MSZ,3,-1,0,3600,10,-1,0,3600,3600
  2468.  
  2469.  Sets the Timezone correctly for Germany with daylight savings
  2470.  
  2471.  <<=TIP=>> As the correct setting of the TZ Parameters is somewhat 
  2472.  delicate use the excellent free-tool TZCALC of Norbert Dey
  2473.  (at the moment tzcalc03.zip) 
  2474. 
  2475. DEVICE=D:\BACKMAST\FTDVR.SYS
  2476. DEVICE=D:\BACKMAST\TC15DVR.SYS
  2477. DEVICE=D:\BACKMAST\PTDVR.SYS
  2478.  
  2479.  Drivers of Backmaster tape backup system.
  2480. 
  2481. DEVICE=C:\OS2\APPS\SYSIOS2.SYS  <<--- new with Warp
  2482.  
  2483.  This device driver is required by the System Information Tools
  2484.  provided in the "BonusPak" that comes with OS/2 Warp.  If you plan
  2485.  on using these tools, do not delete this driver.
  2486. 
  2487. DEVICE=D:\FAX\FMD.SYS
  2488.  
  2489.  This driver is required by Faxworks lite 2.* in Warp 3 or the Pro Versions of
  2490.  Faxworks/PMFax
  2491. 
  2492. SET DSPPATH=C:\MMOS2\DSP;
  2493.  
  2494.  An environment variable used by various sound devices that support
  2495.  digital signal processors (DSPs).  This is a "path" statement.  It
  2496.  tells the device where to retrieve DSP modules.  If you don't have
  2497.  a sound device which supports DSP, like M-Audio adapter or the
  2498.  Sound Blaster 16 CSP, you can REM this line.
  2499. 
  2500. SET MMBASE=C:\MMOS2;
  2501.  
  2502.  An environment variable which indicates the path to OS/2s
  2503.  multimedia programs.
  2504. 
  2505. SET NCDEBUG=4000
  2506.  
  2507.  In both Lotus 123 and Excel, users can record and play back audio
  2508.  and video annotations for specific cells.  NCDEBUG is an
  2509.  environment variable required for this to work in Lotus 123. 
  2510.  Excel does not need.  If you do not have a need for this support,
  2511.  or have Lotus 123, you may REM this line.
  2512. 
  2513. SET IBMWORKS_INI=C:\IBMWORKS    <<--- new with Warp
  2514.  
  2515.  IBM Works is an intergrated package of programs including a word
  2516.  processor, database and spreadsheet which is included with OS/2
  2517.  Warp's BonusPak.  This statement tells the system where the
  2518.  IBM Works' INI file is located.
  2519.   
  2520.  <<=TIP=>>  Many Warp users who have installed IBMWORKS from the
  2521.  BonusPak report that system performance is greatly enhanced by
  2522.  running IWDEREG.CMD program contained in the IBMWORKS folder.
  2523.  This program deregisters IBMWORKS and releases a large amount
  2524.  of RAM back to your system.  Yes, IBMWORKS will still work, but
  2525.  you may lose some functionality between applications.
  2526. 
  2527. SET SPCH_MAINLANG=XX_XX
  2528.  
  2529.  Sets the desired language for voicetype if there are more 
  2530.  languages installed
  2531. 
  2532. SET CLASSPATH=C:\NETSCAPE\JAVA11\JEMPCL10.ZIP;....\
  2533.  
  2534.  Sets the path for the Java Classes
  2535. 
  2536. SET JAVA_CONSOLE=1
  2537.  
  2538.  All Java Programs and Applets run in an console
  2539. 
  2540. SET JAVA_NL_DBCS=1
  2541.  
  2542.  Java uses in double-byte environments only one byte  
  2543. 
  2544. SET JAVA_NOPRINTDLG=1
  2545.  
  2546.  Disables the printing dialogue in Java, uses instead the default
  2547.  settings
  2548. 
  2549. DEVICE=C:\OS2\VDISK.SYS 512
  2550. DEVICE=C:\OS2\BOOT\VDISK.SYS 512  <<--- In Warp
  2551.  
  2552.  As in DOS, this driver installs a RAM disk.  In this example,
  2553.  the RAM disk is 512k with the sectors and directories parameters
  2554.  set at the default level (64-byte sectors and 64 directory
  2555.  entries).  With DOS, a RAM disk could significantly improve
  2556.  system performance, but because OS/2 handles your memory far
  2557.  more efficiently than DOS and has its own sophisticated caching
  2558.  routines, using a RAM disk is not recommended.  
  2559.  
  2560.  <<=CAUTION=>> Because a RAM disk takes available memory away
  2561.  from OS/2, you may negatively impact system performance on
  2562.  systems with less than 12MB of RAM.  Unless you have lots of
  2563.  RAM or have a very specific need, don't install a RAM disk.
  2564.  
  2565.  <<=NOTE=>> If you do install VDISK.SYS and you also have 
  2566.  EXTDSKDD.SYS installed, VDISK.SYS must be placed after
  2567.  EXTDSKDD.SYS in your config.sys file.  Check your on-line
  2568.  Command Reference for information on EXTDSKDD.SYS.
  2569. 
  2570. DEVICE=C:\OS2\MDOS\VNPX.SYS
  2571.  
  2572.  This device driver works _with_ your systems math coprocessor.
  2573.  If you do not have a math coprocessor, this driver will not load.
  2574.  Some have suggested that if you add it to your config.sys you
  2575.  will see an enhancement in your systems performance.  Not so. 
  2576.  There is no reason for it to be added to your config.sys
  2577.  file.  IF YOU HAVE A MATH COPROCESSOR, OS/2 WILL LOAD THIS
  2578.  DRIVER AUTOMATICALLY.  If you add it to your config.sys file,
  2579.  a second copy of the driver will be loaded.  In doing so, many
  2580.  have reported that no DOS programs would run.  DO NOT ADD THIS
  2581.  STATEMENT TO YOUR CONFIG.SYS FILE.
  2582. 
  2583. SET OCRNOTES=C:\Faxworks\Calera
  2584.   
  2585.  SET OCRNOTES supports the optical character reader software from
  2586.  Calera.  Thanks to Doug Boulter for this and other suggestions!
  2587.                             
  2588. -----------------------------------------------------------------
  2589. 5.  NOVELL NETWARE NETWORK SUPPORT.                                  
  2590.  
  2591.  Novell's NetWare is the most popular PC Network software around 
  2592.  today.  We use it at work and I've used our config.sys file
  2593.  entries as the basis for this section of information.   
  2594.  
  2595.  <<=NOTE=>> I'm not very knowledgeable about networks, so if
  2596.  someone would like to expand on this information and send it to
  2597.  me, I'd love to give you credit and include it here.
  2598. 
  2599. REM --- NetWare Requester statements BEGIN ---
  2600. 
  2601. DEVICE=C:\NETWARE\LSL.SYS
  2602.    
  2603.  Loads Link support Layer driver.  It is the lowest layer in
  2604.  the Novell Open Data Link Interface model and is required at
  2605.  all times for the requester to be active.
  2606. 
  2607. RUN=C:\NETWARE\DDAEMON.EXE
  2608.  
  2609.  A daemon is a background process that usually carries out 
  2610.  administrative tasks for the system without you knowing it. 
  2611.  This "daemon" is required for the requester to be active.
  2612. 
  2613. DEVICE=C:\NETWARE\TOKEN.SYS
  2614.  
  2615.  This line differs depending on the network board you have.
  2616. 
  2617. DEVICE=C:\NETWARE\ROUTE.SYS
  2618.  
  2619.  No information available.
  2620. 
  2621. DEVICE=C:\NETWARE\IPX.SYS
  2622.  
  2623.  Provides Novell IPX protocol support and is required for
  2624.  access to a NetWare server.
  2625. 
  2626. DEVICE=C:\NETWARE\SPX.SYS
  2627.  
  2628.  Provides Novell SPX protocol support.  It is my understanding
  2629.  that this command is required for some Novell printing
  2630.  utilities, but is optional in most cases.
  2631. 
  2632. RUN=C:\NETWARE\SPDAEMON.EXE
  2633.  
  2634.  Loads a daemon process that handles SPX packets.
  2635. 
  2636. REM DEVICE=C:\NETWARE\NMPIPE.SYS
  2637.  
  2638.  Loads the support for client-only Named Pipes support.
  2639. 
  2640. REM DEVICE=C:\NETWARE\NPSERVER.SYS
  2641.  
  2642.  Loads support for your workstation to function as a Named
  2643.  Pipes server.
  2644. 
  2645. REM RUN=C:\NETWARE\NPDAEMON.EXE NP_COMPUTERNAME
  2646.  
  2647.  This line is required for either the client or the server
  2648.  NetBIOS support to be active and is a daemon program that is
  2649.  part of the Named Pipes support.
  2650. 
  2651. DEVICE=C:\NETWARE\NWREQ.SYS
  2652.  
  2653.  This is the CORE REQUESTER MODULE.  This line must follow any
  2654.  lines that support IPX, SPX, or Named Pipes.
  2655. 
  2656. IFS=C:\NETWARE\NWIFS.IFS
  2657.  
  2658.  This installed the networks Installable File System.  This IFS
  2659.  enables OS/2 to see the network drives just the same as local 
  2660.  drives.
  2661. 
  2662. RUN=C:\NETWARE\NWDAEMON.EXE
  2663.  
  2664.  Another daemon program, but I'm not sure for which process.
  2665. 
  2666. DEVICE=C:\NETWARE\NETBIOS.SYS
  2667.  
  2668.  Loads support for the NETBIOS protocol.
  2669. 
  2670. RUN=C:\NETWARE\NBDAEMON.EXE
  2671.  
  2672.  Loads the NETBIOS daemon process.
  2673. 
  2674. DEVICE=C:\NETWARE\VIPX.SYS
  2675.  
  2676.  Loads support for multiple virtual DOS machine support.  It is 
  2677.  required both to have multiple DOS boxes on the network and to
  2678.  run the NetWare DOS based utilities.
  2679. 
  2680. DEVICE=C:\NETWARE\VSHELL.SYS
  2681.  
  2682.  Loads the network shell.  It is automatically used for all DOS
  2683.  and WIN-OS/2 sessions that require it.
  2684. 
  2685. REM --- NetWare Requester statements END ---
  2686. -----------------------------------------------------------------
  2687. 5a.  OTHER ITEMS
  2688. 
  2689. DEVICE=C:\IBMCOM\PROTMAN.OS2 /I:C:\IBMCOM
  2690. RUN=C:\IBMCOM\PROTOCOL\NETBIND.EXE
  2691. DEVICE=C:\IBMCOM\MACS\IBMTOK.OS2
  2692.  
  2693.  These commands are added to your config.sys file when you install
  2694.  LAN Adapter and Protocol Support (LAPS).  LAPS may also add other
  2695.  commands if other protocols like NETBIOS and IEEE 802.2 are
  2696.  loaded.
  2697. 
  2698. DEVICE=C:\CMLIB\VHAPI.OS2
  2699.  
  2700.  Paul Kurr wrote the following.  "This provides for Virtual HLLAPI
  2701.  support within VDM's (not sure about VMB's).  This allows DOS
  2702.  programs that use the HLLAPI to access the HOST sessions running
  2703.  at the OS/2 level under comm mgr.  So you can actually watch your
  2704.  comm mgr sessions in one window and your DOS program in another
  2705.  while they interact."
  2706. 
  2707. DEVICE=C:\IBMLAN\NETPROG\VNETAPI.OS2
  2708.  
  2709.  Paul Kurr wrote:  "This sets up the virtual network support API
  2710.  within the VDM's (not VMB's).  This allows DOS programs running
  2711.  within a VDM to "see" that the network is loaded, and interact
  2712.  with it (get/set redirections and such).  If VDOLANAPI support
  2713.  is required in a VMB the device driver VNETAPI.SYS needs to be
  2714.  loaded within the VMB (this is found in \IBMLAN\NETPROG)."
  2715. 
  2716. RUN=C:\IBMLAN\NETPROG\VNRMINIT.EXE
  2717. SET NWDBPATH=C:\IBMLAN\NETPROG
  2718. SET DLSINI=C:\IBMLAN\NETPROG\NETGUI.INI
  2719. SET INIT_FILE_NAMES=netgui
  2720. SET INIT_FILE_RANGES=200
  2721. SET WPS_COMMUNICATION=YES
  2722. SET LOCPATH=C:\IBMLAN\XPG4\LOCALE
  2723. SET LANG=ENUS437
  2724. DEVICE=C:\IBMLAN\NETPROG\RDRHELP.200
  2725. IFS=C:\IBMLAN\NETPROG\NETWKSTA.200 /I:C:\IBMLAN /N
  2726. RUN=C:\IBMLAN\NETPROG\LSDAEMON.EXE
  2727.  
  2728.  Items with \IBMLAN provide support for LAN Server.  According to
  2729.  Paul Kurr, the SET statements are for LS 4 GUI support.
  2730. 
  2731. -----------------------------------------------------------------
  2732. END OF CONFIG.SYS FILE DESCRIPTION 
  2733. 
  2734. -----------------------------------------------------------------
  2735. 6.  OBSCURE CONFIG.SYS SETTINGS. 
  2736.  
  2737.  What follows are some very obscure config.sys settings.  They
  2738.  are here only for informational purposes.  Unless you have a
  2739.  very specific need and know what you're doing, please don't
  2740.  experiment with these.
  2741.  
  2742. SET SHELLEXCEPTIONHANDLER=OFF
  2743.                             
  2744.  The WpS has its own exception handling routines which allow it
  2745.  to recover from most errors, but when programming your own
  2746.  objects, you want to see all errors as they occur.  You can turn
  2747.  WpS "exception handling" off with this command.  Could be useful
  2748.  when debugging a Workplace Shell object.
  2749. 
  2750. SET AUTOREFRESHFOLDERS=NO
  2751.  
  2752.  with this environment setting the WPS doesn't automatically refresh
  2753.  folders (autorefresh happens to every folder which has been ever
  2754.  accessed and therefore slows the system). They are only refreshed after
  2755.  closing and opening an folder or by an manual update using 'view, 
  2756.  refresh'.
  2757.  
  2758.  <<=TIP=>> Especially for Fileservers this Statement is very useful, also
  2759.  for slow systems.
  2760. 
  2761. SET OBJECTSNOOZETIME=45                                  
  2762.  
  2763.  Useful when programming certain types of object DLLs.  The
  2764.  default setting for the snooze time is 90 seconds.  Unless you
  2765.  are programming your own Workplace Shell objects, you should
  2766.  not change the default setting.
  2767. 
  2768. SET SCROLLUP=1
  2769.  
  2770.  Enables slow scrolling of the WarpCenter, only in Warp4 Beta
  2771. 
  2772. SET SHAPIEXCEPTIONHANDLER=OFF                     
  2773.  
  2774.  This command disables the WpS API exception handler, and all
  2775.  WpS exceptions are handled by OS/2.
  2776. 
  2777. SET VIDEO_APERTURE=xxx
  2778.  
  2779.  This command allows you to set the address for video memory
  2780.  refresh buffers, where xxx is a hexadecimal number.
  2781. 
  2782. SET COPYFROMFLOPPY=1
  2783.  
  2784.  If OS/2 should install updated drivers during an installation from the 
  2785.  Installation disks and not from CD this statement must reside in the
  2786.  config.sys on Installationdisk 1
  2787. 
  2788. SET CONNECT_DASD=OFF
  2789.  
  2790.  Disables the test for free space during the installation
  2791.  
  2792. SET CONNECT_PREREQ=OFF
  2793.  
  2794.  Disables the check of installed software during installation
  2795.  
  2796. SET CONNECT_SNIFF=OFF
  2797.  
  2798.  Disables the recognition of network-cards during installation
  2799.  
  2800.  Thes settings are only useful for installing problems with warp4 
  2801.  and must be done in the config.sys on the installation diskettes
  2802. 
  2803. SET SCCANBENUKED=1
  2804.  Enables the deleting of the Warpcenter Icon 
  2805.  
  2806.  <<=TIP=>> This REXX-Script reestablishes the Icon if it is deleted, 
  2807.  Thanks to OS/2 Inside
  2808.  
  2809.  /* Recreate Warpcenter */
  2810.  call RxFuncAdd 'SysLoadFuncs',,
  2811.      'RexxUtil', 'SysLoadFuncs'
  2812.      call SysLoadFuncs
  2813.  
  2814.  /*Code*/
  2815.  rc = SysCreateObject("SmartCenter", "WarpCenter", "<WP_OS2SYS>",
  2816.  "OBJECTID=<WP_WARPCENTER>","F")
  2817.  if rc = 0 then
  2818.  say "New WarpCenter Created."
  2819.  else say "Warpcenter creation failed! RC=" rc 
  2820.  
  2821.  <<=TIP=>> You can also use the FREE tool 'ObjectReCreator'
  2822.  (orc.zip) by Kai Evers available at http://www1.stuttgart.
  2823.  netsurf.de/~kevers/ It can recreate all standard Desktop Objects
  2824.  who are lost or deleted
  2825. 
  2826. SET JAVA_CLOCK_RESOLUTION = 1
  2827.  
  2828.  Sets the Minimum of the timer resolution in JavaApps using
  2829.  currentTimeMillis to 1 Millisecond (the highest resolution). 
  2830.  
  2831.  The best Java-Speed using currentTimeMillis can be achieved
  2832.  with JAVA_CLOCK_RESOLUTION = 32. 
  2833.  This can be important for Java-Benchmark-Tests.
  2834. 
  2835. SET JAVA_COMPILER=X
  2836.  
  2837.  Disables the Java JIT-Compiler, necessary if there occur proplems
  2838.  with the JIT, decreases speed heavily
  2839. 
  2840. SUPPRESSPOPUPS=x
  2841.  
  2842.  SUPPRESSPOPUPS=0 will restore behavior to pre-FixPak 29 behavior.  That
  2843.  is, to disable logging and to have trap screens displayed unless
  2844.  specifically overridden by an application's use of the DosError API.
  2845.  
  2846.  SUPPRESSPOPUPS=x: will disable trap screen display for all processes and
  2847.  will log trap screens in x:\POPUPLOG.OS2, where x: is a drive or
  2848.  partition.
  2849.  
  2850.  If SUPPRESSPOPUPS is omitted then the behavior is as described above
  2851.  under "Automated Trap Screen Logging".  
  2852.  <<=NOTE=>> The log file name cannot be overridden.
  2853. 
  2854. REIPL=ON  <---- new with Warp.
  2855.  
  2856.  This command automatically restarts the system when a system
  2857.  trap or internal processing error occurs.  Parameter is ON or
  2858.  OFF.  Default is OFF.
  2859.   
  2860.  <<=TIP=>>  This command along with the SUPPRESSPOPUPS command
  2861.  can be very useful to those running a BBS.  If a trap or internal
  2862.  processing error occurs while your BBS is unattended, having 
  2863.  these two command in your config.sys will cause your system to
  2864.  log the error and then restart the system, so your BBS is back
  2865.  online.
  2866.   
  2867. TIMESLICE=128,256
  2868.  
  2869.  This command allows you to manually control the minimum and
  2870.  maximum amount of processor time any thread can receive at
  2871.  once.  The syntax is TIMESLICE=x,y where x is the minimum time
  2872.  slice (in milliseconds and must be at least 32) and where y is
  2873.  the maximum length (must be less than 65536).
  2874.  
  2875.  Jim Gilliland once posted: "The Timeslice parameter controls the
  2876.  minimum and maximum timeslice that OS/2 will allow an application
  2877.  to use.  If you make the timeslice longer, OS/2's dispatching
  2878.  overhead will be reduced, but the system's multitasking operation
  2879.  will be "choppier".  Increasing the length of the maximum
  2880.  timeslice (the second parameter) will allow OS/2 to gradually
  2881.  increase the length of the timeslice used by an application when
  2882.  it is not competing with any other apps for CPU time (that is,
  2883.  when it is the only app running or all others are blocked)."
  2884.  
  2885.  <<=TIP=>> OS/2 handles time slicing dynamically.  This means
  2886.  that the system is adjusting the time slice values based on
  2887.  the actual processes active on the system as the workload
  2888.  changes.  Therefore, it is best not to attempt to manually
  2889.  set TIMESLICE.  OS/2 can handle this process far better than
  2890.  most of us can.
  2891. 
  2892. TRACE=ON
  2893.  
  2894.  The system trace facility is used to record a sequence of
  2895.  system events, function calls, or data.  The record is usually
  2896.  produced for program debugging purposes.  After the trace data
  2897.  is recorded, the System Trace Formatter is used to retrieve it
  2898.  from the system trace buffer (see TRACEBUF below) and format
  2899.  the data to either your display, printer, or to a file.  Start
  2900.  tracking system problems by turning TRACE on which will
  2901.  establish a 4KB default buffer.  (You can increase this using
  2902.  the command TRACEBUF) to store tracing data.  You can also
  2903.  start TRACE from an OS/2 command prompt.
  2904.  
  2905.  <<=NOTE=>> You can turn TRACE=ON and then set TRACE=OFF for
  2906.  major or minor codes.  For example, TRACE=OFF 24,50,98. 
  2907. 
  2908. TRACEBUF=x
  2909.  
  2910.  This command sets the size of the trace buffer.  If any valid
  2911.  TRACE statement is in your config.sys, the default size of
  2912.  the trace buffer will be 4KB.  You can modify this size with
  2913.  the TRACEBUF command.  Maximum size is 63KB.  "x" is a specific
  2914.  number from 1 to 63, representing a multiple of 1024 bytes.
  2915. 
  2916. TRAPLOG [x: | NOLOG] [POPUPS | NOPOPUPS]
  2917.  
  2918.  The TRAPLOG command allows dynamic control of trap information logging.
  2919.  
  2920.  where:
  2921.  ■  x: specifies that trap information is to be logged in
  2922.     x:\POPUPLOG.OS2, x: being any partition drive letter.
  2923.  ■  NOLOG disables logging of trap information.
  2924.  ■  POPUPS enables the trap information pop-up message (SYS3175).
  2925.  ■  NOPOPUPS disables the trap information pop-up message.
  2926.  
  2927. 
  2928. TRAPDUMP=xx,d
  2929.  
  2930.  Parameters are:  OFF,drive letter
  2931.                   ON,drive letter
  2932.                   R0,drive letter
  2933.  
  2934.  Indicates when a stand alone dump is to be taken and where the
  2935.  dump is to be placed.  The default value is OFF and the default
  2936.  drive is "A".
  2937.  
  2938.  If you are sending a memory dump to hard disk, you must first
  2939.  create a FAT partition labeled SADUMP and give it a size
  2940.  greater than the amount of physical memory in your system.
  2941.  The drive you specify in the TRAPDUMP statement must contain
  2942.  the SADUMP partition.  Any existing data in this partition
  2943.  will be overwritten.  The system will restart after the TRAPDUMP
  2944.  process has been completed.
  2945.  
  2946.  <<=NOTE=>> If REIPL=ON is specified in the config.sys file, the
  2947.  system will restart automatically and no dump will be taken when
  2948.  a system trap or internal processing error occurs.
  2949.  
  2950.  Luca Regoli, Societa' Italiana Autori Editori, provides the
  2951.  following information on this command.
  2952.  
  2953.  "This way whenever a trap occurs you don't get anything on the 
  2954.  screen.  The PC beeps and [responds] as if you had depressed
  2955.  CTRL+ALT+NUMLOCK / NUMLOCK.
  2956.  
  2957.  "Not very useful though I don't know how to get traps infor-
  2958.  mation from the dump disk (and don't want to download all 20Mb
  2959.  dump of memory any time I get a trap)."
  2960.  
  2961. NEW TRAPDUMP
  2962.  
  2963.  The TRAPDUMP command allows the conditions under which a trap will
  2964.  initiate a System Dump to be set dynamically. Prior to Warp 3.0 FixPak
  2965.  29, the System Dump setting could only be manipulated from CONFIG.SYS by
  2966.  use of the TRAPDUMP statement.
  2967.  
  2968.  Use of this command should be made under the direction of service
  2969.  personnel.
  2970.  
  2971.  Warning: The initiation of a System Dump causes an immediate termination
  2972.  of the system without any shutdown. No file system shutdown is performed.
  2973.  The system behaves as if a fatal crash has occurred, thus under rare
  2974.  circumstances data can be lost.
  2975.  
  2976.  The command syntax is:
  2977.           TRAPDUMP [[ON] | [OFF] | [R0]] [x:] [/NOCHECK]
  2978.  
  2979.  
  2980.  where:
  2981.  
  2982.  ■  ON enables all application and system traps to initiate a System Dump.
  2983.  ■  OFF disables automatic dump initiation.
  2984.  ■  R0 enables only Ring 0 traps to initiate a System Dump.
  2985.  ■  x: specifies the Dump Partition.
  2986.  ■  NOCHECK overrides the system level check for WARP 4.0, since use of
  2987.     this command on a system level prior to FixPak 29 is equivalent to the
  2988.     SYSDUMP command.
  2989.  
  2990. 
  2991. SYSDUMP
  2992.  
  2993.  The SYSDUMP command forces a System Dump to be initiated, regardless of
  2994.  the TRAPDUMP settings. This command is provided for the use of service
  2995.  personnel to allow Dump Initiation to be automated through use of a
  2996.  command file.
  2997.  
  2998.  Warning: The initiation of a System Dump causes an immediate termination
  2999.  of the system without any shutdown. No file system shutdown is performed.
  3000.  The system behaves as if a fatal crash has occurred thus under rare
  3001.  circumstances data can be lost.
  3002.  
  3003.  The command syntax is:
  3004.  
  3005.  SYSDUMP [/NOPROMPT]
  3006.  
  3007.  where:
  3008.  
  3009.  ■  NOPROMPT allows the Dump to proceed without the prompt and response to
  3010.     message:
  3011.  
  3012.     "Do you want to force a system dump? (Y/N)"
  3013.  
  3014. 
  3015. DUMPPROCESS=x
  3016.  
  3017.  Activates the Dump Process.  Any application process that traps
  3018.  will cause a process dump.  The information will be written to
  3019.  a dump file named PDUMP.xxx where xxx is an index that is
  3020.  incremented each time a new process dump is created.  This dump
  3021.  file resides in the root directory of drive specified in "x".    
  3022.                                                                        
  3023. PROTECT16                                                            
  3024.    
  3025.  Haven't found out about this one yet.  Comments?
  3026. 
  3027. AUTOFAIL=YES
  3028.  
  3029.  This command does not appear in your config.sys.  If not set to
  3030.  Yes, OS/2 default is No.  In the default setting, when an error
  3031.  occurs, OS/2 will only display a window informing you of the
  3032.  problem.  If you wish to see the actual error code information,
  3033.  set AUTOFAIL to Yes. 
  3034.  
  3035.  <<=NOTE=>>  This command can't be run from an OS/2 prompt.
  3036.  
  3037.  <<=TIP=>>  Paul Kurr writes:  "I set this value to YES on my
  3038.  machine so that I'm not interrupted with those pesky drive not
  3039.  ready popups and such.  AUTOFAIL=YES takes the "first" option
  3040.  in those windows presented (usually return error code to program).
  3041.  
  3042.  "This can be seen most easily when running WIN-OS2 with a CDROM
  3043.  installed--either empty or with a music CD in the drive.  With
  3044.  AUTOFAIL=NO (default) OS/2 pop's up the window stating that my
  3045.  drive "E" is not ready.  With AUTOFAIL=YES, the first "selection"
  3046.  from that error is executed -- returning the failed drive status
  3047.  to WINOS2, which just keeps running fine."
  3048. 
  3049. VME=NO
  3050.  
  3051.  If you attempt to run WIN-OS2 and see the error message DOS 5
  3052.  Error, you may need to add this command.  Paradox V4.5 for DOS
  3053.  and Turbocadv3.2 for DOS under Warp 3 are known to need this
  3054.  command in some cases.  The code to support Virtual Mode
  3055.  Extensions on Pentium machines will occasionally causes problems
  3056.  with Warp.  This command generally solves the problem.
  3057. 
  3058. SET BEGINLIBPATH=C:\OS2
  3059. SET ENDLIBPATH=C:\OS2
  3060.  
  3061.  With Warp, IBM has introduced the ability to dynamically change
  3062.  LIBPATH using two new environment variables:  BEGINLIBPATH and
  3063.  ENDLIBPATH.  These commands are most useful in CMD or BATCH
  3064.  files, but can be used in your config.sys.  Any directories that
  3065.  appear in the BEGINLIBPATH variable are searched before
  3066.  directories in LIBPATH, and directories that appear in the
  3067.  ENDLIBPATH variable are searched after those in LIBPATH.
  3068. 
  3069. 
  3070. -----------------------------------------------------------------
  3071. 7.  SAMPLE CONFIG.SYS FILES.
  3072.  
  3073. -------------------------------------------------------------------
  3074.  I deleted the old samples as nobody I know is working nowadays with 
  3075.  4MB or 8MB, but its possible if you like slow systems :-) 
  3076.  Also is the config on every system very different from others.
  3077.  In the times of large memory - 64MB and up - it is not necessary
  3078.  to save 3KB of Ram by optimizing the config.sys when every simple 
  3079.  Office needs 32 MB or more (K.S.) 
  3080.  Instead I've inserted here some useful tips to speed up your
  3081.  system by removing 'unwanted' or 'unneeded' and how to use other
  3082.  Installable File Systems (for Windows, Linux, Apple, TVFS) - the
  3083.  Zipstream.IFS is not mentioned here as great drives with lots of
  3084.  empty space are so cheap today that the use of an Disk-Compression
  3085.  is no more advised (if it was ever).
  3086.  
  3087.  The best way to optimize your system is 
  3088.  1. to use only HPFS
  3089.  2. Use OS/2 without dos and windows sessions (so you get also
  3090.     rid of those nasty little algorithms called virus)
  3091.  3. Don't use voicetype if you don't need it, you can also make
  3092.     different boot options (with and without VT) see Chapter 8.
  3093.  4. Use small apps (like Papyrus) and not those Ram-Hogs like 
  3094.     Staroffice
  3095.  5. Use native apps (not Java, Windows, Mirrorports like Word-
  3096.     perfect for OS/2)
  3097.  6. Delete the OpenDoc-Part by using 'selective-delete', as 
  3098.     OpenDoc is deplorably death.
  3099.  
  3100.  Btw. when you compare the speed of windows and OS/2 on the same 
  3101.  system, remember that windows can only boot from the first partition,
  3102.  the one which is on most drives the fastest !
  3103.  Using removable media together with OS/2 and newer Fixpaks slows 
  3104.  bootup significantly. As an bargain (compared to windows, all 
  3105.  versions) you get dynamically assigned drive letters, an feature 
  3106.  that saves you from the drive-letter chaos in Windows whenever
  3107.  you change an partition, drive etc.
  3108. ------------------------------------------------------------------
  3109.  If your only internet connection is via a modem, then you
  3110.  can comment out (or delete) the following lines from CONFIG.SYS
  3111.  in Warp 4
  3112. ------------------------------------------------------------------
  3113.     REM DEVICE=C:\IBMCOM\LANMSGDD.OS2 /I:C:\IBMCOM /S
  3114.     REM DEVICE=C:\IBMCOM\PROTMAN.OS2 /I:C:\IBMCOM
  3115.     REM RUN=C:\OS2\SMSTART.EXE
  3116.     REM CALL=C:\IBMCOM\PROTOCOL\NETBIND.EXE
  3117.     REM RUN=C:\IBMCOM\LANMSGEX.EXE
  3118.     REM DEVICE=C:\MPTN\PROTOCOL\AFOS2.SYS
  3119.     REM DEVICE=C:\MPTN\PROTOCOL\IFNDIS.SYS
  3120.     REM CALL=C:\OS2\CMD.EXE /Q /C C:\MPTN\BIN\MPTSTART.CMD >NUL
  3121.     REM DEVICE=C:\IBMCOM\MACS\NULLNDIS.OS2
  3122. ------------------------------------------------------------------
  3123.  If you don't run DOS/Windows TCP/IP programs, then you can remove
  3124.  the DOS TCP/IP support.  The relevant lines in CONFIG.SYS are:
  3125. ------------------------------------------------------------------
  3126.    REM DEVICE=C:\tcpip\bin\vdostcp.vdd
  3127.    REM DEVICE=C:\tcpip\bin\vdostcp.sys
  3128.    REM RUN=C:\tcpip\bin\VDOSCTL.EXE
  3129. ------------------------------------------------------------------
  3130.  If you don't use Voicetype remove the following
  3131. ------------------------------------------------------------------
  3132.  Remove all statements in LIBPATH, SET PATH, SET DPATH and SET HELP
  3133.  pointing to Voicetype (normally they start with x:\vt) 
  3134.  
  3135.  Then delete the following lines:
  3136.  SET SPCH_RUN=X:\VT\SPCH_RUN
  3137.  SET SPCH_RO=X:\VT\SPCH_RO
  3138.  SET SPCH_RW=X:\VT\SPCH_RW
  3139.  SET SPCH_BIN=X:\VT\SPCH_BIN
  3140.  SET SPCH_PATH=X:\VT\SPCH_RO\LANGS\%L\POOLS
  3141.  SET SPCH_TRN=X:\VT\SPCH_DBF
  3142.  
  3143.  <<=TIP=>> You can also make two different configurations and 
  3144.  boot them alternately by pressing ALT-F1 see Chapter 8. or 
  3145.  how to restore a damaged Config.sys file from a backup copy
  3146. -----------------------------------------------------------------
  3147.  Removing Artchron and other 'unwanted' autostarts
  3148. -----------------------------------------------------------------
  3149.  There is an clean way of removing the register program from your 
  3150.  system. Navigate *through the Drives ICON* to /OS2/install/Installed
  3151.  Objects and double click on "Install Object - Inventory". Then
  3152.  check the box next to "art" and then click on "uninstall" and then
  3153.  select "art" in the next box that opens and then "uninstall"
  3154.  again...this will totally uninstall the "art" directory and all
  3155.  components relating to registration.
  3156.  Some applications (like Staroffice, Smartsuite, Amipro) install
  3157.  some 'reminders' or 'speeders' in the autostart-folder
  3158.  remove or delete them, they are normally not needed. 
  3159. -----------------------------------------------------------------
  3160. OS/2 and other Operationsystems
  3161. -----------------------------------------------------------------
  3162.  OS/2 and Linux
  3163.  
  3164.  There  is an excellent FREE EXT.IFS by Matthieu Willm
  3165.  
  3166.  You can find the latest version of ext2-os2 at the ext2-os2 home page :
  3167.  
  3168.  http://www.geocities.com/SiliconValley/Bay/5313, or many other
  3169.  bbs and servers
  3170.  
  3171.  ext2-os2.ifs is a file system driver that allows OS/2 to 
  3172.  seamlessly access Linux native partitions (ext2fs partitions) 
  3173.  in both read and write modes. Once installed, Linux partitions
  3174.  appear as standard OS/2 drive letters, one per Linux partition.
  3175.  It is a port of the original Linux ext2fs kernel code.
  3176.  ext2-os2 can even be used without Linux, as it can format or 
  3177.  check ext2 file systems directly from OS/2. This can be useful
  3178.  for people who need huge cache sizes, for large compilations for
  3179.  instance ; it can also be useful for people wanting long file
  3180.  names on removable media.
  3181.  
  3182.  <<=WARNING=>> Although it is possible to install OS/2 on an 
  3183.  EXT2 Partition it is not recommended to do so, as extented 
  3184.  attributes are not supported.
  3185. -----------------------------------------------------------------
  3186.  OS/2 and Windows NT
  3187.  
  3188.  OS/2 recognizes NTFS formatted drives falsly as HPFS
  3189.  
  3190.  Using the FREE EXT2FS necassary for Linux the NTFS partition 
  3191.  can be hidden by inserting
  3192.  BASEDEV= EXT2FLT.FLT <options>
  3193.  to your config.sys file. The following command line options are allowed:
  3194.  
  3195.  /Q  Quiet install. Prevents the filter from displaying messages.
  3196.  /V  Verbose install. Displays some diagnostic messages.
  3197.  /W  Allows the virtual partitions to be written to. 
  3198.  /A  Virtualize all partitions found. The only good reason to use
  3199.      this is along with the /M option when you want to control
  3200.      the mounting order of all the partitions. You must use the
  3201.      /W option if you use the /A option; otherwise OS/2 may crash
  3202.      when it tries to write to the partition.
  3203.      PLEASE NOTE: Using the /A option may change your drive
  3204.      letters causing the your system to be unbootable. Use
  3205.      the /M option together with /A. (This may change in the
  3206.      future.
  3207.  /M <mount list> Mounts the partitions in the order specified in the mount
  3208.      list, which should be a list of numbers separated by commas.
  3209.      The partitions are numbered 0 on a first come basis. (Not
  3210.      the OS/2 uses.)
  3211.  
  3212.  E.g. if you have one disk, the OS/2 Bootmanager installed and NT is on 
  3213.  the first partition the correct options are 
  3214.  BASEDEV=EXT2FLT.FLT /A /W /M 1
  3215.  
  3216.  <<=TIP=>> Windows NT 4.0 can use HPFS-Partitions if you have 
  3217.  the pinball.sys out of NT 3.51 and the utility hpfs_nt4.zip 
  3218.  by Chris Behnken, available at http://www.htc.net/~nbehnken.
  3219.  ATTENTION pinball.sys can only operate with disks or partitions
  3220.  up to 4GByte.
  3221.  
  3222.  <<=TIP=>> There is also an ALPHA NTFS.IFS by Daniel Steiner,
  3223.  available at http://npw.cgnet.de/dsteiner
  3224. -----------------------------------------------------------------
  3225.  OS/2 and Windows 98 or Windows 95
  3226.  
  3227.  Henk Kelder has developed an FREE FAT32.IFS
  3228.  it is available at http://www.os2ss.com/information/kelder/index.html
  3229.  and many other websides and bbs under OS2FAT32.ZIP
  3230.  Latest version is 0.81
  3231.  
  3232.  There are also two ALPHAS of an VFAT.IFS, one by Daniel Steiner, 
  3233.  see above Tip, and a newer one by Rock Papez. To be found at
  3234.  http://www.kiss.uni-lj.si/~k4fe0058/vfat/vfat.html
  3235. -----------------------------------------------------------------
  3236.  OS/2 and Apple Hfs 
  3237.  
  3238.  IFS=C:\HFSDIR\HFS.IFS
  3239.   
  3240.  Loads the Installable File System for reading Apple HFS-Drives 
  3241.  and disks
  3242.  IF you make use of this IFS it must reside in front of the CDFS.ifs
  3243.  there are also needed the commands
  3244.  BASEDEV=HFSFLT.FLT in the config.sys, HFSFLT.FLT must reside in the
  3245.  OS2/BOOT directory
  3246.  and
  3247.  RUN=C:\HFSDIR\HFS.EXE
  3248.  
  3249.  The FREE HFS-Package by Marcus Better can be found at 
  3250.  http://www.student.nada.kth.se/~f96-bet/HFS
  3251.  Unfortunately Marcus Better has stopped all development for OS/2
  3252.  There is also iHPFS by Marcus Better an package to make under
  3253.  plain old Dos HPFS formatted drives readable.
  3254.  See also the FREE HFS Utilities from the same author at http://
  3255.  www.student.nada.kth.se/~f96-bet/hfsutils/
  3256. -------------------------------------------------------------------
  3257.  OS/2 and T(oronto)V(irtual)F(ile)S(ystem).IFS
  3258.  
  3259.  Author:  Mark D. Leitch
  3260.  
  3261.  The TVFS provides a virtual OS/2 file system that combines symbolic links,
  3262.  search paths, and permissions.  Through the TVFS, local and remote file
  3263.  systems may be combined into a single, virtual file system.
  3264.  The FREE IBM EWS is available at many servers and BBS
  3265.  Latest version is 2.11
  3266.  
  3267.  <<=Tip=>> Kai Evers has developed an easy to use FREE PM-Interface for
  3268.  controlling and using the TVFS. It is available at 
  3269.  http://www1.stuttgart.netsurf.de/~kevers/
  3270.  
  3271.  <<=TIP=>> See also TVFS-RM by Jürgen Dankoweits at http://www.geocities.com
  3272.  SiliconValley/Way/3792
  3273. -------------------------------------------------------------------
  3274.  OS/2 Ramdisk IFS
  3275.  
  3276.  Karl Olsen has developed an great FREE RAMFS-IFS available at 
  3277.  http://home3.inet.tele.dk/kro 
  3278. 
  3279. -----------------------------------------------------------------
  3280. 8.  HOW TO RESTORE A DAMAGED CONFIG.SYS FILE FROM A BACKUP COPY.
  3281.  
  3282.  I moved the advice for OS/2 2.1 at the end as most users use 
  3283.  Warp with his built-in backup option, instead you can find an 
  3284.  advise how to get multiple configurations in Warp. (K.S.)
  3285.  
  3286.  In OS/2 Warp, IBM provides an archive feature which
  3287.  can be activated by opening your Desktop settings, click on the
  3288.  Archive Tab, and then click on "Create archive at every system
  3289.  restart".  With this feature activated, you can simply press
  3290.  Alt+F1 at boot and be presented with a menu which will allow you
  3291.  to boot with an alternate (backup) config.sys file.  See your
  3292.  user documentation for details. 
  3293. -----------------------------------------------------------------
  3294. HOW TO GET MULTIPLE CONFIGURATION FILES IN WARP 3 or 4
  3295. -----------------------------------------------------------------
  3296.  Save your config.sys 
  3297.  Make an ALTF1x.CMD file in /OS2/BOOT with the following content
  3298.  'copy \os2\boot\config.x \config.sys'
  3299.  Copy your Config.sys to \OS2\BOOT\CONFIG.X
  3300.  Edit CONFIG.X
  3301.  Repeat for ALTF1y.CMD ...
  3302.  Repeat for ALTF1z.CMD ...
  3303.  
  3304.  Now edit ALTF1TOP.SCR in \OS2\BOOT
  3305.  Insert 'X - Start config.x'
  3306.         'y - Start config.y'
  3307.         'z - Start config.z'
  3308.  
  3309.  ATTENTION ! for every line you insert you have to delete one !!
  3310.  for x and y you can use every letter that is not occupied by the
  3311.  Boot-Menu 
  3312.  Here's one sample for an German Warp 4
  3313.  
  3314.                            WIEDERHERSTELLUNGSOPTIONEN
  3315.  
  3316.    Waehlen Sie die zu verwendende Systemkonfigurationsdatei aus, oder
  3317.    geben Sie die Option ein, die dem gewuenschten Archiv entspricht.
  3318.    ESC - Der Systemstart wird mit der ungeaenderten Datei \CONFIG.SYS
  3319.          fortgesetzt.
  3320.    F2  - Eine Befehlszeile wird aufgerufen (keine Dateien werden ersetzt,
  3321.          die urspruengliche Datei CONFIG.SYS wird verwendet).
  3322.    F3  - Der Primaerbildschirm wird auf VGA eingestellt, und das System
  3323.          wird neu gestartet.
  3324.    F4  - Das System ueber die Option 'Installation anpassen' starten.
  3325.    F5  - Die Hardwareerkennung wird aktiviert.
  3326.    F6  - Die Hardwareerkennung wird inaktiviert.
  3327.    D   - Mit Dos und Windoze
  3328.    P   - OS/2 Pur (ohne Dos und Win)
  3329.    Durch Auswahl eines Archivs aus untenstehender Liste werden die aktuelle
  3330.    Datei CONFIG.SYS, das Verzeichnis der Arbeitsoberflaeche und INI-Dateien
  3331.    durch aeltere Dateien ersetzt. Diese aelteren Versionen koennen sich von
  3332.    den aktuellen Dateien unterscheiden. Die aktuellen Dateien befinden
  3333.    sich im Verzeichnis \OS2\ARCHIVES\CURRENT.
  3334. -----------------------------------------------------------------
  3335. HOW TO MAKE A BACKUP COPY OF YOUR Config and INI FILES in 2.X
  3336. -----------------------------------------------------------------
  3337.  A.  Boot OS/2 from the OS/2 Installation Disk.
  3338.  
  3339.  B.  Insert OS/2 Disk #1 when asked.
  3340.  
  3341.  C.  Press the ESC key when you get the first text screen.  By
  3342.      doing this you will be put into OS/2s command line mode.
  3343.  
  3344.  D.  Assuming that your backup copy of config.sys is in the root
  3345.      directory of "C" drive and is named CONFIG.SAV, enter the 
  3346.      following command:
  3347.  
  3348.      COPY C:\CONFIG.SAV C:\CONFIG.SYS
  3349.  
  3350.      Press the ENTER key.
  3351.  
  3352.  E.  Remove OS/2 Disk #1 and reboot the system.
  3353.  
  3354.  What if you didn't make a backup copy?  IBM thought about you. 
  3355.  When OS/2 was first installed on your system, the installation
  3356.  program made a backup copy of your original config.sys file. 
  3357.  It stored this file in C:\OS2\INSTALL.  To restore from this
  3358.  file follow the same steps above, EXCEPT, in step "D" enter the
  3359.  following command instead of the one shown:
  3360.  
  3361.    COPY C:\OS2\INSTALL\CONFIG.SYS C:\CONFIG.SYS
  3362.    
  3363.  <<=TIP=>> Replace the config.sys file saved by the OS/2
  3364.  installation program in the INSTALL directory with your most
  3365.  current version, thus allowing you to restore from it.  If you
  3366.  are viewing this information using CNFGINFO.EXE, the Backup
  3367.  option is set to do this for you.
  3368.  
  3369.  CALL=C:\OS2\XCOPY.EXE C:\OS2\INSTALL\*.BK1 C:\OS2\INSTALL\*.INI /T /R /O
  3370.  CALL=C:\OS2\XCOPY.EXE C:\OS2\*.INI C:\OS2\INSTALL\*.BK1 /T /R /O
  3371.   
  3372.  Two files are essential to the operation of OS/2:  OS2.INI and 
  3373.  OS2SYS.INI.  If these files should get trashed, OS/2 isn't going
  3374.  to function.  Backing them up is very important.  In OS/2 
  3375.  version 2.0, once booted, OS/2 will not let you access or copy
  3376.  these critical files.  One way to circumvent this is to create
  3377.  your backups BEFORE OS/2 is booted.  This CALL will do the trick.
  3378.  It creates first a backup of your backup and then creates a
  3379.  backup of the original files.  This gives you a two generation
  3380.  backup.  This process will add time to your system boot.
  3381.   
  3382.  Generally OS/2 does not care where you place something in the 
  3383.  config.sys file.  This CALL is an exception in version 2.0.  It 
  3384.  must appear before any other line because you need to complete 
  3385.  this backup process before OS2.INI AND OS2SYS.INI load.  
  3386.   
  3387.  <<=NOTE=>>  In version 2.1, the INI files can be copied after
  3388.  the system is booted by using OS/2s COPY command, but you may
  3389.  wish to consider adding this CALL to your config.sys file to
  3390.  automate the process.
  3391.    
  3392.  <<=TIP=>>  OS2.INI and OS2SYS.INI can also be reconstructed at
  3393.  boot by holding down Alt-F1 during boot BEFORE the OS/2 logo
  3394.  appears.  You may need to hold the keys down for at least 20
  3395.  seconds.  During your initial installation of OS/2, the 
  3396.  installation process stored a copy of its original INI files
  3397.  in the folder called INSTALL.  When you press Alt-F1 at boot,
  3398.  OS/2 moves these "backup" files into the OS/2 folder to
  3399.  replace the current versions.  The "CALL" shown above keeps
  3400.  the INI files in your INSTALL folder current.
  3401.   
  3402.  <<=WARNING=>>  If you are using a version of OS/2 before Warp,
  3403.  use the Alt-F1 key combination as a last resort because you may
  3404.  lose all customizing and changes you have made to the WpS.
  3405.   
  3406.  <<=NOTE=>>  The switches used mean the following:
  3407.  
  3408.       /T  -- allows xcopying of files with System attribute
  3409.       /R  -- allows xcopying of files with Read-only attribute
  3410.       /O  -- allows xcopying *onto* a file which has System,
  3411.              Read-only, or Hidden attribute.
  3412. 
  3413. -----------------------------------------------------------------
  3414. 9.  REXX SUPPORT FROM WITHIN THE CONFIG.SYS FILE.
  3415.  
  3416.  The question of whether REXX programs can be called from within
  3417.  the config.sys file has been asked by a number of people.  Keith
  3418.  Medcalf's response to the question is one of the best I've seen.  
  3419.  Thanks Keith!
  3420.  
  3421.  ----------------------------------------------------------------
  3422.    Date: 07-30-93, 08:06                  Number: 483                         
  3423.    From: Keith Medcalf                     Refer: 477                         
  3424.      To: Russ Williams                     Recvd: No                          
  3425.    Subj: REXX from config.sys               Conf: Ibm.Os2se                   
  3426.  ----------------------------------------------------------------
  3427.  Wednesday July 28 1993 16:34, Russ Williams wrote to All:
  3428.  
  3429.   RW> Can anyone tell me what restrictions there are on running
  3430.   RW> REXX programs from config.sys (via "CALL=")?  It doesn't
  3431.   RW> work for me, and the on-line help is no help.
  3432.  
  3433.  You cannot.  The DLLs required to support Rexx are not loaded
  3434.  until Presentation Manager is loaded.  If you require Rexx
  3435.  support earlier, look for a program call SRVREXX at a fine BBS
  3436.  near you.
  3437.  
  3438.  Adding the line RUN=SRVREXX.EXE to the config.sys will
  3439.  immediately initialize Rexx.  You will then be able to access
  3440.  Rexx with or without PM being loaded.
  3441. 
  3442. -----------------------------------------------------------------
  3443. 10. How to set the cache in system with less RAM 
  3444.  
  3445.  ======================== Table 1.0 ============================= 
  3446.   
  3447.  If you have formatted your system with only HPFS partitions, the 
  3448.  cache size in this statement, as set by OS/2 during installation,
  3449.  is that noted under ONE FILE SYSTEM in the table below.  If you 
  3450.  have both FAT and HPFS partitions, then OS/2 sets the cache
  3451.  sizes to those noted under TWO FILE SYSTEM.  The file system
  3452.  which uses the greatest amount of your disk space gets the larger
  3453.  default value.
  3454.  
  3455.  MEMORY SIZE IN MB      TWO FILE SYSTEM         ONE FILE SYSTEM*  
  3456.         4                     128/64                  128/48     
  3457.         5                     128/64                  128/48     
  3458.         6                     256/64                  256/128    
  3459.         7                     256/128                 256/512    
  3460.         8                     256/256                 384/512    
  3461.         9                     256/256                 384        
  3462.         10 - 16               512/512                 1024       
  3463.         17 - 32               1024/1024               2048       
  3464.                                                                  
  3465.  * Defaults in Warp are different and are shown as the second    
  3466.    number.  On systems with more than 8MBs of RAM, the default   
  3467.    is 10% of available RAM to a maximum cache of 4MB.            
  3468.                                                                  
  3469.   
  3470.  ========================== Table 1.1 ===========================
  3471.   
  3472.  You can get better performance from your system by using your 
  3473.  available RAM in the most efficient and effective way.  Select
  3474.  the case that best describes the file system or amount of RAM
  3475.  you use. 
  3476.   
  3477.  CASE 1:  You use only HPFS or only FAT, but not both.           
  3478.   
  3479.                                HPFS only.         FAT only.
  3480.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  3481.   
  3482.                      16 MB+           2048                 2048
  3483.                      12 MB            1536                 1536
  3484.                       8 MB            1024                 1024
  3485.   
  3486.  CASE 2:  You use both HPFS and FAT with HPFS active and FAT
  3487.  passive.
  3488.   
  3489.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  3490.   
  3491.                      16 MB+           2048            512 -1024
  3492.                      12 MB            1536            256 - 512
  3493.                       8 MB            1024            128 - 256
  3494.   
  3495.  CASE 3:  You use both HPFS and FAT with HPFS passive and FAT
  3496.  active.
  3497.   
  3498.  System memory of at least:  Set CACHE to:    Set DISKCACHE to:
  3499.                      
  3500.                      16 MB+           1024                 2048
  3501.                      12 MB             768                 1536
  3502.                       8 MB             512                 1024
  3503.  
  3504.  <<=NOTE=>>  For purposes of the table above, "active" and
  3505.  "passive" are descriptors for the way a partition is used. 
  3506.  If it is seldom used, it is "passive."  If a lot of disk 
  3507.  intensive I/O occurs on the partition, it is "active."
  3508. 
  3509. ---------------------------------------------------------------------
  3510.  
  3511.  11. Jerry Rowe's Warp Remote Install Page
  3512.  
  3513.  This page is a preliminary FAQ about installing OS/2 
  3514.  Warp 4 over a laplink cable from a Server to a Client. 
  3515.  
  3516.  First, you must set the Server up to use the parallel port
  3517.  (SSW Parallel MAC driver) network driver. You do this from
  3518.  MPTS [just type MPTS at the command line]. Select the driver,
  3519.  and add Netbios as a protocol. 
  3520.  
  3521.  Then Edit the SSW Parallel MAC driver in MPTS and Note its 
  3522.  address. It should be 40000000000A. 
  3523.  
  3524.  Then open up the OS/2 Warp Remote Install object. 
  3525.  Create the remote install disks. Be sure to use the same 
  3526.  SSW Parallel MAC driver.
  3527.  Then edit the protocol.ini file on the 2nd disk. Inside it,
  3528.  insure that the MAC address is something
  3529.  other than 40000000000A. Using 40000000000B will work fine.
  3530.  Save the file. 
  3531.  
  3532.  Now, shutdown and reboot the machine.
  3533.  Then examine \ibmcom\lantran.log and look for the reference
  3534.  to the Adapter # for the parallel port adapter. If you have
  3535.  another adapter in the Server, the number may be 1,
  3536.  otherwise it will be 0. 
  3537.  
  3538.  Find Server Adapter #
  3539.  Note that the Adapter #=1 in the file below. If your parallel port
  3540.  is setup for adapter #=0, then lantran.log will be different. 
  3541.  ==file lantran.log========================================= 
  3542.  PARALLEL PORT MAC V 1.0 by Savant Software Inc. Copyright (C) 1994, 1995 
  3543.  SAVANT SOFTWARE: PORT ADDRESS(ES): LPT1 
  3544.  SAVANT SOFTWARE: PORT ADDRESS CONFIGURED: LPT1(378) 
  3545.  IBM LANVDD is loaded and operational. 
  3546.  IBM OS/2 LAN Netbind 
  3547.  IBM LANDD is accessing IBM 802.3 LAN Interface. 
  3548.  Adapter 1 was initialized and opened successfully. 
  3549.  Adapter 1 is using node address 40000000000A. The Token-Ring
  3550.  format is 02000000 
  3551.  IBM LANDD was successfully bound to MAC: pmac_nif->VECTOR. 
  3552.  ==end file lantran.log========================================= 
  3553.  
  3554.  Install service.exe and other files.
  3555.  
  3556.  If they were not installed during the Warp install,
  3557.  follow these instructions.
  3558.  
  3559.  Given that my CDRom drive is I:, and My Warp 4 drive is H:,
  3560.  issue this command: 
  3561.  
  3562.  [H:\]I:\CID\SRVIFS\thinsrv /s:. /t:h:\cid\SRVIFS
  3563.  /r:h:\ibminst\tables\service.ini /tu:h:\ 
  3564.  
  3565.  THINSRV completed successfully. 
  3566.  
  3567.  This creates a line in startup.cmd and creates startup.cmd
  3568.  if necessary.
  3569.  START H:\CID\SRVIFS\SERVICE.EXE /INI=SERVICE 
  3570.  
  3571.  Thinsrv also adds: 
  3572.  
  3573.  h:\cid\SRVIFS; 
  3574.  
  3575.  to the PATH and DPATH statements in CONFIG.SYS.
  3576.  Because these changes will not take effect until a reboot,
  3577.  the command in STARTUP.CMD will not work until then.
  3578.  However, you can: 
  3579.  
  3580.  cd \cid\srvifs service /ini=service 
  3581.  
  3582.  to start it right away from the command line. 
  3583.  
  3584.  You will probably want to remove the commands from Startup.cmd
  3585.  at this time to prevent the Server facility from running
  3586.  all the time. 
  3587.  
  3588.  You may also want to create another cmd file with the service
  3589.  command in it if you would like to run it interactively. 
  3590.  
  3591.  Edit h:\cid\service.ini 
  3592.  
  3593.  Note Alias's and Path near bottom. Should be correct for the CD
  3594.  Note Adapter #. Should match # from Lantran.log.
  3595.  =============================================================
  3596.  ;SRVIFS INI file for OS/2 Warp Remote Install Server - 7CPESGDV
  3597.  Name = 7CPESGDV
  3598.  GroupName = NO
  3599.  Adapter = 1
  3600.  MaxClients = 5
  3601.  MaxFiles = 9999
  3602.  ClientWorkers = 8
  3603.  Path = I:\
  3604.  Alias = ReadOnly,Single,CDROM,I:\
  3605.  Alias = ReadWrite,Single,STATUS,H:\IBMINST\RSP\REMOTE
  3606.  ==============================================================
  3607.  
  3608.  With these changes made, shut down the computer and reboot.
  3609.  After it comes up, the GUI front
  3610.  end for the Remote install should work. 
  3611.  
  3612.  ===Config.sys on disk 1 ===================
  3613.  CALL=A:\SRVATTCH.EXE z: \\7CPESGDV\CDROM
  3614.  DEVICE=A:\SRVIFS.SYS
  3615.  IFS=A:\SRVIFSC.IFS * /T
  3616.  CALL=A:\SRVATTCH.EXE w: \\7CPESGDV\STATUS
  3617.  RUN=Z:\CID\LOCINSTU\SRVREXX.EXE
  3618.  libpath=.;\os2\install;\os2\dll;z:\cid\locinstu;
  3619.  set os2_shell=cdboot.exe
  3620.  set oemprogram=\ibminst\npconfig.exe
  3621.  set exitwhendone=1
  3622.  set ADAPTER_NIF=PMAC.NIF
  3623.  set SRVNAME1=7CPESGDV
  3624.  set SAVECONNECT=1
  3625.  ================================================
  3626.  
  3627.  Now, change to H: [warp 4 drive] and start server.
  3628.  cd \cid 
  3629.  SERVICE.EXE /INI=SERVICE
  3630.  
  3631.  Now, boot the client off the disk set. 
  3632.  
  3633.  Should work. If it does not, check the hardware
  3634.  configuration of the parallel ports and insure they
  3635.  are set to bi-directional if that option is offered. 
  3636.  
  3637.  I successfully installed Warp 4 on a Thinkpad using
  3638.  this method. 
  3639.  
  3640.  After the install, you should also be able to network
  3641.  between the two computers over the laplink
  3642.  cable using OS/2 Peer. 
  3643. 
  3644. //END//
  3645.