Asynchronous Terminals and Printer Processes Programming Manual

TERMINAL PROGRAMMING CONSIDERATIONS
Terminal and File Access Types
S5073-008
Terminal operato
r
types BREAK
Application process has sole
access to terminal
Application process finds BREAK
message in $RECEIVE file, then calls
SETMODE, specifying BREAK terminal
access and BREAK file access
Application process calls
SETMODE, specifying
normal terminal access and
normal file access
Terminal Access Type:
Only BREAK
Access Permitted
Any Access Permitted
File Access Type:
BREAK Access
Normal Access
Figure 4-3. Break Access
Exclusive Access When BREAK is not Pressed
SETMODE 12 can also be used to gain exclusive access to a
terminal even though the BREAK key has not been pressed.
The following SETMODE operation takes exclusive access to a
terminal:
operation
= 12, set terminal access type and file access
type
parameter-1
= 1, terminal access type is break
parameter-2
= 1, file access type is break
4-22