From: kenc@sol (Ken Corey - Operator) Subject: 'loaning comm ports' Date: Sun, 14 Jun 1992 21:36:07 GMT
Well, today I thought I'd try something I'd been thinking about for a
while...
I had bought an internal modem for my PC, mostly because of the price thing,
and so I couldn't use it on my Mac. I decided to give it a whirl under
Linux...so I typed:
cat </dev/ttys2 >/dev/ttys1 &
cat </dev/ttys1 >/dev/ttys2 &
Just for grins, of course, just to see what would happen...and what do you
know, but it worked! I called up to school, and answered mail, just to make
sure all the sequences were being sent properly. I *did* have trouble with
parity, but that was just cauase I didn't bother to set it while playing
with this idea.
I then decided to see how well this worked, and figured that the worst load
I'd have to deal with (using a non-interrupt driven ST01 driver) was a
compile. Sure enough, it ran reliably, and well, even during disk accesses.
I'm truly amazed. Under DOS, I was having nightmares thinking about piping
one serial port into the other one with a TSR....*shiver*. With Linux, I
can do it with a simple little program (cat). Wow!
*The crowd stands on it's feet* One more pat on the back can't hurt the
implementors, eh? Way to guys!
(I posted this, in case anyone else is in this situation...OF COURSE, I
could have just logged in, and then run kermit, and done it that way, but
this way takes much less memory.....;)
Ken == kenc@sol.acs.unt.edu == kenc@vaxb.acs.unt.edu == MAX_DOUBLE();