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=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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 95a2fd14 for ; Thu, 31 Oct 2019 23:30:48 +0000 (UTC) Received: (qmail 17939 invoked by alias); 31 Oct 2019 23:30:40 -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: 44881 Received: (qmail 1361 invoked by uid 1010); 31 Oct 2019 23:30:40 -0000 X-Qmail-Scanner-Diagnostics: from mail-yb1-f171.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.219.171):SA:0(-1.9/5.0):. Processed in 3.98165 secs); 31 Oct 2019 23:30:40 -0000 X-Envelope-From: dana@dana.is X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.219.171 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dana-is.20150623.gappssmtp.com; s=20150623; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CVozHuHM1nlo8FkJa+9pN5yFCRBCczW6qcOdsNryAo4=; b=ODlaVd1vE3ccIGZX8G3VYf7O3KhZcTYwq/swLlMh7nmQrxmvuk44T76kqM9by3xPs3 yw6K5ahcAs0h/zz26b8f4kuhhr1S5xuRSiJ50/fqQB600ZjwyWAvrFB32nEQKpjDCjEG lAGGiMPOSQxXCZ2ys9yCNM8A04InuVMCNA1/SfLmmI/WsQu353E7h4LFhCvnvtYy/OXe EovhpMiVf+/xJwjFbiOcVynTF4VIhsGJ/OCp+ah0NYoAeV+thsiTkrcHzr8IPpH48d+/ blqR0x/JrCyKY460qgiFhikER+5kZR3NMNhJcvV+E6G1Q+drWAMUKPfPKToGI7xOfPhU c6dg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=CVozHuHM1nlo8FkJa+9pN5yFCRBCczW6qcOdsNryAo4=; b=SSY02B800u9NB/uBE+MJUiBm3hc7A7NNeymp/EVd5fR4SQf9EgaOJUOT2vcVEpNfxO QabUDZDsZvdvlvRWAhePzNoVJXECZ1aNinxKsd14QCGQdbcUv54rQvZRhQUk+KZRl5sa gYcnZF0fvIB5nnNWUYg29NLHbGca5tqnpA1ClZAub6LiX0t9imSL96clIOXzYso+87oa OWwJlefD5PHUwDCBiWgwkwgMiPQfL+oxu+dthiZtnz9QMfI/PGg35HT/1MfqWLeEcQ8/ i4NrgkWnZVo6Dtl5G1AgIquHLSvlB2Y7PFBOIPci+c0k4d2WPob0iaRJNMwjCOCHsn8i PooQ== X-Gm-Message-State: APjAAAXWKWOADfphtEv2dO537/vUmTdPaYCiwYcUcB92H5RgQI47FPLc R37utwhc4pId8QiDAnCYzkFB8CIQau4pyg== X-Google-Smtp-Source: APXvYqxGgPfqt/E/h7EzlgkK6zhrCQHwKVQYN6JALaJ0yme/5tn7vKPmlNnnwUnyoJFS0FcPPI0S2Q== X-Received: by 2002:a25:cfc4:: with SMTP id f187mr6823555ybg.496.1572564602496; Thu, 31 Oct 2019 16:30:02 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.11\)) Subject: Re: ssh completion on Catalina From: dana In-Reply-To: <7CB24DE1-D0F7-45AF-81D4-1D00B8EB0635@bazille.fr> Date: Thu, 31 Oct 2019 18:30:00 -0500 Cc: zsh-workers@zsh.org Content-Transfer-Encoding: quoted-printable Message-Id: <1BB87AFF-61AD-4CEA-A3FB-04C64B912BF1@dana.is> References: <63A6095E-6195-48B3-A126-A965304B4517@bazille.fr> <9D79F715-1AC2-42C9-B29D-3D26693F44B9@dana.is> <133D8C86-35E6-4D59-B3B0-4FE127C5A941@bazille.fr> <7CB24DE1-D0F7-45AF-81D4-1D00B8EB0635@bazille.fr> To: Bruno Bazille X-Mailer: Apple Mail (2.3445.104.11) On 31 Oct 2019, at 09:01, Bruno Bazille wrote: > If I write partial name which doesn=E2=80=99t exist, completion takes = 30 seconds > before error message : > > ssh: Could not resolve hostname dlfgkmd: nodename nor servname = provided, or > not known I don't think ssh actually gets called when just parsing the hosts, so = maybe that's from _remote_files or something? But i still wouldn't expect it = to print out garbage like that. On 31 Oct 2019, at 09:01, Bruno Bazille wrote: > Note, today I have 520 servers description in my .ssh/config file All of the parsing happens in a shell function, so it's possible that = with a complex enough configuration file it might take a long time... but it's = hard to say. I wouldn't expect it to get too slow until it hit like many = thousands of lines. And even then i'm not sure why it would differ between Mojave = and Catalina. It would be ideal if you could attach the trace file you got from _complete_debug. You can xxx out the IP addresses, host names, and user = names, if you need to. It's hard to know what it's really doing otherwise. At = least, i don't have any ideas myself. dana