home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Professional / OS2PRO194.ISO / os2 / info / faq / os2_20 / os2help / dosset.fax < prev    next >
Encoding:
Text File  |  1992-09-17  |  47.8 KB  |  860 lines

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