rcp failure due to echo

Meeks dwm at ihlpf.ATT.COM
Fri May 20 05:50:43 AEST 1988


> the 9000 series) and the command was failing miserably.  I should note that
> when I run my .cshrc I echo out a "This is the .cshrc executing message" 
> (probably lights are already going on over somebody's head out there 8-).
> Anyway, when I did an rcp, all I got was the first echo line of my .cshrc
> sent to stdout (even if I had two echo lines in the file, I only got one
> as output).  There was no error message and no file copied.  When the echoes
-----------------

RemoteCoPy sorta ( technical term, sorry ) logs you into the remote machine.
Remember that .xxxrc files are executed with each new shell. Thus, your
rcp is executing your remote .xxxrc before it makes any copies. Because
of the way rcp works, echos and stty stuff ( another technical term ) should
not be included in your .xxxrc. I have found this generally true of most
implementations. I have created a .xxxrc which uses a case statement to 
determine if I have come in remotely or not.

Dan Meeks, AT&T Bell Laboratories         *       +   ___----------^---------- 
dwm @ ...ihnp4!ihlpf!iecp1!dwm      *  ___________   /   >-------------------/
( 312 ) 416 - 5379                    (_========#_D_----/ .    *   `engage!  .
200 Park Plaza, Naperville, Il 60566      `--`==_______/     +    .       *



More information about the Comp.unix.wizards mailing list