HPlogo Using SNA IMF Pass Thru: HP 3000 MPE/iX Computer Systems

Appendix D Sample PTCONFIG File

» 

Technical documentation

» Feedback

 » Table of Contents

 » Glossary

 » Index

This appendix is a sample PTCONFIG file for emulating an IBM 3278 display station. For more information on creating a PTCONFIG file, see Chapter 2 “Configuring Pass Thru”

This PTCONFIG file has three parts:

  1. Function key definitions for terminals that use 16 function keys (shifted function keys).

  2. Function key definitions for terminals that use 8 function keys.

  3. Pass Thru options.

*****************************************************
*     This part of PTCONFIG defines a terminal      *
*              with 16 function keys.               *
*****************************************************
 
SOFTKEYS:16
 
*LEVEL ONE
BEGIN
F2:SRK       "SYS REQ"
F3:CLEAR     "CLEAR"
F4:PRINT     "PRINT"
F5:CLPRT     "CLPRT"
F6:LBNULL    "LB"
F7:TBNULL    "TB"
F8:TNBLANK   "TN"SF1:EXIT     "EXIT"
SF2:PA1      "PA1"
SF3:PA2      "PA2"
SF4:PA3      "PA3"
SF5:STATUS   "STATUS"
SF6:LEVEL2   "PF1 - 12"
SF7:LEVEL3   "PF13 - 24"
SF8:LEVEL4   "SPF KEYS"
END
 
*LEVEL TWO
BEGIN
F2:PF1       "PF1"
F3:PF2       "PF2"
F4:PF3       "PF3"
F5:PF4       "PF4"
F6:LEVEL1    "IBM AID"
F7:LEVEL3    "PF13-24"
F8:LEVEL4    "SPF KEY"
 
SF1:PF5      "PF5"
SF2:PF6      "PF6"
SF3:PF7      "PF7"
SF4:PF8      "PF8"
SF5:PF9      "PF9"
SF6:PF10     "PF10"
SF7:PF11     "PF11"
SF8:PF12     "PF12"
END
 
*LEVEL THREE
BEGIN
F2:PF13      "PF13"
F3:PF14      "PF14"
F4:PF15      "PF15"
F5:PF16      "PF16"
F6:LEVEL1    "IBM AID"
F7:LEVEL2    "PF 1-12"
F8:LEVEL4    "SPF KEY"SF1:PF17     "PF17"
SF2:PF18     "PF18"
SF3:PF19     "PF19"
SF4:PF20     "PF20"
SF5:PF21     "PF21"
SF6:PF22     "PF22"
SF7:PF23     "PF23"
SF8:PF24     "PF24"
END
 
*LEVEL FOUR
BEGIN
F2:PF3       "SPF END"
F3:PF1       "SPF HELP"
F4:PF7       "SCROL UP"
F5:PF8       "SCROL DN"
F6:LEVEL1    "IBM AID"
F7:LEVEL2    "PF 1-12"
F8:LEVEL3    "PF 13-24"
 
SF1:PF10     "CLEAR"
SF2:PF2      "SPLIT SC"
SF3:PF9      "SWAP SC"
SF4:PF10     "SCROL LF"
SF5:PF11     "SCROL RT"
SF6:PA1      "PA1"
SF7:PA2      "PA2"
SF8:PA3      "PA3"
END*****************************************************
*     This part of PTCONFIG defines a terminal      *
*              with 8 function keys.                *
*****************************************************
 
SOFTKEYS:8
 
*LEVEL ONE
BEGIN
F2:LEVEL4    "PF1 - 6"
F3:LEVEL5    "PF7 -12"
F4:LEVEL6    "PF13-18"
F5:LEVEL7    "PF19-24"
F6:LEVEL3    "PA1 - 3"
F7:LEVEL2    "IBM AID"
F8:LEVEL8    "SPF KEY"
END
 
*LEVEL TWO
BEGIN
F2:CLEAR     "CLEAR"
F3:SRK       "SYS REQ"
F4:CLPRT     "CLPRT"
F5:LBNULL    "LB"
F6:TBNULL    "TB"
F7:TNBLANK   "TN"
F8:LEVEL1    "LEVEL 1"
END
 
*LEVEL THREE
BEGIN
F2:PA1       "PA1"
F3:PA2       "PA2"
F4:PA3       "PA3"
F8:LEVEL1    "LEVEL 1"
END*LEVEL FOUR
BEGIN
F2:PF1       "PF1"
F3:PF2       "PF2"
F4:PF3       "PF3"
F5:PF4       "PF4"
F6:PF5       "PF5"
F7:PF6       "PF6"
F8:LEVEL1    "LEVEL 1"
END
 
*LEVEL FIVE
BEGIN
F2:PF7       "PF7"
F3:PF8       "PF8"
F4:PF9       "PF9"
F5:PF10      "PF10"
F6:PF11      "PF11"
F7:PF12      "PF12"
F8:LEVEL1    "LEVEL 1"
END
 
*LEVEL SIX
BEGIN
F2:PF13      "PF13"
F3:PF14      "PF14"
F4:PF15      "PF15"
F5:PF16      "PF16"
F6:PF17      "PF17"
F7:PF18      "PF18"
F8:LEVEL1    "LEVEL 1"
END*LEVEL SEVEN
BEGIN
F2:PF19      "PF19"
F3:PF20      "PF20"
F4:PF21      "PF21"
F5:PF22      "PF22"
F6:PF23      "PF23"
F7:PF24      "PF24"
F8:LEVEL1    "LEVEL 1"
END*LEVEL EIGHT
BEGIN
F2:PF3       "SPF END"
F3:PF1       "SPF HELP"
F4:PF2       "SPLIT SC"
F5:PF9       "SWAP SC"
F6:PF7       "SCROL UP"
F7:PF8       "SCROL DN"
F8:LEVEL1    "LEVEL 1"
END*****************************************************
*                                                   *
*      This part of PTCONFIG defines Pass Thru      *
*      options CLSCR, DBCS, KET, LB, PAGE, PRT,     *
*            TB, TIMEOUT, TN, and UNBIND.           *
*                                                   *
*****************************************************
CLSCR  : 14   * Clear Screen count = 14 lines.
DBCS   : NO   * Disable Asian Double-Byte Character Set.
KET    : 30   * Keyboard Enable Timer = 30 seconds.
LB     : NO   * Convert trailing blanks to nulls on a 
              * field-by-field basis before transmitting
              * data to the host.
PAGE   : 66   * Printer page length = 66 lines.
PRT    : 60   * Receive timer for the printer = 60 seconds.
TB     : YES  * Transmit leading blanks as read from the
              * HP terminal on a field-by-field basis.
TIMEOUT: 600  * Input timer = 600 seconds (10 minutes).
              * If no input is received from the terminal
              * during this interval, Pass Thru
              * will terminate.
TN     : NO   * No effect, since you cannot type nulls.
UNBIND : YES  * Send UNBIND (instead of LUSTAT)
              * if Pass Thru is terminated while
              * host session is still active.
Feedback to webmaster