HP OpenVMS Systems

ask the wizard
Content starts here

TPU and embedding escape sequences?

» close window

The Question is:

I need to embed an escape code sequence into a text file that will be printed.
What are the keystrokes necessary to insert the <ESC> key into the text file
 (using tpu)?

The Answer is :

  The ^V command in TPU can be used to insert control characters into the
  text (with the exception of control characters like ^Y, ^O, ^S, ^Q etc
  which are trapped by the terminal driver). For an ESCAPE character, use
  ^V followed by ^[.

answer written or last revised on ( 22-FEB-2001 )

» close window