commit 868c815e6330916ace159792f60e969257d6a8a5
parent e2638dda1336bd3b033261e15d0cfc002655d8f1
Author: Alexander Burger <abu@software-lab.de>
Date: Thu, 5 May 2011 13:11:20 +0200
Global vs. local invocation
Diffstat:
4 files changed, 10 insertions(+), 10 deletions(-)
diff --git a/doc/refC.html b/doc/refC.html
@@ -409,7 +409,7 @@ href="ref.html#invoc">Invocation</a>.
<pre><code>
$ pil +
: (cmd)
--> "./bin/picolisp"
+-> "/usr/bin/picolisp"
: (cmd "!/bin/picolust")
-> "!/bin/picolust"
: (cmd)
diff --git a/doc/refK.html b/doc/refK.html
@@ -46,9 +46,9 @@ Returns <code>T</code> if successful.
<pre><code>
: (kill *Pid 20) # Stop current process
-[2]+ Stopped bin/picolisp # Unix shell
+[2]+ Stopped pil + # Unix shell
$ fg # Job control: Foreground
-bin/picolisp
+pil +
-> T # 'kill' was successful
</code></pre>
diff --git a/doc/refP.html b/doc/refP.html
@@ -32,7 +32,7 @@ NIL 5286
: (call "ps") # Show processes
PID TTY TIME CMD
.... ... ........ .....
- 6386 pts/1 00:00:00 bin/picolisp # <- current process
+ 6386 pts/1 00:00:00 pil # <- current process
6388 pts/1 00:00:00 ps
-> T
</code></pre>
diff --git a/doc/refT.html b/doc/refT.html
@@ -217,17 +217,17 @@ may grant <code><a href="refS.html#sync">sync</a></code> to the next waiting
process. See also <code><a href="refH.html#hear">hear</a></code>.
<pre><code>
-: (call 'ps "x") # Show processes
+: (call 'ps "x") # Show processes
PID TTY STAT TIME COMMAND
..
- 1321 pts/0 S 0:00 bin/picolisp .. # Parent process
- 1324 pts/0 S 0:01 bin/picolisp .. # First child
- 1325 pts/0 S 0:01 bin/picolisp .. # Second child
+ 1321 pts/0 S 0:00 /usr/bin/picolisp .. # Parent process
+ 1324 pts/0 S 0:01 /usr/bin/picolisp .. # First child
+ 1325 pts/0 S 0:01 /usr/bin/picolisp .. # Second child
1326 pts/0 R 0:00 ps x
-> T
-: *Pid # We are the second child
+: *Pid # We are the second child
-> 1325
-: (tell 'println '*Pid) # Ask all others to print their Pid's
+: (tell 'println '*Pid) # Ask all others to print their Pid's
1324
-> *Pid
</code></pre>