Hi, Attached is a patch to make examples/assembly/cat.pasm terminate when it receives a ctrl-D. I'm new to the list and to Parrot, so please be gentle if I've committed some sort of faux pas :).
-- Paul Duncan <[EMAIL PROTECTED]> pabs in #ruby-lang (FN IRC) http://www.pablotron.org/ OpenPGP Key ID: 0x82C29562
--- cat.pasm 2003-03-27 18:47:41.000000000 -0500
+++ cat-new.pasm 2003-03-27 18:48:24.000000000 -0500
@@ -1,7 +1,14 @@
# Simple cat util to test PIO read/write
# This does not use STDIO
+
+set S1, ""
+
REDO:
read S0, 256
+ eq S0, S1, END
puts S0
branch REDO
+ branch END
+
+END:
end
pgp00000.pgp
Description: PGP signature
