terminals/stx_goodies_xtreams_terminals.st
changeset 108 86d4f33280aa
parent 103 726bf2ca0b99
child 109 9587e2df7029
--- a/terminals/stx_goodies_xtreams_terminals.st	Thu Feb 16 12:35:04 2012 +0000
+++ b/terminals/stx_goodies_xtreams_terminals.st	Thu Feb 16 18:11:55 2012 +0000
@@ -49,11 +49,11 @@
 Single argument blocks can be used as write terminals.
 {{{
         "Transcript as an xtream"
-        [ :x | Transcript nextPut: x ] writing write: ''Hello World!!''
+        [ :x | Transcript nextPut: x ] writing write: ''Hello World!!!!''
 }}}
 {{{
         "/dev/null"
-        [ :x | ] writing write: ''Hello World!!''
+        [ :x | ] writing write: ''Hello World!!!!''
 }}}
 Combined with stream transforms like #doing: and #limiting:, a block closure stream can be used to transform arbitrary loop into a stream and the streaming API can provide fine grained control over the execution of the loop body.
 
@@ -75,7 +75,7 @@
         | file |
         file := ''/dev/shm/xtreams-test'' asFilename.
         [       file writing write: ''Hello''; close.
-                file appending write: '' World!!''; close.
+                file appending write: '' World!!!!''; close.
                 file contentsOfEntireFile.
         ] ensure: [ file delete ]
 }}}
@@ -162,7 +162,7 @@
         buffer := CIntegerType unsignedChar malloc: 50.
         [       buffer writing
                         length: 50;
-                        write: ''Hello World!!''.
+                        write: ''Hello World!!!!''.
                 buffer reading
                         length: 12;
                         contentsSpecies: ByteString;
@@ -173,11 +173,6 @@
 '
 !
 
-!stx_goodies_xtreams_terminals class methodsFor:'documentation'!
-
-extensionsVersion_SVN
-    ^ '$Id: extensions.st 79 2012-01-30 23:01:24Z mkobetic $'
-! !
 
 !stx_goodies_xtreams_terminals class methodsFor:'description'!
 
@@ -201,8 +196,8 @@
 
     ^ #(
         #'exept:ctypes'    "CPointer - referenced by Xtreams::PointerWriteStream>>resizeTo: "
-        #'stx:goodies/xtreams/core'    "Xtreams::ReadStream - superclass of Xtreams::ExternalReadStream "
-        #'stx:libbasic'    "PositionableStream - superclass of extended Socket "
+        #'stx:goodies/xtreams/core'    "Xtreams::WriteStream - superclass of Xtreams::ExternalWriteStream "
+        #'stx:libbasic'    "NonPositionableExternalStream - superclass of extended Socket "
         #'stx:libbasic2'    "Queue - superclass of extended SharedQueue "
     )
 ! !
@@ -267,8 +262,6 @@
         PipeStream writing
         TextCollector writing
     )
-
-    "Modified: / 01-02-2012 / 00:55:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
 ! !
 
 !stx_goodies_xtreams_terminals class methodsFor:'description - project information'!
@@ -325,7 +318,7 @@
     "Return a SVN revision number of myself.
      This number is updated after a commit"
 
-    ^ "$SVN-Revision:"'99'"$"
+    ^ "$SVN-Revision:"          '106'"$"
 ! !
 
 !stx_goodies_xtreams_terminals class methodsFor:'documentation'!