set-current-error-port

[procedure] set-current-input-port port

[procedure] set-current-output-port port

[procedure] set-current-error-port port

Guile: sets current ports.

Scsh has set-current-input-port!, set-current-output-port! and set-error-output-port!.

ChezScheme and Chicken's current-input-port, current-output-port and current-error-port have the ability to change the current ports.

Other implementation provides with-input-from-port etc., to alternate current ports temporary.