From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: zsh-users-return-23655-ml=inbox.vuxu.org@zsh.org X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_SIGNED,FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE, T_DKIM_INVALID 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 61143258 for ; Wed, 19 Sep 2018 05:25:23 +0000 (UTC) Received: (qmail 4020 invoked by alias); 19 Sep 2018 05:25:08 -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: List-Unsubscribe: X-Seq: 23655 Received: (qmail 18159 invoked by uid 1010); 19 Sep 2018 05:25:08 -0000 X-Qmail-Scanner-Diagnostics: from mail-ot1-f47.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.210.47):SA:0(-1.9/5.0):. Processed in 1.039197 secs); 19 Sep 2018 05:25:08 -0000 X-Envelope-From: sgniazdowski@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=rDIdH14w9HEQmuOBMG30obs1150cBvJGzjFX2Ico1gs=; b=W+oVN3SjuzcRu1A6ICV/6Pkwifn8a7xYukxlT2yTG5czc2j9wJsBZT+woqjtbE9fjr 5Ac/nkbJt/IYqWhA/Otb/H235C4wsrhrW1ZgiVPC9+PGp+pnehCkgVFtIiPB7573ELAQ QPxzHrc3U46P3paqpE1yLpGp2QJfJDUW4l0Tmk7/+iv0MS4FRbbX2CgY09//uwx9DoVx MfN3TAc6SkS5kSzr/FNUUUlDR4SABEaqmjgQYUaqtZv5UetG4GtMMIYwZlu3SvMgMLUB qvdcRqRFCefxR8hMKSAl2ug98PjjCpPCpG8NwjaJH9wYOYqKEUJd9f+BRWAsMs3SOBHt Eolg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=rDIdH14w9HEQmuOBMG30obs1150cBvJGzjFX2Ico1gs=; b=aCCTH9RDoOZ+Gm3icoZ5Qwhizprm2HQngSWSnxaN7dAHX4OZaTTFNA4WJzqGlKHgsE I4k+gL2lFtKW4niXrbUVGVPCMGvGf/svN7tYrVhKWMqXjdtu1uXU8TfPHIsQgbyNtfAP MU3eNtmLP5XZ2poNN3Di0EkGDfDfip/IznknYFer4dMWPedRH243GAtl6gxRusO7cqs7 YJErZI+Z/+ziK1Gm0JySUz5/8yCwdUOC9jGKCsl+nbVIIFsK6ZvU/5CcfxTntIGvaN4N etzkWNc478zFu8w0LUuTYtntVnVGaD+J+fp7CIoK7M9G2cU5nrxg6hbAlTWnjZK/DvGw nRPA== X-Gm-Message-State: APzg51CS4DkDZUKM1JzvkD/nJRNJIrnzVSp3+wi0IKMX2Q9CoyhmWSFH iMqx1MmnFo08LJ+L77i0yZ91btriPWihVRCafAY= X-Google-Smtp-Source: ANB0VdbFo/vFvpcPzoYw+xPoINjhqplzs07lMCYW7ot/7y0zkIKIh5ukT/R8Kccll4+KOVDi6pjB20pUpdXdhf4bF2g= X-Received: by 2002:a9d:2645:: with SMTP id a63-v6mr17218623otb.270.1537334704461; Tue, 18 Sep 2018 22:25:04 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Sebastian Gniazdowski Date: Wed, 19 Sep 2018 07:24:51 +0200 Message-ID: Subject: Re: Saving physical Zle buffers to snapshot escape codes To: Bart Schaefer Cc: Zsh Users Content-Type: multipart/alternative; boundary="000000000000f5df08057632a075" --000000000000f5df08057632a075 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Wt., 7.08.2018, 14:27 u=C5=BCytkownik Bart Schaefer napisa=C5=82: > Seems to me it would be possible to do this with zpty? I don't think > there's anyplace internally where the "raw buffer" that you're describing > is stored in the form that you want here. > I'm thinking to approach this. I once stressed zpty a little and it revealed limit on the output that can accumulate without reading from it (from the pty allocated, afair). This would be an obstacle, wouldn't it be, or maybe you see a solution to this? It seems to limit max size of highlighted block, basically. I now have also hard time seeing region_higlight being applied to zpty buffer hmm > --000000000000f5df08057632a075--