Appendix A ASCII Code Chart         
                 
  The following chart lists the ASCII control codes by name, hex value, and the key combination required to generate the code. The ^ symbol preceding the control codes means that you depress the CTRL key and the letter key together. 
                 
  IBM 
Hex   
  ASCII 
  IBM 
  Hex 
  ASCII 
 
  key 
value   
  name 
  key 
value 
  name 
 
  ^@ 
  00 
  NUL 
  ^P 
  10 
  DLE 
 
  ^A 
  01 
  SOH 
 ^Q
  11 
  XON 
 
  ^B 
  02 
  STX 
  ^R 
  12 
  DC2 
 
  ^C 
  03 
  ETX 
  ^S 
  13 
  XOFF 
 
  ^D 
  04 
  EOT 
  ^T 
  14 
  DC4 
 
  ^E 
  05 
  ENQ 
  ^U 
  15 
  NAK 
 
  ^F 
  06 
  ACK 
  ^V 
  16 
  SYN 
 
  ^G 
  07 
  BEL 
  ^W
  17 
  ETB 
 
  ^H 
  08 
  BS 
  ^X 
  18 
  CAN 
 
  ^I 
  09 
  TAB 
  ^Y 
  19 
EM   
  ^J 
  OA 
  LF 
  ^Z 
IA 
  SUB 
 
  ^K 
  OB 
  VT 
 ^[
  1B 
  ESC 
 
  ^L 
  OC 
  FF 
  ^\ 
  1C 
  FS 
 
  ^M 
  OD 
  CR 
 ^] ID 
  GS 
 
  ^N 
  OE 
  SO 
  ^6 
  1E 
  RS 
 
  ^O 
  OF 
  SI 
 ^_
  IF 
  US 
 
                 
  PC-PLOT-IV     Appendix A 

  Appendix B RS-232-C Cable Definitions                 
                                   
    If you are using an external modem, the cable must include the following signals:       
                                   
     






20 
    protective ground (static and AC ground) 
transmit data 
           
          receive data 
request to send 
clear to send 
data set ready 
signal common (not the same as pin 1) 
data terminal ready 
             

Modem Cable diagram

Computer-computer

IBM PC

Modem

     PC 1

PC 2
     
 
 
 
 
         
     
 
 
 
 
         
     
 
 
 
 
         
     
 
 
 
 
         
     
 
 
             
     
 
 
             
     
 
 
             
     
  20 
  20 
             
                                   
  There are two kinds of serial devices defined by EIA standard RS-232C. Data terminal equipment (DTE) is a definition for a 'dumb terminal'. Data communications equipment (DCE) is a definition for a modem. The modem cable above is for a connection between DTE and DCE. If you will be connecting a PC (DTE) directly to a host computer port (DTE), you will need a null modem cable which has the pin definitions switched. 

Null Modem Cable

  DTE (PC) 
  DTE (host) 
                 
 
 
                 
 
 
                 
 
 
                 
 
 
                 
 
 
                 
 
  20 
                 
 
 
                 
  20 
 
                 
                                   
  IBM PC-AT RS-232 Cables          
                 
  The IBM PC-AT printer/serial adapter card uses a 9 pin connector for the RS-232 serial port rather than the standard DB-25 connector. The following definition shows the connections on the 9 pin connector, the pins on the IBM 9-pin to 25-pin adapter, and a direct-connect plotter cable. 
                 
    IBM AT
  Adapter 
  Cable 
   
   
 
  Carrier detect 
 
   
   
 
  Received Data 
 
   
   
 
  Transmitted Data 
 
   
   
 
  Data Terminal Ready 
  20 
   
   
 
  Signal Ground 
 
   
   
 
  Data Set Ready 
 
   
   
 
  Request to Send 
 
   
   
 
  Clear to Send 
 
   
   
 
  Ring Indicator 
  22 
   
    IBM AT 
  HP Plotter
     
   
 
  Received Data 
 
   
   
 
  Transmitted data 
 
   
   
 
  Signal Ground 
 
   
                 
