code: public void receive(byte[] byteArray) throws IOException {
  		//register the current application for this thread
  		// in case a subsystem logs to the environment
  		if (interpreter.isInSubProcessMode()) {
  			if (!abortSubprocessModeIfNecessary(byteArray)) {
  				/*			case CTRLC:
  				   interpreter.abortSubprocessMode();
  				   break;*/
  				if (echoEnabled) {
  					echoBytesToClient(byteArray);
  				}
  				//every byte is forwarded because the subprocess will interprete the input
  				interpreter.processRawInput(byteArray);
  			}
  		} else {
  			processInput(byteArray);
  		}
  	}
docs: Contains the loop that processes incoming bytes.