Need to access a remote tty as local?

From: George Gallen <ggallen_at_slackinc.com>
Date: Wed, 20 Sep 2000 09:22:04 -0400

We are running 3.2c currently (I know, it's old) and
have a SLIP connection to a linux (2.0.6) machine for
offsite mail preparation. The software is running on
the Digital Unix side and a telnet window for access
from the Linux side.

What I want to do would be to read data from a serial
scale (to weigh mail) that is hooked to the linux serial port, but
want to read it from the Digital Unix side, so the port
data needs to travel through the SLIP connection.

I was thinking the easist way would be to write a PERL
routine to open the tty on the linux side as i/o with
the input being tied to one socket and the output being
tied to another socket. On the Digital Unix side having
a 2 PERL routines one will open a socket and write it
to a FIFO file, and the other will open a fifo file and
write it to a socket.

So I would read data from the scale via the input-FIFO
and write commands to the scale via the output-FIFO.

Any other Ideas, or problems with the above.

The data does not need to be encrypted, the SLIP connection
is private, not internet.


Thanks
George Gallen

                  
George Gallen
Senior Programmer/Analyst
Accounting/Data Division
ggallen_at_slackinc.com
ph:856.848.1000 Ext 220

SLACK Incorporated - An innovative information, education and management
company
http://www.slackinc.com
Received on Wed Sep 20 2000 - 13:23:06 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:41 NZDT