TIP: Click on subject to list as thread! ANSI
echo: tech
to: CHARLES ANGELICH
from: Viktor Pilpenok
date: 2003-12-18 18:47:16
subject: Re: another foul up

Hello CHARLES.

17 Dec 03 12:43, you wrote to PASCAL SCHMIDT:

 CA>>> The standard telnet will not give you a child process
 CA>>> (comand line) to call sz or rz and use the already opened
 CA>>> 'port' that connects you to the BBS. The ztelnet program
 CA>>> _does_ have this function built into it. :-)

 PS>> I wouldn't be so sure. ^] in the standard telnet client
 PS>> gives you a command prompt and you can start external
 PS>> commands with !command. I don't know whether one could
 PS>> start a zmodem client that way, though. That depends on
 PS>> whether telnet connects the input and output of the child
 PS>> process with the telnet session. No idea.

 CA> I haven't tried to use the standard telnet, exit to a child
 CA> process, and initiate 'sz' or 'rz' using the same port/connect
 CA> as the parent but I'm guessing it's not doable or is extremely
 CA> awkward?

That won't wotk because you will be geting a new telnet login prompt and
not your old connection. When you initialize a tcp/ip session the server
will remember your adress and port and allocates a port number on his side
for thi connection. And two applications can't have the same port number -
so you can't do it this way.

If telnet would inherit his File Descriptors to child processes you could
do something like "sz --whatever-parameers &7"
(for fd #7) , but AFAIK no telnet implementation does this.

Viktor

--- GoldED+/W32 1.1.4.7
* Origin: Does it work? Hello ??? Anybody out there ?!?!? (2:249/3110.67)
SEEN-BY: 633/267 270
@PATH: 249/3110 2432/200 774/605 123/500 106/2000 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.