rinAPP:  created callback to pass input from terminal to the user App.  This allows terminal commands to be processed in the customers App.
rinAppp;  added '\r' to end of socket 2226 writes so Putty can display properly.