> Whenever we issue the command:

> rsync --delete-excluded --stats --checksum --compress --rsh=/usr/local/bin/s
> sh --recursive
>  --times --perms --links --delete server.mydomain.net:/home/dir/
> /home/backup/dir/

> We get the message 'stdin: is not a tty' though everything seems to work OK.

This is probably due to a call to stty in the startup file of your
shell on the remote machine.  If your are for example using bash and
have a .bashrc file on the remote host, it will be "sourced" by bash
through ssh.  You should separate in it what is only needed for an
interactive shell.

Ex: (need perhaps at least bash-2.04)

PATH=.....
<set some other useful variables>

# Stop sourcing if not an interactive shell
[[ $- != *i* ]] && return

# Interactive stuff
stty sane intr '^C' ....

[EMAIL PROTECTED], Tel: (33)04 92 38 79 11
INRIA Sophia, 2004, rte des Lucioles, B.P.93 - 06902 Sophia Antipolis Cedex

Reply via email to