From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7141 invoked by alias); 10 Oct 2015 00:43:35 -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: 20721 Received: (qmail 18820 invoked from network); 10 Oct 2015 00:43:32 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, MISSING_HEADERS,T_DKIM_INVALID autolearn=no autolearn_force=no version=3.4.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1444437455; bh=6UlIHTdBF/OXrTkjOxrs1Y4R60PpAS/7dKGwsUAqW4g=; h=From:cc:Subject:In-reply-to:References:Date:From:Subject; b=ZYaLvlc6kZmV9GwSgHiVHeL78aDfQBIFloRgIvr/e8tyh8HhXI+SrEnVFxG1wnk4xnKvSvr3MuJRLIN9LEORFSW2pSsDUTvOvKNBvAcWLMC+VbbVT1B2ayabGlXXyRtmYzfaY3wLz2xJ7gBh2oRNP+4gaw6f+2+/sCRRseELJKeP0A+bmcecA6xC2ZLPAjelHF5LSBEd54QhhsFrGDeH5k+0gvYtKy3pt7inSC97khCqci/9tcRV+9PJrZLgnFfT8gR3oJdeRow0smWfE2JtmrzifvNtbtwpPpfh74dn0x72Yw80PYxOQwLTl6EF7kZc8Tgzg+aVV2DybG2zC2kDMg== X-Yahoo-Newman-Id: 446706.7405.bm@smtp118.mail.ir2.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: HbJxsekVM1nFL6qEzUv.ZDag34qnViH2FrbPvLKNqKAlFHd F0YrlYL1PfhQc_XzW7Ds6qMG8c2DHhMKF9G3qDIKc_qOmpzYa3k4tuj77cIJ Ns4UnWiwbUmhCX2IY03TG7irY_AYzH5MQ.RrtodYpOTVBBt9Qcb8C8lEzYeq 6GWFhRf3_M0UBG2pAG94ekTHC3BMvbSezk_qF6vMRDq33dN5IPcXTH9CWLiN ojzzjQkFQfu7M.K0vIgGz7hsapqiFSIaBPLuiBCqWOvxHz1kx_DE4cErs2uX Mm1QGgKg1_P8VphCJDKRVQM.gMdU9E0oPqUXr8Pilec6agq5B46XJcq54HdU MeSwYuTjvD_zoaWm3L5cE.eTabZ8lq8FmpRKFlJnZ_DumAP.ciGjP60jF3Wl JUl4G7rSSrMtjpzCbW28CGv74K7oYXotPd.JVLgPmxhFRWVzEtqoya8A5XaZ 2t1Cz7QZLgtfLygYi5anlzqT8FMeaw.4j11qexWBVrrve8_UDU2k4JXKy8dw RJ.tXxFtqGxKFejYocspBqil.Nr3YHA-- X-Yahoo-SMTP: opAkk_CswBAce_kJ3nIPlH80cJI- From: Oliver Kiddle cc: zsh-users@zsh.org Subject: Re: "2004h" at the end of each prompt and "2004l" after pressing Enter on DragonFlyBSD console with zsh 5.1.1 In-reply-to: <151009160452.ZM5208@torch.brasslantern.com> References: <20151009220942.GH12039@sym.noone.org> <151009160452.ZM5208@torch.brasslantern.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <4504.1444437453.1@thecus.kiddle.eu> Date: Sat, 10 Oct 2015 02:37:33 +0200 Message-ID: <4505.1444437453@thecus.kiddle.eu> Bart wrote: > Any idea how we can test for support of this feature and disable it > automatically on terminals that don't support it? The approach I suggested in workers/35393 would work for this case. That is, there is no output from the following with TERM set to cons25. printf '%s %q\n' ${(kv)terminfo[(R)*[0-9](#c4)[hl]]} I'm fairly sure that I tried the console on FreeBSD which may have also been cons25 but much of DragonFly is presumably older. The question is whether we want to make such a change. Axel wrote: > > unset zle_bracketed_paste > > This works if I enter it manually at the shell prompt, but does > neither work in .zshrc nor in .zshenv. It needs to come after the zle module has loaded. So put it nearer the bottom of .zshrc - after your bindkeys would do the job. Oliver