PC-PLOT-IV    Appendix B        

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: 
                           
                    Tek 4010 to VT-100                       ESC FF (lb, Oc hex)
                     VT-100 to Tek 4010                       GS (ld hex)
                     VT-100 to Tek 4010                       ESC [ 38 l (lower case L)
                     
  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           
                           
   
  ASCII           HEX
  Function 
     
   
  NUL               00H 
  Fill character-ignored 
     
   
  SP                  20H 
  Move I space right 
     
   
  BS                  08H 
  Move cursor left one space 
     
   
  CR                  0DH 
  Move cursor to left margin 
     
   
  LF                  0AH 
  Move one line down 
     
   
  BEL                 07H 
  Short beep on bell 
     
   
  BS                  08H 
  Move cursor back 8 pixels 
     
   
  HT                  09H 
  Move cursor 8 pixels to right 
     
   
  VT                  0BH 
  Move cursor 8 pixels up 
     
   
  SYN                16H 
  Fill character-ignored 
     
   
  GS                  1DH 
  Enter graphics mode/set move flag 
     
   
  FS 
  Set point plot mode 
     
   
  RS 
  Set incremental plot mode 
     
   
  US                  1FH 
  Exit graphics mode (also cr,ESC FF) 
     
   
  ESC                1BH 
  First char in a sequence (set LCE flag) 
     
   
  ESC ESC 
  Set LCE f lag 
     
   
  ESC NUL        00H 
  Set LCE flag 
     
   
  ESC ENQ        05H 
  Set bypass and return terminal status 
     
   
  ESC BEL         07H 
  Short beep 
     
   
  ESC BS           08H 
  Move cursor left one space 
     
   
  ESC HT          09H 
  Move cursor 8 pixels to right 
     
   
  ESC LF           0AH 
  Set LCE ignore filler CR and LF 
     
   
  ESC VT           0BH 
  Move cursor 8 pixels up 
     
    ESC FF            0CH    Clear screen & enter VT-100 mode/go to home pos.   
   
  ESC CR          0DH 
  Set LCE ignore filler CR and LF 
     
   
  ESC ETB         17H 
  Print hard copy 
     
   
  ESC CAN       18H 
  Set bypass mode 
     
   
  ESC SUB        1AH 
  Arm GIN mode and set bypass 
     
   
  ESC FS           1CH 
  Set point plot mode 
     
   
  ESC GS          1DH 
  Enter graphics mode/set move flag 
     
   
  ESC RS            IEH 
  Set incremental plot mode 
     
   
  ESC US           1FH 
  Exit graphics mode 
     
   
  ESC ?              3FH 
  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)       
                             
 
  ESC ` 
  solid 
               
 
  ESC a 
  dotted 
               
 
  ESC b 
  dot-dash 
               
 
  ESC c 
  short dash 
               
 
  ESC d 
  long dash 
               
 
  ESC e 
  solid 
               
 
  ESC f 
  solid 
               
 
  ESC g 
  solid 
               
 
  ESC h 
  solid 
               
 
  ESC i 
  dotted 
               
 
  ESC j 
  dot-dash 
               
 
  ESC k 
  short dash 
               
 
  ESC 1 
  long dash 
               
 
  ESC m 
  solid 
               
 
  ESC n 
  solid 
               
 
  ESC o 
  solid 
               
                             
  Incremental Plot Mode                   
                             
 
  Space 
       20H 
     Pen up 
               
 
 
 
  Pen down 
               
 
 
 
  up 
               
 
 
  up,right                 
 
 
 
  right 
               
 
 
 
  right,down 
               
 
 
 
  down 
               
 
 
 
  down, left 
               
 
 
 
  left 
               
 
 
 
  left,up 
               
                             
  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:                       
                                                       
   
 
 
 
  Y9 Y8 Y7 Y6 Y5 
  HI Y BYTE 
                   
   
 
  Y4 Y3 Y2 Y 1 YO 
  LO Y BYTE 
                   
   
 
  X9 X8 X7 X6 X5 
  HI X BYTE 
                   
   
  X4 X3 X2 X1 XO 
  LO X BYTE 
                   
                                                       
  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                   
   
  SP (20H) 
  X 0 
 
 
 
 
 
 
  hi y=0 
             
   
  ` (60H) 
  X 1 
 
  lo y=0 
             
   
  SP (20H) 
  X 0 
 
  hi x=0 
             
   
  @ (40H) 
  X 1 
 
  lo x=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 
 
  x9 x8 x7 x6 x5   hi x                 
    byte 3 
 
  x4 x3 x2 x l xO   lo x                 
   
  byte 4 
 
  y9 y8 y7 y6 y5   hi y                 
    byte 5 
 
 
  y4 y3 y2 yl yO   lo y 
