From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10548 invoked from network); 12 Jan 2000 18:52:40 -0000 Received: from sunsite.auc.dk (130.225.51.30) by ns1.primenet.com.au with SMTP; 12 Jan 2000 18:52:40 -0000 Received: (qmail 22908 invoked by alias); 12 Jan 2000 18:52:27 -0000 Mailing-List: contact zsh-users-help@sunsite.auc.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 2869 Received: (qmail 22899 invoked from network); 12 Jan 2000 18:52:26 -0000 Date: Wed, 12 Jan 2000 13:52:09 -0500 (EST) From: Scott Lipcon To: Andrej Borsenkow cc: Scott Lipcon , zsh-users@sunsite.auc.dk Subject: RE: remote function problems. In-Reply-To: <000201bf5cce$c2a9f5c0$21c9ca95@mow.siemens.ru> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII On Wed, 12 Jan 2000, Andrej Borsenkow wrote: > You most probably have call to stty in your .zshrc or /etc/zshrc (that is being > executed for every interactive shell; and you force your shell to be interactive > with -i option). yes, I do have a stty erase call in my .zshrc > 1. Do not use -i option. Why do you need it? if I don't specify -i, it doesn't find my functions... I get: $ ssh hostname zsh -c function slipcon's password: zsh: command not found: function $ this is because I load my functions in my .zshrc - they're all in a file called zfunc, and I say: # load functions (necessary for completions) [[ -r $HOME/.zsh/zfunc ]] && source $HOME/.zsh/zfunc in my zshrc. (which is directly before I load in my completions, which are in $HOME/.zsh/zcomp) > > 2. Wrap call to stty around > > if [[ -t 0 ]]; then > stty ... > fi that worked, although maybe I'm not going about it the right way. Any more suggestions about my problem are welcome! Thanks for your help. Scott