The /etc/csh.cshrc looks like:
cat /etc/csh.cshrc
# /etc/cshrc
#
# csh configuration for all shell invocations.
# by default, we want this to get set.
# Even for non-interactive, non-login shells.
[ "`id -gn`" = "`id -un`" -a `id -u` -gt 99 ]
if $status then
umask 022
else
umask 002
endif
if ($?prompt) then
if ($?tcsh) then
set prompt='[EMAIL PROTECTED] %c]$ '
else
set prompt=\[`id [EMAIL PROTECTED] -s`\]\$\
endif
endif
if ( -d /etc/profile.d ) then
set nonomatch
foreach i ( /etc/profile.d/*.csh )
if ( -r $i ) then
source $i
endif
end
unset i nonomatch
endif
On Mon, Feb 25, 2008 at 8:30 PM, Les Mikesell <[EMAIL PROTECTED]> wrote:
>
> daniel wrote:
> > Hello!
> > Running: /usr/bin/ssh -q -l root x.x.x.x /usr/bin/rsync --server
> > --sender --numeric-ids --perms --owner --group -D --links --hard-links
> > --times --block-size=2048 --recursive --ignore-times . /etc/
> > Xfer PIDs are now 11400
> > Got remote protocol 1768191091
> > Fatal error (bad version): stdin: is not a tty
> > If I'm running
> > usr/bin/ssh -q -l -x root x.x.x.x /usr/bin/rsync --server --sender
> > --numeric-ids --perms --owner --group -D --links --hard-links --times
> > --block-size=2048 --recursive --ignore-times . /etc/
> > i get the error "Got fatal error during xfer (Unable to read 4 bytes)"
> >
> > I added in the client's /root/.cshrc
> >
> >
> > if ( ! $?USER || "$prompt" == "" || ! $?term ) then
> > exit
> > endif
> >
> > I ran the same command and i get the same error:
> > Fatal error (bad version): stdin: is not a tty
> > Any ideas? Thanks in advance
>
> Is something in /etc/csh.cshrc doing an stty?
>
> --
> Les Mikeell
> [EMAIL PROTECTED]
>
--
Daniel Corabian
Linux System Administrator
AccelerateBiz Hosting, Inc.
Mobile: +40-742-391927
E-mail: [EMAIL PROTECTED], [EMAIL PROTECTED]
-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
BackupPC-users mailing list
[email protected]
List: https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki: http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/