0 1 1 0 1 <cr> 
0   0   1   0   0   <EOT> (optional) 
       
   
  byte 6 
 
 
         
   
  byte ? 
 
         
                                               
    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 
 
  x4 x3 x2 xl xO   lo x                 
   
  byte 3 
 
  y9 y8 y7 y6 y5   hi y                 
    byte 4 
 
  y4 y3 y2 yl y0   lo y 
0 1 1 0 1 <cr> 
0   0   1   0   0   <EOT> (optional) 
       
   
  byte 5 
 
         
   
  byte 6 
 
         
                                 
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:                                   
                                           
     
  byte 1 
 
 
 
  b   b   b   b   b   key that was pressed       
     
  byte 2 
 
  x9 x8 x7 x6 x5   hi x                   
      byte 3 
 
  x4 x3 x2 x l x0   lo x                   
     
  byte 4 
 
 
  y9 y8 y7 y6 y5   hi y                   
     
  byte 5 
 
 
  y4 y3 y2 y l y0   lo y 
0 1 1 0 1 <cr> 
0   0   1   0   0   <EOT> (optional) 
         
     
  byte 6 
 
 
           
     
  byte ? 
 
           
                                 
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:           
                                           
  Picture                              
                                           
  - ' ' ; , 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 
  white 
  C4 
  yellow 
           
    Cl 
  red 
  C5 
cyan             
    C2 
  green 
  C6 
  magenta 
           
    C3  blue 
  C7 
  black 
           
                                               
  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                           
                                           
   
  HiI 
     
   
  P 1 b15 b14 b13 b12 blI b10 
  P=parity (ignored) 
   
   
  x x x x x x x x 
  1=bit 7 (=1 for HiI) 
   
      01=bit 76 (01 for LoI)     
   
  HiI 
  s=sign bit 1=plus 0=minus 
   
   
  P 1 b9 b8 b7 b6 b5 b4 
     
   
  x x x x x x x x 
     
                                           
    LoI         
             
    P 0 1 s b3 b2 bl b0 x x x x x x x x     
             
  Command summary for 4100 functions recognized by PC-PLOT-IV+  
             
  The following commands represent a subset of the commands recognized by the Tektronix 4100 terminals that are recognized by PC-PLOT-IV. Entries with a (*) are parsed and acted upon while entries with (**) are parsed and ignored.   
             
  Dc-iv+ command 
description   
 
  US 
  Enter alpha mode 
 
  FS 
  Enter marker mode 
 
  GS 
  Enter Vector mode 
 
  ESC ETB 
  4010 hardcopy 
 
  ESC FF 
  Page 
 
  ESC CAN 
  Enter bypass mode 
  ** 
  ESC SI 
  Set font 
  ** 
  ESC SO 
  Set font 
 
  ESC SUB 
  4010 GIN 
 
  ESC ENQ 
  Report 4010 status 
 
  ESC < 
  Set 4010 alphatext size 
 
  ESC 8 
 
 
  ESC 9 
 
 
  ESC 
 
 
  ESC ; 
 
 
  ESC ! <enable code char> 
  Enable tablet GIN 
 
  ESC ! <disable code char> 
  Disable tablet GIN 
 
  ESC # ! 0 
  Report syntax mode 
 
  ESC % ! <code> 
  Mode select 
 
 
  4105 
  ** 
 
  ANSI 
 
 
  EDIT 
  ** 
 
  VT-52 
 
  A O <> 
  Write pixel file 
  ** 
  A P <> 
  Read pixel file 
 
  AR<> 
  Read command file 
 
  A W <> 
  Write command file 
 
  AX<> 
  End write command file 
 
  I A <int> 
  Set pick aperture 
 
  I C <int><int> 
  Set GIN cursor 
 
  I D <int> 
Disable GIN   
 
  I E <int><int> 
