From mboxrd@z Thu Jan 1 00:00:00 1970 From: Stas Sergeev Subject: Re: Three major questions. Date: Sun, 07 Sep 2003 17:16:49 +0400 Sender: linux-msdos-owner@vger.kernel.org Message-ID: <3F5B2FC1.7070904@aknet.ru> References: <3F5A90B3.40205@aknet.ru> <20030907025751.GA19260@ds0.van.maves.ca> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20030907025751.GA19260@ds0.van.maves.ca> List-Id: Content-Type: text/plain; charset="us-ascii"; format="flowed" To: Matthew Clarke Cc: linux-msdos@vger.kernel.org, Boris Reisig Hello. Matthew Clarke wrote: >>1. Wrote a small program "datacopy" (attached). >>[Duh, something like that might be somewhere >>among the generic Unix utilities, so I am sure >>I've reinvented the wheel by writing it. Can >>anyone point me the analog of such a prog?] > The package/program "socat" might fit the bill. > http://www.dest-unreach.org/socat/ Thanks, ultimately great program! Actually it absoletes everything I've said yesterday. With socat, it is enough to do only: socat tcp-l:5000 PTY,link=/tmp/vmodem and set $_com2="/tmp/vmodem" and that's it. Easier than I could ever imagine :)