@ Function
Support for @ function extended cursor addressing codes depends on the selected compatibility mode. Full support (as described in the main @ function topic) is only available in Reality mode. The sections below list the extended cursor addressing codes supported in other compatibility modes.
Note
-
Codes that are not listed or are marked "Not available" generate a run-time error and return NULL.
-
The codes to start and stop video effects (flashing, dimmed, underline, bold and reversed) normally switch on or off the effect concerned but do not affect the others. This behaviour can be changed with the CURSOR.ATTRIBUTES environment option.
Select the emulation you require from the drop down list below:
mvEnterprise
Code |
Operation |
Reality Equivalent |
---|---|---|
-1 |
Clear screen sequence including the number of pad characters specified in the FF delay field of the TERM settings. |
-1 |
-2 |
Cursor-home sequence. |
-2 |
-3 |
Clear-to-end-of-screen sequence. |
-3 |
-4 |
Clear-to-end-of-line sequence. |
-4 |
-5 |
Start flashing (see Note 2 above). |
-5 |
-6 |
Stop flashing (see Note 2 above). |
-6 |
-7 |
Start protect. |
-7 |
-8 |
Stop protect. |
-8 |
-9 |
Cursor-back sequence. |
-9 |
-10 |
Cursor-up sequence. |
-10 |
-11 |
Cursor forward. |
-15 |
-12 |
Cursor down. |
-16 |
-13 |
Start reversed (see Note 2 above). |
-34 |
-14 |
Stop reversed (see Note 2 above). |
-35 |
-15 |
Start underline (see Note 2 above). |
-24 |
-16 |
Stop underline (see Note 2 above). |
-25 |
-17 |
Stop dimmed (see Note 2 above). |
-23 |
-18 |
Start dimmed (see Note 2 above). |
-22 |
-19 |
Enable slave port. |
-17 |
-20 |
Disable slave port. |
-18 |
mvBase
Code |
Operation |
Reality Equivalent |
---|---|---|
-1 |
Clear screen sequence including the number of pad characters specified in the FF delay field of the TERM settings. |
-1 |
-2 |
Cursor-home sequence. |
-2 |
-3 |
Clear-to-end-of-screen sequence. |
-3 |
-4 |
Clear-to-end-of-line sequence. |
-4 |
-5 |
Start flashing (see Note 2 above). |
-5 |
-6 |
Stop flashing (see Note 2 above). |
-6 |
-7 |
Start protect. |
-7 |
-8 |
Stop protect. |
-8 |
-9 |
Cursor-back sequence. |
-9 |
-10 |
Cursor-up sequence. |
-10 |
-11 |
Start protect. |
-7 |
-12 |
Stop protect. |
-8 |
-13 |
Start reverse (see Note 2 above). |
-34 |
-14 |
Stop reverse (see Note 2 above). |
-35 |
-15 |
Start underline (see Note 2 above). |
-24 |
-16 |
Stop underline (see Note 2 above). |
-25 |
-17 |
Slave printer on |
-17 |
-18 |
Slave printer off |
-18 |
D3
Code |
Operation |
Reality Equivalent |
---|---|---|
-1 |
Clear screen sequence including the number of pad characters specified in the FF delay field of the TERM settings. |
-1 |
-2 |
Cursor-home sequence. |
-2 |
-3 |
Clear-to-end-of-screen sequence. |
-3 |
-4 |
Clear-to-end-of-line sequence. |
-4 |
-5 |
Start flashing (see Note 2 above). |
-5 |
-6 |
Stop flashing (see Note 2 above). |
-6 |
-7 |
Start protect. |
-7 |
-8 |
Stop protect. |
-8 |
-9 |
Cursor-back sequence. |
-9 |
-10 |
Cursor-up sequence. |
-10 |
-11 |
Start protect. |
-7 |
-12 |
Stop protect. |
-8 |
-13 |
Start reverse (see Note 2 above). |
-34 |
-14 |
Stop reverse (see Note 2 above). |
-35 |
-15 |
Start underline (see Note 2 above). |
-24 |
-16 |
Stop underline (see Note 2 above). |
-25 |
-17 |
Enable slave port. |
-17 |
-18 |
Disable slave port. |
-18 |
-19 |
Cursor forward. |
-15 |
-20 |
Cursor down. |
-16 |
-21 to -26 |
Not available. |
— |
-27 |
Status line on. |
-13 |
-28 to -32 |
Not available. |
— |
-33 |
White background colour. |
-60 |
-34 |
Brown background colour. |
-61 |
-35 |
Magenta background colour. |
-62 |
-36 |
Red background colour. |
-63 |
-37 |
Cyan background colour. |
-64 |
-38 |
Green background colour. |
-65 |
-39 |
Blue background colour. |
-66 |
-40 |
Black background colour. |
-67 |
-41 |
White foreground colour (full intensity). |
-68 |
-42 |
Brown foreground colour (full intensity). |
-69 |
-43 |
Magenta foreground colour (full intensity). |
-70 |
-44 |
Red foreground colour (full intensity). |
-71 |
-45 |
Cyan foreground colour (full intensity). |
-72 |
-46 |
Green foreground colour (full intensity). |
-73 |
-47 |
Blue foreground colour (full intensity). |
-74 |
-48 |
Black foreground colour (full intensity). |
-75 |
-49 to -56 |
Not available. |
— |
-57 |
White foreground colour (low intensity). |
-84 |
-58 |
Brown foreground colour (low intensity). |
-85 |
-59 |
Magenta foreground colour (low intensity). |
-86 |
-60 |
Red foreground colour (low intensity). |
-87 |
-61 |
Cyan foreground colour (low intensity). |
-88 |
-62 |
Green foreground colour (low intensity). |
-89 |
-63 |
Blue foreground colour (low intensity). |
-90 |
-64 |
Black foreground colour (low intensity). |
-91 |
-65 to -99 |
Not available. |
— |
-100 |
Start dimmed (see Note 2 above). |
-22 |
-101 |
Stop dimmed (see Note 2 above). |
-23 |
UniVerse
Code |
Operation |
Reality Equivalent |
---|---|---|
-1 |
Clear screen sequence including the number of pad characters specified in the FF delay field of the TERM settings. |
-1 |
-2 |
Cursor-home sequence. |
-2 |
-3 |
Clear-to-end-of-screen sequence. |
-3 |
-4 |
Clear-to-end-of-line sequence. |
-4 |
-5 |
Start flashing (see Note 2 above). |
-5 |
-6 |
Stop flashing (see Note 2 above). |
-6 |
-7 |
Start protect. |
-7 |
-8 |
Stop protect. |
-8 |
-9 |
Cursor-back sequence. |
-9 |
-10 |
Cursor-up sequence. |
-10 |
-11 |
Start dimmed (see Note 2 above). |
-22 |
-12 |
Stop dimmed (see Note 2 above). |
-23 |
-13 |
Start reverse (see Note 2 above). |
-34 |
-14 |
Stop reverse (see Note 2 above). |
-35 |
-15 |
Start underline (see Note 2 above). |
-24 |
-16 |
Stop underline (see Note 2 above). |
-25 |
-17 to -22 |
Not currently available. |
— |
-23 |
Enable slave port. |
-17 |
-24 |
Disable slave port. |
-18 |
-25 to -32 |
Not currently available. |
— |
-33 |
Cursor down. |
-16 |
-34 |
Cursor forward. |
-15 |
-35 to -57 |
Not currently available. |
— |
-58 |
Start bold (see Note 2 above). |
-26 |
-59 |
Stop bold (see Note 2 above). |
-27 |
-60 |
Not currently available. |
— |
-61 |
Not currently available. |
— |
-62 |
Start protect. |
-7 |
-63 |
Stop protect. |
-8 |
-64 |
Status line on. |
-13 |
-65 |
Status line off. |
-14 |
-66 to -128 |
Not currently available. |
— |
Other Compatibility Modes
Code |
Operation |
Reality Equivalent |
---|---|---|
-1 |
Clear screen sequence including the number of pad characters specified in the FF delay field of the TERM settings. |
-1 |
-2 |
Cursor-home sequence. |
-2 |
-3 |
Clear-to-end-of-screen sequence. |
-3 |
-4 |
Clear-to-end-of-line sequence. |
-4 |
-5 |
Start flashing (see Note 2 above). |
-5 |
-6 |
Stop flashing (see Note 2 above). |
-6 |
-7 |
Start protect. |
-7 |
-8 |
Stop protect. |
-8 |
-9 |
Cursor-back sequence. |
-9 |
-10 |
Cursor-up sequence. |
-10 |