Enable GIIN   
 
  I F <int><int><int> 
  Set GIN stroke filtering 
 
  I G <int><int><int> 
  Set GIN gridding 
 
  I H <int> 
  Set tablet header chars 
 
  I I <int><int> 
  Set GIN inking 
 
  I L <int> 
  Report max line length 
 
  I M <int> 
  Set eom frequency 
 
  I P <int> 
  Report GIN point 
 
  I Q <char><char>
  Report term settings 
 
 
  I R <int><int> 
  Set GIN rubberbanding 
 
 
  I S <int><int><int> 
  Set report sig chars 
 
 
  I T <int> 
  Set tablet status strap 
 
 
  I U <> 
  Set GIN cursor speed 
 
  *
  J C <str><str><str> 
  Copy 
 
 
  JE 
  Stop spooling 
 
 
  J L <str> 
  Load 
 
 
  J Q <string> 
  Report device status 
 
 
  J S <str><str><str> 
  Spool 
 
 
  J V <str><int><str><str> 
  Save 
 
 
  K A <int> 
  Enable dialog area 
 
 
  K B <int ary> 
  Set tab stops 
 
 
  KC 
  Cancel 
 
 
  K D <int><int array> 
  Define macro 
 
 
  K E <int> 
  Set echo 
 
 
  K F <int> 
  If cr 
 
 
  K H <int> 
  Set hardcopy 
 
 
  K I <int> 
  Ignore Deletes 
 
 
  K L <int> 
  Lock keyboard 
 
 
  K M <int> 
  Set margins 
 
 
  K N <int> 
  Renew view 
 
 
  KO<> 
  Define non volatile macro 
 
 
  K P <int> 
  Set page full action 
 
 
  KQ 
  Report errors 
 
 
  K R <int> 
  crlf 
 
 
  K S <int> 
  Set snoopy mode 
 
 
  K T <int> 
  Set error threshhold 
 
 
  K U <> 
  Save nonvolitile parms 
 
 
  KV 
  Reset 
 
 
  K W <> 
  Enable key expansion 
 
 
  K X <int> 
  Expand macro 
 
 
  K Y <int> 
  Set key execute chars 
 
 
  K Z <int><int> 
  Set edit chars 
 
 
  L B <int+> 
  Set dialog area buffer size 
 
 
  L C <int+> 
  Set dialog area chars 
 
 
  LE 
  End panel 
 
 
  L F <xy> 
  Move 
 
 
  L G <xy> 
  Draw 
 
 
  LH 
  Draw marker 
 
 
L I <int+><int+><int+> 
  Set dialog area index 
 
 
  L K <int> 
  Include copy of segment 
 
 
  L L <int+> 
  Set dialog area lines 
 
 
  L M <int> 
  Set dialog area writing mode 
 
 
  L P <xy><int> 
  Begin panel boundary 
 
 
  L S <int> 
  Set dialog area surface 
 
 
  L T <string> 
  Draw graphtext 
 
 
  L V <int> 
  Set dialog area visibility 
 
 
  L X <xy> 
  Set dialog area position 
 
 
  LZ 
  Clear dialog scroll 
 
  M C <int><int><int> 
  Set graphtext size 
 
 
  M D <int><int><int><int> 
  Begin fill pattern 
 
 
  ME 
  End fill pattern 
 
 
  M F <int> 
  Set graphtext font 
 
 
  M G <int> 
  Set grp area writing mode 
 
 
  M I <int> 
  Set pick ID 
 
 
  M L <int> 
  Set line index 
 
 
  M M <int> 
  Set marker type 
 
  *
  M N <int> 
  Set character path 
 
 
  M P <int> 
  Select fill pattern 
 
 
  M Q <int> 
