-
Notifications
You must be signed in to change notification settings - Fork 4
/
index.html
34 lines (34 loc) · 1.25 KB
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<!doctype html>
<link rel="stylesheet" type="text/css" href="js/index.css">
<script src="js/require.js"></script>
<script src="js/console.js"></script>
<body>
<div id="console"></div>
<br />
<div>
<h1>Notes</h1>
<ul>
<li>Tab completion partially works</li>
<li>Up and Down arrows move through history</li>
<li>Scrollback: use mouse wheel or Shift+PgUp, Shift+PgDn</li>
<li>
vfork-exec commands:<ul>
<li>Each process gets a new filesystem (ram based)</li>
<li>Pipes don't work</li>
<li>Redirection only works for built-in commands, not for vfork-exec commands</li>
<li>Current set: <b>basename, cal, clear, dirname, ls, seq</b></li>
</ul>
</li>
<li>Implementation details and source are on <a href="https://github.com/tbfleming/em-shell">GitHub</a></li>
</ul>
<h1>Examples</h1><code>
<pre>
ls -lR
echo "test file" > myfile # create file
read var < myfile # read file
echo $var # show file content
ls -la # can't see myfile (different filesystem)
</pre>
</code>
</div>
</body>