HTBasic Help
×
Menu
Index

Handshaking

 
XON/XOFF handshaking capability, not available in HP BASIC, has been added to HTBasic. This capability is turned on by CONTROL 9,100;1 and turned off by CONTROL 9,100;0. It is on by default. XON is ^Q (DC1) and XOFF is ^S (DC3).
 
Hardware handshaking is also supported. It is turned on by
 
CONTROL 9,5;0     ! use DTR and RTS
CONTROL 9,12;0    ! read DSR, CD, and CTS
CONTROL 9,100;0   ! make sure XON/XOFF is disabled
 
It is turned off by
 
CONTROL 9,5;3     ! hold DTR and RTS active
CONTROL 9,12;176  ! ignore DSR, CD, and CTS
CONTROL 9,100;1   ! optionally enable XON/XOFF
 
By default, hardware handshaking is off.