From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.4 Received: from zero.zsh.org (zero.zsh.org [IPv6:2a02:898:31:0:48:4558:7a:7368]) by inbox.vuxu.org (Postfix) with ESMTP id 42BAE29DF5 for ; Sun, 14 Jan 2024 06:04:27 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1705208667; b=IjViIB2tZQmQKQnORSkCVpIhFUrP4r+BI6kcRxK/C6DGTuheoe41x0vvQalN45mq/F1saldi1T GxN0lL975dPVuQwZhyxttvarwSZ/kTExAsNDEda4hyEii/RsnHcpvoAuRgpe5qsQnJAmwp/sUc aBzJBB+yQiqAGgSdy0IIVQkD4qht2CaP2TEYqtHBEe7pqoY6OaKUVYek/INknW7blr2JAr5FQP SfEBiD03kh8stxpUhpKc4gQ1oMKUBcfY8yf+vqUavsLHZarEB2hCL4HH2D7azGBEtH6nHMsklk 3XQ/fFU86hojI+T44WouDuOizEZy0MIttVUHU0zVkCV2Og==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-ej1-f52.google.com) smtp.remote-ip=209.85.218.52; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1705208667; bh=yNaKpTf25u1aatU7GlUWBNcAUHZEWtf9Pg5I6xHsJJg=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Transfer-Encoding:Content-Type:Cc:To:Subject: Message-ID:Date:From:In-Reply-To:References:MIME-Version:DKIM-Signature: DKIM-Signature; b=I1whR4eWdj/wr7WZtp5MqJBPXaWybyNel3G9kAiGbpcijQdHLwNx0lr3qCbdYNoy4ZfQormx0k /1lac6Jt3LbuD1rGePM0lCJdExzDWMt8JC5S9jhtISMePL3OR470C45UjefmycsDnAYfUww6NP EstFhYE9Z4edA8KyAYTx3DaX2EBmG0TVFuK84nY4yZPw8bNL5KybAAsGF4oSNuywuJv7EH1/SH Ip6CQdczKIKRou70ZsvmUgdj/Btkp31VSL6OEUIOZIUk5mAc/u/AVxArw62+npmswX8kZxbixf 3sUp9MRddKYsV+AaoNH3UxMh0O7j+yAHXI7i7pNqt2YB4Q==; DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=zsh.org; s=rsa-20210803; h=List-Archive:List-Owner:List-Post:List-Unsubscribe: List-Subscribe:List-Help:List-Id:Sender:Content-Transfer-Encoding: Content-Type:Cc:To:Subject:Message-ID:Date:From:In-Reply-To:References: MIME-Version:Reply-To:Content-ID:Content-Description:Resent-Date:Resent-From: Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=39z8kXcsYrz0TqROwVQQNP69Vz1xgUrtBV3m8QW8KcQ=; b=masNeNqF2zv5gDGhIDF4m7HG2l Nyjzz4Nncw4ZXRVXIkrCAEEzjkOKPdFqRN6Z8u50F9EFeF24fn8wt5S2GLRv95TTOFhyTKXAoaC7y WUAAV4s8xBuilBiX56RPF3zGR+n35VJid5FEaqx8EtV+0mMIF6IXpBsd0bdgX4uMJ6cJW4N2bvLuw w/R6EUz6ojNfLEkNqo5AeLBQ9K3qDObaRdGhFRsfXPazsLqbRfw87tSX+VWRJE9HTAg6I8z0/ycVs EEzveapSFTgutLyZ6zfKT93zKjsKgjUB1MNeDFh8NaFd5+UdT+wTPZQQlu9bYXfw0ubxe5FDlglYy VH5f6wrQ==; Received: by zero.zsh.org with local id 1rOsfa-000A4U-9o; Sun, 14 Jan 2024 05:04:26 +0000 Authentication-Results: zsh.org; iprev=pass (mail-ej1-f52.google.com) smtp.remote-ip=209.85.218.52; dkim=pass header.d=brasslantern-com.20230601.gappssmtp.com header.s=20230601 header.a=rsa-sha256; dmarc=none header.from=brasslantern.com; arc=none Received: from mail-ej1-f52.google.com ([209.85.218.52]:42347) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1rOses-0009Ow-O0; Sun, 14 Jan 2024 05:03:43 +0000 Received: by mail-ej1-f52.google.com with SMTP id a640c23a62f3a-a2d7e2e7fe0so44389766b.1 for ; Sat, 13 Jan 2024 21:03:42 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20230601.gappssmtp.com; s=20230601; t=1705208621; x=1705813421; darn=zsh.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=39z8kXcsYrz0TqROwVQQNP69Vz1xgUrtBV3m8QW8KcQ=; b=gkM36EU7Q69UduZWOVizCNSY77tmGdyuuQyxEfFYFo1ryowyrNlWoUBneGK6MQNDNF Emgd95YtQ9oiyWg1Ku5xgTn2PIf+57VJFdrG8V5vpQFZs2UtuAPIbVD93WvvfLeMU19n 758GS6L7Fag5LakxxP8gAjcIV+EahrpJhMcnwN6mz5m5joyCtcI/nxQ/4jSA3u6nnj/S lk7OXDqB6++wosIheHD/83IYOfuv27H0ITUSODjAnI2cp6q2Y33YPNQdoeGXCUegyVD5 z33Dw4J0WbugeCBYeL1CysS0TBienD/CSdPLH/6tfxp5KEAbWsi6cn26/FyMPkRM4agt S15Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705208621; x=1705813421; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=39z8kXcsYrz0TqROwVQQNP69Vz1xgUrtBV3m8QW8KcQ=; b=A0JR8RmHoYewlKrPXPdS1ZpTFXL3fVnvVgJhRQlkNQQtbjHV0Vs/vH5UbcwuOQNjl4 xDrbc0nDuWDsv2Qedsfr6JOIcXW8YSWih3TCN6PSWkflAvt3+c+enFOBzCTp6UNSnmH9 0QsRaHu837K64JgXyjnt8kwKPqGRP9WGP7rP4+IAQzKOzMCO11QVB7zONsTCXcjyWRRs fdWFQ4ZTHwzukyYr/gJsPpJ2nl/OqJyIIDNbhI2QIl+jqwcNZ4v2CSB+qsu97RfKup5T dxK0WXa94qrgTwEiEKb0g5zDZ6/pNkramCcNAGZHLP6gk8pDq55i/xZ72+rWj6oKVPxV DStg== X-Gm-Message-State: AOJu0YyPj5dvzw/2gfDsToShcyDGGzR4Dl17+ZUf7f+EgzOZWchAyUC1 fs/2mHGZslX2QAGk8IsXmt//BGzWUJJmkFNGONmPZ425xlPE X-Google-Smtp-Source: AGHT+IEOeVXTKkJNec3yuejydmJsEiD8atEI1wrV7z6tVaqF+5C5XiDlDt/MyrjxJZ2o5DyjbU8oyeet31/ajHNfKYs= X-Received: by 2002:a17:906:c20b:b0:a2b:ebd5:80bd with SMTP id d11-20020a170906c20b00b00a2bebd580bdmr3550677ejz.42.1705208621007; Sat, 13 Jan 2024 21:03:41 -0800 (PST) MIME-Version: 1.0 References: <205735b2-11e1-4b5e-baa2-7418753f591f@eastlink.ca> <86efd9d3-c994-4551-ae1b-1358dcc86283@eastlink.ca> In-Reply-To: <86efd9d3-c994-4551-ae1b-1358dcc86283@eastlink.ca> From: Bart Schaefer Date: Sat, 13 Jan 2024 21:03:30 -0800 Message-ID: Subject: zcurses mouse delay (not Re: Slurping a file) To: Ray Andrews Cc: Zsh Users Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Seq: 29470 Archived-At: X-Loop: zsh-users@zsh.org Errors-To: zsh-users-owner@zsh.org Precedence: list Precedence: bulk Sender: zsh-users-request@zsh.org X-no-archive: yes List-Id: List-Help: , List-Subscribe: , List-Unsubscribe: , List-Post: List-Owner: List-Archive: Please don't reply/re-use an unrelated subject for a new question. On Sat, Jan 13, 2024 at 12:07=E2=80=AFPM Ray Andrews wrote: > > zcurses mouse delay 2000 > > ... I get an error msg saying that an integer value is required. No > matter what number I throw in there I get the same msg. As far as I can tell, either this has never worked, or something unexpected changed in the implementation of zstrtol() sometime after 2007. The test for successful read of a number is wrong, and there's also a typo in the call to print an error message in the event of an unrecognized mouse subcommand. Patch going separately to zsh-workers. Sorry, Ray, but you're out of luck without a rebuild. I'll Cc you on the patch, it should apply to any zsh/curses module since zsh 4.3.5 of 2008-02-01.