home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!darwin.sura.net!spool.mu.edu!sdd.hp.com!cs.utexas.edu!ut-emx!loflin
- From: loflin (Don Loflin)
- Newsgroups: comp.os.os2.networking
- Subject: Re: IBM's "rsh" still broken, what's the story ?
- Message-ID: <85656@ut-emx.uucp>
- Date: 21 Dec 92 16:44:19 GMT
- References: <92350.224934RONY@awiwuw11.wu-wien.ac.at>
- Sender: dll@ut-emx.uucp
- Organization: The University of Texas at Austin
- Lines: 52
-
- In article <92350.224934RONY@awiwuw11.wu-wien.ac.at> RONY@awiwuw11.wu-wien.ac.at (FLATSCHER Rony) writes:
- >A couple of months ago someone posted in this group that IBM's "rsh" of
- >TCP/IP would not work properly.
- >
- >At our site we are trying to backup the OS/2-machines using GTAK's tar,
- >which even backups extended attributes. As the present implementation of
- >this GNU tar does not allow utilizing a remote tape via IBM's TCP/IP (A.
- >Kaiser told me today in a note, that the implementation is 4 to 6 months
- >away, at least), I tried to follow K.U. Rommel's advice to pipe the
- >OS/2-tar-output via "rsh" to the tape in question, which resides on a Unix-
- >machine. He mentioned problems in respect to IBM's "rsh".
- >
- >Guess what, "rsh" still does not work (have TCP/IP 1.2.1, CSD UN29511). We
- >get the SYS1805 ("The process tried to write to a nonexistent pipe.") error
- >(US version of OS/2 plus golden SP).
- >
-
- IBM TCP/IP's RSHD doesn't seem to work either -- if you "rsh tar -c
- -f con . >~/test.tar", after a bit, the RSHD session starts beeping
- and the rsh never finishes on the Unix host.
-
- The problem seems to be in the RSHD/REXECD implementation -- the screen
- output in displayed in the RSHD session, and then echoed to the RSH
- socket (apparently). Have you ever tried TYPEing a binary file? It
- tends to cause the same symptom. What RSHD/REXECD need is a switch
- to override the default implementation method and return only output
- from STDOUT to the RSH socket. This would allow the use of "nice"
- programs which really do output to STDOUT instead of doing direct
- screen i/o.
-
- What I suggest is that RSHD/REXECD define a device driver which they
- will read from without echoing to the session e.g. 'rcon'. Then TAR
- & other filters could be used by outputting to the file '/dev/rcon'.
- The rcon device driver would be very simple to write. For now, I
- think if I pipe the ouput of TAR into UUENCODE first, I should be
- able to send data with no problem (although more slowly).
-
- As for REXEC/RSH, I have found that RSH will not accept input at
- all (at least from a 'cat >tmpfile' command, executed from a shell
- script on the Unix box). REXEC on the other, will take input, but
- only from the keyboard. I can execute my above script via REXEC and
- type stuff & it will get put in the file -- but if I try to pipe TAR
- into the rexec, it just doesn't work -- the command still sits waiting
- for me to type something. If I use CON instead of -, TAR outputs to
- the screen, but nothing is sent to the rexec.
-
- -------
- Don Loflin
- loflin@emx.cc.utexas.edu
- (512) 471-3241 x413
- Just my opinions...
-
-