Versions Compared

Key

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

...

See, for an example, apps/graphics/nxwm/src/cnxterm.cxx.  In this case, the behavior will change, depending on the selection of CONFIG_NXTERM_NXKBDIN:  If CONFIG_NXTERM_NXKBDIN is not selected, then the behavior will be similar to appsapps/examples/nxterm; stdin will not be redirected an keyboard input will come directly from the the system console.

But is CONFIG_NXTERM_NXKBDIN is select, NSH's stdin will be re-redirected to the to the NxTerm character driver. Keyboard input will arrive on stdin from the NxTerm driver rather than from the system console.  The following sequence describes the keyboard input in this latter case:

...