Set graphtext precision   
 
  M R <real> 
  Set graphtext rotation 
 
 
  M S <int><int><int> 
  Set panel filling mode 
 
 
  M T <int> 
  Set text index 
 
 
  M V <int> 
  Set linestyle 
 
 
  M W <int> 
  Set linewidth 
 
 
  M Z <int><int><int> 
  Set alphatext size 
 
 
  N B <int> 
  Set stop bits 
 
 
  N C <int><int> 
  Set eom chars 
 
 
  N D <int> 
  Set transmit delay 
 
 
  N F <int> 
  Set flagging mode 
 
 
  N E <int-array> 
  Set eof string 
 
 
  N K <int+> 
  Set break time 
 
 
  N L <int> 
  Set transmit rate limit 
 
 
  N M <int> 
  Prompt mode 
 
 
  N P <int> 
  Set parity 
 
 
  N Q <int+> 
  Set queue size 
 
 
  N R <int+><int+> 
  Set baud rates 
 
 
  N S <int array> 
  Set prompt string 
 
 
  N T <int array> 
  Set eol string 
 
 
  N U <int> 
  Set bypass cancel char 
 
 
  O B <int> 
  Arm for block mode 
 
 
  O C <int><int> 
  Set block continue chars 
 
 
  O D <int> 
  Set duplex mode 
 
 
  O E <int><int> 
  Set block end chars 
 
 
  O H <ary><ary> 
  Set block headers 
 
 
  O L <int> 
  Set block line length 
 
 
  O M <int><int> 
  Set block master chars 
 
 
  O N <ary><ary> 
  Set block non xmit chars 
 
 
  O P <int><int><int><int> 
  Set block packing 
 
 
  O S <int><int> 
  Set block length 
 
 
  O T <int> 
  Set block timeout 
 
 
  P Q <str><str><str> 
  Report port status 
 
 
  Q A <> 
  Set copy size 
 
 
  Q D <> 
  Select hardcopy interface 
 
 
  Q E <> 
  Set mono attrib 
 
 
  Q I <> 
  report count 
 
 
  Q L <> 
  Select dialog hardcopy intf 
 
 
  Q O <> 
   
 
  Q T <> 
   
 
  Q U <> 
   
  R A <int><int><int> 
  Set view attributes 
 
 
  R B <int> 
  Set background gray level 
 
 
  R C <int> 
  Select view 
 
 
  R D <ary> 
  Set surface definitions 
 
 
  R E <int> 
  Set border visibility 
 
 
  R F <int> 
  Set fixup Level 
 
 
  R G <ary> 
  Set surface gray levels 
 
 
  R H <xy> 
  Set pixel beam position 
 
 
  R I <ary> 
  Set surface visibility 
 
 
  R J <int> 
  Lock viewing keys 
 
 
  R K <int> 
  Delete view 
 
 
  R L <ary> 
  Runlength write 
 
 
  R N <ary> 
  Set surface priorities 
 
 
  R P <int><char ary> 
  Raster write 
 
 
  R R <xy><xy><int> 
  Rectangle fill 
 
 
  R S <xy><xy> 
  Set pixel viewport 
 
  R U <int><int><int> 
  Begin pixel operation 
 
 
  R V <xy><xy> 
  Set viewport 
 
 
  R W <xy><xy> 
  Set window 
 
 
  R X <int><xy><xy><xy> 
  Pixel copy 
 
 
  S A <int><ary><ary> 
  Set segment class 
 
 
  SC 
  End segment 
 
 
  S D <int><int> 
  Set segment detectability 
 
 
  S G <int><int><int> 
  Set graphtext font grid 
 
 
  S H <int><int> 
Set segment highlighting   
 
  S I <int><r><r><r><xy> 
  Set segment image transform 
 
 
  S K <int> 
  Delete segment 
 
 
  S L <ary><ary> 
  Set current matching class 
 
 
  S M <int><int> 
  Set segment writing mode 
 
 
  S O <int> 
  Begin segment 
 
 
  S P <xy> 
  Set pivot point 
 
 
  S Q <int><char ary> 
  Report segment status 
 
 
  S R <int><int> 
  Rename segment 
 
 
  S S <int><int> 
  Set segment display priority 
 
 
  S T <int><int> 
  Begin graphtext char 
 
 
  SU 
