Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!cornell!rochester!kodak!lance From: lance@kodak.UUCP (Dan Lance) Newsgroups: comp.unix.wizards Subject: Re: rsh problems Message-ID: <1921@kodak.UUCP> Date: 9 Jun 89 20:10:28 GMT References: <23219.8906050826@cxa.daresbury.ac.uk> Reply-To: lance@kodak.UUCP (Dan Lance) Organization: Eastman Kodak Co, Rochester, NY Lines: 62 In article <23219.8906050826@cxa.daresbury.ac.uk> wh%CXA.DARESBURY.AC.UK@cunyvm.cuny.edu (Bill Purvis) writes: >Dennis G. Rears writes: >> I am on a VAX 8600 running ULTRIK 2.0 trying to execute a rsh on a >>SUN386i running SUNOS 4.0.1 (hostname drun). My login name on both >>machines is drears and I have .rhosts configured properly to rlogin/rsh >>between machines. >> >> I am trying to run the following command on the VAX: >> >>tar -cf - .|rsh drun tar xf - >> >>I get the error message back: >> >>stty: operation not support on socket >> >We had the same problem, and eventually figured out that it was >caused by the presence of an `stty' command in the .cshrc file on the >remote machine. We just deleted it but if you can figure out whether >you are being invoked remotely, you could bypass it in this case but >let it execute when invoked normally. Can anyone suggest the best >method for doing this. I am sure I have seen it somewhere! > >Bill Purvis, >SERC, Daresbury Lab, England >wh@uk.ac.dl.cxa (JANET) Put if (! $?prompt) exit at the top of your .cshrc. --drl Daniel R. Lance / drl@kodak.com / Eastman Kodak Company, Federal Systems Div. i hate inews