C PTY and Terminal I/O variables COMMON /CHANCH/ RLINE CHARACTER*160 RLINE ! Receive buffer for PTY CHARACTER*12 PTYCOM,PTYTER! PTY Command/Terminal device names COMMON /CHANEL/ MCHAN,RCV_STAT(4),LCHAN,MTIME,ECHO INTEGER MCHAN ! PTY channel INTEGER*2 RCV_STAT ! Read status INTEGER LCHAN ! Terminal channel INTEGER MTIME ! Status of timer LOGICAL ECHO ! Display received data