From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 6898 invoked by alias); 28 Jun 2018 20:56:25 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 23515 Received: (qmail 180 invoked by uid 1010); 28 Jun 2018 20:56:25 -0000 X-Qmail-Scanner-Diagnostics: from know-smtprelay-omc-7.server.virginmedia.net by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(80.0.253.71):SA:0(-1.9/5.0):. Processed in 0.51608 secs); 28 Jun 2018 20:56:25 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: dave@dawoodfall.net X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Originating-IP: [82.40.94.2] X-Authenticated-User: X-Spam: 0 X-Authority: v=2.3 cv=YrwhubQX c=1 sm=1 tr=0 a=EH02hVpzcg1gP5HQFHlsKw==:117 a=EH02hVpzcg1gP5HQFHlsKw==:17 a=IkcTkHD0fZMA:10 a=q2GGsy2AAAAA:8 a=a1Uoi5jeAAAA:8 a=YBij_skZBc80mvPdU4QA:9 a=QEXdDO2ut3YA:10 a=z9dJwno5l634igLiVhy-:22 a=b5GIbgGVya4qEPgWM5ed:22 Date: Thu, 28 Jun 2018 21:56:19 +0100 From: David Woodfall To: zsh-users@zsh.org Subject: Re: scp completion options Message-ID: <20180628205619.GH21870@blackswan> Mail-Followup-To: zsh-users@zsh.org References: <20180626230654.GK11049@blackswan> <20180627081516eucas1p200d804de13d1e5a4f7ea223ecb2d9c49~79k6870Wv1727517275eucas1p2j@eucas1p2.samsung.com> <20180627101312.GL11049@blackswan> <20180628083835eucas1p2cb57feab1bca1540ed0a89cd6e26b9bb~8RikRcvz81808218082eucas1p2p@eucas1p2.samsung.com> <20180628201457.GG21870@blackswan> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.10+32 (ef19f486) (2018-06-19) X-CMAE-Envelope: MS4wfAn0ocy+ZpzIBvz8gMt5+aVPHUFl/akDgYZITCuJ8pVqn8+BesjiY0QJyPKWUNkbYt0w911cf8ydoDnXe0li8ztAlB/fkIQk9NFNqOrG0g+5c+GlPJrw fJEi6ecgSlduLZLgbNoFldmaULO7G9q6/i4= On Thursday 28 June 2018 13:26, Bart Schaefer put forth the proposition: > On Thu, Jun 28, 2018 at 1:14 PM, David Woodfall wrote: > > > > I've still to discover why sometimes remote names get escape for no > > apparent reason. eg I have a patch on the remote named: > > > > 0001-fix-typo-in-rc.geomyidae-slackware-init-script.patch > > > > This is the first item completed after hitting tab, but it is listed > > as > > > > ^[k*^[\0001-fix-typo-in-rc.geomyidae-slackware-init-script.patch > > This is probably something being spat out by your shell startup on the > remote host. Go through your .zshenv, .zshrc, etc. (or equivalent > files for other shell) on the remote host and make sure that nothing > writes output such as terminal control sequences when the standard > input is not a tty. (It could also be something in /etc/zshenv in > which case you're probably stuck unless you can become root on the > remote host.) Things I've tested so far: I set my shell on the remote to bash. (It doesn't have anything custom setup for bash because the server (slackware 14.2) is rather newish and I haven't bothered.) I unset LS_COLORS and LS_OPTIONS on remote and local (including ZLS_COLORS on the local.) I went through my local zsh files (but not system-wide yet) and turned off anything that looked remotely 'colourish'. I tried it outside of screen. I tried it in xterm (I normally use urxvt). No change. Stumped at the moment. -- .--. oo (____)// ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~'