Terminal Notes [ HP Micro Focus COBOL/iX Implementation Notes ] MPE/iX 5.0 Documentation
HP Micro Focus COBOL/iX Implementation Notes
Terminal Notes
* It is recommended that the TERM environment variable be set to
hp2392a.
* The terminfo database on MPE/iX does not provide the capability to
set the alternate character set map. Therefore, when using
linedrawing functionality in HP Micro Focus COBOL/iX, the normal
ASCII character set is substituted for the line drawing
characters.
* The GRID, LEFTLINE, OVERLINE, FOREGROUND-COLOR, and
BACKGROUND-COLOR clauses are not supported because MPE/iX does not
support the required terminfo entries. Therefore, using
these attributes on their own is the same as using default
attributes. Using these attributes (GRID, LEFTLINE, OVERLINE,
FOREGROUND-COLOR, and BACKGROUND-COLOR) with another attribute
outputs only the other attribute.
* HP Micro Focus COBOL/iX uses a curses style package called
libscreen. libscreen uses both terminfo and a memory mapped
screen approach to screen handling. See the COBOL/HP-UX Operating
Guide for information on how to directly call libscreen.
* The HP Micro Focus COBOL/iX Run-time System directly controls the
terminal to which it is attached; that is, it deals with
optimizing the screen output and handling keyboard input.
Therefore, you should always perform screen I-O using the Run-time
System via the ACCEPT/DISPLAY syntax, or if using C, via the
cobprintf family of calls. You should not attempt to read or
write directly to the terminal. The use of highlighting, cursor
positioning and other such terminal attributes can be handled
using the appropriate COBOL syntax. See the COBOL/HP-UX Operating
Guide for more details.
* The KEYBCF database holds key sequences in a table of fixed size.
That table can become full if there are many keys defined. If the
table is full, you will receive the following warning message when
you add keys to the table:
There is not enough room for that sequence
Because you cannot increase the size of the table, you must delete
existing key sequences to make room for more sequences.
* If you wish to run a program which uses ADIS ACCEPT and DISPLAY
statements in the background and redirect its output to a file,
you must also redirect its input from a file. This is true even
if the program does not have any ACCEPT statements. The file
being used does not have to contain anything, but it must exist
and be accessible by the program. For example:
cobrun program < dummyfile > outfile
If this method is not used, then the program will fail with an RTS
error 197.
MPE/iX 5.0 Documentation