Versions Compared

Key

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

...

And the rest is just like the original nsh_main() function (in fact, perhaps the existing nsh_main() function could be optionally extended to accept a console device string?). Then you can start a new NSH session on any TTY like:

...