Appendix
C Terminal emulation commands |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following
section describes the commands sent by the host computer to perform control/data
functions for the various terminal emulations performed by PC-PLOT-IV. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
It is
important to note that the user, in most circumstances, will not be able
to enter the listed commands from the keyboard and have the same effect
as listed below because the command processor in the host computer usually
will not echo escape sequences back to the terminal unaltered. The only
time when commands may be entered locally to test them is when local keyboard
mode is entered (ALT-4). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The information,
while listing each command, is not a complete description of each command.
For a complete description of all of the commands, the user is referred
to the following user manuals: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tektronix
4010 Terminal User Manual
Tektronix 4014 Terminal User Manual
Tektronix 4027 Terminal User Manual
Tektronix 4105 Terminal User Manual
DEC VT-100 User Manual |
|
|
|
|
|
|
|
DEC VT-200
User Manual |
|
|
|
|
|
|
|
|
|
|
|
Digital
Engineering VT-640 Users Manual |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV
terminal emulation has two distinct operating modes with several sub-modes. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Hardware_
Alpha_ Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a. VT-100
Mode |
|
|
|
|
|
|
|
|
|
|
|
|
b. VT-200
Mode 7 bit controls |
|
|
|
|
|
|
|
c. VT-200
Mode 8 bit controls (not implemented)
d. VT-52 Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2. Line
drawing mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
a. Tek
4010/4014 Mode
Line drawing
Point plot mode
Incremental point plot mode
GIN mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b. Tek
4027 mode
c. Tek 41xx mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When
the terminal emulation is first loaded, it is in VT-100 alphanumeric mode.
In this mode, the terminal sends and receives ASCII characters and displays
them on the screen which displays hardware generated characters and scrolls. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode
Shifts |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The shift
between graphics and character mode is basically automatic. The major mode
shifts are shown on the chart at the beginning of this section. The shift
between major modes is also shown in the table below: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tektronix
401014014 Commands |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There
are three basic type of commands that the Tektronix 4010 terminal responds
to. They are standard control codes as defined in the table below, graphics
transition sequences, and escape sequences. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The DELETE
character (7F Hex) is a legal x,y coordinate value and is allowed in a
graphics string only. If the graphics mode is not active, DEL characters
will be ignored. Delete characters can optionally be ignored in graphics
records also. If the host sends a DEL code at the end of each record automatically,
it will send the pair ESC ? to
substitute for the delete code. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Some systems
send either <NUL> or <SYN> (00 or 16 Hex) as fill characters since
the average data rate to a Tektronix Model 4010 cannot exceed 300 baud.
These characters are also stripped out. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Control
Codes Recognized in Tek 4010/4014 mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move cursor left one space |
|
|
|
|
|
|
|
|
Move cursor to left margin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move cursor back 8 pixels |
|
|
|
|
|
|
|
|
Move cursor 8 pixels to right |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enter graphics mode/set move
flag |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set incremental plot mode |
|
|
|
|
|
|
|
|
Exit graphics mode (also cr,ESC
FF) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First char in a sequence (set
LCE flag) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set bypass and return terminal
status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move cursor left one space |
|
|
|
|
|
|
|
|
Move cursor 8 pixels to right |
|
|
|
|
|
|
|
|
Set LCE ignore filler CR and
LF |
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC FF
0CH |
Clear
screen & enter VT-100 mode/go to home pos. |
|
|
|
|
|
Set LCE ignore filler CR and
LF |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Arm GIN mode and set bypass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enter graphics mode/set move
flag |
|
|
|
|
|
|
|
|
Set incremental plot mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Substitute for DEL as to-y value |
|
|
|
|
|
ESC DEL
ESC 8 ESC 9 ESC :
ESC ; |
|
7FH |
|
Set
LCE flag |
|
|
|
|
|
|
|
|
|
|
|
**
**
**
** |
|
Set largest character size-35 lines/74 chars
Select large char size-38 lines/81 chars
Selects small char size-58 lines 128 chars
Selects smallest character size-64 lines/133 chars |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Feature
not implemented (insufficient graphics resolution) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Incremental
Plot Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
up,right |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XY data
format |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Line
drawing mode and point plotting commands are encoded into printable ASCII
characters in the range of 20 hex to 7f hex. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Line
drawing mode involves the concept of the Current Point (CP). CP is the
present XY location of the drawing cursor on the virtual 1024 x 1024 Tektronix
screen. A MOVE command sets a new value for the CP and a DRAW command draws
a line from the CP to the endpoint of the line which becomes the new CP. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
XY data
consists of 4 or 5 bytes which are encoded so that their value is a printable
ASCII character. Four byte strings have a resolution of 1024 x 1024 (10
bits, Tek 4010) and five byte strings have a resolution of 4096 x 4096
(12 bits, Tek 4014). Data is sent in the following order: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HI-y
LO-y HI-x
LO-x
4010 format |
|
|
|
|
|
HI-Y
LO-Y LOLO-y
HI-x LO-x
4014 format |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In both
cases, the LO-x byte is the indicator that a complete data record has been
received. After the first group of data bytes are sent, only the ones that
changed need be sent to save on data transmission time. The LO-x byte must
always be sent and if HI-x changes, LO-y must also be sent. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The data
encoding of the sequence is as follows: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
X |
1 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following
sequence of PLOT-10 commands describe the two types of operations available-
Move and Draw. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ASCII |
PLOT-10
COMMAND |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GS (1DH) |
X
0 0 1 1 1 0
1 enter graphics/move
flag |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First
set of coordinates define an absolute move to 0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
0 |
0 |
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
0 |
0 |
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
0 |
0 |
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Second
set define a draw (from 0,0 to 512.512) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0
(30H) X
0 1 1 0 0 0
0 hi y=10000 |
|
|
|
|
|
|
'
(60H)
X 1 1 0 0 0
0 0 lo y=00000 |
|
|
|
|
|
|
0
(30H) X
0 1 1 0 0 0
0 hi x=10000 |
|
|
|
|
|
|
@ (40H)
X 1 0 0 0 0
0 0 lo x=00000 |
|
|
|
|
|
|
|
US (1FH)
X 0 0 1 1 1
1 1 end graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
There
are 10 bits in each address allowing for a resolution of 1024 x 1024..
The first command following a GS is always a Move to an absolute X,Y location.
The following bytes are all a draw from the current position to the new
X,Y location until another GS is encountered which signals another Move
command or a US which is the end of a graphics sequence. A graphics sequence
may also be terminated by a Carriage return or an ESC FF. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GIN
Mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GIN mode
provides a method by which the host computer can obtain status and crosshair
cursor location from PC-PLOT. In order for GIN mode to be active, the screen
must be in graphics mode already. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When GIN
mode is active, the bypass flag is set and all characters received by PC-PLOT-IV
are ignored until the bypass flag is cleared. The control codes below describe
management of the bypass flag. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Control
codes active during GIN mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC
ENQ 05H Set
bypass and return terminal status |
|
|
|
|
|
|
|
|
|
|
ESC
CAN 18H Set
bypass |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC
SUB IAH
Set bypass and enter GIN mode |
|
|
|
|
|
|
|
|
|
|
|
|
BEL
07H Clear bypass
and beep |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC
BEL 07H
LF
0AH
ESC LF 0AH
CR
0DH
ESC CR 0DH
US
1FH
ESC US 1FH
ESC ETB 17H
ESC FF 0CH |
|
|
Clear bypass
and beep |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clear
bypass and cause new line |
|
|
|
|
|
|
|
|
|
|
|
|
Clear
bypass, set LCE, ignore filler CR LF
Clear bypass, curs. to left, enter alpha
Clear bypass, curs. to left, enter alpha
Clear bypass goto graph mode |
|
|
|
|
|
|
|
|
Clear
bypass goto graph mode
Clear bypass, make hard copy
Clear bypass, clear screen & home |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT
supports all three GIN mode functions which are defined for the Tektronix
4010/4014 terminals. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode
1- Alpha Cursor Position Report |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GIN mode
1 reports the present position of the drawing cursor in row/column units.
The position returned is where the next character would be drawn on the
graphics screen. The cursor position is updated every time a graphics MOVE
or DRAW command is executed. Six or 7 bytes of data is returned by a mode
1 report. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode 1
invoked by: r ESC ENQ (lb hex, 05 hex-from
host) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Characters
returned: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
byte
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0
0 0 0 0 status byte |
|
|
|
|
|
|
|
|
byte
2 |
x |
0 |
|
|
x9 x8 x7
x6 x5 hi x |
|
|
|
|
|
|
|
|
|
|
byte
3 |
x |
0 |
|
|
x4 x3 x2
x l xO lo x |
|
|
|
|
|
|
|
|
|
|
|
x |
0 |
|
|
y9 y8 y7
y6 y5 hi y |
|
|
|
|
|
|
|
|
|
|
byte
5 |
|
0 |
|
|
y4
y3 y2 yl yO lo y
0 1 1 0 1 <cr>
0 0 1 0
0 <EOT> (optional) |
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Status:
20 for graphics, 24 for alpha |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode
2- Immediate report of graphics cursor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode
2 GIN reports the current location of the graphics cursor in x,y units
(1024 x 780) to the host without any operator intervention. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode 2
invoked by: ESC SUB ESC ENQ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
(Ib hex,
la hex, lb hex, 05 hex-from host) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Characters
returned: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
byte
1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
x9 x8 x7
x6 x5 hi x |
|
|
|
|
|
|
|
|
|
|
byte
2 |
x |
0 |
|
|
x4 x3 x2
xl xO lo x |
|
|
|
|
|
|
|
|
|
|
|
x |
0 |
|
|
y9 y8 y7
y6 y5 hi y |
|
|
|
|
|
|
|
|
|
|
byte
4 |
x |
0 |
|
|
y4
y3 y2 yl y0 lo y
0 1 1 0 1 <cr>
0 0 1 0
0 <EOT> (optional) |
|
|
|
|
|
|
|
x |
0 |
|
|
|
|
|
|
|
|
|
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode
3- Interactive report of graphics cursor position |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When
GIN mode 3 is entered by a command from the host, the crosshair tracking
cursor becomes visible at its current location. When PC-PLOT starts up,
the default |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
location
for the crosshair cursor is the center of the screen. The cursor is a small
cross made up of 10 x 10 pixels. The crosshair cursor can be moved by two
methods; the keypad keys and a mouse. The cursor arrow keys on the keypad
(2, 4, 6, 8) move the cursor down, left, right, and up. The 1, 3, 7, 9
keys move the cursor in a diagonal direction. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
When
PC-PLOT starts up, each press of a cursor key moves the crosshair cursor
by one pixel. Depressing the SCROLL LOCK key once will cause the cursor
to move 8 pixels every time a key is pressed. Depressing SCROLL LOCK again
will
select
slow mode. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT
remains in GIN mode until an alpha/numeric key is pressed at which time
PC-PLOT sends a report to the host and exits GIN mode which turns off the
crosshair cursor. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Mode 3
invoked by: ESC SUB (lb hex, la hex-from host) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Characters
returned: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
b
b b b b key that was pressed |
|
|
|
|
|
|
|
x |
0 |
|
|
x9 x8 x7
x6 x5 hi x |
|
|
|
|
|
|
|
|
|
|
|
|
byte 3 |
x |
0 |
|
|
x4 x3 x2
x l x0 lo x |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
y9 y8 y7
y6 y5 hi y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
|
y4
y3 y2 y l y0 lo y
0 1 1 0 1 <cr>
0 0 1 0
0 <EOT> (optional) |
|
|
|
|
|
|
|
|
|
|
0 |
|
|
|
|
|
|
|
|
|
|
|
0 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tektronix
4027 Command Definition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A subset
of Tektronix Model 4027 terminal commands are included in PC-PLOT-IV. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following
command shows the basic format of a 4027 command. Each command is preceded
by an exclamation point followed by a three-letter command and parameters
if necessary. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4027 Command
Construction ------------------------ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!>COM
parm,parm,parm,parm,parm,parm <cr> I I i
I I I I I--sequence terminator I
I (----------numeric parameters for command I I--------------command |
|
|
|
|
|
|
I-------------=---4027
command lead-in character |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The leading
character for the sequence is the ASCII |
|
|
|
|
|
|
|
|
|
|
|
exclamation
point (Hex 21). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If the
terminal emulation is in Alpha mode AND the PC-PLOT graphics screen is
turned on, reception of a <!> character |
|
|
|
|
|
|
|
will cause
the command parser to look for a valid 4027 sequence. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The command
character and terminator shown are the default values-other ones can be
defined under program control. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
No spaces
between the command character & command keyword |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameters
are separated from the keyword and other parameters by separators which
may be a comma or one or more spaces. The separator between the numeric
parameter and the keyword or between a numeric parameter and |
|
|
|
a neighboring
alphabetic parameter may be omitted. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Parameters
may be numeric, strings or words. A parameter . word may be abbreviated
to its first letter. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The last
character in a command is a terminator which can be a semicolon, carriage
return, or another command character. If the command is the final string
in a line of text, the term. is a cr. If a command is followed by |
|
|
|
|
|
|
text,
the term. is a semicolon. If the command is followed by another command,
the command term. is the new command character. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
String
delimiters-some commands accept delimited ASCII strings. Legal delimiters
are: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
- ' ' ;
, cannot be used as a delimiter |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WINdow
xmin, ymin, xmax, ymax <cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
set window
for drawing scaled pictures |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
WORkspace
[<number>] [host] [keyboard]<cr>
Clear workspace to graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MONitor
[<number>] (host) [keyboard] <cr>
Clear workspace to graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
JUMP [<row>
[<column>]]<cr> goto row/col |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if only
one parm, it is row#
if both missing goto 1,1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
UP [<count>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cursor
up-if count missing, assume 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DOWn [<count>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cursor
down-if count missing, assume 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RIGht [<count>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cursor right-if missing
assume 1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LEFt [<count>]<cr>
cursor left |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
TAB [<count>]<cr>
#tabs, default=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BACktab [<count>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
#back tabs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RUP [<count>]<cr>
scroll up-def=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RDOwn [<count>]<cr>
scroll do-def=l |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ERAse [ Workspacelmonitor
]<cr> Clear workspace to graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BELL<cr> short beep |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
COLor <vector color
#> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<vector color #>=C0-C7 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
First parm selects color
for subsequent vectors or fill |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Default colors: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CO |
|
|
|
|
|
|
|
|
|
|
|
Cl |
|
|
cyan |
|
|
|
|
|
|
|
|
C2 |
|
|
|
|
|
|
|
|
|
|
|
C3 |
blue |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
MAP <Cn><color> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Cn is 4027 color select
0-7 |
|
|
|
|
|
|
|
|
|
|
|
|
color is default colors
from graphics board, 0-15 Thus Cl can be defined to be color 12 for your
specific graphics board. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PATtern <Pn><BG
color><FG color>[<valuel-14>] ...<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
GRAphic <beg row><end
row>[<beg col>[<end Col>]]<cr> Clear workspace to graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ENAble [<count>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
enable GIN for c points-def=1 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
DISAble<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
disable GIN mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VECtor <xO><yO><xl><yl>[<x2><y2>....
<yn>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RVEctor <xO><yO><xl><yl>[<x2>.....
<yn>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LINe [<line type>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set line type def=1
1 solid 2 dots 3 dashes 4 dash dot 5 big dash sm
dash |
|
|
|
|
|
|
|
|
|
|
|
|
6 dash dot
dot dot |
|
|
|
|
|
|
|
|
|
|
|
|
7 big dashes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
8 big dash
sm dash sm dash sm dash |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
POLygon <xl><yl><x2>y2><x3><y3>[<x4>.....
<yn>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
drawn and filled with
current color and boundary |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RPOlygon <xl><yl>......
<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PIE <radius>[<start
angle>][<end angle>][<inc angle>]<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CIRcle <radius><cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
STRing <text><cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ERAse [Graphics [<color
#>I<pattern #>]]<cr> Clear workspace to graphics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Also 4010 style commands
[ GSIUS ] |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tektronix
4100 Series Commands (Optional- in PC-PLOT-IV-+) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV+ contains
a partial emulation of a Tektronix 4105 graphics terminal. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data Format |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Tek 4100 series commands
are made of of several types; single control characters, ESC<char>,
and ESC<command string>. The data in a command may be ASCII character
data (20-7FH), control characters (0-2FH), integer format, or Tek 4010
XY format. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Data Type
---------
<int> |
Range
-----
-32767 to +32767 |
Default Value
------------
0 |
|
|
|
|
|
|
|
|
<int+> |
0 to 65535 |
0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<real> |
-32767.0 to +32767.0 |
0.0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<xy> |
4010 encoding(4096) |
0,0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<char> |
20-7f hex |
NUL |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<string> |
<int><chars> |
0 elements |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<int> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<int> or <int+>=[<HiI>]
[<HiI>] <Lol> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HiI= ASCII chars 20-7f
except that 7f can be replaced by ESC ?. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
LoI=ASCII Char from 20-3fh |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
P 1 b15 b14 b13 b12 blI b10 |
|
|
|
|
|
|
|
|
|
|
|
|
|
01=bit 76 (01 for
LoI) |
|
|
|
|
|
|
s=sign bit 1=plus 0=minus |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
* |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set segment detectability |
|
|
|
|
|
|
|
|
Set
segment highlighting |
|
|
|
|
Set segment image transform |
|
|
|
|
|
|
|
|
|
Set current matching class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set segment display priority |
|
|
|
|
|
|
|
|
End
graphtext character |
|
|
|
|
|
|
|
|
|
|
|
|
Delete graphtext character |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Set dialog area color map |
|
|
|
|
|
|
|
VT-100/220-CommandDefinition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VT-100/220/240
Mode shift commands |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CSI 6 1 "p Set VT-100 mode |
|
|
|
|
|
|
|
|
|
|
|
CSI 6 2"p Set VT-200 mode, 8
bit controls |
|
|
|
|
|
|
|
|
CSI 62 ;0"p Set VT-200 mode,
8 bit controls |
|
|
|
|
|
|
|
|
CSI 62; 1 "p Set VT-200 mode,
7 bit controls |
|
|
|
|
|
|
|
|
CSI 62 ;2"p Set VT-200 mode,
8 bit controls |
|
|
|
|
|
|
|
|
CSI ?38h Enter graphics mode
(4010/4014) |
|
|
|
|
|
|
|
|
CSI ?381 Exit to VT-200 mode,
7 bit controls |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The mode
shift commands shown above will change
the current terminal mode to a new value. The startup mode is set by a
value stored in the setup file for PC-PLOT. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
CO
(7 bit) Control codes recognized by the VT-100/220/240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Ignored-used as fill character |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Move cursor 1 place to left |
|
|
|
|
|
|
Move to next defined tab stop |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Return cursor to left margin |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Stop transmission to host |
|
|
|
|
|
|
Terminate control sequence in
progress |
|
|
|
|
|
|
|
|
|
|
|
Leading character of multi-byte
control seq. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Designating
Character Sets |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Physical
character sets (Hardware or software loaded) can be designated as GO through
G3. The initial character set which is displayed is GO which is defined
to be the hardware character set of the terminal. Individual character
sets are associated with a physical font with the following command strings: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Not
implemented |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
where
char is one of the following characters: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
B
Standard ASCII characters
0 DEC Special graphics
A British |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Character
Set
Definition |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The following
table shows the coding for control and displayable characters in a 7 bit
environment: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
0 |
|
0 |
@ |
|
|
|
|
|
|
|
|
|
SOH
DC1 ! |
1 |
A |
Q |
|
|
|
|
|
|
|
2 |
STX
DC2 " |
2 |
B |
R |
b |
|
|
|
|
|
|
|
|
|
C |
|
c |
|
|
|
|
|
|
4 |
|
4 |
D |
T |
d |
|
|
|
|
|
|
|
|
5 |
E |
U |
e |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
BEL
ETB |
|
|
G |
W |
g |
|
|
|
|
|
|
|
|
|
|
|
|
|
H |
X |
h |
|
|
|
|
|
|
|
|
|
9 |
|
|
|
|
Y |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
J |
Z |
|
|
|
|
|
|
|
|
|
|
|
VT ESC |
+ |
|
K |
|
k |
|
|
|
|
|
|
|
|
|
|
|
|
|
L |
|
|
I |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
m |
|
|
|
|
|
|
|
|
|
|
|
|
|
N |
|
n |
|
|
|
|
|
|
|
|
|
|
|
|
|
O |
|
o |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The CO
control characters are columns 0 and 1
The Cl control characters are columns 8 and 9 **
The GL character set are columns 2 through 7
The GR character set are columns a through f ** |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Not
implemented |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
In a
7 bit environment, only CO control characters and GL displayable characters
can be used. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Invoking
character sets under program control |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Invoke GO into GL (default) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Invoke G2 into GR (default) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
** Not
mnlemented |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ANSI
MODE Single Code Escape. Seauences |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Index-move cursor do and scroll
if necessary |
|
|
|
|
|
|
New Line (return, line feed) |
|
|
|
|
|
Reverse
index-curs up and scroll if necessary |
|
|
|
|
|
Save cursor and attributes |
|
|
|
|
|
|
Restore cursor and attributes |
|
|
|
|
|
|
Send terminal ID (same as DA
request ESC [ 0 c) |
|
|
|
ESC |
|
|
Set tab at current cursor |
|
|
|
ESC |
|
|
Set keypad application mode |
|
|
|
ESC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ANSI two
byte seauences |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC #
8 Fill screen with alignment pattern (E's) |
|
|
|
|
|
ESC #
3 Top half double high/double wide (not in) |
|
|
|
|
ESC #
4 Bottom half DH/DW chars (not implemented) |
|
|
|
ESC #
S Normal characters |
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC #
6 Single high/double wide (not implemented) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC
r Beginning of multibvte ANSI seauence |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Format:
ESC [ x pl;p2;p3;p4...p7<term> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
II
I I |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
II
II II II II II |
|
|
I
I----terminating letter defines end of seq. I |
|
|
|
|
|
|
|
|
|
|
|
|
I---------numeric
parameter (up to 4 digits) empty=0, leading zeros are ignored |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I (---sequence
qualifying character I |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
I-----ANSI
sequence indicator |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [!p |
|
|
|
|
|
|
Set terminal
to power-up default state |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
not same
as ESC c which refreshes setups with current NVR settings |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC
[ p l pt pt pt |
|
|
|
|
set/clear
mode h set |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
l clear |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PI PI PI
p1 |
|
|
|
|
2
keyboard action-locked/unlocked
4 insert/replace |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
12 send/receive |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
20 line
feed/new line |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
? pl h set mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
? pl 1 reset mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
cursor
key mode (h=app,l=cursor)
VT-52 mode (reset only) |
|
|
|
|
|
|
PI |
|
|
|
|
|
|
|
|
|
|
PI |
|
|
|
|
80/132
col mode (h=132 1=80)
smooth/ jump scroll (not implemented)
reverse/norm video (not implemented)
Origin mode
absolute/relative wraparound on/off |
|
|
|
|
pl |
|
|
|
|
|
|
|
|
PI |
|
|
|
|
|
|
|
|
PI |
|
|
|
|
|
|
|
|
PI |
|
|
|
|
|
|
|
|
pl |
|
|
|
|
auto
repeat (on/off) (not implemented)
interlace on/off (not implemented)
print form feed |
|
|
|
pl |
|
|
|
|
|
|
** |
PI |
|
|
|
|
|
|
|
PI |
|
|
|
|
print extent |
|
|
|
|
|
|
|
|
|
|
|
|
|
** |
PI |
|
|
|
|
text
cursor enable 4010/4014 mode |
|
|
|
|
|
|
|
|
|
|
|
PI |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC[plA
ESC [ pl B
ESC [ pl C ESC[plD |
|
|
|
|
Cursor
up p l rows
Cursor do pl rows
Cursor right pl cols
Cursor left pl cols |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
p1;p2H or f Put cursor at row pl col p2 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
pl;p2..p7 m set attributes on screen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PI |
|
|
|
|
0
I 4 5 7 8 10 11 |
|
|
|
reset
attributes to wht/blk set bold |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
underline
(blue chars in color) set blink attribute |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
reverse
video |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
turn off
bold,blin k,reverse set red bg |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
set green
bg |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
25 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC.[
PI n Send status report to host ( ESC [ 1;2c ) pl=6 return
cursor position ( ESC [ R;C R ) pl=5 report error status |
|
|
|
|
|
|
|
|
|
|
ESC [ 0
n => no errors |
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ 3
n =>there are errors |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ ?
pl n Device status |
|
|
|
|
|
|
|
|
|
|
|
|
|
pl=15 request
printer status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return
strings |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
? 13 n DTR not asserted-no printer |
|
|
|
|
|
|
ESC [ ?
10 n DTR asserted-printer ready |
|
|
|
|
|
|
|
ESC [
? 11 n DTR not now asserted-not ready |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pl=25 request
locked/unlocked- status |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return
strings |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
? 20 n unlocked user-definable keys |
|
|
|
|
|
ESC [ ?
21 n locked |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pl=26 return
keyboard language |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return
strings |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ ? 27;pn n |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Clear from cursor to end of
screen |
|
|
|
|
|
|
Clear from top of screen to
cursor |
|
|
|
|
|
|
|
|
|
|
|
Clear from cursor to end of
line |
|
|
|
|
|
|
Clear from start of line to
cursor |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
start line of scrolling region |
|
|
|
|
|
|
|
|
|
|
|
at least 2 lines must be defined |
|
|
|
|
|
|
Default:pl=p2=0 =>region=whole
screen |
|
|
|
|
|
|
|
|
|
|
|
pl=5 turn on auto print mode |
|
|
|
|
|
|
pl=4 turn off auto print mode |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pl=5 turn on printer controller
mode |
|
|
|
|
|
|
pl=4 turn off printer controller
mode |
|
|
|
|
|
|
(screen off-chars to printer
only) |
|
|
|
|
|
|
pl=0 full printscreen (scrolling
region) |
|
|
|
|
|
|
|
|
|
|
|
pl=0 report device attributes |
|
|
|
|
|
|
|
|
|
|
|
ESC [ ? nO;n l;n2;n3;n4;n6;n7;n8;n9c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nO
62 VT-200 class terminal |
|
|
|
|
|
nl
1 132 columns |
|
|
|
|
|
|
|
|
n2
2 printer port |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
If terminal
is in VT-100 mode and an ID other than VT-240 is selected, the the following
exchanges are sent: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ ?
1;2c VT-100 with AVO |
|
|
|
|
|
|
ESC [ ?
I;Oc VT-101 terminal |
|
|
|
|
|
|
|
ESC [ ?
6c VT-102 terminal |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ >
pi c Device attributes |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
pl=0 return
terminal type and firmware revision |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
report
returned |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ >
2;pv;po c |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2
VT-200 type terminal |
|
|
|
|
|
|
|
|
|
|
|
pv
version number |
|
|
|
|
|
|
|
|
|
|
|
|
|
po
options 0=none, 1=modem |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
PI q Load keyboard LEDS (not implemented) ESC [ pl y
Confidence test ** ** Not implemented |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [
pl x Return device parameters to host Returns ESC [ pl;p2;p3;p4;p5;p6;p7x
PI 2 report of terminal characteristics |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
p2
1 no parity |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4
odd parity |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5
even parity |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
p3
1 8 bits/char |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2
7 bits/char |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
p4,p5
16 110 baud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32
150 baud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48
300 baud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
56
600 baud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
64
1200 baud 88 2400 baud 104 4800 baud 112 9600 baud |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
p6
1 clock=16 x baud rate |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
p7
flags from block 5 of setup (returns 0) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC [ pl
g Clear tab function |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PI
0 clear tab at current cursor |
|
|
|
|
|
|
|
|
|
|
|
|
3
clear all tabs |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
VT-52
Mode single code escape sequences |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ESC |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Enter graphics (not supported) |
|
|
|
|
|
|
|
|
|
|
|
Exit graphics (not supported) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
THE NOMENCLATURE AF1
MEANS DEPRESS THE ALT KEY WITH THE F1 KEY |
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV Plus has a
program module named KEYDEFI.COM which will redefine the keyboard so that
the new IBM enhanced keyboard looks like a standard DEC VT-100. The redefinition
module is described more fully in appendix G. VT-640 Commands |
|
|
|
|
|
|
|
|
|
|
|
The Digital Engineering
VT-640 conversion of the DEC VT-100 terminal utilizes all of the
DEC ANSI commands, all of the Tektronix 4010 commands plus a few defined
specifically for the conversion. PC-PLOT-IV includes some of the
added commands. |
|
|
|
|
|
|
|
|
|
|
|
These additional commands
allow PC-PLOT-IV to be used with Molecular Designs Limited MACCS software. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Command Meaning |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
SYN Shift
to transparent mode (4010 alpha) |
|
|
|
|
ESC "Og Shift
to transparent mode |
|
|
|
|
|
|
ESC "4g Crosshair
cursor on (same as ESC SUB) |
|
|
|
|
ESC /Od Normal
draw-points on |
|
|
|
|
|
|
|
|
ESC /ld Undraw
mode-points off |
|
|
|
|
|
|
|
ESC /2d XOR
new point with screen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Appendix
C Terminal emulation commands |
|
|
Appendix
D HELP Compiler |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Introduction |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV
includes a 25 section help file which provides additional assistance to
users on-line. It is possible for users to change the help file or add
to it for their own unique system requirements. |
|
|
|
|
|
|
|
|
|
|
|
|
|
A large
user of PC-PLOT-IV may want to eliminate most. of the general help and
write their own help file for their on-line users. The PC-PLOT-IV HELP
compiler is used to convert straight text files into a help file that the
HELP command in PC-PLOT-IV can utilize. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Format
of HELP text file |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
A help
text file is made up of several elements. The first section of text is
the HELP menu which lists the topics available by number. The balance of
the HELP text file is made up of text which will fit on one or more screens. |
|
|
|
|
|
|
|
|
|
|
|
|
|
Each
section of the HELP file is terminated with an accent mark (reverse apostrophe)
( ` ). If there is more than one page to the help topic, separate the pages
with a left curly brace ( { ). |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
text |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
HELP file
example |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1. Help
on loggin in
2. Help on logging out
3. Help on mail system
4. Help on graphics |
|
|
|
|
|
|
|
5. Help
on searching |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Topic 1
First Help Screen
.... text of screen ..... |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
... text
of screen ......
Topic 2 help screen
Topic 3 help screen
Topic 4 help screen
Topic 5 help screen |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Using
the HELP compiler |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
The HELP
file compiler reads the file that you create and reformats it so that it
can be used by the PC-PLOT-IV HELP command. To run the compiler, follow
the instructions below: |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
C>TEXT<cr> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Appendix
F Mouse and Keyboard Remapping |
|
|
|
|
|
|
|
|
|
|
Mouse Drivers |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV no longer
contains a mouse driver. It relies on a driver supplied by the manufacturer
of your mouse which provides a interface compatible with the Microsoft
mouse. |
|
|
|
|
|
|
|
|
|
The following mice have
been tested by Microsoft Systems: |
|
|
|
|
|
|
|
|
|
|
|
Mouse Systems PC Mouse
(optical)
Microsoft Serial Mouse
Microsoft Bus Mouse |
|
|
|
|
|
IBM PS/2 Mouse |
|
|
|
|
|
|
|
|
|
|
|
|
It is necessary to load
the mouse driver before you run PC-PLOT-IV. If you have selected the mouse
option in the ALT-S setup menu as YES, the message < Looking for Mouse
Driver at INT 33 hex >. If a mouse driver is found, it will be used in
GIN mode. |
|
|
|
|
|
|
|
|
The status of the mouse
driver flag is displayed in the ALT-8 screen on the next to the last line. |
|
|
|
|
|
|
|
|
Keyboard
Redefinition |
|
|
|
|
|
|
|
|
|
|
|
|
|
PC-PLOT-IV Plus includes
the necessary code to implement keyboard remapping if a second program,
KEYDEF is used. The KEYDEF program will be available in first quarter 1988
for registered users of PC-PLOT-IV. Avai;ability of the keyboard redefinition
will be announced in the first quarter 1988 "Terminal Emulation News". |
|
|
|
|
|
|
|
|
To remap the keyboard,
you must run the program KEYDEFI before you run PC-PLOT-IV Plus. |
|
|
|
|
|
|
|
|
KEYDEFI does not interfere
with other keyboard enhancement or POP-UP utility programs. |
|
|
|
|
|
|
|
|
KEYDEF is made up of
two modules: the program KEYDEFLCOM and KEYDEF.DAT which is the key redefinition
file. A user can modify the KEYDEF.DAT file to completely redefine the
entire keyboard. Each key can send either a single ASCII character, a string
of ASCII characters, an extended keyboard scan code, or a null code. KEYDEF
is designed to accommodate keyboards which have up to 128 keys. All combinations
are available for all keys, normal, shifted, ctrl, and ALT. |
|
|
|
|
|
|
|
|
PC-PLOT-IV
100 Appendix F-Mouse and Keyboard |