Previous Topic: POKE Return Codes

Next Topic: RDCURSOR Return Codes

EPI RDCURSOR—Request Cursor Position

Use the RDCURSOR command to return the cursor position, specified by row and column number. This command runs synchronously in AOF rules and returns data in the external data queue.

This command has the following format:

ADDRESS EPI "RDCURSOR keywords"
  {termname|*}
termname

Defines the virtual terminal for which you want to retrieve the cursor position.

*

Retrieves the cursor position for the current terminal defined by the SETTERM command.

Example: EPI RDCURSOR

The following requests the cursor position on virtual terminal TERM3:

RDCURSOR TERM3

If the cursor is at row 23, column 1, the output from this command is 23 1.