csr_type()

Changes the size and style of the physical cursor

Call  
#include <vv_sys.h>
void csr_type(csr_shape)

int csr_shape

Shape the physical cursor should be changed to

Description of Parameters
BOT_LINE A line near the bottom of the character cell
BLOCK A full block covering the whole character cell
BOT_BLOCK A block in the bottom half of the character cell
TOP_BLOCK A block in the top half of the character cell
Returns

None

Description

PCDOS Systems:

csr_type() calls vid_int() to set the shape of the cursor with the BIOS interrupt PC INT 10H, function 1.

PCDOS Systems with GraphEx:

csr_type() sets the appropriate Vermont Views GraphEx global variable to the type specified in the call. When the character cell is refreshed, the cursor is drawn with the new cursor type.

OS/2 Systems:

csr_type() calls VioSetCurType() to set the shape of the cursor.

Terminal-based Systems:

If the specified cursor type is BLOCK, BOT_BLOCK, or TOP_BLOCK, csr_type() sends the terminal the appropriate escape sequence to make the cursor a block, if one is defined in the terminal description.

If the specified cursor type is BOT_LINE, csr_type() sends the terminal the appropriate escape sequence to make the cursor a line, if one is defined in the terminal description.


Home Contents Previous Next