SendEscapeSequence

Description

Sends an escape sequence to the host

Syntax

ret = SendEscapeSequence (string)

Parameters
ret Integer, output
  0= OK
  Non zero = Error
   
string String, input
  This string must include a valid ANSI escape sequence.

 

Remarks

Valid only for VT, SCO-ANSI and Wyse-60 sessions.

This function is similar to the SendHostKeys function, but sends the string as a whole rather than sending each character separately.

VT Host Keys are enclosed within <...>.

This is a PASSPORT function.

Example

Sub ZMain()
SendEscapeSequence("<ESC>[C")
End Sub

This example sends the escape sequence which moves the cursor one position to the right.