VPLUS Terminal Differences in VPLUS/Windows [ HP VPLUS/Windows Programmer's Guide ] MPE/iX 5.0 Documentation
HP VPLUS/Windows Programmer's Guide
VPLUS Terminal Differences in VPLUS/Windows
Generally, VPLUS form characteristics appear and function the same in the
VPLUS/Windows application window as they do on a terminal screen.
However, an HP 3000 terminal and a PC differ in keyboard operation and
terminal features.
Keyboard Operation on the PC
Table 2-1 lists PC keys and their functions, if any, in VPLUS/Windows.
Table 2-1. PC Keys and Functions with VPLUS/Windows
---------------------------------------------------------------------------------------------
| | |
| PC Key | Function |
| | |
---------------------------------------------------------------------------------------------
| | |
| + | Serves as the Enter key. You can also use the Config Menu to |
| | configure the numeric - key or the numeric Return key as the Enter |
| | key. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Break | Does not function in the VPLUS/Windows presentation server. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Ctrl Y | Does not function in the VPLUS/Windows presentation server. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Ctrl F7 | Provides the clear line function. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Ctrl F8 | Provides the clear display function. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Delete | Enables the user to delete one character beginning at the current |
| | cursor position. |
| | |
---------------------------------------------------------------------------------------------
| | |
| F1 - F8 | Supports the VPLUS key definitions. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Insert | Enables a user to insert one character beginning at the current |
| | cursor position. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Page Down | Scrolls the form 24 lines down. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Page Up | Scrolls the form 24 lines up. |
| | |
---------------------------------------------------------------------------------------------
| | |
| Tab | Moves from one unprotected field to the next. Fields designed in |
| | FORMSPEC as transmit-only fields lose their special characteristic; |
| | the tab key does not skip these fields in the VPLUS/Windows |
| | presentation server. |
| | |
---------------------------------------------------------------------------------------------
Terminal Features on the PC
VPLUS forms displayed in the application window adhere to the conventions
of HP block mode terminals. The application window area represents a
terminal display of 27 lines with 80 characters per line. The available
window lines are apportioned as follows:
Lines 1-24 Form display
Line n Message window (n is specified in the application
forms file)
Last three lines Eight function key labels plus an Enter label and
terminal status line
Supported Terminal Features. A variety of HP block mode terminals each
support a specific combination of features. Table G-1 in the VPLUS
Reference Manual (32209-90001) provides a cross-reference of terminal
model numbers and terminal features. Table 2-2 describes the combination
of features that the VPLUS/Windows presentation server supports.
Table 2-2. Supported Terminal Features in VPLUS/Windows
---------------------------------------------------------------------------------------------------------------
| | | | | | | | | | |
| ID | Model | Graph | Color | Touch | LFS | MDT | Local | Sec | X.25 |
| | | | | | | | Edits | Enh | PAD |
| | | | | | | | | | |
---------------------------------------------------------------------------------------------------------------
| | | | | | | | | | |
| 100 | VPLUS/Windows | No | Yes | Yes | No | Yes | No | Yes | N/A |
| | | | | | | | | | |
---------------------------------------------------------------------------------------------------------------
The ID represents the identifier variable in the VPLUS COMAREA. The
presentation server reserves the range of ID values from 100 to 150.
For the touch feature, clicking the left button of the mouse replaces
physically touching the screen. As with terminals supporting touch,
VPLUS/Windows always supports the function key labels for touch. VPLUS
applications enable touch on fields using bit zero of the showcontrol
variable in the VSHOWFORM COMAREA.
Implementation of Terminal Enhancements. HP block mode terminal display
enhancements are implemented using terminal escape sequences.
VPLUS/Windows uses capabilities in the windowing system of the PC to
provide the functionality of VPLUS enhancement codes designed into a
FORMSPEC forms file. Table 2-3 describes how VPLUS/Windows implements
terminal enhancements.
Table 2-3. VPLUS/Windows Implementation of Terminal Enhancements
--------------------------------------------------------------------------------------------
| | |
| Component | Implementation |
| | |
--------------------------------------------------------------------------------------------
| | |
| =2> Window | Video Enhancements |
| Line | |
| Error | The terminal builds on the monochrome base of text on a black background, |
| Field | normally white on black. This display is full bright and is specified by |
| | NONE in VPLUS. In the VPLUS/Windows windowing system, the default |
| | background is white. Therefore, VPLUS/Windows builds video enhancements |
| | starting from black on white as the value for NONE. |
| | |
| | As with color terminals, VPLUS/Windows does not have a brightness control |
| | and consequently uses a color pair for half bright. Blinking is also |
| | expressed as a color pair. The specification half bright with blinking |
| | is expressed as a unique color pair. The color pair for each of the |
| | NONE, H, B, and HB enhancement codes is user definable. |
| | |
| | Mappings for VPLUS video enhancement codes are as follows: |
| | |
| | |
| | NONE Color pair (default = VWCOLOR8 - black/white) |
| | |
| | H Color pair (default = VWCOLOR3 - yellow/black) |
| | |
| | B Color pair (default = VWCOLOR6 - cyan/black) |
| | |
| | HB Color pair (default = VWCOLOR2 - green/black) |
| | |
| | I Inversion of foreground and background colors |
| | |
| | U Underline with foreground color |
| | |
| | S Background on background |
| | |
--------------------------------------------------------------------------------------------
| | |
| | Color Enhancements |
| | |
| | The palette of eight colors that VPLUS/Windows provides is identical to |
| | the default color palette on HP color block mode terminals, with one |
| | exception. Because the NONE enhancement on a color terminal is the same |
| | as default color pair 8 on a terminal, VPLUS/Windows uses black on white |
| | as the default color definition for color pair 8. The color pairs for |
| | enhancement codes 1-8 are user definable. |
| | |
| | Default values for VPLUS color enhancement codes are as follows: |
| | |
| | 1 VWCOLOR1 - red/black |
| | 2 VWCOLOR2 - green/black |
| | 3 VWCOLOR3 - yellow/black |
| | 4 VWCOLOR4 - blue/black |
| | 5 VWCOLOR5 - magenta/black |
| | 6 VWCOLOR6 - cyan/black |
| | 7 VWCOLOR7 - black/yellow |
| | 8 VWCOLOR8 - black/white |
| | |
--------------------------------------------------------------------------------------------
| | |
| Key Labels | Without a color enhancement code, terminals use half bright, inverse |
| | video. VPLUS/Windows uses the inverse of the defined value of code H. |
| | |
| | With a color enhancement code, VPLUS/Windows uses the inverse of the |
| | color pair defined for the selected color code. |
| | |
--------------------------------------------------------------------------------------------
| | |
| Form Text | The forms file translation process strips escape sequences imbedded in a |
| | form for display enhancement. Therefore, the process strips both video |
| | and color enhancements for static text. VPLUS/Windows displays all text |
| | strings in black foreground as the default. |
| | |
| | Note that VPLUS/Windows does not strip data provided in the data buffer |
| | or window during application execution. Consequently, a user sees all |
| | imbedded escape strings as data. |
| | |
--------------------------------------------------------------------------------------------
MPE/iX 5.0 Documentation