I am trying to write a script that reads two different output streams, the first being continuous while the second consists of short signals controlled by the user via the keyboard. The script works ...