code: function sc_withOutputToPort(p, thunk) {
      try {
  	var tmp = SC_DEFAULT_OUT; // THREAD: shared var.
  	SC_DEFAULT_OUT = p;
  	return thunk();
      } finally {
  	SC_DEFAULT_OUT = tmp;
      }
  }
docs: * META ((export #t))