Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!uwm.edu!bionet!agate!stanford.edu!leland.Stanford.EDU!dkeisen From: dkeisen@leland.Stanford.EDU (Dave Eisen) Newsgroups: comp.unix.shell Subject: Re: rsh guru req'd! Keywords: rsh Message-ID: <1991Apr23.003518.4442@leland.Stanford.EDU> Date: 23 Apr 91 00:35:18 GMT References: <6226@iron6.UUCP> Distribution: comp.unix.shell Organization: Sequoia Peripherals, Inc. Lines: 20 In article <6226@iron6.UUCP> yeates@motcid.UUCP (Tony J Yeates) writes: >The rsh man page includes the following line:- >"The current local environment is not passed to the remote shell." > It isn't, and there is no real way to get around this. What I usually do when I want to pass something to a remote shell is to explicitly set the environment variable in the command, something like (using /bin/sh as the login shell): rsh silicon "VARIABLE=$VARIABLE; export VARIABLE; command-line" -- Dave Eisen dkeisen@leland.Stanford.EDU 1101 San Antonio Raod, Suite 102 (Gang-of-Four is being taken off the net) Mountain View, CA 94043 (415) 967-5644