NonPositionableExternalStream.st
changeset 475 b57530aa1b0a
parent 437 a005e97d261e
child 477 8710aba7876b
equal deleted inserted replaced
474:a5ce0ee55d33 475:b57530aa1b0a
    19 
    19 
    20 NonPositionableExternalStream comment:'
    20 NonPositionableExternalStream comment:'
    21 COPYRIGHT (c) 1989 by Claus Gittinger
    21 COPYRIGHT (c) 1989 by Claus Gittinger
    22 	      All Rights Reserved
    22 	      All Rights Reserved
    23 
    23 
    24 $Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.17 1995-09-16 17:13:41 claus Exp $
    24 $Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.18 1995-11-02 20:10:55 cg Exp $
    25 '!
    25 '!
    26 
    26 
    27 !NonPositionableExternalStream class methodsFor:'documentation'!
    27 !NonPositionableExternalStream class methodsFor:'documentation'!
    28 
    28 
    29 copyright
    29 copyright
    40 "
    40 "
    41 !
    41 !
    42 
    42 
    43 version
    43 version
    44 "
    44 "
    45 $Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.17 1995-09-16 17:13:41 claus Exp $
    45 $Header: /cvs/stx/stx/libbasic/NonPositionableExternalStream.st,v 1.18 1995-11-02 20:10:55 cg Exp $
    46 "
    46 "
    47 !
    47 !
    48 
    48 
    49 documentation
    49 documentation
    50 "
    50 "
   182     "setup for reading stdin"
   182     "setup for reading stdin"
   183 
   183 
   184     mode := #readonly.
   184     mode := #readonly.
   185     buffered := true.
   185     buffered := true.
   186 %{
   186 %{
   187     _INST(filePointer) = MKOBJ(stdin);
   187     _INST(filePointer) = __MKOBJ(stdin);
   188 %}
   188 %}
   189 !
   189 !
   190 
   190 
   191 initializeForStdout
   191 initializeForStdout
   192     "setup for writing to stdout"
   192     "setup for writing to stdout"
   193 
   193 
   194     mode := #readwrite.
   194     mode := #readwrite.
   195     buffered := false.
   195     buffered := false.
   196 %{
   196 %{
   197     _INST(filePointer) = MKOBJ(stdout);
   197     _INST(filePointer) = __MKOBJ(stdout);
   198 %}
   198 %}
   199 !
   199 !
   200 
   200 
   201 initializeForStderr
   201 initializeForStderr
   202     "setup for writing to stderr"
   202     "setup for writing to stderr"
   203 
   203 
   204     mode := #readwrite.
   204     mode := #readwrite.
   205     buffered := false.
   205     buffered := false.
   206 %{
   206 %{
   207     _INST(filePointer) = MKOBJ(stderr);
   207     _INST(filePointer) = __MKOBJ(stderr);
   208 %}
   208 %}
   209 !
   209 !
   210 
   210 
   211 reOpen
   211 reOpen
   212     "reopen the stream after an image restart.
   212     "reopen the stream after an image restart.