From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11382 invoked from network); 25 Dec 1997 23:26:39 -0000 Received: from math.gatech.edu (list@130.207.146.50) by ns1.primenet.com.au with SMTP; 25 Dec 1997 23:26:39 -0000 Received: (from list@localhost) by math.gatech.edu (8.8.5/8.8.5) id SAA09328; Thu, 25 Dec 1997 18:09:21 -0500 (EST) Resent-Date: Thu, 25 Dec 1997 18:09:21 -0500 (EST) Date: Fri, 26 Dec 1997 01:00:15 +0200 (EET) From: Tuomo Pyhala To: zsh-workers@math.gatech.edu Subject: completion control Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Resent-Message-ID: <"A7WGb3.0.hH2.WUkeq"@math> Resent-From: zsh-workers@math.gatech.edu X-Mailing-List: archive/latest/3659 X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu I was trying to set up completion control for scp like this % compctl scp -f -x 'n[1,:]' -K RemoteFileList - 'p[1,1]' -k '(tuomo@jymy: tupyhala@zonex.cop.fi:)' i defined function like this function RemoteFileList { hname=`echo $1 | cut -f2 -d '@'`; reply=(`ssh $hname ls`); echo - $1 - $2 -} [last echo for debigging purposes]. It seems that function isn't getting parameters as it is told in man page. Is this a bug, or is it feature? If i have misunderstood documentation could me point me how to do this then. I'm running zsh shipped with RH4.2 (3.0.2) on Linux-i586. TIA