Overview
The factory PADF provides an object, the "padpeer", that holds an X.25 circuit key {(x25)} and behaves sufficiently like a level 3 circuit to support a session between an ASCII terminal connected to an X.3 PAD and the program designed to use a level 3 circuit.
PADF alternatively provides an object that may be connected to a switcher branch and together serve the function of pad and ASCII terminal. With one each of these PADF yields at opposite ends of an X.25 circuit a branch of a context may serve as a terminal on a remote KeyKOS. In this configuration function such as screen mode is lost because X.3 does not support such.
SYS.PADF(0;SB,M,SP=>0;,,,CO);
CO(LCN,IDENT;X25CK,SEG,FIN=>0;SIK,SOK,CCK)
produces a module that serves as the peer to some X.3 pad
located at the other end of the X.25 circuit represented
by the key X25CK.
SEG must be a write key to a segment in which an activity indication is kept by instances of PADF yields. The newly created module will store into SEG at locations 16*LCN thre 16*LCN+15. No other use is made of either SEG or LCN.
Upon disolution of this module FIN will be forked thus: FIN(0,(1+109+128,ident);) where ident right truncated or right zero padded as necessary.
A single line consisting of "clear" and sent with a PF2 (no CR) causes the call to be cleared and the module to be deleted.
The module buffers few characters and deletes itself upon clearing of the call or disappearing of the circuit key.