home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 36 Tips / 36-Tips.zip / DASET.FAX < prev    next >
Text File  |  1995-02-25  |  53KB  |  1,083 lines

  1. OSDASET - DOS SETTINGS & DESCRIPTIONS FOR AN OS/2 DESKTOP ICON
  2. 12/16/94
  3.  
  4. ================================================================
  5.        DOS SETTINGS FOR AN OS/2 DESKTOP ICON
  6. ================================================================
  7.  
  8.  
  9.                           STANDARD DOS SETTINGS
  10.                           ---------------------
  11.  
  12. This document describes the Standard DOS Settings in an OS/2
  13. Virtual DOS Machine (VDM).
  14.  
  15. Depending on hardware configuration, and software level, some
  16. of these settings may not exist.
  17.  
  18.   AUDIO_ADAPTER_SHARING
  19.     Function:  Allows access to audio hardware for the DOS
  20.                session. Two applications cannot use an audio
  21.                adapter even if one is not required to run the
  22.                program. This will allow you to minimize conflicts
  23.                by defining audio specifications for each DOS
  24.                session.
  25.  
  26.                Select Optional to indicate that a program in this
  27.                DOS sesion should use an audio adapter if one is
  28.                available.
  29.  
  30.                Select Required to indicate that a program in this
  31.                DOS session must have access to an audio adapter.
  32.  
  33.                Select None to indicate that a program in this DOS
  34.                session does not require an audio adapter.
  35.   Default:     None.
  36.   Settable:    At any time.
  37.  
  38.   COM_DIRECT_ACCESS
  39.     Function:  When set on, VCOM.SYS allows direct access to
  40.                the COM ports.
  41.     Advantages:Programs that need direct access like AS/400
  42.                Asynch Router, FastLynx, FSDUAT, and MS Word will
  43.                now work.
  44.     Drawbacks: Buffers in COM.SYS can not be used. Characters
  45.                may be lost and some applications may suffer from
  46.                the lack of buffering.
  47.     Default:   Off.
  48.     Settable:  At VDM creation only.
  49.  
  50.   COM_HOLD
  51.     Function:  When  set  on, provides exclusive access to COM
  52.                ports for the specified VDM, preventing other
  53.                processes from using the port and preventing the
  54.                operating system from releasing the port until
  55.                the VDM terminates.
  56.     Advantages:For certain applications that use COM ports and
  57.                require multiple programs to access the COM
  58.                port  (for example,  this  setting prevents the
  59.                COM port from being released when the first
  60.                program ends).
  61.  
  62.  
  63.     Drawbacks: If not required by the application running in a
  64.                VDM, this setting may prevent their applications
  65.                from accessing COM ports.
  66.     Default:   Off.
  67.     Settable:  At VDM creation only.
  68.     Examples:  Certain bulletin board applications use one
  69.                program to dial the BBS and another to exchange
  70.                information; setting COM_HOLD on  prevents the
  71.                operating system from releasing the COM port when
  72.                the first program ends.
  73.  
  74.   COM_RECEIVE_BUFFER_FLUSH
  75.     Function:  Allows control of the received data buffers
  76.                when the DOS session is switched to the
  77.                foreground, or when the DOS program enables
  78.                the received data interrupt.
  79.  
  80.                Select Receive Data Interrupt Enable to indicate
  81.                that, for this DOS session, the operating system
  82.                is to discard data in the received data buffer
  83.                when the DOS program enables the received data
  84.                interrupt.
  85.  
  86.                Select Switch to Foreground to indicate, for
  87.                this DOS session, the operating system is to
  88.                discard data in the received data buffer when the
  89.                DOS program is switched to the foreground.
  90.  
  91.                Select ALL to indicate that communications data be
  92.                discarded when a DOS program enables the received
  93.                data interrupt or the program is switched to the
  94.                foreground.
  95.  
  96.                Select NONE to indicate, for this DOS session,
  97.                the operating system is to keep data in the
  98.                received data buffer.
  99.     Default:   None.
  100.     Settable:  At VDM creation only.
  101.  
  102.  COM_SELECT
  103.     Function:  When set, allows a program to select and use one
  104.                communication port.
  105.     Advantages:You can limit your program to just the COM port
  106.                that it requires, some programs like Laplink pro
  107.                try to take over every available  COM port.
  108.                Communications that are not selected are hidden
  109.                from the program.
  110.     Drawbacks: Some programs need to have access to the COM
  111.                ports to work, even if they are not using them.
  112.     Default:   All (Full access to the COM ports.)
  113.     Settable:  At VDM creation only.
  114.  
  115.  
  116.  
  117.  DOS_AUTOEXEC
  118.     Function:  To specify a different batch file other than
  119.                the default AUTOEXEC.BAT.
  120.     Advantages:Different batch files could be specified for
  121.                different DOS programs.
  122.     Default:   AUTOEXEC.BAT in root directory.
  123.     Example:   A new batch file which contains some SET
  124.                statements relative to an individual program, can
  125.                be kept separately .
  126.     Settable:  At VDM creation only.
  127.  
  128.  DOS_BACKGROUND_EXECUTION
  129.     Function:  When set off, suspends execution of the program
  130.                when it is in the background.
  131.     Advantages:Many DOS applications are written on the
  132.                assumption that they are single tasking and
  133.                all the  resources of the work station
  134.                can be monopolized. It is not uncommon for a
  135.                program to continually poll for keyboard input
  136.                (Examples are WordPerfect 5.1 and Lotus 1-2-3
  137.                R2.2).  In a multitasking environment, this can
  138.                impact system performance, especially when more
  139.                than one such program is running.  Turning the
  140.                DOS application off when its virtual DOS
  141.                machine is in the background reduces its
  142.                demands on the system.
  143.                Also see IDLE_SENSITIVITY  and IDLE_SECONDS.
  144.     Drawbacks: Communications programs fail if background
  145.                execution is turned off, also DDE for Windows
  146.                applications.  Try changing the values of
  147.                IDLE_SECONDS and IDLE_SENSITIVITY before turning
  148.                DOS_BACKGROUND_EXECUTION off.
  149.     Default:   On (Background execution is enabled).
  150.     Settable:  At any time.
  151.     Examples:  If more than two DOS programs are running and
  152.                tuning with IDLE_SENSITIVITY and IDLE_SECONDS
  153.                does not provide sufficient improvement, turn
  154.                DOS_BACKGROUND_EXECUTION off for the least used
  155.                application.
  156.  
  157.  DOS_BREAK
  158.     Function:  Enables or disables Ctrl+Break for the
  159.                specified VDM.  Also check for the BREAK statement
  160.                in the CONFIG.SYS.  Set BREAK=ON in the CONFIG.SYS
  161.                to make Ctrl+Break and Ctrl+C working in addition
  162.                to setting DOS_BREAK on.
  163.     Advantages:Enables a DOS application running in the
  164.                VDM to be interrupted using the Ctrl+Break or
  165.                Ctrl+C key sequences.
  166.     Drawbacks: This setting is useful only if an application
  167.                must be quickly interrupted; you can end
  168.                a VDM by closing it from the Window List.
  169.     Default:   Off (Ctrl+Break is disabled).
  170.     Settable:  At VDM creation only.
  171.     Examples:  If you want interrupt a DOS batch file
  172.                running in a virtual DOS machine, this setting
  173.                should be turned on.
  174.  
  175.  DOS_DEVICE
  176.     Function:  Use this setting to add or modify information
  177.                about DOS device drivers for the specified VDM, in
  178.                addition to the information specified in
  179.                CONFIG.SYS.
  180.     Default:   When this setting is selected, a list is
  181.                appears with information about each DOS device
  182.                driver in the CONFIG.SYS.  The information
  183.                consists of the path and file name of each DOS
  184.                device driver and its current parameters, if
  185.                applicable.  For example:
  186.  
  187.                        C:\OS2\MDOS\ANSI.SYS
  188.  
  189.                You can:
  190.                -   Type the name of a DOS device driver to
  191.                    add it. Typing should begin on a new line.
  192.                -   Delete all the information about a device
  193.                    driver to remove it.
  194.                -   Type or delete to add, change, or delete a
  195.                    value.
  196.     Settable:  At VDM creation only.
  197.     Examples:  A program to support hardware, such as a scanner,
  198.                may include a device driver needed only for
  199.                itself. The device  driver should be loaded with
  200.                the DOS_DEVICE setting instead of in the
  201.                CONFIG.SYS.
  202.  
  203.  DOS_FCBS
  204.     Function:  Specifies the maximum  number of file control
  205.                blocks (FCBs) that can be opened by applications
  206.                running in the VDM.  Note that this setting
  207.                affects only those modules that use file-sharing.
  208.     Advantages:Reducing this setting may improve DOS application
  209.                performance in a resource-constrained
  210.                networking environment.  When the maximum number
  211.                of FCBs is opened by an application, the least
  212.                recently used FCB is closed to allow additional
  213.                files to be opened; see DOS_FCBS_KEEP below.
  214.     Drawbacks: Reducing this setting to an excessively low
  215.                number may inhibit the performance of applications
  216.                that use large numbers of files.  Check
  217.                application documentation for recommended FCB
  218.                settings.
  219.     Default:   16.
  220.     Settable:  At VDM creation only.
  221.     Examples:  None.
  222.  
  223.  
  224.  DOS_FCBS_KEEP
  225.     Function:  Specifies the number of file control blocks,
  226.                FCB, protected against automatic closure.
  227.     Advantages:If this setting is specified as "n," the first
  228.                "n" files are protected against automatic
  229.                closure as described in "DOS_FCBS".
  230.                This may improve application performance.
  231.     Default:   8.
  232.     Settable:  At VDM creation only.
  233.     Examples:  None.
  234.  
  235.  DOS_FILES
  236.     Function:  Specifies the maximum number of file handles
  237.                that can be opened in a VDM.
  238.     Advantages:Setting this value higher than the default
  239.                may improve performance for applications
  240.                that use a large number of files.  Check
  241.                application documentation for recommended
  242.                settings.
  243.     Drawbacks: Setting the number of file handles higher
  244.                than necessary reduces the available memory.
  245.     Default:   20.
  246.     Settable   At any time.
  247.     Examples:  DBASE IV requires a DOS_FILES setting of at least
  248.                40.
  249.  
  250.  DOS_HIGH
  251.     Function:  Determines whether DOS is loaded outside the
  252.                640KB low memory address space.
  253.     Advantages:Loading DOS into high memory allows more
  254.                available memory for application code and data
  255.                within the 640KB address space.
  256.     Drawbacks: Applications that require access to DOS
  257.                internal control  structures require DOS to be
  258.                loaded into low  memory, and so cannot use this
  259.                setting.
  260.     Default:   Off (DOS is loaded into low memory).
  261.     Settable:  At VDM creation only.
  262.     Examples:  None.
  263.  
  264.  DOS_LASTDRIVE
  265.     Function:  Specifies the highest available logical drive
  266.                letter for the specified VDM.   This setting is
  267.                similar to the  LASTDRIVE=  statement in a DOS
  268.                CONFIG.SYS.
  269.     Default:   Z.
  270.     Settable:  At VDM creation only.
  271.     Examples:  Each additional drive letter uses about 100
  272.                bytes. Setting the LAST_DRIVE to a lower letter
  273.                such as J or K provides more conventional memory
  274.                for an application.
  275.  
  276.  DOS_RMSIZE
  277.     Function:  Specifies the DOS memory size.  This is the
  278.                amount of memory available to DOS applications.
  279.     Advantages:The virtual video device driver uses this setting
  280.                on certain video adapters to set even more than
  281.                640KB.
  282.     Drawbacks: This setting is of little use to most users
  283.                as there is no point specifying less than 640KB.
  284.     Default:   The default is 640KB.
  285.     Settable:  At VDM creation only.
  286.     Examples:  None.
  287.  
  288.  DOS_SHELL
  289.     Function:  To specify the DOS command processor, or to add
  290.                parameters to affect the command processor.  This
  291.                points by default to COMMAND.COM.  If you have
  292.                a different command processor, it should be
  293.                specified here.
  294.     Advantages:You can specify a command processor other than the
  295.                default COMMAND.COM, if required by a specialized
  296.                application, or may alter the environment space
  297.                available for the VDM.
  298.     Default:   C:\OS2\MDOS\COMMAND.COM C:\OS2\MDOS /P
  299.     Settable:  At VDM creation only.
  300.  
  301.  DOS_STARTUP_DRIVE
  302.     Function:  Specifies the location of the DOS kernel to be
  303.                loaded into  the VDM.
  304.     Advantages:Allows specific versions of DOS to be loaded into
  305.                a VDM using the VMB facility, allowing the
  306.                execution of version-dependent DOS applications.
  307.     Drawbacks: Performance may not be as good as the VDM
  308.                kernel, that is optimized for the OS/2
  309.                environment.
  310.     Default:   The DOS Emulation kernel is loaded.
  311.     Settable:  At VDM creation only.
  312.     Examples:  See Chapter 12, "Virtual Machine Boot."
  313.  
  314.  DOS_UMB
  315.     Function:  Specifies whether DOS owns Upper Memory
  316.                Blocks (UMBs) and manages the loading of device
  317.                drivers and TSR programs.
  318.     Advantages:Setting DOS_UMB on allows use of the DEVICEHIGH=
  319.                and LOADHIGH statements, to load device drivers
  320.                and TSR programs into Upper Memory Blocks, thereby
  321.                preserving space in low memory for use by
  322.                applications.
  323.     Drawbacks: Certain applications that make use of UMBs need
  324.                to access and manage the UMBs directly; such
  325.                applications do not run when DOS_UMB is set on,
  326.                because DOS owns the UMBs.
  327.     Default:   Off (UMBs are owned by certain types of TSR
  328.                programs and DOS device drivers if necessary).
  329.     Settable:  At VDM creation only.
  330.     Examples:  None.
  331.  
  332. DOS_VERSION
  333.    Function:   Allows the operating system to report a "fake"
  334.                DOS version number in response to a request from
  335.                a program in the VDM, to support applications
  336.                that check for a  DOS  version number.
  337.    Advantages: Allows some programs that do not start unless
  338.                they detect a prerequisite DOS version to run in
  339.                DOS Emulation.
  340.    Default:    20
  341.    Settable:   Before application initiation.
  342.    Examples:   Lotus  1-2-3  R3+ runs in DOS Emulation if it
  343.                is "fooled"  into thinking that it is running
  344.                under DOS 3.3 by putting the following lines into
  345.                the DOS_Version list box:
  346.                -   123DOS.EXE,3,30,255
  347.                -   123.EXE,3,30,255
  348.                -   LOTUS.EXE,3,30,255
  349.  
  350.  DPMI_DOS_API
  351.     Function:  Determines if DOS API translation is enabled for
  352.                the specified VDM.
  353.     Default:   AUTO (API translation is enabled if required).
  354.     Settable:  At VDM creation only.
  355.     Examples:  None.
  356.  
  357.  DPMI_MEMORY_LIMIT
  358.     Function:  Specifies the maximum amount of protected
  359.                mode memory (in megabytes) available to DPMI
  360.                     applications running in the VDM.
  361.     Advantages:For applications that require large amounts of
  362.                DPMI memory, this setting may be used to increase
  363.                the amount of available memory up to 512MB.
  364.     Default:   2MB.
  365.     Settable:  At VDM creation only.
  366.     Examples:  None.
  367.  
  368.  DPMI_NETWORK_BUFF_SIZE
  369.     Function:  Specifies the size, in kilobytes (KB), of
  370.                the network translation buffer for DPMI programs
  371.                in this session. The range is from 1 to 64 KB.
  372.     Default:   8KB.
  373.     Settable:  At VDM creation only.
  374.     Examples:  This setting allows you to configure  the
  375.                size of the translation buffer for Windows
  376.                programs that transfer data over a network.
  377.                If a network-specific Windows program does
  378.                not run correctly under OS/2 V2.X increase
  379.                this setting, then restart the session.
  380.  
  381.  EMS_FRAME_LOCATION
  382.     Function:  This DOS setting allows you to change the
  383.                location of the LIM EMS  region.   LIM EMS uses a
  384.                64KB address region known as an EMS page frame,
  385.                through that programs can access expanded
  386.                memory. (This  allows programs to use more than
  387.                640KB of  memory.)
  388.     Advantages:If you have problems running a program that uses
  389.                both a hardware device and LIM EMS expanded
  390.                memory, the problem may be due to conflicting use
  391.                of addresses by LIM EMS and the hardware device.
  392.                If this occurs, first use the
  393.                EMS_HIGH_OS_MAP_REGION setting to set the extra
  394.                address region used by EMS to 0. This may solve
  395.                the problem.  If the problem persists, the
  396.                EMS_FRAME_LOCATION setting can be used to select
  397.                64KB region that does not conflict with hardware.
  398.                You can choose where to place the frame from a
  399.                list of choices or can choose to have no EMS frame
  400.                for programs that do not require a frame.  You can
  401.                also reduce the DOS Memory Size setting and place
  402.                the frame below 640KB.
  403.     Drawbacks: The best solution, when problems are due to
  404.                hardware conflicts, is to use the
  405.                MEM_EXCLUDE_REGIONS and MEM_INCLUDE_REGIONS
  406.                settings to specify the addresses that
  407.                the hardware uses rather than using this setting.
  408.     Default:   The default AUTO setting leads to correct
  409.                choices of LIM EMS addresses. You may never need
  410.                to change his setting.
  411.     Settable:  At VDM creation time only.
  412.     Examples:  In some cases the default choice may conflict
  413.                with addresses used by hardware on the
  414.                machine.  This can happen only for devices that
  415.                are not supported by a virtual device driver.
  416.  
  417.  EMS_HIGH_OS_MAP_REGION
  418.     Function:  In addition to the EMS page frame, some programs
  419.                can use additional addresses to access
  420.                expanded memory.  This setting gives advanced
  421.                users the capability to adjust the size of the
  422.                additional EMS region.
  423.                See also "EMS_FRAME_LOCATION".
  424.     Advantages:An advanced user can use the MEM_EXCLUDE_REGIONS
  425.                and MEM_INCLUDE_REGIONS settings to specify the
  426.                addresses used by devices that do not have virtual
  427.                device drivers, and can then set the size of the
  428.                EMS_HIGH_OS_MAP_REGION appropriately for their
  429.                program.  This helps avoiding conflicts with
  430.                addresses used by devices and programs.
  431.     Default:   The value set is the size of the region in
  432.                kilobytes. The default is 32KB.
  433.     Settable:  At VDM creation only.
  434.     Examples:  None.
  435.  
  436.  EMS_LOW_OS_MAP_REGION
  437.     Function:  Some programs can use remappable conventional
  438.                memory. Others do not use this feature.  This
  439.                setting allows advanced users to set the size
  440.                of the remappable conventional memory
  441.                available in a VDM.
  442.     Default:   The value set is the size of the region in
  443.                kilobytes.  The default is 384KB.
  444.     Settable:  At VDM creation only.
  445.     Examples:  None.
  446.  
  447.  EMS_MEMORY_LIMIT
  448.     Function:  This setting controls the amount of EMS memory
  449.                available to a VDM.
  450.     Advantages:You can set this to a higher value for
  451.                running programs that require a large amount of
  452.                EMS memory.  Other programs do not use EMS at
  453.                all.  The size can be set to 0 in such cases,
  454.                to disable EMS support for that VDM.  Programs
  455.                generally state if they use EMS on the box or
  456.                in their documentation.
  457.     Default:   The value set is the size of the region in
  458.                kilobytes. The default size is 2MB.
  459.     Settable:  At VDM creation time only.
  460.                Examples:  If a spreadsheet runs out of memory,
  461.                           the amount of EMS memory can be
  462.                           increased and the VDM restarted.
  463.  
  464.  HW_NOSOUND
  465.     Function:  Enables or disables sound started by a DOS
  466.                program.
  467.     Advantage: Any sound from a program is heard unless sounds
  468.                is disabled. An "x" in the check box indicates
  469.                that the sound should be heard.
  470.     Drawbacks: No error sound is heard if HW_NOSOUND is
  471.                turned on.
  472.     Default:   OFF.
  473.     Settable:  At any time, including while a program is running
  474.                in a VDM.
  475.                Examples: Output from a music program may
  476.                          be disabled when you want to
  477.                          hear another music program, or
  478.                          switch to another session.
  479.  
  480.  HW_ROM_TO_RAM
  481.     Function:  Enabling HW_ROM_TO_RAM causes the operating
  482.                system to copy read-only memory (ROM) and run
  483.                the copy in 32-bit random access memory
  484.                (RAM).    With this setting enabled, BIOS
  485.                operations run faster and system utilities may
  486.                patch BIOS.
  487.     Default:   OFF.
  488.     Settable:  At VDM creation only.
  489.                Examples: This setting is useful if debugging
  490.                          the kernel. The change allows
  491.                          normal breakpoints to be set in ROM and
  492.                          allow stepping over calls and loops.
  493.     Warning:   If an application writes to a memory address
  494.                used by the ROM while this setting is enabled,
  495.                it may cause unpredictable results for that
  496.                application and for every application run
  497.                thereafter in the VDM.
  498.  
  499.  HW_TIMER
  500.     Function:  When enabled, allows an application to have
  501.                direct access to the 8253 timer ports and
  502.                prevents the operating system from trapping,
  503.                or intercepting, the timer request and emulating a
  504.                timer.
  505.     Advantages:Certain timing-critical applications do not
  506.                run (or run much slower) if accesses to
  507.                timer ports are trapped and virtualized. In
  508.                addition, the values they read do not
  509.                accurately reflect the amount of time passed
  510.                because they do not take trapping overhead into
  511.                account. Enabling this setting allows certain
  512.                timing-dependent code to run more effectively.
  513.    Drawbacks:  Applications that change the divisor before this
  514.                setting is enabled and then read the timer
  515.                ports after the setting has been enabled may not
  516.                function properly. If the setting is enabled
  517.                first, the VDM does not detect changes to the
  518.                divisor correctly, and the simulated interrupt
  519.                frequency will be incorrect.  Also, multiple
  520.                applications  using this setting may interfere
  521.                with one another.
  522.    Default:    Off. Most applications operate normally with
  523.                timer virtualization.
  524.    Settable:   At any time.  It is useful to change this setting
  525.                dynamically and watch for changes in application
  526.                performance.
  527.                Examples: The ROMs on some machines implement
  528.                          very brief delays by polling the timer
  529.                          ports. These delays become unacceptably
  530.                          long unless direct timer port access is
  531.                          allowed.
  532.  
  533.  IDLE_SECONDS
  534.     Function:  When programs appear to be doing nothing but
  535.                waiting for input, the operating system gives
  536.                them less time to run. This is done to give
  537.                preference to programs that are doing useful work.
  538.                Some programs periodically appear to be waiting
  539.                for input, but then change their behavior and
  540.                continue after a time. This setting disables the
  541.                "IDLE_SENSITIVITY" function for a period of time
  542.                after useful work has been detected.
  543.                Also  see "IDLE_SENSITIVITY" below for more
  544.                details on idle detection.
  545.     Advantages:If a program appears to run slowly when there is
  546.                an option for the user to provide input,
  547.                this value should be increased.
  548.     Drawbacks: Setting the value too high gives the DOS program
  549.                more resources than it needs.
  550.     Default:   This value is in seconds. The default is no idle
  551.                time allowed.
  552.     Settable:  The setting can be changed while the program  is
  553.                running to tune it to the proper value.
  554.     Examples:  A game may pause, for instance, to wait for the
  555.                user to make a choice, but then continues if the
  556.                user does not react.
  557.                -   When DOS 5 is run in a virtual machine
  558.                boot session, the DOS shell may fail to
  559.                complete displaying the directory of the
  560.                C: drive if IDLE_SENSITIVITY is set too
  561.                low. IDLE_SECONDS should then be raised.
  562.  
  563.  IDLE_SENSITIVITY
  564.      Function: The idle sensitivity level sets a threshold for
  565.                judging when applications are considered
  566.                idle. The value is the percentage of the maximum
  567.                possible polling rate the application can perform.
  568.                If an application polls at a rate higher than
  569.                this value, it is considered "idle."
  570.                DOS programs often "poll" for input when they
  571.                are waiting for a  user response. For instance, a
  572.                program may wait for a response by repeatedly
  573.                checking to see if the user has hit a key.  In a
  574.                multitasking environment such as OS/2 Version 2.X,
  575.                this wastes time when other programs could
  576.                be running instead.   The operating system
  577.                detects idle programs by looking for a high
  578.                rate of polling for input. When programs are
  579.                judged to be waiting for input, they are given
  580.                less time to run.
  581.  
  582.                For example, if idle sensitivity is set to 75%,
  583.                then an application repeatedly checking to see if
  584.                input is  available would have to do this checking
  585.                at more than 75% of the maximum possible rate
  586.                before it would be judged idle. Idle detection is
  587.                a "best guess" of what the program is doing.  It
  588.                could be that the program is polling at a very
  589.                high rate, but is still doing useful work in
  590.                between checking.  It may be that the application
  591.                checks at a fairly slow rate but still is doing
  592.                nothing but waiting. The idle sensitivity
  593.                threshold allows adjustment of the threshold for a
  594.                particular application.  Also see "IDLE_SECONDS"
  595.                in topic.
  596.    Advantages: If an application receives input while running
  597.                and seems to run slower than expected, the idle
  598.                sensitivity should be set  to a higher value.
  599.                This lets the application poll at a higher rate
  600.                without being judged idle.  Setting the level to
  601.                100 turns idle detection off altogether. The
  602.                application will be allowed to poll for input as
  603.                often as it likes. If an application is waiting
  604.                for input and other applications do not appear
  605.                to be running, the idle sensitivity should be
  606.                adjusted downward. This lowers the threshold for
  607.                judging the application idle.
  608.    Default:    The default is 75%.
  609.    Settable:   The setting can be changed while the program is
  610.                running to tune it to the proper value.
  611.    Examples:   Overall system performance can usually be
  612.                improved when there are  multiple DOS
  613.                applications running if IDLE_SENSITIVITY is
  614.                turned down.
  615.                Also see "DOS_BACKGROUND_EXECUTION"
  616.  
  617. *INT_DURING_IO
  618.     Function:  When set on, this creates a second thread for the
  619.                application to use for interrupt handling when
  620.                the primary thread is busy with I/O operations.
  621.     Advantage: Very useful in multimedia applications, MSCDEX
  622.                applications, and many  games.
  623.     Disadvantages: This does create extra overhead on the system
  624.                    for processing and memory requirements and can
  625.                    cause degradation of performance for other
  626.                    applications.
  627.     Default:   Off.
  628.     Settable:  At VDM creation only.
  629.     Example:   Unless your application is interrupt sensitive,
  630.                leave this setting OFF.
  631.  
  632.  KBD_ALTHOME_BYPASS
  633.     Function:  When enabled, prevents the Alt+Home key
  634.                sequence from switching the VDM between full
  635.                screen and windowed mode.
  636.     Advantages:Enabling this setting allows normal behavior for
  637.                applications which themselves make use of the
  638.                Alt+Home key sequence.
  639.     Drawbacks: When enabled, you must use the Ctrl+Esc
  640.                sequence to switch to Presentation Manager from a
  641.                full screen VDM, then use the context menu of
  642.                the class to switch the VDM to windowed mode.
  643.     Default:   Off  (Alt+Home  causes a switch between
  644.                full screen and windowed mode).
  645.     Settable:  At any time.
  646.  
  647.  KBD_BUFFER_EXTEND
  648.     Function:  Increases a VDM's keyboard type-ahead buffer size.
  649.     Advantages:Provides greater keystroke buffering,
  650.                consistent with the level available in VIO
  651.                windows. Note that Ctrl+Break flushes the
  652.                entire buffer, just as it does with the standard
  653.                buffer.
  654.     Drawbacks: Applications that bypass the ROM BIOS  input
  655.                buffer and/or INT 16h may not benefit from
  656.                this feature.  There is also a small amount of
  657.                additional memory overhead for every VDM.
  658.     Default:   On. Most applications benefit, and those
  659.                that do not should not be adversely affected.
  660.     Settable:  At any time.  This facilitates easy
  661.                experimentation in the rare event
  662.                that a problem does arise.
  663.  
  664.  
  665.  KBD_CTRL_BYPASS
  666.     Function:  When enabled, inhibits one or more control
  667.                key sequences, allowing an application in the VDM
  668.                to use these sequences for its own purposes.
  669.     Advantages:Enabling this setting allows normal behavior for
  670.                applications  which make use of control key
  671.                sequences normally used by OS/2
  672.     Drawbacks: Enabling this setting may prevent certain
  673.                operations from being  performed with  OS/2
  674.                Version  2.X  and the Workplace Shell.
  675.     Default:   NONE (All control key sequences behave in the
  676.                normal manner).
  677.     Settable:  At any time.
  678.  
  679.  KBD_RATE_LOCK
  680.     Function:  Prevents a DOS application in a VDM from changing
  681.                the system keyboard repeat rate.
  682.     Advantages:Insulates machine from applications that modify
  683.                the repeat rate in an uncontrolled or undesirable
  684.                way.
  685.     Drawbacks: Prevents the application's repeat rate from
  686.                taking effect even when the application is the
  687.                focus session.
  688.     Default:   Off.  Most applications do not modify the repeat
  689.                rate.
  690.     Settable:  At any time.
  691.  
  692.  MEM_EXCLUDE_REGIONS
  693.     Function:  Specifies address ranges that should be
  694.                protected from use by  EMS/XMS and direct access
  695.                by applications.  This setting is for
  696.                experienced users that understand the hardware.
  697.     Advantages:This setting restricts the use of EMS/XMS on
  698.                certain ranges in the region between RMSIZE and
  699.                1MB.  It also protects these ranges from being
  700.                touched by user applications by  portraying
  701.                ROM there.
  702.     Drawbacks: Some hardware adapters  stop functioning if
  703.                their addresses are touched in random fashion.
  704.                If these ranges are defined excessively, they
  705.                adversely impact the function and performance of
  706.                EMS and XMS services.
  707.     Default:   By default, this setting is void.  Each address
  708.                is specified in  hex  and if there is no range
  709.                specified, the length taken is a page (4KB).
  710.     Settable:  At VDM creation only.
  711.  
  712.  MEM_INCLUDE_REGIONS
  713.     Function:  Specify regions that should be made available
  714.                to EMS/XMS. This setting specifies address ranges
  715.                between RMSIZE and 1MB for use by EMS and XMS.
  716.     Advantages:If there is a hardware adapter in this range
  717.                that the user knows is not going to be used by a
  718.                particular VDM session, then the  address
  719.                range used by this adapter should be made
  720.                available to EMS and XMS.  This improves the
  721.                performance of  EMS  and XMS services.  Only
  722.                advanced users who know the addresses used by a
  723.                card should use this setting.
  724.     Default:   By default, this setting is void.
  725.     Settable:  At VDM creation only.
  726.  
  727.  MOUSE_EXCLUSIVE_ACCESS
  728.     Function:  Allows VDMs to run applications that maintain
  729.                their own mouse pointers.  Some DOS applications
  730.                manage their own mouse positions and movements; in
  731.                many cases, the application's values for mouse
  732.                sensitivity and/or double speed threshold are
  733.                different from those of Presentation Manager.  As
  734.                a result, a Presentation Manager mouse pointer may
  735.                be outside the VDM window while the application
  736.                pointer is somewhere in the window not receiving
  737.                any mouse events.  This means having two
  738.                asynchronous mouse pointers on the screen.
  739.     Advantages:You force the physical mouse driver to
  740.                send its events directly to the virtual mouse
  741.                driver without going through Presentation Manager.
  742.                Only one mouse pointer appears when the particular
  743.                VDM window has the focus.
  744.     Default:   OFF.
  745.     Settable:  At any time. However, this only marks the VDM
  746.                window and does not actually activate the setting.
  747.                To activate it, press a mouse button in the VDM
  748.                window.  The Presentation Manager pointer
  749.                disappears, leaving only the application pointer.
  750.                To regain the Presentation Manager pointer, press
  751.                any of the hot-keys (Alt, Ctrl +Esc,Shift+Esc).
  752.     Examples:  WordPerfect 5.1 has its own block-shaped mouse
  753.                pointer, that appears together with the
  754.                system mouse pointer when the window has the
  755.                focus.  Turning MOUSE_EXCLUSIVE_ACCESS  on
  756.                allows the user to remove the system mouse
  757.                pointer when in WordPerfect.
  758.  
  759. PRINT_TIMEOUT
  760.     Function:  Use this setting to adjust the amount of time, in
  761.                seconds, that the OS/2 V2.X print subsystem waits
  762.                before forcing a print job to the printer. In DOS,
  763.                information sent by a program for printing goes
  764.                directly to a printer.  However, the OS/2 V2.X
  765.                print subsystem assembles print information in a
  766.                spool file. After a specified period of time,
  767.                during which the spool file does not grow larger,
  768.                OS/2 V2.X print subsystem sends the information to
  769.                the printer as a single print job.
  770.     Advantage: There is no need to exit the DOS program before
  771.                the print job is released by the OS/2 V2.X print
  772.                subsystem. This is useful for applications
  773.                that do not explicitly close their print jobs.
  774.     Default:   15 seconds, configurable from 0 to 3600 seconds
  775.                (0 seconds is no timeout).
  776.     Settable:  At any time.
  777.     Examples:  A timeout of 1 or 2 seconds is fine for small
  778.                print jobs, like copying the contents of the
  779.                screen. However, when printing large files,
  780.                formatting documents, or running calculations,
  781.                the value must be set high enough to allow all
  782.                print results to reach the spooler before the
  783.                time limit expires. If not, results go in two
  784.                or more spool files instead of one, and the
  785.                resulting output may be unsatisfactory.
  786.  
  787.  VIDEO_FASTPASTE
  788.     Function:  Speeds up input from other sources than the
  789.                keyboard.
  790.     Advantages:Improves the speed of paste operations
  791.                from the clipboard to a DOS application.
  792.     Drawbacks: Does not work with all applications (in
  793.                particular, some applications that monitor
  794.                keyboard interrupts directly may experience
  795.                errors).
  796.     Default:   Off.
  797.     Settable:  At any time.  This facilitates easy
  798.                experimentation.
  799.     Examples:  Pasting into the DOS command prompt, or any
  800.                application using DOS Console I/O functions,
  801.                generally works.  However, the Microsoft  Editor
  802.                (M) and its successor,  Programmer's Workbench
  803.                (PWB), can fail when using fast pasting
  804.                because they rebuffer keystrokes in an
  805.                internal buffer, that can overflow.
  806.  
  807.  VIDEO_MODE_RESTRICTION
  808.     Function:  Extends  the  640KB  DOS address space by limiting
  809.                video mode support.
  810.     Advantages:For text-based or CGA graphics based applications,
  811.                the video memory normally reserved just above
  812.                640KB for high-resolution graphics modes can be
  813.                remapped to conventional memory, providing an
  814.                additional 64KB (or 96KB, depending on  graphics
  815.                mode) for DOS applications, TSRs, and other
  816.                programs.  This is valuable for applications that
  817.                do not take advantage of EMS or XMS memory
  818.                extenders.
  819.     Drawbacks: It is not possible to completely hide the fact
  820.                that the video adapter is high-resolution
  821.                graphics-capable; some applications may attempt to
  822.                enable those modes and use the memory above 640KB
  823.                as video memory, inadvertently corrupting
  824.                application data.  Care must be taken when using
  825.                this feature.
  826.     Default:   NONE.  The complete list of settings is:
  827.                -   None
  828.                -   CGA modes only (adds 96KB)
  829.                -   MONO modes only (adds 64KB).
  830.     Settable:    At VDM creation only.
  831.  
  832. VIDEO_ONDEMAND_MEMORY
  833.     Function:  Reduces swap space requirements for fullscreen
  834.                VDMs.
  835.     Advantages:Allows a full-screen VDM to run without
  836.                pre-allocating a virtual video buffer for the
  837.                worst-case video modes high-resolution graphics
  838.                modes).  Using this setting does not prevent
  839.                execution of graphics applications; it simply
  840.                means that allocation of the buffer is delayed
  841.                until it is needed.  This can save a substantial
  842.                amount of memory/swap space, which might be
  843.                important under certain low-memory  conditions.
  844.                It also enables you to start a program quickly.
  845.     Drawbacks: If allocation of a virtual video buffer for a
  846.                full-screen VDM fails at the time the application
  847.                changes video modes, the session must be frozen
  848.                and switched back to the shell.  Unless you are
  849.                able to free memory from another session, you may
  850.                be unable to get the DOS application running
  851.                again.  This is a concern if the application
  852.                contains unsaved data.
  853.     Default:   Off.
  854.     Settable:  At any time.  This lets you save memory
  855.                the next time the session is switched  to
  856.                full-screen.
  857.  
  858. VIDEO_RETRACE_EMULATION
  859.     Function:  Simulates the video retrace status port to
  860.                provide faster access.
  861.     Advantages:DOS applications that poll the video retrace
  862.                status port often write to the screen only during
  863.                the retrace interval, even though it is safe (on
  864.                EGA and VGA adapters) to  draw  at any time
  865.                without causing interference (also known as
  866.                "snow"). This feature causes most applications
  867.                to write to the screen more often, and compensates
  868.                for the performance drag imposed by monitoring the
  869.                port in the first place.
  870.    Drawbacks:  Some applications may poll the port in such a way
  871.                that overall performance is worse; this is
  872.                sometimes true of applications  that draw only
  873.                during vertical (not horizontal) retrace.
  874.                Unfortunately, while turning off trace emulation
  875.                to restore performance, there is a risk that
  876.                screen-switching will not be as reliable.
  877.    Default:    On. Reliable screen-switching has higher priority
  878.                over the minority of applications that
  879.                experience some drag in  performance.
  880.    Settable:   At any time.  This lets you experiment
  881.                with different settings in the event of a
  882.                performance problem.
  883.  
  884. VIDEO_ROM_EMULATION
  885.    Function:   Emulates selected INT 10h ROM Video functions.
  886.    Advantages: Provides faster output for selected video
  887.                functions than ROM services typically provide.
  888.                This also has a dramatic  effect on the
  889.                performance of those functions in a window.
  890.    Drawbacks:  Some ROMs may offer enhanced services that are
  891.                not included in the emulation.  Applications
  892.                which rely upon these services may not run
  893.                correctly.
  894.    Default:    On. Because the INT 10h ROM Video services are
  895.                well-documented, incompatibilities are unlikely
  896.                and the performance benefits of using the
  897.                emulation are quite significant.
  898.    Settable:   At any time.  This lets you experiment
  899.                in the event of a compatibility problem.
  900.  
  901.  VIDEO_SWITCH_NOTIFICATION
  902.    Function:   Notifies  a  DOS  application of a switch to/from
  903.                full-screen mode.
  904.    Advantages: Allows applications that monitor this notification
  905.                to redraw their screens as needed. This may be
  906.                necessary for some video adapters that provide
  907.                modes (and applications that use those  modes)
  908.                that are not fully supported by the OS/2 video
  909.                driver or are slightly incompatible. It is
  910.                also valuable in situations where an OS/2 video
  911.                driver has not allocated a virtual video buffer
  912.                (see "VIDEO_8514_XGA_IOTRAP").Use this setting  if
  913.                you use the VIDEO_ONDEMAND_MEMORY  DOS setting,
  914.                because concurrent buffer allocation and screen
  915.                switching can make a screen go black.
  916.    Drawbacks:  When used indiscriminately,  this feature can
  917.                cause unnecessary  and time-consuming  screen
  918.                redrawing.  For standard MONO/CGA/EGA/VGA video
  919.                modes, the OS/2 video driver should be able to
  920.                restore application screens without assistance.
  921.    Default:    Off.  For standard hardware and standard video
  922.                modes, this feature is not necessary.
  923.    Settable:   At any time.  This lets you experiment
  924.                in the event of a compatibility problem.
  925.    Examples:   Windows  2.x  and  3.x  understand this
  926.                notification and redraw themselves
  927.                accordingly. For WIN-OS/2 sessions, set this
  928.                setting on.
  929.  
  930.  VIDEO_WINDOW_REFRESH
  931.    Function:   Adjusts the window update frequency for a given
  932.                VDM.
  933.    Advantages: For applications (particularly graphics) that
  934.                write frequently to video memory, this value can
  935.                be increased to reduce time  spent  updating  the
  936.                window  and  provide more processor time for the
  937.                application.
  938.                Note:  This has no effect on updates based on
  939.                       other events such as keyboard input
  940.                       or synchronous scrolling operations or
  941.                       any video events other than refresh.
  942.    Drawbacks:  A large refresh period can make an application
  943.                unusable  (or at least, very hard to use).
  944.    Default:    0.1 seconds. This has been found to yield the
  945.                best overall performance.
  946.    Settable:   At any time, in increments of 0.1 seconds. This
  947.                allows for experimentation.  The range is from
  948.                0.1 to 60.0 seconds.
  949.    Examples:   This setting affects normal TTY-style output.
  950.                Compare a DIR or TYPE operation before and after
  951.                altering this setting.
  952.  
  953. VIDEO_8514_XGA_IOTRAP
  954.    Function:   When set OFF, unrestricted access to 8514/A
  955.                display adapter hardware.  Note that this
  956.                setting is only available for systems with 8514/A
  957.                display adapters installed.
  958.    Advantages: Achieves higher performance for 8514/A
  959.                applications and eliminates the overhead of the
  960.                1MB 8514/A virtual video buffer normally allocated
  961.                for each VDM when set OFF.
  962.    Drawbacks:  Screen-switching away from the application
  963.                results in immediate freezing of the
  964.                application, and the system may not be able to
  965.                reliably switch back; that is, the screen image
  966.                may not be correct.  This may be overcome by
  967.                setting VIDEO_SWITCH_NOTIFICATION on, which
  968.                notifies applications to redraw their own screen
  969.                images. Note, that not all applications
  970.                take advantage of the notification.
  971.                Note:  An application with this setting enabled
  972.                       may not be run in windowed mode, or
  973.                       copied to the clipboard, because there is
  974.                       not complete information about its state.
  975.    Default:    Off.
  976.    Settable:   At VDM creation only.
  977.    Examples:   When running Windows 3.0 with the 8514/A
  978.                display driver, certain operations such as
  979.                painting dithered backgrounds run significantly
  980.                faster.
  981.  
  982. WIN_CLIBOARD
  983.    Function:   When set on, the sessions to share clipboard
  984.                information among OS/2, DOS (window),
  985.                and Windows programs. While this setting is on
  986.                the clipboard is public. Windows programs can
  987.                share data with other DOS, Windows, and OS/2
  988.                programs, as long as you select public clipboard
  989.                on the Data exchange page from WIN-OS/2 setup
  990.                object, in the sytem folder. Otherwise, you can
  991.                share information only with other Windows programs
  992.                in that session. When that setting is set to off,
  993.                the clipboard is private and Windows programs
  994.                cannot share clipboard information with other DOS,
  995.                Windows, and OS/2 programs.
  996.    Default:    On (Public).
  997.    Settable:   At any time.
  998.  
  999. WIN_DDE
  1000.    Function:   When set on, this enables sharing of data
  1001.                among other OS/2 and Windows programs.  While
  1002.                enabled the dynamic data exchange (DDE) is public.
  1003.                Windows programs that support DDE automaticly
  1004.                update identical data in other Windows and OS/2
  1005.                programs.
  1006.  
  1007.                If you select public DDE on the Data Exchange
  1008.                page from the WIN-OS2 Setup object, in the system
  1009.                setup folder. Otherwise, you can share information
  1010.                only with other Windows programs. When this
  1011.                setting is set to off, DDE private and Windows
  1012.                programs cannot share DDE information with other
  1013.                windows and OS/2 programs.
  1014.  
  1015.                Note: If you are running multiple Windows programs
  1016.                      in a single WIN-OS/2 session and the program
  1017.                      supports the DDE feature, it is possible to
  1018.                      share DDE information between these programs
  1019.                      even when this setting is off (Private).
  1020.    Default:    On (Public).
  1021.    Settable:   At any time.
  1022.  
  1023. WIN_RUN_MODE
  1024.    Function:   This setting is only listed in the WIN-OS/2
  1025.                setting window and does not apply to DOS window or
  1026.                DOS full-screen sessions.
  1027.  
  1028.                OS/2 can use two modes to run Windows programs:
  1029.                     -  3.1 Standard
  1030.                     -  3.1 Enhanced
  1031.    Default:     3.1 Standard.
  1032.  
  1033. XMS_HANDLES
  1034.    Function:   Specifies the number of XMS extended memory block
  1035.                (EMB) handles.  A handle is used with each XMS
  1036.                EMB.  This number is required because XMS
  1037.                pre-allocates all the handle space to be
  1038.                compatible with XMS specifications.  This setting
  1039.                should be used only if an application uses a large
  1040.                number of handles.
  1041.    Advantages: This  setting  restricts the number of block
  1042.                handles, thereby reducing memory consumption.
  1043.    Drawbacks:  Specifying a large number of handles increases
  1044.                memory consumption and adversely impacts system
  1045.                performance.
  1046.    Default:    The default value of this setting is 32.
  1047.    Settable:   At VDM creation only.
  1048.  
  1049. XMS_MEMORY_LIMIT
  1050.    Function:   Specifies the per VDM XMS memory limit.  This
  1051.                setting should be used under the  same guidelines
  1052.                as described above in "XMS_HANDLES". The global
  1053.                limit is the overall maximum XMS memory
  1054.                consumption, and the per-VDM limit is the maximum
  1055.                allowed for each VDM. See also "Initialization"
  1056.                for defining global and per-VDM limit in the
  1057.                CONFIG.SYS.
  1058.    Drawbacks:  Specifying a large number may adversely
  1059.                affect system performance.
  1060.    Default:    The default value is 2MB per-VDM.
  1061.    Settable:   At VDM creation only.
  1062.  
  1063. XMS_MINIMUM_HMA
  1064.    Function:   Specifies the minimum HMA memory request allowed.
  1065.                This setting lets you fine tune the XMS.
  1066.                HMA is slightly less than 64KB in size. Only one
  1067.                request can be fulfilled from this area at a time.
  1068.    Advantages: If a TSR takes a very small allocation, then it
  1069.                wastes this area for other applications.
  1070.                In such cases, a limit can be specified.
  1071.    Default:    The default value is zero, which means all the
  1072.                requests are allowed.
  1073.    Settable:   At VDM creation only.
  1074.    Examples:   2048; this sets a limit of 2KB.
  1075.  
  1076.  
  1077. ----------------------------------------------------------------
  1078. IBM disclaims all warranties, whether express or implied,
  1079. including without limitation, warranties of fitness and
  1080. merchantability with respect to the information in this document.
  1081. By furnishing this document, IBM grants no licenses to any
  1082. related patents or copyrights.
  1083.