Versions Compared

Key

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

...

  • Character input driver receives input,
  • Some keyboard listener thread receives input and injects it into NX via a call to nx_kbdin(),
  • NX sends an 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 window bound to the NxTerm character driver by the application.  The kbin() callback provides the focused keyboard input to the NxTerm driver via boardctl(BOARDIOC_NXTERM_IOCTL, (uintptr_t)&iocargs),
  • If the NxTerm window is the window with focus, the NxTerm character driver receives keyboard data, buffers it, and provides that keyboard input for the next read operation,
  • 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.

...