End graphtext character   
 
  S V <int><int> 
  Set segment visibility 
 
 
  S X <int><xy> 
  Set segment position 
 
 
  S Z <int><int> 
  Delete graphtext character 
 
 
  T B <int><int><int> 
  Set background color 
 
 
  T C <> 
  Set GIN cursor color 
 
 
  T D <int> 
  Set alpha cursor index 
 
 
  T F <int> 
  Set dialog area color map 
 
 
  T G <int><ary> 
  Set surface 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 
     
     
  ** Not implemented 
     
                     
  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     
                                     
 
  NUL 
  00 
  Ignored-used as fill character 
 
 
  ENQ 
  05 
  Send answerback message 
 
 
  BEL 
  07 
  Beep speaker in IBM-PC 
 
 
  BS 
  08 
  Move cursor 1 place to left 
 
 
  HT 
  09 
  Move to next defined tab stop 
 
 
  LF 
  10 
  Move cursor down 1 line 
 
 
  VT 
  11 
  Same as LF 
 
 
  FF 
  12 
  Same as LF 
 
 
  CR 
  13 
  Return cursor to left margin 
 
 
  SO
  14 
  Invoke G1 character set 
 
 
  SI 
  15 
  Invoke GO character set 
 
 
  XON 
  17 
  Resume transmission 
 
 
  XOFF 
  19 
  Stop transmission to host 
 
 
  CAN 
  25 
  Terminate control sequence in progress 
 
 
  SUB 
  26 
  Same as CAN 
 
 
  ESC 
  27 
  Leading character of multi-byte control seq. 
 
 
  DEL 
  127 
  Ignored 
 
                                     
  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: 
                                     
 
  ESC ( 
  char 
  Define char to be GO set 
         
 
  ESC) 
  char 
  Define char to be G1 set 
         
 
  ESC * 
  char 
  Define char to be G2 set 
         
 
  ESC + 
  char 
  Define char to be G3 set 
         
                                     
  ** 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 1 2 
 
 
 
 
 
     
   
  NUL DLE Sp 
 
 
 
     
   
 
SOH DC1 ! 
 
 
     
    STX DC2 " 
 
     
   
 
  ETX DC3 # 
 
 
 
     
   
  EOT DC4 S 
 
     
   
 
  ENQ NAK % 
 
     
                                     
   
 
  ACK SYN 
 
 
 
 
 
 
           
   
 
BEL ETB 
 
 
 
           
   
  8
  BS CAN 
 
 
 
           
   
  HT EM 
 
 
 
 
 
           
   
 
  LF SUM 
 
 
 
 
           
   
 
VT ESC 
 
 
 
           
   
 
  FF FS 
 
 
 
 
           
   
 
  CR GS 
 
 
 
 
 
           
   
 
  SO RS 
 
 
               
   
 
  SI US 
 
 
 
DL   
           
                                                   
  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              
                                                   
 
  SI 
  Invoke GO into GL (default) 
           
 
  SO 
  Invoke G1 into GL 
           
 
  ESC - 
  Invoke G1 into GR 
  ** 
         
 
  ESC n 
  Invoke G2 into GL 
           
 
  ESC ) 
  Invoke G2 into GR (default) 
           
 
  ESC o 
  Invoke G3 into GL 
  ** 
         
 
  ESC
  Invoke G3 into GR 
           
                                                   
  ** Not mnlemented                                     
                                                   
  ANSI MODE Single Code Escape. Seauences                 
                                                   
 
  ESC 
 
  Index-move cursor do and scroll if necessary 
 
 
  ESC 
 
  New Line (return, line feed) 
 
 
  ESC 
 
