From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIM_INVALID,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 33b3b95a for ; Thu, 31 Oct 2019 13:54:08 +0000 (UTC) Received: (qmail 9478 invoked by alias); 31 Oct 2019 13:53:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 44879 Received: (qmail 4462 invoked by uid 1010); 31 Oct 2019 13:53:56 -0000 X-Qmail-Scanner-Diagnostics: from mail-wm1-f51.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.0/25615. spamassassin: 3.4.2. Clear:RC:0(209.85.128.51):SA:0(-1.2/5.0):. Processed in 3.657231 secs); 31 Oct 2019 13:53:56 -0000 X-Envelope-From: bruno@bazille.fr X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: softfail (ns1.primenet.com.au: transitioning SPF record at mx.ovh.com does not designate 209.85.128.51 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bazille-fr.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=WKXuWxoUs+Hv8q6LercyjFSkeqx0IObmtXoawdevbZc=; b=rQ0moQJBPR7Tdntfp989HYLrcF8wIhCw+buB01/zkHdl6HMb9rF1yZcqztxq8DB+ct LyVjBp97R3xfjASQwVJ/S4Oe008y79BqYZke4OLucIMJ5QgPztWZCxNj0IGtDHfh5zcu OfIN7xT1qU17WCIVy/TvqtagdsQ2UCQqhWdj7yqO+EhAMzHaDAdDVmeRqOVEJtBOFqrP wUw0pP6MYMateb06tSH2j6ahtKYv11uhG6GYMhRCjMCD+higOk1bbXsXuIWLY5Qn9NNt BCDAxwS/nPT5+5HbcI9pAT7x2p/CkVymisnawevQ17gvZXHDV13xaWc3/wahU1xNTTRm /XZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=WKXuWxoUs+Hv8q6LercyjFSkeqx0IObmtXoawdevbZc=; b=ZM3+6vNIi9JkI32jfQfkiUSDyr3TdwAH8VaK+iSA2Mm/O1Id7mrIh123as+HHvTtXn GPt8vfycr0XNWKzZz0MaCPzAIkXOTTqfUQQ3+jj5K58I8moJgRDUNi8lKrFXN1evNYkb Kzjfi1KUBo7UgRmzd0BUd8wCf0RZ34W6vtMg3GZvwcdGU5Lprv3A3pHphKXflFqgd/zM io1dzVWTsj9AE/tX/lkCevHwoiZdD65w7Pmb+QzyQDgcF+xKYVbLTKlZWg8bHoLEn3Pr HbVppkFgxT4FOtxbMhKva3Cf0jRIvu9x7x9tZECd7xuw7zBMuREBsqGZ3exd882ls40r Y9bQ== X-Gm-Message-State: APjAAAXNxYsAt2P8kR2A0VUMEMxRSN63jehBBw+gbB6199/3Pz1mcHle y9EVONXz5PRnsx4h6undJSyU8Q== X-Google-Smtp-Source: APXvYqzWrwvGDBpxQNW1ybbtzuDU7JQxdufhAi4/MxqE8rDgckjow4fHCPpRInZWBZS+UXPxO3Zrcg== X-Received: by 2002:a1c:6146:: with SMTP id v67mr5425035wmb.102.1572529997107; Thu, 31 Oct 2019 06:53:17 -0700 (PDT) From: Bruno Bazille Message-Id: <133D8C86-35E6-4D59-B3B0-4FE127C5A941@bazille.fr> Content-Type: multipart/alternative; boundary="Apple-Mail=_324569F5-EE82-4F63-9DB5-63E55915256A" Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3601.0.10\)) Subject: Re: ssh completion on Catalina Date: Thu, 31 Oct 2019 14:53:13 +0100 In-Reply-To: <9D79F715-1AC2-42C9-B29D-3D26693F44B9@dana.is> Cc: zsh-workers@zsh.org To: dana References: <63A6095E-6195-48B3-A126-A965304B4517@bazille.fr> <9D79F715-1AC2-42C9-B29D-3D26693F44B9@dana.is> X-Mailer: Apple Mail (2.3601.0.10) --Apple-Mail=_324569F5-EE82-4F63-9DB5-63E55915256A Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Hi Dana I thank you for your quick reply and I apologize for my delay (Vacation = period in France) Previously Mojave was installed, the very last version Zsh version, no sorry, but I performed a brew upgrade recently Now, Zsh 5.7.1 is installed No specific configuration was done. I agree your analyse : stuck in loop I performed your recommendations. ssh bar I got a file, unfortunalty I=E2=80=99m not able to understand it=E2=80=A6 I see the list of server from my .ssh/config.d/hosts I see sort of loop Then I tried again and wait longer and=E2=80=A6 completion works after = 4/5 seconds Same with the traditional I removed the bind key (bindkey -r '^x?=E2=80=99) works with few seconds delay What can I bring you as input ? Strange that the completion spends more time than Mojave env. I don=E2=80=99t know which programming language is used, but i seems the = interpreter is less quicker in this case. I apply the very last Catalina release (2 day ago), there are a lot of = small mistake with Catalina, so I guest each new version will fix these = =C2=AB bugs =C2=BB. I perform also a brew upgrade too. No solved my issue. So it is not really a problem, but I manage hundreds of servers, the ssh = command is my hourly tool=E2=80=A6 For instance, I have 45 having =C2=AB multi =C2=BB in their name. %> ssh multi takes 8 seconds to complete the real root name of = these 45 servers. again to have the complete list of them, to select the one I want = to connect with right arrow, is again few seconds. As I tell you in my 1st mail, if I specify the first characters of = server name such as in my case ssh vmmulti, the completion is immediate = and the next tab is also immediate. As 90% of the server names start by =C2=AB vm =C2=BB, now I write these = 2 chars in my ssh command to go faster. In Mojave env, no. Regards, Bruno > Le 23 oct. 2019 =C3=A0 11:36, dana a =C3=A9crit : >=20 > On 21 Oct 2019, at 02:41, Bruno Bazille wrote: >> I installed the last macOS version : 10.15 >> I=E2=80=99m using iTerm2 >> brew upgrade has been performed >=20 > Were you previously on Mojave, and it worked there? Do you know what = version > of zsh you were using there, and which one you're using on Catalina? = And you > didn't change anything else about your zsh or SSH configuration? >=20 > On 21 Oct 2019, at 02:41, Bruno Bazille wrote: >> When I want to connect one of my server here below the completion = issue : >> The server name I want to reach is vmbar (note all my server names = start by vm) >>=20 >> %> ssh bar >> =3D=3D> completion seems blocked >=20 > This will probably be weird because it's getting stuck in a loop, but = you can > try this. First, run the following: >=20 > bindkey '^x?' _complete_debug >=20 > Then, enter the problematic command to complete like you were doing = before, > but instead of pressing Tab, press Ctrl+X followed immediately by ? = (question > mark). >=20 > After it gets stuck, give it a second or two, then press Ctrl+C again = to abort > it. It should dump a trace file, but since you cancelled it you'll = have to > find it yourself. Try: >=20 > ls $TMPPREFIX*(.) >=20 > Hopefully there'll be a file like zsh1234ssh1. If so, review it for = any > sensitive information (since it's SSH hosts it may contain = servers/IPs), > censor if necessary, and then attach the file here >=20 > dana >=20 --Apple-Mail=_324569F5-EE82-4F63-9DB5-63E55915256A--