@Echo Control file to demonstrate Kermit packet decoding @Terminal Ideal LCLT20:: @CHKPNT LCLT20 @Get Kermit @Info Ver @Start *Echo Condition Local Kermit-20 *Set Prompt "Local-Kermit-20>" *Set Input Default-Timeout 4.5 *Set Input Timeout-Action Quit *Set Input Search-Default "\r\n@" *Show 94 *Set 94 *Echo No need for flow control on a PTY... *Set Flow-Control None ! ! REMT20:: @CHKPNT LCLT20 ! *Echo Sign into remote terminal, mount structure and connect to testing directory *Log Session KT:k20dpd-remote-session.log *Connect pseudo-terminal /stay *Input *Echo Note, no password needed for same user id on a pseudo-terminal *Output "slogin\r" *Input /silent *Output "Terminal Ideal\r" *Input /silent *Output "Info Term\r" *Input /silent *Output "sm k20:\r" *Input /silent *Output "Connect k20:\r" *Input /silent ! ! REMK20:: @CHKPNT REMK20 ! *Echo Start Kermit on remote job *Output "Set NO Control-C-Capability\r" *Input /silent *Output "Get Kermit\r" *Input /silent *Output "Info Ver\r" *Input *Output "Start\r" *Input /silent "Kermit-20>" ! *Echo Configure remote Kermit and put into server mode *Set Input Search-Default "\r\nRemote-Kermit-20>" *Show Input *Output "Set Prompt Remote-Kermit-20>\r" *Input /silent *Echo Since this is remote, there will be no session to log *Output "Set 94\r" *Input /silent *Output "Set Flow-Control None\r" *Input /silent *Echo "No need to NAK a PTY...\r\n\r\n" *Output "Set Receive Server-Timeout 0\r" *Input /silent ! *Echo "Set up for packet decoding on both sides" *Output "Log Debugging KT:k20dpd-remote-packet-decode.log 7\n" *Input /silent *Output "Set Debugging Packets /Decode\n" *Input /silent ! *Output "Show Line\r" *Input *Output "Show Timing\r" *Input *Output "Show Packet\r" *Input *Output "Show Debugging\r" *Input ! *Log Debugging KT:k20dpd-local-packet-decode.log 7 *Set Debugging Packets /Decode *Show Line *Show Packet *Show Timing *Show Debugging ! *Output "SERVER\r" *Input /silent "machine.\r\n" ! ! ! Get us some decoded packets ! SIMSRV:: @CHKPNT SIMSRV ! *Echo Simple comands that do not open files *Remote PWD *Statistics *Remote Status ! *Remote Space *Statistics *Remote Status ! *Get "NUL:" NUL: *Statistics *Remote Status ! *Put NUL: "NUL:" *Statistics *Remote Status ! ! DONE:: @CHKPNT DONE ! *Echo Done with remote tests, log out the remote Kermit *Bye *Show Debugging *Close Debugging *Set Debugging Off ! ! FINLCL:: @CHKPNT FINLCL ! *Echo Finish up and close out the local Kermit *Show Line *Show File *Connect Close *Close Session *Quit @Info Fork @VDIR KT:k20dpd-*.log.0 ! ! PORKY:: @CHKPNT PORKY @Modify Batch K20TCP /Dependency:0 @Echo That's all Folks!