OLD | NEW |
(Empty) | |
| 1 Navigating in the Dev Environment |
| 2 ================================= |
| 3 |
| 4 The NaCl Dev Environment behaves like a mini-UNIX system. |
| 5 You start-up in bash command prompt. |
| 6 Standard UNIX commands like cd, ls, mkdir, rm, rmdir, etc. |
| 7 can be used to navigate and modify the Dev Environment's |
| 8 virtual filesystem. |
| 9 |
| 10 There are 3 locations mounted by the environment: |
| 11 |
| 12 * /tmp mounts the HTML5 Filesystem temporary storage area. |
| 13 * /mnt/html5 mounts the HTML5 Filesystem persistent storage area. |
| 14 * Your home directory ~/, located in /home/user, |
| 15 mounts a portion of the HTML5 Filsystem persistent storage area |
| 16 that corresponds to the /mnt/html5/home directory. |
| 17 |
| 18 Clipboard |
| 19 ========= |
| 20 |
| 21 Many of the steps in this tutorial will be easier to copy and paste |
| 22 into the Dev Environment. |
| 23 To copy and paste in the Dev Environment |
| 24 use do this you will need to use the keyboard. |
| 25 |
| 26 On your platform use: |
| 27 |
| 28 * |copy_key| to Copy |
| 29 * |paste_key| to Paste |
| 30 |
| 31 .. |copy_key| raw:: html |
| 32 |
| 33 <span id="copy_key">Loading...</span> |
| 34 <script> |
| 35 var tag = document.getElementById('copy_key'); |
| 36 if (navigator.appVersion.indexOf('Mac') >= 0) { |
| 37 tag.innerHTML = '⌘-C'; |
| 38 } else { |
| 39 tag.innerHTML = 'Ctrl-C'; |
| 40 } |
| 41 </script> |
| 42 |
| 43 .. |paste_key| raw:: html |
| 44 |
| 45 <span id="paste_key">Loading...</span> |
| 46 <script> |
| 47 var tag = document.getElementById('paste_key'); |
| 48 if (navigator.appVersion.indexOf('Mac') >= 0) { |
| 49 tag.innerHTML = '⌘-V'; |
| 50 } else { |
| 51 tag.innerHTML = 'Ctrl-V'; |
| 52 } |
| 53 </script> |
OLD | NEW |