Using a Command File to Start Up

At startup, Qedit usually attempts to identify the terminal model number. This involves some invisible interaction with the terminal (status requests, etc.). Suppose you have a Reflection command file that runs Qedit and then executes a Qedit command:

  transmit "run qedit.pub.robelle^M"  wait 0:1:0 for "^Q"  transmit ":mail^M"  

This sequence of commands now fails, because the :mail command is transmitted as the terminal status response. To fix this command file, wait for the Qedit prompt (“/”) and then a DC1 (Control-Q):

  transmit "run qedit.pub.robelle^M"  wait 0:1:0 for "/^Q"  transmit ":mail^M"  

Using a Command File to Start Up