CURSOR Mnemonic - Cursor Attributes (SysConsole/SysWindow/TermConsole)


For this topic's original documentation, see the CURSOR Mnemonic - Cursor Attributes.

Syntax

'CURSOR'("on")
'CURSOR'("off")
'CURSOR'("ins")
'CURSOR'("ins_block")
'CURSOR'("ins_line")
'CURSOR'("rep")
'CURSOR'("rep_block")
'CURSOR'("rep_line")

Description

The 'CURSOR' mnemonic sets the text cursor attributes in a SysConsole or TermConsole.

In BBj 4.0 and higher, the 'CURSOR' mnemonic can be used to reverse the default shapes of the insert and replace cursors. Adding "_line" or "_block" to the "ins" or "rep" forces the cursor to appear as a block or an underline.

Parameter

Description

"on"

Displays the terminal's cursor. This capability may not be available on all terminals.

"off"

Hides the terminal's cursor. This capability may not be available on all terminals.

"ins"

Switches the text cursor in the SysConsole or TermConsole to the shape used for insert mode. This capability may not be available on all terminals.

"ins_block"

Switches the text cursor in the SysConsole or TermConsole to the insert mode cursor, and forces the insert cursor shape to be a block. This capability may not be available on all terminals.

"ins_line"

Switches the text cursor in the SysConsole or TermConsole to the insert mode cursor, and forces the insert cursor shape to be an underline. This capability may not be available on all terminals.

"rep"

Switches the text cursor in the SysConsole or TermConsole to the shape used for replace (overwrite) mode. This capability may not be available on all terminals.

"rep_block"

Switches the text cursor in the SysConsole or TermConsole to the replace (overwrite) mode cursor, and forces the replace cursor shape to be a block. This capability may not be available on all terminals.

"rep_line"

Switches the text cursor in the SysConsole or TermConsole to the replace (overwrite) mode cursor, and forces the replace cursor shape to be an underline. This capability may not be available on all terminals.

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing