From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7357 invoked from network); 13 Feb 2003 16:10:21 -0000 Received: from sunsite.dk (130.225.247.90) by ns1.primenet.com.au with SMTP; 13 Feb 2003 16:10:21 -0000 Received: (qmail 4534 invoked by alias); 13 Feb 2003 16:09:37 -0000 Mailing-List: contact zsh-users-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 5918 Received: (qmail 4527 invoked from network); 13 Feb 2003 16:09:36 -0000 Received: from localhost (HELO sunsite.dk) (127.0.0.1) by localhost with SMTP; 13 Feb 2003 16:09:36 -0000 X-MessageWall-Score: 0 (sunsite.dk) Received: from [193.109.254.147] by sunsite.dk (MessageWall 1.0.8) with SMTP; 13 Feb 2003 16:9:36 -0000 X-VirusChecked: Checked X-Env-Sender: kiddleo@logica.com X-Msg-Ref: server-18.tower-27.messagelabs.com!1045152556!3280 Received: (qmail 11638 invoked from network); 13 Feb 2003 16:09:16 -0000 Received: from iris.logica.co.uk (158.234.9.163) by server-18.tower-27.messagelabs.com with SMTP; 13 Feb 2003 16:09:16 -0000 Received: from finches.logica.co.uk ([158.234.142.11]) by iris.logica.co.uk (8.9.3/8.9.3/Debian 8.9.3-21) with ESMTP id QAA19577; Thu, 13 Feb 2003 16:09:36 GMT X-Authentication-Warning: iris.logica.co.uk: Host [158.234.142.11] claimed to be finches.logica.co.uk Received: from finches.logica.co.uk (localhost [127.0.0.1]) by finches.logica.co.uk (8.11.6/8.11.6/SuSE Linux 0.5) with ESMTP id h1DGCnU01817; Thu, 13 Feb 2003 17:12:49 +0100 cc: zsh-users@sunsite.dk In-reply-to: <87heb8p6e1.fsf@lynx.ionific.com> From: Oliver Kiddle References: <87d6lwqper.fsf@lynx.ionific.com> <29391.1045147304@finches.logica.co.uk> <87heb8p6e1.fsf@lynx.ionific.com> To: Hannu Koivisto Subject: Re: Remote scp completion that can handle spaces etc. in pathnames Date: Thu, 13 Feb 2003 17:12:49 +0100 Message-ID: <1815.1045152769@finches.logica.co.uk> Sender: kiddleo@logica.com Hannu Koivisto wrote: > > Thanks! It applied to 4.0.4 just fine. However, I needed > an additional modification to make it work with filenames such as > ``[foo bar* |'' -- * and | didn't appear at all without this > modification. I wonder if this breaks something elsewhere? See > the modification below, within your patch. The completion for ssh uses ls -F on the remote machine to get the files and then takes trailing *, =, |, / and @ characters to be the characters added by ls -F to indicate the type of the file. I don't tend to have file names ending in those characters and find it useful that it does this. The ssh completion should perhaps honour the list_types style but it'd still need ls -F to be able to do add `/' suffixes for directories. Oliver This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you.