I have a dialog box running at all times that will send commands to the terminal window. I need to constantly monitor the terminal window to see for changes manually made so that my dialog box can update itself. How can I constantly monitor the terminal window so I can parse the string and look for certain commands entered?