From mint-bounce@lists.fishpool.fi  Thu Jun 30 23:09:12 2005
X-Original-To: fnaumann@mail.boerde.de
Delivered-To: fnaumann@mail.boerde.de
Message-ID: <42C45E63.5020101@highlandsun.com>
Date: Thu, 30 Jun 2005 14:04:35 -0700
From: Howard Chu <hyc@highlandsun.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8b2) Gecko/20050621
MIME-Version: 1.0
To: Maurits van de Kamp <maurits@bassment.nu>
Cc: mint@fishpool.com
Subject: Re: [MiNT] ssh or telnet with zmodem
References: <66DC18A8418BEC40A860F6DE165FE29F03C6860B@EATPEX01.dmt.de> <005b01c57d8e$94a8ddd0$4502a8c0@credo> <200506301843.48369.maurits@bassment.nu>
In-Reply-To: <200506301843.48369.maurits@bassment.nu>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-To: mint-bounce@lists.fishpool.fi
X-original-sender: hyc@highlandsun.com
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
X-Virus-Scanned: by amavisd-new at relay.boerde.de
X-Spam-Checker-Version: SpamAssassin 2.63 (2004-01-11) on relay.boerde.de
X-Spam-Status: No, hits=-1.0 tagged_above=-50.5 required=7.0 tests=BAYES_00
X-Spam-Level: 

Maurits van de Kamp wrote:
>> At this point suspend telnet and start rz to listen
>> on that same tty (Don't ask me how).
>> ??????????
> 
> By redirecting it to the corresponding /dev/ttyp* device, if that's still 
> working with telnet suspended that is. But since telnet does create pty's, I 
> assume there's some way to make use of them.

Only a telnet server uses a pty, the telnet client just talks over a 
socket. But that's not too important, you can of course make zmodem run 
over any arbitrary filedescriptors. You just need a telnet client or ssh 
client that is smart enough to connect an external program for you. (in 
tip there was the ~C command, which was not compiled by default. A 
similar patch would be needed for telnet.)

It's definitely doable, I used to run zmodem over telnet many years ago, 
before ssh was around, but you will need to do some hacking on your 
telnet client.

-- 
   -- Howard Chu
   Chief Architect, Symas Corp.       Director, Highland Sun
   http://www.symas.com               http://highlandsun.com/hyc
   Symas: Premier OpenSource Development and Support


