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

Unified Diff: native_client_sdk/src/doc/nacldev/navigating.inc

Issue 731453002: Adding two codelabs for cds2014. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 side-by-side diff with in-line comments
Download patch
Index: native_client_sdk/src/doc/nacldev/navigating.inc
diff --git a/native_client_sdk/src/doc/nacldev/navigating.inc b/native_client_sdk/src/doc/nacldev/navigating.inc
new file mode 100644
index 0000000000000000000000000000000000000000..67435f57f6996e1431c5784634611c277eb0ca39
--- /dev/null
+++ b/native_client_sdk/src/doc/nacldev/navigating.inc
@@ -0,0 +1,53 @@
+Navigating in the Dev Environment
+=================================
+
+The NaCl Dev Environment behaves like a mini-UNIX system.
+You start-up in bash command prompt.
+Standard UNIX commands like cd, ls, mkdir, rm, rmdir, etc.
+can be used to navigate and modify the Dev Environment's
+virtual filesystem.
+
+There are 3 locations mounted by the environment:
+
+ * /tmp mounts the HTML5 Filesystem temporary storage area.
+ * /mnt/html5 mounts the HTML5 Filesystem persistent storage area.
+ * Your home directory ~/, located in /home/user,
+ mounts a portion of the HTML5 Filsystem persistent storage area
+ that corresponds to the /mnt/html5/home directory.
+
+Clipboard
+=========
+
+Many of the steps in this tutorial will be easier to copy and paste
+into the Dev Environment.
+To copy and paste in the Dev Environment
+use do this you will need to use the keyboard.
+
+On your platform use:
+
+ * |copy_key| to Copy
+ * |paste_key| to Paste
+
+.. |copy_key| raw:: html
+
+ <span id="copy_key">Loading...</span>
+ <script>
+ var tag = document.getElementById('copy_key');
+ if (navigator.appVersion.indexOf('Mac') >= 0) {
+ tag.innerHTML = '&#8984;-C';
+ } else {
+ tag.innerHTML = 'Ctrl-C';
+ }
+ </script>
+
+.. |paste_key| raw:: html
+
+ <span id="paste_key">Loading...</span>
+ <script>
+ var tag = document.getElementById('paste_key');
+ if (navigator.appVersion.indexOf('Mac') >= 0) {
+ tag.innerHTML = '&#8984;-V';
+ } else {
+ tag.innerHTML = 'Ctrl-V';
+ }
+ </script>

Powered by Google App Engine
This is Rietveld 408576698