Reverse index-curs up and scroll if necessary   
 
  ESC 
 
  Save cursor and attributes 
 
 
  ESC 
 
  Restore cursor and attributes 
 
 
  ESC 
 
  Send terminal ID (same as DA request ESC [ 0 c) 
 
  ESC 
 
  Set tab at current cursor 
 
  ESC 
 
  Set keypad application mode 
 
  ESC 
 
  Set keypad numeric mode 
 
                                                   
  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                                 
                                                             
   
  PI 
 
      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 
  18 
       
    PI
  19 
      print extent                         
  **  PI 
  25 
      text cursor enable 4010/4014 mode                   
    PI 
  38 
                       
                                       
                                                             
  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                         
                                                             
   
  12 
  set blue bg 
  NOTE: 
 
   
  13 
  set red fg 
  Attributes are 
 
   
  14 
  set green fg 
  additive. To set 
 
   
  15 
  set blue fg 
  red f g, blue bg 
 
   
  16 
  set Intensity bit 
  use command: 
 
   
  17 
  set blink bit 
  ESC 18;31;44m 
 
   
  18 
  clear all attributes 
   
   
  19 
  reset Intensity bit 
  18=clear all 
 
   
  20 
  reset underline 
  31 =set red fg 
 
   
  21 
  reset blink 
  44=set blue bg 
 
   
  22 
  not bright 
   
   
  24 
  not underlined 
   
    25 
  not blinking 
   
   
  27 
  not reverse 
   
   
  30 
  set fg black 
   
   
  31 
  set fg red 
   
   
  32 
  set fg green 
   
   
  33 
  set fg yellow 
   
   
  34 
  set fg blue 
   
   
  35 
  set fg magenta 
   
   
  36 
  set fg cyan 
   
   
  37 
  set f g. white 
   
   
  40 
  set bg black 
   
   
  41 
  set bg red 
   
   
  42 
  set bg green 
   
   
  43 
  set bg yellow 
   
   
  44 
  set bg blue 
   
   
  45 
  set bg magenta 
   
   
  46 
  set bg cyan 
   
   
  47 
  set bg white 
   
                               
  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             
                   
   
  1 North American 
   
 
  ESC [ pl L 
  Insert pl lines 
   
 
  ESC [ pl M 
  Delete pl lines 
   
 
  ESC [ p1 @ 
  Insert pl characters 
   
 
  ESC [ pl P 
  Delete pl characters 
   
 
  ESC [ pI X 
  Erase pl characters 
   
 
  ESC [ 0 J 
  Clear from cursor to end of screen 
   
 
  1 J 
  Clear from top of screen to cursor 
   
 
  2 J 
  Clear all screen 
   
 
  ESC [ 0 K 
  Clear from cursor to end of line 
   
 
  1 K 
  Clear from start of line to cursor 
   
 
  2 K 
  Clear all lines 
   
 
  ESC [ pl;p2 r 
  set scrolling region 
   
 
  pl 
  start line of scrolling region 
   
 
  p2 
  end line 
   
   
  at least 2 lines must be defined 
   
   
  Default:pl=p2=0 =>region=whole screen 
   
 
  ESC [ ? PI i 
  Printing 
   
   
  pl=5 turn on auto print mode 
   
   
  pl=4 turn off auto print mode 
   
   
  pl=1 print cursor line 
   
 
  ESC [ PI i 
  Printing 
   
   
  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) 
   
 
  ESC [ pl c 
  Device attributes 
   
   
  pl=0 report device attributes 
   
   
  report returned 
   
   
  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 
 
  Cursor up 
           
 
  ESC 
 
  Cursor Down 
           
 
  ESC 
 
  Cursor right 
           
 
  ESC 
 
  Cursor left 
           
 
  ESC 
 
  Enter graphics (not supported) 
           
 
  ESC 
 
  Exit graphics (not supported) 
           
 
  ESC 
 
  Home cursor 
           
 
  ESC 
 
  Reverse Index 
           
 
  ESC 
 
  Erase to end of screen 
           
                                       
  ESC 
 
  Erase to end of line 
 
  ESC  Y 1 c 
  Set cursor to line (1);Col (c) 
 
  ESC 
 
  Send term ID (returns ESC / Z) 
 
 
  ESC 
 
  Enter alt keypad mode 
 
 
  ESC 
 
  Exit alt keypad mode 
 
 
  ESC 
 
  Enter ANSI (VT-100) Mode 
 
 
  ESC 
 
  Enter auto print mode 
 
 
  ESC 
 
  Exit auto print mode 
 
 
  ESC 
 
Enter printer controller mode  
 
  ESC 
 
  Exit printer controller mode 
 
 
  ESC 
 
  Print screen 
 
 
  ESC 
 
  Print cursor line 
 
         
      Character string sent by keypad keys             
                                   
   
  VT-100 
  VT-52 
 
  IBM 

key 

VT100  
  key 
Numeric 
  Mode 
  Application 
  Mode 
Numeric 
  Mode 
  Application 
  Mode 
  Keycode From 
  PC 
  F9/F10 
 
 
ESC 0 p 
 
  ESC ? p 
  140 
  F7 
 
 
ESC 0 q 
 
  ESC ? q 
  141 
  F8 
 
 
ESC 0 r 
 
  ESC ? r 
  142 
  AF7 
 
 
ESC 0 s 
 
ESC ? s 
  143 
  F5 
 
 
ESC 0 t 
 
ESC ? t 
  144 
  F6 
 
 
ESC 0 u 
 
  ESC ? u 
  145 
  AF5 
 
 
ESC 0 v 
 
  ESC ? v 
  146 
  F3 
 
 
  ESC 0 w 
 
  ESC ? w 
  147 
  F4 
 
 
ESC 0 x 
 
  ESC ? x 
  148 
  AF3 
 
 
ESC 0 y 
 
  ESC ? y 
  149 
  AF2 
 
 
  ESC 0 m 
 
  ESC ? m 
  137 
  AF6 
    ESC 0 1    ESC ? 1 
  136 
  AF9 
    ESC 0 n   
  ESC ? n 
  138 
  AF8/10 
  Ent 
  Ent 
  ESC 0 M 
Ent 
  ESC ? M 
  139 
  F 1 
  PF 1 
ESC 0 P  ESC 0 P 
  ESC P 
  ESC ? P 
  150 
  F2 
PF2   
  ESC 0 Q 
ESC 0 Q 
  ESC Q 
  ESC ? Q 
  151 
  AFI 
PF3   
  ESC 0 R 
ESC 0 R 
  ESC R 
  ESC ? R 
  152 
  AF2 
PF4   
ESC 0 S  ESC 0 S 
  ESC S 
ESC ? S 
  153 
  ky 8 
UP  ESC [ A 
  ESC 0 A * 
  ESC A 
  ESC A 
  132 
  ky 2 
DN   
  ESC [ B 
  ESC 0 B * 
  ESC B 
  ESC B 
  133 
  ky 6 
RT  ESC [ C 
  ESC 0 C * 
  ESC C 
  ESC C 
  134 
  ky 4 
LF  ESC [ D 
  ESC 0 D * 
  ESC D 
  ESC D 
  135 
                                   
  Note: the sequence ESC 0 <char> and ESC ? <char> is ignored         
                                   
      VT-100 Keypad Definitions                 
                                   
  The complete VT-100 keyboard can be emulated on the IBM PC keyboard with some compromises. The compromise is the placement and arrangement of the 16 key "keypad array" on the right hand side of the DEC keyboard. There is no similar arrangement on the IBM-PC so that the functions of the keypad are generated using the function keys F1-F10 on the left of the IBM keyboard.   
                                   
  The arrangement, while not the easiest to visualize is the closest that we could come to completely emulating the VT-100 keys.   
                                   
         
  VT-100 
   
  IBM-PC 
     
        PF1  PF2 
  PF3 
  PF4 
  F1 F2 
  AF1 AF2 
   
       
 
 
 
  F3 F4 
  AF3 AF4 
   
       
 
 
 
  F5 
F6 
  AF5 
AF6 
   
       
 
 
 
  F7 
F8 
AF7 I
AF8IE
   
             
 
 
  I IN 
   
       
 
  0 I 
 
 
_ _ 
  F9 
F10 
  AF9 I
AF10 IT 
   
                                   
  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>                   
                         
  Name of input text file ..........HELP.TEX<cr>     
           
  Name of output text file .......... PCPLOT.HLP<cr>   
           
  Number of text segments ........... 27<cr>       
           
  C>         
           
The name of the input text file containing your HELP file text can have any name. The output file MUST be named PCPLOT.HLP. You must also specify the number of text segments in your file for the compiler to work correctly. 
           
The number of segments is equal to the number of topics plus one for the initial menu. The file PCPLOT.HLP is an ASCII file with a header record appended which has a pointer to the start of each of the text segments. 
           
PC-PLOT-IV     Appendix D HELP Compiler
Appendix E Wyse WY-700 Notes     
         
PC-PLOT-IV assumes that the COLOR jumper on the WY-700 is installed. If you are unable to get any graphics drawing on the Wyse board with PC-PLOT-IV, you may have to enter the command: 
         
  MODE C080<cr>       
         
The mode command will set up the registers in the Wyse for use with PC-PLOT-IV. 
         
PC-PLOT-IV     Appendix E-Wyse WY-700 Notes   

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 

Contents | 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | Appendix