pros-cli icon indicating copy to clipboard operation
pros-cli copied to clipboard

Add support for redirecting other serial streams

Open nickmertin opened this issue 6 years ago • 0 comments

Expected Behavior:

User is able to read/write on any stream that can be opened between the brain and computer.

Actual Behavior:

User can only read on /ser/sout and /ser/serr, and can only write on /ser/sinp.

Additional Information

Suggestions:

  • flags --istream <stream> and --ostream <stream1>[,<stream2>[,...]] to override the default of sinp and sout,serr
  • flags such as --istream-bind <stream> <file>, which would act as a pipe from /ser/<stream> on the brain to <file> on the host computer, without overriding the default terminal streams; this could allow the user take advantage of other streams for data without impacting normal use of the terminal
  • flag --stream-port <stream>:<port>, which would expose /ser/<stream> as TCP port <port>, in a similar way to -L in OpenSSH

nickmertin avatar Oct 27 '19 19:10 nickmertin