Xref: utzoo comp.unix.questions:6608 comp.unix.wizards:7836 Path: utzoo!utgpu!water!watmath!clyde!att-cb!osu-cis!tut.cis.ohio-state.edu!rutgers!mailrus!ames!umd5!ncifcrf!randy From: randy@ncifcrf.gov (The Computer Grue) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: telnet i/o redirection? Message-ID: <443@ncifcrf.ncifcrf.gov> Date: 17 Apr 88 16:00:07 GMT References: <4822@umn-cs.cs.umn.edu> Reply-To: randy@ncifcrf.gov (The Computer Grue) Organization: NCI Supercomputer Center Lines: 21 I'm pretty sure that the problem here is that when telnet does the open it puts the terminal into raw mode and simply transfers characters to the remote system. This means that you need to send to end lines instead of , which is the normal unix end of line character. This explains everything you described except the console hanging on the tty indirect, but then I always knew SGI had flaky OS software! I had this same problem attempting to get telnet working on input from a regular disk file. Try translating to on the cat (does tr buffer? If so, you'll have to write a C program to do it); that should fix your problem. Hope this helps . . . -- Randy -- Randy Smith @ NCI Supercomputer Facility c/o PRI, Inc. Phone: (301) 698-5660 PO Box B, Bldng. 430 Uucp: ...!uunet!ncifcrf.gov!randy Frederick, MD 21701 Arpa: randy@ncifcrf.gov