$a left=7 $a invert=0 $lmU IMP library modifications for terminal I/O $l2m Allan Vernon 21st October 1982 $l0 A version of the IMP Library with modifications in terminal I/O handling is now available for test. To access the new I/O procedures, programs should be linked with DR3:[IMP.LIB]IOREWRITE.OBJ. i.e. $ LINK file,DR3:[IMP.LIB]IOREWRITE N.B. Do NOT use RLINK or SLINK. Terminal operating modes are selected via the following procedures. 1. SET TERMINAL MODE Specification : %externalroutinespec SET TERMINAL MODE(%integer MODE) Definition : Sets terminal I/O mode to that specified in MODE. Bit Significance : For any call of SET TERMINAL MODE, all mode bits are considered "active" - '1' selects an option, '0' clears it. The default mode setting is '0'. 12 0 $_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_$_ | | | | | | | | | | | | | | |$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_|$_$_| | | | | | | | | | | | | | | | | | | | | | | | | | Enter single char input mode | | | | | | | | | | | | | | | | | | | | | | | Convert lower to upper case on input | | | | | | | | | | | | | | | | | | | | | Disable echoing | | | | | | | | | | | | | | | | | | | Pass DEL, ^U and ^R | | | | | | | | | | | | | | | | | Purge type-ahead before read operations | | | | | | | | | | | | | | | Don't echo terminator | | | | | | | | | | | | | Accept any char <32 as terminator | | | | | | | | | | | Don't signal event 9 on end of input | | | | | | | | | Don't convert all terminators to LF | | | | | | | Don't convert LF to CR | | | | | Don't convert CR to LF | | | Don't flush output before read operations | Don't buffer output. P.T.O $n $l0 2. CURRENT TERMINAL MODE Specification : %externalintegerfnspec CURRENT TERMINAL MODE Definition : Returns current terminal mode setting. $e