Please enable JavaScript to view this site.

A-Shell Consolidated Reference

Navigation: ATE > Appendix

ZTERM Escape Sequences

Scroll Prev Top Next More

Most of the features provided by the ZTERM escape sequences are also available in A-Shell/Windows via a Tab(-10,x) sequence or a subroutine. The advantage of the Tab(-10,x) or XCALL method is that the same code will work under A-Shell/Windows and A-Shell/UNIX with ATE on the client. But the advantage of the ZTERM ESC sequences is that they would work on any server platform (i.e. one that you telnet to) provided the client is ZTERM or ATE. But in the latter case, you should test to make sure you aren't running locally on A-Shell/windows, where the ESC sequences would not make much sense.

ZTERM
Esc Seq

Tab(-10)
Command

XCALL Subroutine

 
Comment

27,27,3

 

 

Enable serial passthrough.

27,27,4

 

 

Disable serial passthrough.

27,12

24

MX_SHELLEX

Execute or print windows file ("shell execute")

27,22

23

HOSTEX

Execute Windows command ("win exec")

27,15

 

MX_GETIP

Get client IP address

27,1,127

22

 

FTP file transfer

27,13

1, 2

MX_TITLE

Label window

27, 25

27

MX_SHOW WINDOW

Set window state

27,16

28

 

Flash window

27,29

29

 

Set ftp login name/password

 

Many of the ZTERM ESC sequences use a CHR(0) (aka null byte) as a delimiter. However, if for some reason you have difficulty sending null bytes, you can use CHR(128) as an equivalent alternative.

u Examples

 

u Serial Passthrough

 

u Extended Example