HP OpenVMS Systems

ask the wizard
Content starts here

Meaning and use of Answerback?

» close window

The Question is:

When I am negotiating terminal options programmatically, where does the
 answerback string request occur? I have not been able to identify the host
 request for this string, and, if I am supposed to send it, I have not been
 able to figure out where in the n
egotiations  this is to occur.

The Answer is :

  There is no particular need for you to use the answerback message.
  The ANSI sequence for requesting the contents of the terminal's
  answerback message buffer is ^E (Control E), ASCII character 5, ENQ.
  If you send ^E to an ANSI terminal, it will return the contents of
  the answerback message buffer as if it had been typed by the user.
  Various terminals can also have a key sequence which will cause the
  contents of the answerback buffer to be sent to the host; this will
  mimic the direct user keyboard input of the buffer.
  For fairly obvious security reasons, there is typically no control
  sequence available that permits host write access to the the answerback
  message buffer.
  The answerback can be useful in some circumstances, for example, the
  non-secure identification of a physical terminal.

answer written or last revised on ( 3-AUG-2001 )

» close window