Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Character input driver receives input,
  • Some keyboard listener thread received input an injects it into NX vi nx_kbdin(),
  • NX sends and event to the registered kbdin() method of the window that has focus, providing the keyboard input to the window application.  In this case, the window application of interest is the NxTerm character driver,
  • If the NxTerm is the window with focus, the NxTerm character driver receives, buffers, and provides that keyboard input on the next read,
  • NSH receives input on stdin which was re-directed to the NxTerm character driver.  NSH processes the input, and
  • NSH outputs data to stdout which was re-directed to the NxTerm character driver.

Related articles:  NuttX Window Manager (NxWM)NxWM (October 2019)NxWM Threading, and NxWM Threading Model.