DOS and WIN-OS/2 Settings

Every object (including program objects) has settings. A user can adjust DOS and WIN-OS/2 settings to improve performance. Settings are properties or characteristics that tell the operating system how the object is different from other objects. Each object has a notebook or pop-up menu choice that allows a user to customize its settings.

For example, a user can customize the settings for a program object to tell the operating system how the application should start each time the program object is opened. Or a user might open the Mouse object to customize the mouse for left hand use.

DOS settings provide the ability to selectively configure and customize a DOS session to meet the requirements of a particular application. Some DOS applications require certain features; others operate better without them. Thus, an individual DOS session can be set up to provide the optimum environment for the application that will run within it.

DOS settings can be changed in either of two ways:

The OS/2 2.0 Master Help Index has detailed information about settings.

The following is a list of some settings that control the functioning of screen I/O operations within a DOS session:

VIDEO_WINDOW_REFRESH
Adjusts the time that elapses before a window is redrawn. The values range from 0.1 second to 60.0 seconds (1 minute).

DOS_BACKGROUND_EXECUTION
Allows DOS applications to run in the background.

VIDEO_8514A_XGA_IOTRAP
This setting is used to directly access the Model 8514/A or XGA video.

VIDEO_SWITCH_NOTIFICATION
Notifies a DOS application about a switch between background and foreground.

The following is a list of some settings that affect the behavior of the OS/2 2.0 DOS emulation environment within a DOS session:

COM_HOLD
Gives exclusive use of a particular communications port for a DOS session (for example, COM1). ON prevents other sessions from using the same COM port until the DOS session ends.

HW_TIMER
The timer hardware access setting is used to give an application direct access to Model 8253 timer ports. Set this to ON to prevent the operating system from trapping, or intercepting, the timer request and emulating a timer. Also set it to ON for timing-critical applications.

The default is OFF, which disables direct access to timer ports.

The following is a list of some settings that affect the hardware environment provided by a DOS session:

DOS_BREAK
The break setting is used when a user wants the OS/2 operating system to check for the Ctrl+Break or Ctrl+C key combinations while an application is running.

HW_ROM_TO_RAM
Copies the Basic Input/Output System (BIOS) from ROM to RAM.

KBD_ALTHOME_BYPASS
The Alt+Home bypass setting reserves a key combination for the DOS session. Normally, pressing Alt+Home switches between a window session and a full-screen session.

KBD_CTRL_BYPASS
The Control key bypass setting enables a user to use either Alt+Esc or Ctrl+Esc in a DOS session. Normally, Alt+Esc switches between sessions; Ctrl+Esc displays the Window List.

IDLE_SECONDS
Specifies the length of time the operating system waits before applying idle detection in a DOS session. The field for this setting shows the amount of idle time allowed in seconds. Values range from 0 to 60.

IDLE_SENSITIVITY
Specifies a threshold for judging when an application is only waiting for input. The value in this field is a percentage of the maximum frequency with which an application repeatedly checks, or polls for input.

VIDEO_FASTPASTE
The fast paste setting is used to increase the speed of character Cut and Paste transfers between the clipboard and a DOS session.

VIDEO_RETRACE_EMULATION
Controls the frequency of video retrace. When this setting is OFF, retrace occurs only at the interval specific to the video mode of the running DOS application.

VIDEO_ROM_EMULATION
Controls the emulation of WriteChar, WriteTTY, and full-screen scroll video functions.

PRINT_TIMEOUT
Specifies the number of seconds that elapse before information is sent from a DOS application to a print spool file. The values range from 0 to 3600 seconds.

The following is a list of some settings that affect the behavior of the EMS and XMS memory extenders when used in a DOS session:

EMS_MEMORY_LIMIT
Defines the amount of EMS available to the DOS session. This setting is expressed in KB units, ranging from 0 to 32768.

XMS_MEMORY_LIMIT
Specifies the amount of memory that a DOS session can allocate to XMS. This setting is expressed in KB units, ranging from 0 to 16384.

DPMI_MEMORY_LIMIT
Defines the amount of DPMI available to a DOS session. This setting enables a user to specify the amount of DPMI memory needed for DOS applications on a per session basis. The field for this setting contains values expressed in 1MB intervals ranging from 0 to 512.

DPMI_NETWORK_BUFF_SIZE
Controls the size in KB, of the network translation buffer for DPMI applications in a session. The range is from 1 to 64KB.

MEM_INCLUDE_REGIONS
Fills any areas between memory addresses of 640KB and 1MB that are designated for EMS, XMS, or a copy of a ROM application.