stason.org logo lotus


previous page: 41  How do I cancel a script? (ZTerm)page up: ZTerm FAQnext page: 43  Do I have to use the Wait for "da da da" prompt syntax? (ZTerm)

42 How do I send an escape/linefeed/break/etc. in a script? (ZTerm)

 Books
 TULARC
















Description

This article is from the ZTerm FAQ, by Les Jones lesjones@usit.net with numerous contributions by others.

42 How do I send an escape/linefeed/break/etc. in a script? (ZTerm)

To send an escape, use the line:

send "^["

where "[" is the lowercase left hand bracket, and "^" is the
shift-6 control character. Substitute "^j" for linefeeds.
Basically, you can send any ASCII character using a script. All you
need is a table of ASCII characters and their meaning.

Note that a break is not an ASCII character, so ZTerm 0.9 couldn't
send a break in a script. ZTerm 1.0 now has a send break command.

 

Continue to:


Share and Enjoy

Bookmark this story so others can enjoy it:
  • digg
  • Reddit
  • del.icio.us
  • Furl
  • Wists

Tags

os, mac, apple, Macintosh, ZTerm, transfer, ZModem, key







TOP
previous page: 41  How do I cancel a script? (ZTerm)page up: ZTerm FAQnext page: 43  Do I have to use the Wait for "da da da" prompt syntax? (ZTerm)