Viet-Trung Luu 94d55d4003 A crappy "netcat"-type example (in Dart).
It's especially crappy since it doesn't actually do much/any error
handling.

Use:
$ sky/tools/skydb start out/Debug \
  'sky/examples/terminal/index.sky?url=mojo:netcat?host=localhost%26port=80'

(Note: We don't have a resolver yet, so the host either has to be
"localhost" or an IPv4 address in the form N1.N2.N3.N4.)

R=erg@chromium.org

Review URL: https://codereview.chromium.org/1032743002
2015-03-24 13:49:13 -07:00
..

Terminal

This is a prototype "terminal" application that can connect to any Mojo application (providing the |terminal.TerminalClient| interface) and provide interactive terminal facilities via an implementation of |mojo.files.File|. I.e., once connected, the application can write to/read from the terminal by performing the corresponding operations on a "file" (thus replicating decades-old technology, poorly).