Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(487)

Side by Side Diff: examples/moterm_example_app/README.md

Issue 1556683004: Port Moterm to Mozart. (Closed) Base URL: git@github.com:domokit/mojo.git@moz-16
Patch Set: fix nits Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « examples/moterm_example_app/BUILD.gn ('k') | examples/moterm_example_app/moterm_example_app.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Moterm example application 1 # Moterm example application
2 2
3 `moterm_example_app` is an example application that embeds 3 `moterm_example_app` is an example application that embeds
4 [Moterm](../../apps/moterm), uses it to provide a prompt, and allows it to be 4 [Moterm](../../apps/moterm), uses it to provide a prompt, and allows it to be
5 connected to other applications (which should provide the 5 connected to other applications (which should provide the
6 `mojo.terminal.TerminalClient` service). 6 `mojo.terminal.TerminalClient` service).
7 7
8 ## Running 8 ## Running
9 9
10 On Linux, run it in the usual way, e.g.: 10 On Linux, run it in the usual way, e.g.:
11 11
12 $ mojo/devtools/common/mojo_run --enable-multiprocess "mojo:window_manager m ojo:moterm_example_app" 12 $ mojo/devtools/common/mojo_run --enable-multiprocess \
13 "mojo:launcher mojo:moterm_example_app"
13 14
14 You'll probably need to click on the window to give it keyboard focus. You may 15 You'll probably need to click on the window to give it keyboard focus. You may
15 also want to resize the window (especially horizontally) to make it bigger. 16 also want to resize the window (especially horizontally) to make it bigger.
16 17
17 At the `:)` prompt, you may enter the URL for any application providing the 18 At the `:)` prompt, you may enter the URL for any application providing the
18 `mojo.terminal.TerminalClient` service. 19 `mojo.terminal.TerminalClient` service.
19 20
20 ### Example 1: Dart netcat 21 ### Example 1: Dart netcat
21 22
22 An example of a terminal client application written in Dart is `dart_netcat`: 23 An example of a terminal client application written in Dart is `dart_netcat`:
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 > add("hello ", 123) 68 > add("hello ", 123)
68 "hello 123" 69 "hello 123"
69 > 70 >
70 71
71 ## See also 72 ## See also
72 73
73 * [//apps/moterm](../../apps/moterm) 74 * [//apps/moterm](../../apps/moterm)
74 * [//examples/dart/netcat](../dart/netcat) 75 * [//examples/dart/netcat](../dart/netcat)
75 * [//examples/native_run_app](../native_run_app) 76 * [//examples/native_run_app](../native_run_app)
76 * [//examples/js/repl.js](../js/repl.js) 77 * [//examples/js/repl.js](../js/repl.js)
OLDNEW
« no previous file with comments | « examples/moterm_example_app/BUILD.gn ('k') | examples/moterm_example_app/moterm_example_app.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698