From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26631 invoked by alias); 22 Jan 2014 13:52:38 -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: X-Seq: 18346 Received: (qmail 14148 invoked from network); 22 Jan 2014 13:52:24 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=user-agent:in-reply-to:references:mime-version :content-transfer-encoding:content-type:subject:from:date:to :message-id; bh=ziZd3uHgMI5MzhPJoatt6EBFyo/aoAqybKN7n/wBbWY=; b=e6WB21OKTbhO0qpabZtZ8YG0B2Z5Fxljlgdo//sckcbFrMKrKUkar0PqOiSHdLRjfV dsM6ohAqNjrf8JjSh0WwpUVypl6/+eJzN+tnXiVuuPPAFZW1UIG8ggEuuKLMVK3e+D0a vxloVNHULCp5GKXYLdWk05yByajHhqLl2WB0uGy4ggco0rU4dXlYIBHPD8s6plUMAolJ xsEdTusrYDeIw3KbO6YCQotn4irFQpCq03Gq5+6Ex0SI2dygBDhg6V4M1tk4u08OSlXN QENc9/LXQBVco7iEgFxdcI12TRdu4WLvQjrBilE/JDSF9mgWxF3WMBfCXVuIeKKbnHBj DVeA== X-Received: by 10.42.129.9 with SMTP id o9mr1242711ics.38.1390398739538; Wed, 22 Jan 2014 05:52:19 -0800 (PST) User-Agent: Kaiten Mail In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=UTF-8 Subject: Re: [Feature suggestion] (user configurable) timeout for generating completion lists From: Shawn Wilson Date: Wed, 22 Jan 2014 08:51:50 -0500 To: Arseny Tolmachev ,zsh-users@zsh.org Message-ID: <3bf76a71-7bd2-4c8e-80b0-b882aee92b47@email.android.com> Arseny Tolmachev wrote: >Good time of day to everyone. > >Sometimes you press [Tab] by instinct when in directory that is >network-mounted and has some millions files in it. >In this situation zsh basically ignores the [Ctrl+C] and don't respond >to >anything for a bit of time. >It would be very great if there was a way to specify a timeout for >completion generation for zsh. Error message can be something like >"completion timeouted". >What do you think about this? > IDK what the problem with NFS might be however IIRC this works with rsync (haven't tried with sshfs though). So maybe try that? >There are some questions on stackexchange from users wanting to get the >feature >http://unix.stackexchange.com/questions/32363/how-to-specify-timeout-for-tab-completion-in-zsh >http://unix.stackexchange.com/questions/39404/cancel-zsh-tab-completion >with nothing as answer except the SIGINT, however in my case zsh didn't >respond for SIGINT as well. > > >Thank you! > >Arseny.