Versions Compared

Key

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

...

Redraw callbacks will not be received even in a multi-window configuration if you use per-window frame buffers, either.  In that case, the system will automatically redraw windows as needed using the per-window frame buffer shadow memory.  This is controlled by the option CONFIG_NX_RAMBACKED.  This option is recommended for performance reasons if you have sufficient memory to support it.

...

Character Data Flow:  Keyboard to Display

...

Character Data Flow in apps/examples/nxterm

  • Character input driver receives input
  • NSH receives input on stdin and processes it (stdin is not redirected)
  • Data is output to stdout (redirected to the NxTerm driver)

In this simple, single-window case, BOARDIOC_NXTERM_IOCTL will never be used.

...

Character Data Flow in the Generic Window Case

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 apps/examples/nxterm; stdin will not be redirected an keyboard input will come directly from the the system console.

...