#NEWLINE# def set_input_flow_control( self , enable = True ) : #NEWLINE# #INDENT# '        Manually control flow - when software flow control is enabled.\n        This will send XON (true) or XOFF (false) to the other device.\n        WARNING: this function is not portable to different platforms!\n        ' #NEWLINE# if ( not self . is_open ) : #NEWLINE# #INDENT# raise portNotOpenError #NEWLINE# #UNINDENT# if enable : #NEWLINE# #INDENT# termios . tcflow ( self . fd , termios . TCION ) #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# termios . tcflow ( enable . fd , termios . TCIOFF )