Note 0029 Entering escape sequences in
UNIX using VI.
SOLUTION: The procedure to enter PCL, HP-GL/2, and PJL commands in a UNIX
environment is the same as for the DOS environment in every aspect except
for the escape character itself. The procedure for entering the escape character
is detailed below.
-
At any UNIX prompt, type:
vi
(this brings up the vi editor)
-
While in vi, type:
I
(this enters into insert mode)
-
Type:
<Ctrl>V
(press and hold the <Control> key while tapping the
V key once, then release <Ctrl>) which changes keyboard
to verbose mode; then press the <Esc> key.
Or, type:
<Ctrl>V <Ctrl>[
The escape character will appear as follows: ^[
-
Enter the remaining part of the escape sequence. For example
&f123y4X to overlay form number 123 on the page.
NOTE: The escape character always shows up as ^[. If it does not,
an incorrect character has been entered.
See also:
Questions:
Comments: