HP ALLBASE/4GL Terminals [ HP ALLBASE/4GL Developer Reference Manual Vol. 2 ] MPE/iX 5.0 Documentation
HP ALLBASE/4GL Developer Reference Manual Vol. 2
HP ALLBASE/4GL Terminals
HP ALLBASE/4GL runs on most HP TERM0 standard terminals, and supports
features such as the HP line drawing character set, touchscreen
operation, and color. HP ALLBASE/4GL requires at least the terminal
functionality provided by the HP 2622 terminal.
HP ALLBASE/4GL uses a file known as a terminal support file (a termdata
file) containing the information necessary to drive the terminal. HP
ALLBASE/4GL uses the value of the HP4TERM variable as the name of the
terminal support file to retrieve.
If the HP4TERM variable is not set, HP ALLBASE/4GL assumes minimal
terminal capability equivalent to an HP 2622 terminal.
Terminal Support Files
The following terminal support files are supplied with HP ALLBASE/4GL:
Table D-5. Terminal Support Files
hp hp2392t hp2397at hp2625
hpcl hp2392a hp2622 hp2626
hpclt hp2392at hp2622a hp2626a
hpl hp2393 hp2622p hp2626p
hplt hp2393a hp2623 hp2627
hpt hp2394 hp2623a hp2627a
hp150 hp2394a hp2623p hp2627p
hp2382 hp2397 hp2624 hp2628
hp2382a hp2397t hp2624a hp70092
hp2392 hp2397a hp2624p hp70094
These files are located in the HP4TERM.SYS group and account.
HP ALLBASE/4GL uses the value of the HP4TERM variable as the name of the
appropriate terminal support file.
If you want to use a terminal that does not appear in this list, set the
HP4TERM variable to one of the values shown in the following table.
File Name Terminal Type
hp Basic HP terminal
hpcl HP terminal with color and line drawing
character set
hpclt HP terminal with color, line drawing
character set, and touchscreen operation
hpl HP terminal with line drawing character set
hplt HP terminal with line drawing character set
and touchscreen operation
hpt HP terminal with touchscreen operation
Touchscreen Terminals
If your terminal supports touchscreen operation, set the HP4TERM variable
to one of the options with a "t" in their suffix. Touchscreen operation
is available for all HP 150 terminals.
Terminal Initialization and Resetting
When HP ALLBASE/4GL starts up or returns from a temporary exit, it sets
the terminal into a mode compatible with the MPE/iX format mode. HP
ALLBASE/4GL resets the terminal to its initial state whenever it
temporarily exits via an EXTERNAL *REFRESH call, when invoking a
temporary MPE/iX command interpreter, or when calling any other products
such as HP ALLBASE/QUERY or HP ISQL.
HP ALLBASE/4GL makes extensive use of terminal tabstops to maximize the
efficiency of terminal output. It initializes the terminal tabstop
settings by copying the file TABSET.HP4TERM.SYS to the terminal. This
file contains the escape sequences necessary to clear any current
settings and make the appropriate new settings. Do not delete or rename
the TABSET file.
Terminal Configurations
HP ALLBASE/4GL supports the HP Roman8 extended character set. To use
this character set, your terminal must be in 8-bit ASCII mode.
For HP 150 and HP2394 terminals, an additional parameter, Tab = Spaces,
must be set to NO.
If you wish to print HP ALLBASE/4GL screens, you may also need to alter
the HP4INV_PRT_CHAR variable to a printable ASCII character. In some
circumstances, the default value of DEL causes unreliable printing.
To ensure reliable operation of a slave printer with an HP terminal, you
must use the correct terminal configurations.
The following tables show the suggested configuration for an HP 700/92 or
an HP 2392 terminal.
Datacomm Configuration
Baudrate 9600 Parity/DataBits None/8
EnqAck NO Asterisk OFF
Chk Parity NO SR(CH) LO
RecvPace Xon/Xoff CS(CB)Xmit NO
XmitPace Xon/Xoff
External Device Configuration
BaudRate 9600 Parity/DataBits None/8
PrinterNulls 000 PrinterType ROMAN8
SRRXmit NO XmitPace Xon/Xoff
SRRInvert NO CS(CB)Xmit NO
Terminal Configuration
Datacomm/ExtDev PORT1/PORT2 Keyboard USASCII
Terminal Id 2392A Language ENGLISH
LocalEcho OFF CapsLock OFF
Start Col 01 Bell ON
XmitFnctn(A) YES SPOW(B) NO
InhEolWrp(C) NO Line/Page(D) LINE
InhHndShk(G) NO Inh DC2(H) NO
Esc Xfer(N) YES
FldSeparator U/S BlkTerminator R/S
ReturnDef C/R TermMode HP
Tab = Spaces No
MPE/iX 5.0 Documentation