Setting DADiSP's Miscellaneous Configuration

 

The following dadisp.cnf keywords are used to set various DADiSP parameters.

 

DISPLAY_PRECISION

 

Set the number of significant digits to display after the decimal place. This affects only the display of a value; it does not affect the internal precision used for calculations. Setting the Display Precision affects all numerical displays in each Window of a Worksheet, including Window annotation. To observe the change in precision, the Window must be redrawn (use PON or REDRAWALL).

 

BEEP

 

Turn automatic error beep ON (1) or OFF (0).

 

TOOLBAR_ENABLED

 

Set to 0 to disable or 1 to enable the DADiSP Toolbar. A redraw is required for the Toolbar to appear or disappear. Use REDRAWALL(1).

 

DSPPATHNAME

 

Set to the name of the search path environment variable.

 

DSPPATH

 

Set to the path where DADiSP is installed. PC users: remember to use the escape sequence for all backslashes in your path, i.e. if the directory where DADiSP is installed is C:Program FilesDADiSP, set DSPPATH to C:\Program Files\DADiSP.

 

STATUS_PROCESSING

 

The bottom line of the DADiSP screen is the "Status Line". The status line is where messages like "Evaluating Window 2..." , "Calculating Math Function ...", and scalar results of calculations like "Max(w3)" are displayed. Set to 0 to turn off the status line, 1 to leave the status line on.

 

MORE_PROCESSING

 

The bottom line of the DADiSP screen is the "Status Line". The status line is where messages like "Evaluating Window 2..." , "Calculating Math Function ...", and scalar results of calculations like "Max(w3)" are displayed. If your application Window is small, the entire message may not fit in the space provided, and you are prompted by a "more" statement. This statement requires a carriage return to see the rest of the message. By turning off the "More" Messages (set to 0), you will not be prompted for the continuation of messages output on the "Status Line"; operation will be as if the entire message fit in the space provided.

 

INPUT_PROCESSING

 

The command line at the top of the DADiSP screen is where keyboard inputs are displayed when you type in commands or Window formulas. By turning off the command line input (set to 0), you disable the display of commands and input on the command line. This is useful when running a command file, since the standard input is the ASCII script file. The commands in the command file will be displayed just as if they were being typed in from the keyboard. This takes time and can be distracting. Turning off the command line input display will speed the command file execution.

 

If you [Ctrl]-[Break] out of the command file while INPUT_PROCESSING is set to 0 and return to the Worksheet, you must re-enable display of the command line (by setting INPUT_PROCESSING to 1) before you can see it.

 

COMFILE_INPUT_PROCESSING

 

The command line at the top of the DADiSP screen is where keyboard inputs are displayed when you type in commands or Window formulas. By turning off the command line input (set to 0), you disable the display of commands and input on the command line. This is useful when running a command file, since the standard input is the ASCII script file. The commands in the command file will be displayed just as if they were being typed in from the keyboard. This takes time and can be distracting. Turning off the command line input display will speed the command file execution.

 

Unlike INPUT_PROCESSING, setting COMFILE_INPUT_PROCESSING to 0 does not affect the input processing or command line display if you [Ctrl]-[Break] out of the command file and return to the Worksheet.

 

YN_PROCESSING

 

Certain functions and operations in DADiSP prompt you with a "Yes/No" question, for example: "File Exists, Overwrite Y/N?". This requires input. You can set the response to these; set to 1 to answer "Yes" all the time, set to 0 to answer "No" all the time, or set to -1 to continue to prompt the user with the "Yes/No" questions.

 

DEFAULT_MATH_VALUE

 

Set this to the desired math exception return value. The math exception return value is what is returned, for example, when there is a divide-by-zero error.

 

NUM_CHECKFILES

 

Set to the maximum number of files in a Labbook to check when searching for orphan files.

 

MATRIX_TOLERANCE

 

Set to the tolerance for matrix calculations. Values smaller than this number are set to 0.

 

READT_BUFSIZE

 

Set to the number of characters per line to be read by the READTABLE function.

 

RUN_BAT_FILE (Windows only)

 

Set to the filename of a temporary batch (*.BAT) file for the RUN command.

 

STATE_BASED

 

Set this to 0 to return to the 3.01X style of Labbook, Worksheet, and Utilities organization/hierarchy. Set to 1 for the flattened hierarchy, where each session begins immediately in a Worksheet.

 

FOCUS_FOLLOWS_MOUSE

 

The FOCUS_FOLLOWS_MOUSE parameter controls the "Click to Stick" mouse mode. Set to 0, and you always have to click to select a Window. Set to 1, and the Window focus (i.e. current Window cursor) tracks the mouse movements until you click.

 

MOUSE_SELECT_FOCUS

 

The MOUSE_SELECT-FOCUS parameter controls whether or not the mouse can be used to set the focus on a particular overlay in a Window by clicking on its axes. Set this parameter to 1, and the series focus will follow whichever set of scales you click on with the mouse.

 

RUN_PIF_FILE (Windows only)

 

Set to the filename of a *.PIF file for the RUN command.

 

RUN_PAUSE (Windows only)

 

Set to the number of seconds to wait after running an external program with the RUN command before returning to the Worksheet or continuing the command file.

 

MIN_HEIGHT

 

Set to the number of pixels for the minimum main application Window height.

 

MIN_WIDTH

 

Set to the number of pixels for the minimum main application Window width.

 

CLOCK_ENABLED

 

Set to 1 to enable or 0 to disable the display of the system clock.

 

IGNORE_SESSION

 

Any changes you make to configuration parameters during a DADiSP session are saved in the DADiSP session file, dadisp.ses. When IGNORE_SESSION is set to 0, DADiSP will process the session file after processing the configuration file upon startup and adjust your Worksheet environment accordingly.

 

When IGNORE_SESSION is set to 1 in the dadisp.cnf file, DADiSP will not read the session file at startup. If you dynamically set IGNORE_SESSION to 1 during a session, DADiSP will not write any parameter changes you make in the current session to the session file, but it will read the session file at the next startup (unless of course the IGNORE_SESSION parameter in the dadisp.cnf file is set to 1 ).