with-stdio-ports

[procedure] with-stdio-ports* thunk

[syntax] with-stdio-ports body ...

Scsh: sets Scheme's standard ports to be the Unix stdin, stdout and stderr, then calls thunk or evaluates body .... See also stdio->stdports.