>>>>> "RT" == RT Happe <rthappe@mathematik.uni-freiburg.de> writes:
RT> On Mon, 15 Jul 2002, Martin Gasbichler wrote:
>> >>>>> "RT" == RT Happe <rthappe@mathematik.uni-freiburg.de> writes:
RT> I cannot write to the control terminal opened as input file, then dupped.
>>
>> You have to open the file in read/write mode if you want to use it for
>> input and output as well:
RT> I was going to suggest an addition to the Scsh manual --for the sake of
RT> slow-motion thinkers such as me--, but ... it already gives precisely your
RT> advice. Ouch, and thanks anyway.
I think the documentation for dup->in/outport could be more explicit
about this. Furthermore, these procedures could perform a run-time
check via fdes-status-- the error message you got wasn't that
instructive.
--
Martin
|