Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Automated escape sequence ZOC

Status
Not open for further replies.

Flamyth

Programmer
Aug 22, 2022
1
NL
Hello,

I am currently trying to make a script which lets me connect and disconnect through a telnet session on the ZOC emulator.

The problem that I'm running into is that I need to perform an escape sequence (ctrl + shift + 6, x).

I was wondering if there is any way that my script can execute this.
 
Trying to wrap my head around this question and not knowing anything about a ZOC emulator...

At some point, your script will relinquish control to ZOC (whatever that is) and won't have control again until ZOC returns or ABENDs. I'm guessing there isn't a callable function that issues the escape sequence? On either side of the fence?

Frank Clarke
--America's source for adverse opinions since 1943.
 
Never really played with this but does below work?

string= ZocCtrlString("^(18)^(1E)^(36)")
Call ZocSend string "x"

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top