scsh-users
[Top] [All Lists]

tying two producer/consumer thunks together

To: scsh@martigny.ai.mit.edu
Subject: tying two producer/consumer thunks together
From: smd@chops.icp.net (Sean Doran)
Date: 22 Jul 1996 20:01:49 -0400
Organization: SprintLink Engineering
I have a quick-and-dirty telnet protocol engine
implemented in scsh which moves chars between
the current-input-port and the current-output-port
and the telnet socket.

I want to have various things that also talk to
current-input-port/current-output-port that I'd like to
have talk to the things telnetted to.

What's the cleanest/most-elegant/most-efficient (choose at
least one) way of tying these things together so that 
the current-input-port of a thunk is attached to the
current-output-port of the telnet, and vice-versa?

I can think of several ways of doing this, 
and all of them are _ugly_.

        Sean.

<Prev in Thread] Current Thread [Next in Thread>
  • tying two producer/consumer thunks together, Sean Doran <=