[Date Prev][Date Next][Thread Prev][Thread Next] [Search] [Date Index] [Thread Index]

Re: [MacPerl] CommConnect



At 19:41 3/9/96, Johnson, Steve wrote:
>i'm trying to write a script that can log onto a mainframe that's connected to
>my serial port.  i tried using the CommConnect.pl commands and was able to see
>the prompt from the terminal server but i haven't been able to send or receive
>anything meaningful through the serial port.  has anyone done something
>similar?

I've used the CommConnect.pl tools for such a connection, but I found them
to be more useful in HyperCard.  The way the CommConnect work for me (I may
be doing something wrong) was, you had to receive the data yourself without
any notitification as to whether you received all the data that was sent.

What I ended up doing is putting tonnes of WAIT statements around to give
the remote server time to send all the data.

The other problems I had were with terminal emulation.  You'll probably get
tonnes of strange characters, since CommConnect pulls the raw ASCII over
through the connection.  The other other advice I can give (Since i can't
find my CommConnect Perl scripts) is the lack of interface Perl offers.
You won't be able to make much, if any, interface to a script that does
something over a CommConnect session.

If you know HyperCard, I can send you some of my connection scripts, but as
I said, I can't find my scripts in Perl.

DJM:>

--------------------------------------------------
David J. Mark - Macintosh Systems Specialist
dmark@vrx.net - http://www.vrx.net/dmark/
- I keep finding odd signs that I may not be the only person in the world.
--------------------------------------------------