
32
Chapter 4. Operation and Configuration.
4.2.2. Dialogs
A dialog is a screen type used to get detailed input from the operator, for example a SCSI ID, a name
or a password. See Figure 4.6.
▲
OK
Main Dialog text
Dialog Entry value
▼
4
4
4
4
Figure 4.6. Standard Dialog Layout.
Dialogs, Discrete Values
The dialog in Figure 4.7 is used to enter discrete values. It handles one character or digit at a time.
The digit or character being manipulated is said to be in focus. The digit or character in focus is shown
in inverse video. As the character map on the screen used restricts the flexibility of the inverse display
of the character, some digits and characters may appear to be mutilated when inverted. For example,
the null-digit appears as an open rectangle when inverted.
The Up and Down arrows “
▲
” and “
▼
” on the left are used to increment (up arrow) or decrement (down
arrow) the value of the character or digit in focus. If increment is selected and the value of the
character of digit in focus is at its highest legal value, it wraps to its lowest legal value and vice versa.
▲
OK
Fixed IP address
0
00.000.000.000
▼
4
4
4
4
Figure 4.7. Dialog layout, entering discrete values.
The Right arrow “
4
4
4
4
” is used to shift the focus one place to the right. If the focus is already at the
rightmost position, the focus wraps to the leftmost position.
The “
OK
” button is used to accept the value displayed.
If the value was changed, the selected and original values will then be displayed as messages. The
operator may then accept or reject the change. The discrete value type of dialog does a running check
of the validity of what the user enters, and changes it if needed.
Examples:
•
If the value “0” or “1” is selected in the Fixed IP address dialog above, the user is allowed to
select values between “0” and “9” as the next two digits. (The maximum value allowed in this
dialog is “255” within each group.) If, however, “2” is selected; only values between “0” and ”5”
are available in the second digit. If a value between “0” and “4” is selected for the second digit,
“0” to “9” is available for the third, but if “5” is selected for the second digit, only “0” to “5” is
available for the third one.
•
If the user selects the value “199” in one group in the dialog above, then presses the “Next
Digit” button “
4
4
4
4
” until the “1” in “199” is selected, and increments it to “2,” so the group shows
“299.” Since this is an illegal value, when the user press “
4
4
4
4
” or “
OK
” to leave the group, the
value is changed to “255” and the focus is repositioned to the “2” in the first position of the
group.