From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <96945602818061.tru64-unix-managers.marc@archive.invalid> From: George Gallen Date: Wed, 20 Sep 2000 13:22:04 +0000 To: tru64-unix-managers Subject: Need to access a remote tty as local? X-MARC-Message: https://marc.info/?l=tru64-unix-managers&m=96945602818061 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@slackinc.com ph:856.848.1000 Ext 220 SLACK Incorporated - An innovative information, education and management company http://www.slackinc.com