Date: Thu, 5 Sep 1996 14:23:29 +0100 (WET) From: af@biomath.jussieu.fr To: geoid@ktnet.co.kr Cc: freebsd-questions@freebsd.org Subject: Re: rcp: stty: : Invalid argument. Message-ID: <199609051323.OAA09349@asterix.biomath.jussieu.fr>
next in thread | raw e-mail | index | archive | help
------------- Begin Included Message -------------
I don't any experience Berkeley r-command. So, I am not sure that this is
a real problem..
I have to FreeBSD 2.1.5 box, a.domain.name, b.domain.name.
I have made .rhost file on a.domain.name and b.domain.name.
The .rhost at a.domain.name says
# .rhost for a.domain.name
b.domain.name geoid
The .rhost at b.domain.name says
# .rhost for b.domain.name
a.domain.name geoid
When I tried to rcp "test" from a, rcp causes error
b:/user/geoid % rcp a:test .
rcp: stty: : Invalid argument.
b:/user/geoid %
I tried "rcp a.domain.name:test .", "rcp a:test test", "rcp a:test b:test"...
rsh, and rlogin just run fine..
What shall I do to use rcp ?
------------- End Included Message -------------
Seems to me that you have a stty command in your .cshrc (or .login ?) that
gets confused because the process created by the rcp command from the
remote machine does not have a tty as stdin.
In my .cshrc file, I always bracket commands that are typically only used in
a really interactive context by:
if (?$prompt)
then
# Commands like stty, tset, set prompt=...
endif
_Alain_
--
Alain FAUCONNET Ingenieur systeme - System Manager AP-HP/SIM
Public Health 91 bld de l'Hopital 75013 PARIS FRANCE
Medical Computing Research Labs Mail: af@biomath.jussieu.fr
Tel: (+33) 1-40-77-96-19 Fax: (+33) 1-45-86-80-68
I've RTFMed. It says: "Refer to your system administrator"
But... I *am* the system administrator :-]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609051323.OAA09349>
