home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / dosutils / xdosman.arj / CHAPT5.DOC < prev    next >
Encoding:
Text File  |  1992-02-13  |  34.1 KB  |  1,343 lines

  1.  
  2.  
  3.  
  4.  
  5.  
  6.  
  7.                                   Chapter 5.
  8.  
  9.  
  10.  
  11.                         Internal Configuration Commands
  12.  
  13.      Introduction
  14.  
  15.           Chapter 4. explained how the AUTOEXEC.BAT and CONFIG.SYS files
  16.           can be configured using the install program provided with X-DOS.
  17.           The various commands which can be entered into the AUTOEXEC.BAT
  18.           and CONFIG.SYS files, called the Internal Configuration Commands,
  19.           were briefly introduced to help you decide which of these
  20.           commands you should use during installation. In this chapter, a
  21.           detailed explanation of the functions of all the internal
  22.           configuration commands, and the various parameters and switches
  23.           that can be used with these commands, is given.
  24.  
  25.           We suggest that after you have been using X-DOS for a while and
  26.           are ready to start taking advantage of the full power offered by
  27.           this operating system, you read through this chapter to get a
  28.           good understanding of what you can do with the internal
  29.           configuration commands. You may then use the install program to
  30.           configure these commands in your AUTOEXEC.BAT and CONFIG.SYS
  31.           files. Please note that you can also edit the AUTOEXEC.BAT and
  32.           CONFIG.SYS files directly using the editor provided with X-DOS.
  33.  
  34.  
  35.  
  36.  
  37.  
  38.  
  39.  
  40.  
  41.  
  42.  
  43.  
  44.  
  45.  
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.                                       5-1
  64.  
  65.  
  66.  
  67.  
  68.  
  69.      The ANSI.SYS Device Driver
  70.  
  71.           Purpose     This device driver enables you to use ANSI escape
  72.                       sequences to extend your control of the screen and
  73.                       keyboard. ANSI escape sequences are tedious to use
  74.                       but they can create quite remarkable results when
  75.                       used properly. You can, for example, totally remap
  76.                       your keyboard, make fancy command line prompts, and
  77.                       much more.
  78.  
  79.           Type        External Device Driver
  80.  
  81.           Syntax      DEVICE=[d:][path]ANSI.SYS [Inserted in your
  82.                       CONFIG.SYS file
  83.  
  84.           Where       d:path - is the drive and path to the directory in
  85.                       which the ANSI.SYS device driver resides.
  86.  
  87.  
  88.  
  89.  
  90.  
  91.  
  92.  
  93.  
  94.  
  95.  
  96.  
  97.  
  98.  
  99.  
  100.  
  101.  
  102.  
  103.  
  104.  
  105.  
  106.  
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.                                       5-2
  126.  
  127.  
  128.  
  129.  
  130.  
  131.      BREAK Configuration Command
  132.  
  133.           Purpose     his configuration command is used to set the
  134.                       circumstances under which [Ctrl]-C and [Ctrl][Break]
  135.                       are allowed to terminate program execution.
  136.  
  137.           Type        Internal Configuration Command
  138.  
  139.           Syntax      BREAK [ON | OFF]
  140.  
  141.           Where       ON - specifies that BREAK mode will be turned ON.
  142.                       OFF - specifies that BREAK mode will be turned OFF.
  143.  
  144.           Remarks     X-DOS's default setting is BREAK = OFF. Therefore, X-
  145.                       DOS only checks for a [Ctrl]-C or [Ctrl][Break]
  146.                       sequence during:
  147.  
  148.                               *  Standard input functions
  149.                               *  Standard output functions
  150.                               *  Print operations
  151.                               *  Auxiliary operations
  152.  
  153.           To make X-DOS check for [Ctrl]-C and [Ctrl][Break] whenever it is
  154.           requested set BREAK = ON in the CONFIG.SYS file.
  155.  
  156.  
  157.  
  158.  
  159.  
  160.  
  161.  
  162.  
  163.  
  164.  
  165.  
  166.  
  167.  
  168.  
  169.  
  170.  
  171.  
  172.  
  173.  
  174.  
  175.  
  176.  
  177.  
  178.  
  179.  
  180.  
  181.  
  182.  
  183.  
  184.  
  185.  
  186.  
  187.                                       5-3
  188.  
  189.  
  190.  
  191.  
  192.  
  193.      BUFFERS Configuration Command
  194.  
  195.           Purpose     This configuration command specifies the number of
  196.                       disk buffers that X-DOS allocates. A larger number
  197.                       normally increases the speed of disk intensive
  198.                       applications but also consumes more memory.
  199.  
  200.           Type        Internal Configuration Command
  201.  
  202.           Syntax      BUFFERS=xx [/E][/A]
  203.  
  204.           Where       xx - is the number of buffers that X-DOS will
  205.                       allocate in memory. The default value for xx is 20
  206.                       and must be in the range of 5 to 4,095. If you
  207.                       install X-DOS with the INSTALL command, the default
  208.                       value is set to 20.
  209.  
  210.                       /E - tells X-DOS to put the buffers in extended
  211.                       memory
  212.                       /A - tells X-DOS to put the buffers in expanded
  213.                       memory
  214.  
  215.           Remarks:    Please note that the buffers cannot be put in
  216.                       extended or expanded memory in the evaluation version
  217.                       of X-DOS.
  218.  
  219.                       The Extended Memory allocation requires the XMS
  220.                       driver loader. Either the internal X-DOS XMS driver
  221.                       can be used (see below) or any other commercial
  222.                       product. Please note that though BUFFERS can be put
  223.                       in extended or expanded memory, some buffers have to
  224.                       remain in lower memory for DMA transfer.
  225.  
  226.           Examples:   If you want to modify the BUFFERS size to 15, you
  227.                       should load the CONFIG.SYS file into ED and add the
  228.                       following line:
  229.  
  230.                       BUFFERS = 15
  231.  
  232.  
  233.  
  234.  
  235.  
  236.  
  237.  
  238.  
  239.  
  240.  
  241.  
  242.  
  243.  
  244.  
  245.  
  246.  
  247.  
  248.  
  249.                                       5-4
  250.  
  251.  
  252.  
  253.  
  254.  
  255.      The CACHE Configuration Command
  256.  
  257.           Purpose     This configuration command increases the speed of
  258.                       disk intensive programs. It works best if you have
  259.                       extended memory or expanded memory available and
  260.                       normally gives better results than increasing the
  261.                       number of disk buffers. The cache only works on hard
  262.                       disks.
  263.  
  264.           Type        Internal Configuration Command
  265.  
  266.           Syntax      CACHE=/D0 [/D1] [/Mxxxx] [/E] [/A]
  267.  
  268.           Where       /D0 - specifies that you want to cache the first
  269.                       physical disk, including all partitions on that disk.
  270.                       /D1 - lets you optionally cache a second physical
  271.                       disk if your computer has two hard disks installed.
  272.                       /Mxxxx - sets the amount of memory that CACHE will
  273.                       use for disk caching. You can specify a cache size up
  274.                       to 8,192K in size. You must enter the cache size in K
  275.                       (kilobytes). If you do not specify a CACHE size with
  276.                       the /Mxxxx parameter, CACHE automatically sets up a
  277.                       64K cache.
  278.  
  279.                       /E - sets up a disk cache in extended memory.
  280.                       /A - sets up a disk cache in expanded memory.
  281.  
  282.           Remarks:    Please note that the CACHE command cannot be
  283.                       activated in the evaluation version of X-DOS.
  284.  
  285.                       CACHE uses the memory you allocate for caching to
  286.                       store data most recently read from the disks.
  287.                       Additionally, CACHE reads more data into memory than
  288.                       is actually needed, forecasting which data may be
  289.                       needed on the following disk access. By doing this,
  290.                       there is a good possibility that the next data your
  291.                       program needs to read from the disk is already in the
  292.                       memory area of your cache. Since reading from memory
  293.                       is much faster than reading from even the fastest
  294.                       hard disk, a cache will dramatically improve the
  295.                       performance of disk intensive programs. The larger
  296.                       the cache, the better the probability is that the
  297.                       needed data is already in memory. You can only cache
  298.                       hard disks. The CACHE statement does not support
  299.                       caching of removable media.
  300.  
  301.                       You must always specify at least one physical drive
  302.                       to cache or you will get an error message. It is
  303.                       important that you understand what a physical drive
  304.                       is. A physical drive refers to a complete hard disk,
  305.                       including all partitions on that hard disk. If your
  306.                       computer has one hard disk with three partitions set
  307.  
  308.  
  309.  
  310.  
  311.                                       5-5
  312.  
  313.  
  314.  
  315.  
  316.  
  317.                       up as drive C:, drive D:, and drive E:, you only need
  318.                       to specify the /D0 parameter after the CACHE
  319.                       statement to cache all of the three drives since they
  320.                       all reside on your first, and only, physical disk. If
  321.                       your computer has two hard disks installed and you
  322.                       choose to install a cache for both of them, the total
  323.                       amount of memory used by CACHE (as specified with the
  324.                       /Mxxxx parameter) will double.
  325.  
  326.                       If you set up a cache for your hard disk(s), you may
  327.                       want to reduce the number of buffers you have set up
  328.                       with the BUFFERS statement since CACHE essentially
  329.                       does the same job as BUFFERS but in a much more
  330.                       efficient way. By reducing the amount of buffers, you
  331.                       can save some precious memory. Just keep in mind that
  332.                       CACHE does not support floppy drives so you should
  333.                       not set the number of BUFFERS too low since this can
  334.                       dramatically decrease the performance on floppy
  335.                       drives.
  336.  
  337.                       If you specify more memory for caching than is
  338.                       available in your system, CACHE will display an error
  339.                       message and remain un-installed. Since certain
  340.                       programs such as backup programs may have problems
  341.                       working with a cache in memory, X-DOS provides a way
  342.                       of disabling CACHE from the command line. The X-DOS
  343.                       cache is a write through cache which means that it
  344.                       will increase the speed of the reading process while
  345.                       not affecting writing operations.
  346.  
  347.           Examples:   If your computer has one hard disk installed and you
  348.                       want to set up a cache of 2MB in XMS memory for your
  349.                       hard disk, you should include the following statement
  350.                       in your CONFIG.SYS configuration file:
  351.  
  352.                       CACHE = /D0/M2048/E
  353.  
  354.  
  355.  
  356.  
  357.  
  358.  
  359.  
  360.  
  361.  
  362.  
  363.  
  364.  
  365.  
  366.  
  367.  
  368.  
  369.  
  370.  
  371.  
  372.  
  373.                                       5-6
  374.  
  375.  
  376.  
  377.  
  378.  
  379.      The COUNTRY Configuration Command
  380.  
  381.           Purpose     This configuration command sets the time format and
  382.                       date format for the selected country.
  383.  
  384.           Type        Internal Configuration Command
  385.  
  386.           Syntax      COUNTRY=xxx
  387.  
  388.           Where       xxx - is the international telephone code for your
  389.                       country.
  390.  
  391.           Remarks:    The default value for COUNTRY is 001 which is the
  392.                       international country code for the United States. The
  393.                       following list shows the countries supported by X-
  394.                       DOS:
  395.  
  396.                               COUNTRY           INT. CODE
  397.                               Australia         061
  398.                               Belgium           032
  399.                               Canada-French     002
  400.                               Denmark           045
  401.                               Finland           358
  402.                               France            033
  403.                               Germany           049
  404.                               Italy             039
  405.                               Israel            972
  406.                               Middle East       785
  407.                               Netherlands       031
  408.                               Norway            047
  409.                               Portugal          351
  410.                               Spain             034
  411.                               Sweden            046
  412.                               Switzerland       041
  413.                               United Kingdom    044
  414.                               United States     001
  415.  
  416.  
  417.  
  418.  
  419.  
  420.  
  421.  
  422.  
  423.  
  424.  
  425.  
  426.  
  427.  
  428.  
  429.  
  430.  
  431.  
  432.  
  433.  
  434.  
  435.                                       5-7
  436.  
  437.  
  438.  
  439.  
  440.  
  441.      The DEVICE Configuration Command
  442.  
  443.           Purpose     This configuration command makes X-DOS install device
  444.                       drivers during start-up.
  445.  
  446.           Type        Internal Configuration Command
  447.  
  448.           Syntax      DEVICE=[d:][path]filename
  449.  
  450.           Where       d:path - is the drive and path to the directory which
  451.                       contains the device driver you want to install.
  452.  
  453.                       filename - is the name of the device driver to
  454.                       install.
  455.  
  456.           Remarks:    Device drivers are normally used to control certain
  457.                       parts of hardware on your computer. X-DOS supplies
  458.                       you with three device drivers on the X-DOS disk.
  459.  
  460.                       These drivers have the following functions:
  461.  
  462.           ANSI.SYS : is a console driver which can be used to enhance
  463.                       standard input and output. Since X-DOS already
  464.                       implements enhancements for standard input and
  465.                       output, this device driver is normally not required.
  466.           VDISK.SYS : is the virtual disk driver which can be used to
  467.                       install disks in either conventional memory, extended
  468.                       memory, or expanded memory.
  469.  
  470.                       Virtual disks are often referred to as RAM disks and
  471.                       are a much faster storage media than normal disk
  472.                       drives. You can set up several virtual disks, each of
  473.                       which can be a maximum of 16,384K (16 megabytes) in
  474.                       size. If you purchase certain hardware add-on
  475.                       products for your computer, you may have to install a
  476.                       device driver in the CONFIG.SYS file to use this
  477.                       product.
  478.  
  479.                       Just include the name of that particular products
  480.                       device driver in your CONFIG.SYS file including drive
  481.                       specification and path and this driver will
  482.                       automatically be installed the next time you boot
  483.                       your computer.
  484.  
  485.           Examples:   If you want to create a RAM disk in extended memory
  486.                       with the size 384K and assuming that the VDISK.SYS
  487.                       device driver is located in the C:\DOS directory then
  488.                       you should add the following statement on a separate
  489.                       line in your CONFIG.SYS file.
  490.  
  491.                       DEVICE=C:\DOS\VDISK.SYS 384 /E
  492.  
  493.  
  494.  
  495.  
  496.  
  497.                                       5-8
  498.  
  499.  
  500.  
  501.  
  502.  
  503.  
  504.  
  505.  
  506.  
  507.  
  508.  
  509.  
  510.  
  511.  
  512.  
  513.  
  514.  
  515.  
  516.  
  517.  
  518.  
  519.  
  520.  
  521.  
  522.  
  523.  
  524.  
  525.  
  526.  
  527.  
  528.  
  529.  
  530.  
  531.  
  532.  
  533.  
  534.  
  535.  
  536.  
  537.  
  538.  
  539.  
  540.  
  541.  
  542.  
  543.  
  544.  
  545.  
  546.  
  547.  
  548.  
  549.  
  550.  
  551.  
  552.  
  553.  
  554.  
  555.  
  556.  
  557.  
  558.  
  559.                                       5-9
  560.  
  561.  
  562.  
  563.  
  564.  
  565.      The DOS Configuration Command
  566.  
  567.           Purpose     This configuration command will load the kernel of X-
  568.                       DOS in the High Memory Area.
  569.  
  570.           Type        Internal Configuration Command
  571.  
  572.           Syntax      DOS=HIGH
  573.  
  574.           Where       HIGH - is the parameter for relocating the X-DOS
  575.                       kernel into HMA
  576.  
  577.           Remarks:    Please note that the DOS relocation into HMA is not
  578.                       provided in the evaluation version of X-DOS.
  579.  
  580.                       High Memory Area is only available on 286, 386 and
  581.                       486 computers. It consists of the first 64K (- 16
  582.                       bytes) of the extended memory area.
  583.  
  584.                       This segment of memory has the particularity of being
  585.                       in extended memory but still being accessible in real
  586.                       mode, thus allowing it to be viewed as memory by DOS.
  587.  
  588.                       By setting the DOS switch to HIGH, the kernel will
  589.                       attempt to detect the availability of the HMA and
  590.                       relocate itself in this portion of memory. It will
  591.                       leave in the low memory some data used by DOS that
  592.                       cannot be put in HMA.
  593.  
  594.                       Upon activation of the DOS=HIGH switch, X-DOS will
  595.                       also activate the internal XMS driver, that manages
  596.                       the rest of the Extended Memory (see below).
  597.  
  598.  
  599.  
  600.  
  601.  
  602.  
  603.  
  604.  
  605.  
  606.  
  607.  
  608.  
  609.  
  610.  
  611.  
  612.  
  613.  
  614.  
  615.  
  616.  
  617.  
  618.  
  619.  
  620.  
  621.                                       5-10
  622.  
  623.  
  624.  
  625.  
  626.  
  627.      The FCBS Configuration Command
  628.  
  629.           Purpose     This configuration command sets the number of files
  630.                       that the file control blocks can open at one time.
  631.  
  632.           Type        Internal Configuration Command
  633.  
  634.           Syntax      FCBS=x
  635.  
  636.           Where       x - is the number of files that the file control
  637.                       blocks can open at one time. The default value for x
  638.                       is 4 and must be in the range of 1 to 255.
  639.  
  640.           Remarks:    File control blocks are used to control open files.
  641.                       Programs that use file control blocks to access files
  642.                       will have one file control block assigned to each
  643.                       open file.
  644.  
  645.                       File control blocks were originally implemented in
  646.                       the first version of the MS-DOS operating system for
  647.                       compatibility with the old CP/M operating system.
  648.  
  649.                       Now, programs mostly use the more powerful file
  650.                       handles to control open files. X-DOS, however,
  651.                       support file control blocks for compatibility with
  652.                       older programs.
  653.  
  654.  
  655.  
  656.  
  657.  
  658.  
  659.  
  660.  
  661.  
  662.  
  663.  
  664.  
  665.  
  666.  
  667.  
  668.  
  669.  
  670.  
  671.  
  672.  
  673.  
  674.  
  675.  
  676.  
  677.  
  678.  
  679.  
  680.  
  681.  
  682.  
  683.                                       5-11
  684.  
  685.  
  686.  
  687.  
  688.  
  689.      The FILES Configuration Command
  690.  
  691.           Purpose     This configuration command sets the number of file
  692.                       handles which can be opened at one time.
  693.  
  694.           Type        Internal Configuration Command
  695.  
  696.           Syntax      FILES=xxx
  697.  
  698.           Where       xxx - is the number of file handles which can be
  699.                       opened at the same time. The default value for xxx is
  700.                       20 and must be in the range of 8 to 255.
  701.  
  702.           Remarks:    The default setting of FILES = 20 is enough in most
  703.                       cases but certain programs like accounting programs,
  704.                       database programs, and desktop publishing programs
  705.                       often need to be able to open a larger amount of file
  706.                       handles at the same time. If you encounter an error
  707.                       message, stating that there are not enough file
  708.                       handles available, you will have to increase the
  709.                       number of file handles with the FILES statement in
  710.                       CONFIG.SYS. You can do this either by using the X-DOS
  711.                       program INSTALL or by editing the CONFIG.SYS file and
  712.                       adding the FILES = statement.
  713.  
  714.           Examples:   If you want to modify the number of file handles in
  715.                       the FILES statement to 30, you should load the
  716.                       CONFIG.SYS file into ED and insert a line with the
  717.                       following contents:
  718.  
  719.                       FILES=30
  720.  
  721.  
  722.  
  723.  
  724.  
  725.  
  726.  
  727.  
  728.  
  729.  
  730.  
  731.  
  732.  
  733.  
  734.  
  735.  
  736.  
  737.  
  738.  
  739.  
  740.  
  741.  
  742.  
  743.  
  744.  
  745.                                       5-12
  746.  
  747.  
  748.  
  749.  
  750.  
  751.      The FKEY Configuration Command
  752.  
  753.           Purpose     This configuration command is used to turn off the
  754.                       default X-DOS function key definitions.
  755.  
  756.           Type        Internal Configuration Command
  757.  
  758.           Syntax      FKEY=ON
  759.  
  760.           Where       ON - enables the use of the default function key
  761.                       definitions and redefinition of function keys from
  762.                       the command line with the ALIAS command.
  763.  
  764.           Remarks:    You can ask X-DOS to assign commands to some of the
  765.                       function keys and redefine function keys to execute
  766.                       different commands. You can even combine the [Shift],
  767.                       [Ctrl], or [Alt] keys with the function keys so you
  768.                       can define a total of 39 commands to be executed by
  769.                       the touch of a hot key.
  770.  
  771.                       You may wonder why you can only define 39 commands,
  772.                       not 40 commands. The reason for this is
  773.                       compatibility. X-DOS does not allow you to redefine
  774.                       the [F3] function key, which is used by MS-DOS to
  775.                       recall the previous command.
  776.  
  777.  
  778.  
  779.  
  780.  
  781.  
  782.  
  783.  
  784.  
  785.  
  786.  
  787.  
  788.  
  789.  
  790.  
  791.  
  792.  
  793.  
  794.  
  795.  
  796.  
  797.  
  798.  
  799.  
  800.  
  801.  
  802.  
  803.  
  804.  
  805.  
  806.  
  807.                                       5-13
  808.  
  809.  
  810.  
  811.  
  812.  
  813.      The HISTORY Configuration Command
  814.  
  815.           Purpose     This configuration command sets the amount of memory
  816.                       allocated for the command line history buffer. The
  817.                       history buffer allows you to recall and edit
  818.                       previously executed commands.
  819.  
  820.           Type        Internal Configuration Command
  821.  
  822.           Syntax      HISTORY=xxxx
  823.  
  824.           Where       xxxx - is the number of bytes which will be allocated
  825.                       to the history buffer. The default value for xxxx is
  826.                       256 and must be in the range of 256 to 2,048.
  827.  
  828.           Remarks:    The default setting of HISTORY = 256 should be enough
  829.                       in most cases since this amount of memory can hold
  830.                       about 15 to 20 previously executed commands.
  831.  
  832.                       You can increase the history buffer so it will be
  833.                       able to hold more than 100 commands. Just keep in
  834.                       mind that if you have to scroll through dozens of
  835.                       commands to find a particular command it would
  836.                       probably be faster to type it again. Also, when you
  837.                       allocate memory for the history buffer you are using
  838.                       precious memory which will not be available for
  839.                       application program.
  840.  
  841.           Examples:   If you want to increase the amount of memory
  842.                       allocated for the history buffer to 512 bytes, you
  843.                       should load the CONFIG.SYS file into ED and insert a
  844.                       line with the following contents:
  845.  
  846.                       HISTORY = 512
  847.  
  848.  
  849.  
  850.  
  851.  
  852.  
  853.  
  854.  
  855.  
  856.  
  857.  
  858.  
  859.  
  860.  
  861.  
  862.  
  863.  
  864.  
  865.  
  866.  
  867.  
  868.  
  869.                                       5-14
  870.  
  871.  
  872.  
  873.  
  874.  
  875.      The LASTDRIVE Configuration Command
  876.  
  877.           Purpose     This configuration command sets the last available
  878.                       drive letter X-DOS can access. You only need to
  879.                       change this if you plan to use the SUBST command or a
  880.                       similar utility.
  881.  
  882.           Type        Internal Configuration Command
  883.  
  884.           Syntax      LASTDRIVE=x
  885.  
  886.           Where       x - is a character between A and Z, describing a
  887.                       drive  letter. This drive letter will be the last
  888.                       available  drive that you can access with X-DOS.
  889.  
  890.           Remarks:    You can never set LASTDRIVE equal to a drive letter
  891.                       less than the number of drives that you have
  892.                       installed in your computer. If you do set the
  893.                       LASTDRIVE equal to a drive letter less than the
  894.                       number of installed drives, X-DOS will ignore this
  895.                       statement in the CONFIG.SYS file.
  896.  
  897.           Examples:   If you want to set the number of available drives to
  898.                       10 which is the drive letter J, you should include
  899.                       the following command in the CONFIG.SYS file:
  900.  
  901.                       LASTDRIVE = J
  902.  
  903.  
  904.  
  905.  
  906.  
  907.  
  908.  
  909.  
  910.  
  911.  
  912.  
  913.  
  914.  
  915.  
  916.  
  917.  
  918.  
  919.  
  920.  
  921.  
  922.  
  923.  
  924.  
  925.  
  926.  
  927.  
  928.  
  929.  
  930.  
  931.                                       5-15
  932.  
  933.  
  934.  
  935.  
  936.  
  937.      The SHELL Configuration Command
  938.  
  939.           Purpose     This configuration command sets the name and location
  940.                       of the primary command processor. It can also be used
  941.                       to specify the size of the environment of the primary
  942.                       X-DOS command processor, COMMAND.COM.
  943.  
  944.           Type        Internal Configuration Command
  945.  
  946.           Syntax      SHELL=[d:][path]COMMAND.COM [/P] [/E:xxxx]
  947.  
  948.                       or
  949.  
  950.                       SHELL=[d:][path]filename [params]
  951.  
  952.           Where       d:path - is the drive and path to the directory in
  953.                       which the command processor is located.
  954.  
  955.                       /P - is a parameter used by COMMAND.COM which makes
  956.                       the current command processor permanent.
  957.  
  958.                       /E:xxxx - is the number of bytes allocated to the
  959.                       environment of the COMMAND.COM command processor. The
  960.                       default value for xxxx is 384 and must be in the
  961.                       range of 160 to 9,999.
  962.  
  963.                       filename - is the filename of a new command
  964.                       processor.
  965.  
  966.                       params - are any valid parameters used by the new
  967.                       command processor.
  968.  
  969.           Remarks:    The SHELL command can be used for several purposes
  970.                       which are split into two main areas; using SHELL with
  971.                       COMMAND.COM and using SHELL with a new command
  972.                       processor.
  973.  
  974.                       Using the SHELL command with COMMAND.COM allows the
  975.                       user to copy the COMMAND.COM file to a different
  976.                       location, i.e. a virtual disk, and tell X-DOS where
  977.                       to find it. Also, it is often used to set a different
  978.                       size for the environment. Since X-DOS lets the user
  979.                       set environment variables for some of its commands,
  980.                       and many application programs also use the
  981.                       environment, it may be necessary to use the SHELL
  982.                       command to extend the environment size.
  983.  
  984.                       The second major purpose of the SHELL command is to
  985.                       install a new command processor which takes over the
  986.                       job of COMMAND.COM. Note that you can theoretically
  987.                       replace the X-DOS command processor with a command
  988.                       processor supplied by another vendor, such as the 4-
  989.  
  990.  
  991.  
  992.  
  993.                                       5-16
  994.  
  995.  
  996.  
  997.  
  998.  
  999.                       DOS COMMAND.COM from JP Software. However, please
  1000.                       note that such products may not work with the second
  1001.                       command overlay and the SHELL. As such we advise you
  1002.                       to always use the X-DOS command processor.
  1003.  
  1004.           Examples    If you want to relocate the COMMAND.COM file to the
  1005.                       D:\DOS directory and make it permanent, and also want
  1006.                       to extend the size of the environment to 512 bytes,
  1007.                       you should include the following statement in your
  1008.                       CONFIG.SYS file:
  1009.  
  1010.                       SHELL=D:\DOS\COMMAND.COM /P /E:512
  1011.  
  1012.  
  1013.  
  1014.  
  1015.  
  1016.  
  1017.  
  1018.  
  1019.  
  1020.  
  1021.  
  1022.  
  1023.  
  1024.  
  1025.  
  1026.  
  1027.  
  1028.  
  1029.  
  1030.  
  1031.  
  1032.  
  1033.  
  1034.  
  1035.  
  1036.  
  1037.  
  1038.  
  1039.  
  1040.  
  1041.  
  1042.  
  1043.  
  1044.  
  1045.  
  1046.  
  1047.  
  1048.  
  1049.  
  1050.  
  1051.  
  1052.  
  1053.  
  1054.  
  1055.                                       5-17
  1056.  
  1057.  
  1058.  
  1059.  
  1060.  
  1061.      The TBOPCOD Switch
  1062.  
  1063.           Purpose     This switch will force X-DOS to trap any bad opcodes.
  1064.                       When enabled, if a bad opcode is encountered X-DOS
  1065.                       will terminate the task and exit cleanly without
  1066.                       hanging the machine.
  1067.  
  1068.           Type        Internal Configuration Command
  1069.  
  1070.           Syntax      TBOPCOD = [ON][OFF]
  1071.  
  1072.           Where       ON - enables the TBOPCOD switch
  1073.  
  1074.                       OFF - disables the TBOPCOD switch
  1075.  
  1076.           Remarks     By default TBOPCOD is set to OFF in order to maintain
  1077.                       compatibility with some DOS applications. Note that
  1078.                       this command can only be used with 286 machines and
  1079.                       above.
  1080.  
  1081.  
  1082.  
  1083.  
  1084.  
  1085.  
  1086.  
  1087.  
  1088.  
  1089.  
  1090.  
  1091.  
  1092.  
  1093.  
  1094.  
  1095.  
  1096.  
  1097.  
  1098.  
  1099.  
  1100.  
  1101.  
  1102.  
  1103.  
  1104.  
  1105.  
  1106.  
  1107.  
  1108.  
  1109.  
  1110.  
  1111.  
  1112.  
  1113.  
  1114.  
  1115.  
  1116.  
  1117.                                       5-18
  1118.  
  1119.  
  1120.  
  1121.  
  1122.  
  1123.      The VDISK.SYS Device Driver
  1124.  
  1125.           Purpose     This device driver lets you to set up temporary,
  1126.                       simulated disk drives in conventional memory,
  1127.                       extended memory, or expanded memory.
  1128.  
  1129.           Type        External Device Driver
  1130.  
  1131.           Syntax      DEVICE=[d:][path]VDISK.SYS [mem] [/E] [/A]
  1132.  
  1133.           Where       d:path - is the drive and path to the directory in
  1134.                       which the  VDISK.SYS device driver resides.
  1135.  
  1136.                       mem - is the amount of Kilobytes of memory that you
  1137.                       wish to allocate to the VDISK. The default is 64K.
  1138.  
  1139.                       /E - tells VDISK to use Extended Memory (XMS)
  1140.                       /A - tells VDISK to use Expanded Memory
  1141.  
  1142.           Remarks:    Virtual Disks are much faster than hard disks since
  1143.                       the data resides in RAM rather than on the disk.
  1144.  
  1145.                       X-DOS's VDISK can take advantage of XMS Memory or
  1146.                       Expanded Memory to store data.
  1147.  
  1148.                       Note that, unlike MS-DOS's RAMDRIVE.SYS, X-DOS's
  1149.                       VDISK only uses Extended Memory provided by the XMS
  1150.                       driver, thus avoiding conflict with other programs
  1151.                       that take over the extended memory resources.
  1152.  
  1153.           Examples:   Suppose that you wish to have a VDISK of 1 MB of
  1154.                       memory in Extended Memory, you would add the
  1155.                       following statement in your CONFIG.SYS file:
  1156.  
  1157.                       DEVICE=C:\DOS\VDISK.SYS 1024 /E
  1158.  
  1159.  
  1160.  
  1161.  
  1162.  
  1163.  
  1164.  
  1165.  
  1166.  
  1167.  
  1168.  
  1169.  
  1170.  
  1171.  
  1172.  
  1173.  
  1174.  
  1175.  
  1176.  
  1177.  
  1178.  
  1179.                                       5-19
  1180.  
  1181.  
  1182.  
  1183.  
  1184.  
  1185.      The VERSION Configuration Command
  1186.  
  1187.           Purpose     This configuration command sets the DOS version that
  1188.                       X-DOS should emulate. X-DOS emulates a DOS version of
  1189.                       3.3 as default.
  1190.  
  1191.           Type        Internal Configuration Command
  1192.  
  1193.           Syntax      VERSION=x.yy
  1194.  
  1195.           Where       x - is the major version number that X-DOS should
  1196.                       emulate.
  1197.                       yy - is the minor version number that X-DOS should
  1198.                       emulate.
  1199.  
  1200.           Remarks:    Certain application programs and device drivers may
  1201.                       look for, and expect, a certain version number of the
  1202.                       disk operating system in order for them to execute.
  1203.                       If they do not find an expected disk operating system
  1204.                       version number, they will normally terminate
  1205.                       execution and display an error message similar to
  1206.                       "Wrong version number". To prevent any kind of
  1207.                       version number problems, X-DOS provides the VERSION
  1208.                       command.
  1209.  
  1210.                       If for any reason, you decide to change the version
  1211.                       number at boot time do not forget to reset it to 3.3
  1212.                       before loading the command processor of X-DOS. X-DOS
  1213.                       has a data structure format similar to DOS 3.3 but
  1214.                       has capabilities included in DOS 4.x and 5.0. The
  1215.                       choice for 3.3 compatibility was made due to the
  1216.                       reliability of this version and its subsequent
  1217.                       popularity with many users.
  1218.  
  1219.           Examples:   If you want to change the emulated disk operating
  1220.                       system version number in your CONFIG.SYS file to the
  1221.                       version number 3.10, then include the following
  1222.                       statement in the beginning of your CONFIG.SYS file:
  1223.  
  1224.                       VERSION = 3.10
  1225.  
  1226.  
  1227.  
  1228.  
  1229.  
  1230.  
  1231.  
  1232.  
  1233.  
  1234.  
  1235.  
  1236.  
  1237.  
  1238.  
  1239.  
  1240.  
  1241.                                       5-20
  1242.  
  1243.  
  1244.  
  1245.  
  1246.  
  1247.      The VIDEO Configuration Command
  1248.  
  1249.           Purpose     This configuration command greatly increases the
  1250.                       speed of screen updating in text mode.
  1251.  
  1252.           Type        Internal Configuration Command
  1253.  
  1254.           Syntax      VIDEO=ON
  1255.  
  1256.           Where       ON - enables fast screen updating by allowing X-DOS
  1257.                       to bypass the video BIOS when reading and writing to
  1258.                       the screen.
  1259.  
  1260.           Remarks:    If you choose to set VIDEO=ON in your CONFIG.SYS
  1261.                       file, you should notice a remarkable increase in the
  1262.                       speed with which text based programs display
  1263.                       information on the screen. The only penalty this
  1264.                       increase in speed brings is a slight delay in cursor
  1265.                       positioning.
  1266.  
  1267.                       If you are using a very fast VGA display card you
  1268.                       will not need to use the VIDEO=ON option. However,
  1269.                       for CGA, EGA and 8-bit VGA display cards the
  1270.                       difference in speed is very noticeable.
  1271.  
  1272.  
  1273.  
  1274.  
  1275.  
  1276.  
  1277.  
  1278.  
  1279.  
  1280.  
  1281.  
  1282.  
  1283.  
  1284.  
  1285.  
  1286.  
  1287.  
  1288.  
  1289.  
  1290.  
  1291.  
  1292.  
  1293.  
  1294.  
  1295.  
  1296.  
  1297.  
  1298.  
  1299.  
  1300.  
  1301.  
  1302.  
  1303.                                       5-21
  1304.  
  1305.  
  1306.  
  1307.  
  1308.  
  1309.      The XMS Configuration Command
  1310.  
  1311.           Purpose     This configuration command activates X-DOS's internal
  1312.                       XMS driver.
  1313.  
  1314.                       X-DOS's XMS driver is compatible with the HIMEM.SYS
  1315.                       driver available with MS-DOS 5.0. It has the
  1316.                       particularity of being directly integrated in the DOS
  1317.                       kernel.
  1318.  
  1319.           Syntax      XMS=ON
  1320.  
  1321.           Where       ON - is the parameter for activating the X-DOS XMS
  1322.                       driver
  1323.  
  1324.           Remarks:    The XMS driver manages the Extended Memory the way
  1325.                       EMS drivers manage expanded memory. The XMS driver
  1326.                       allows real mode application programs to use extended
  1327.                       memory in a cooperative and hardware independent
  1328.                       manner. It also manages the A20 line that enables the
  1329.                       use of the High Memory Area.
  1330.  
  1331.                       If you relocate the X-DOS kernel in HMA, the XMS
  1332.                       driver will be activated automatically.
  1333.  
  1334.  
  1335.  
  1336.  
  1337.  
  1338.  
  1339.  
  1340.  
  1341.  
  1342.  
  1343.  
  1344.  
  1345.  
  1346.  
  1347.  
  1348.  
  1349.  
  1350.  
  1351.  
  1352.  
  1353.  
  1354.  
  1355.  
  1356.  
  1357.  
  1358.  
  1359.  
  1360.  
  1361.  
  1362.  
  1363.  
  1364.  
  1365.                                       5-22
  1366.  
  1367.