This is what happens:
I see basically the same thing with rsync and sftp.
I tracked this down to line 99 in /etc/profile. This file gets included from /etc/zshenv, which is run when you login and if your login shell is zsh. Functions needed for interactive use should not be included like this, breaking scripts.
I can't even change my login shell to test this theory!
Can some sysop staff person please fix this? Thanks!
Code: Select all
$ scp testfile shell.sonic.net:public_ftp/outgoing
editor () {
$ stdin: is not a tty
I tracked this down to line 99 in /etc/profile. This file gets included from /etc/zshenv, which is run when you login and if your login shell is zsh. Functions needed for interactive use should not be included like this, breaking scripts.
I can't even change my login shell to test this theory!
Can some sysop staff person please fix this? Thanks!