From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-3.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,FREEMAIL_FROM,HTML_MESSAGE,MAILING_LIST_MULTI, RCVD_IN_DNSWL_MED,UNPARSEABLE_RELAY autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 21241 invoked from network); 30 Sep 2021 21:01:05 -0000 Received: from zero.zsh.org (2a02:898:31:0:48:4558:7a:7368) by inbox.vuxu.org with ESMTPUTF8; 30 Sep 2021 21:01:05 -0000 ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1633035665; b=b9m9Gb9OizPDo/Y8cn5wTgx0lb5IWg78bucibgnT0ZNov2FzCB/APuKxYtoJgK473CEok/SIeX 0rTVxs8ReN871nytdrLGMLXG/q45SlYZFzbDuAEEDeEQIcrN64ieDJE+ctypHhuERVZ5n0Ytjd 32uROyxZPZPIRiLcsEqinl2mRc9mAzGVNv0Jwq+QdFB0Hz6fzWAEHQ0oxNXOVD6AWfpr5b0MBA mnIdua65neeGm4hhBINm8MygEbh1O+YPbs1eFsz0CUOBnhDsEk0V5H6Vu92NO13SnqgjAHp+aH 0HCHPfVDPE+zePrxXEp8ZvfGWEp3jv6r2PSlYqllAZ7NBA==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mail-io1-f43.google.com) smtp.remote-ip=209.85.166.43; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1633035665; bh=gdiWB7Zk51wZ4eilsxdpkjg8iawSygr/OIvpK8O6MnM=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To: References:MIME-Version:DKIM-Signature:DKIM-Signature; b=Du/klEv8TGtnnMNUckPTlRIsAWhTVNif6QoTzfyk+HX0HXguwmfACI+HVFnRGiH1LK4yjRPlCd oGJP8uEgZ1ot+TJ3ixP8ciK2na9owBkOgx6+QZ8qhbWY8Y15YCXcW/Afu6KW+/kik0hdq9hemL zR89mtbv/n+bbvULFuG9Teew7n7dLOCIgivpbxHCkgSQhKPAsK6DGlr0++9uTsY7kHLQ/f81Mu 2tE5NEUtFmNBvqclv5i1j+PDgvFzSffZ9W8EYLMHyYxbILHc9C9ILVW7buHq8YrFjC+diMn8r0 AG6rzFpp3js1BWePAXrmTjHwIynrCR87cWSzi1MQgAz6tA==; 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-Type:To:Subject:Message-ID: Date:From:In-Reply-To:References:MIME-Version:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=gH+zgaLGtNlAWmUEOuVzvZ627OFO4zEYvXx90uX0H7U=; b=XpBxR0rnRmorZo+YOK9G72JS/o yolZ87KsJjV2/AA67btS4NIhc4VXKEDAPAiF1PRK7Bo1x0o3372Oi1BmGhMmT2YS+12Be+KZ7S943 fnzs5sSd6/NxPFq8De9vp8/kjiZwFCE/qVGTg51zyVuf44h12peYyk3bfHrakE2yv3xvkRzOmSCag pIocFjbEXLhwetixMj3K11ye56wQCbUOWvI8wDsnUkpHDmr8GIXLE08KUURTsXPmXPHrxWzI3inxt Fv4pcQRMWkWctFJAhOX7OPwnJd9J0UZhdKVQgVC78kWS/52rLat8StVc0n/87JSaCStWzwWhhzA2j ZCpS3DXA==; Received: from authenticated user by zero.zsh.org with local id 1mW3At-000JTs-94; Thu, 30 Sep 2021 21:01:03 +0000 Authentication-Results: zsh.org; iprev=pass (mail-io1-f43.google.com) smtp.remote-ip=209.85.166.43; dkim=pass header.d=gmail.com header.s=20210112 header.a=rsa-sha256; dmarc=pass header.from=gmail.com; arc=none Received: from mail-io1-f43.google.com ([209.85.166.43]:41843) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1mW39v-000IlA-GM; Thu, 30 Sep 2021 21:00:04 +0000 Received: by mail-io1-f43.google.com with SMTP id q205so9278154iod.8 for ; Thu, 30 Sep 2021 14:00:03 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=gH+zgaLGtNlAWmUEOuVzvZ627OFO4zEYvXx90uX0H7U=; b=iU7sSrnPm2efK6FW6vQ0Lla4ZDNBgN6IYwkcZo4AE3Xr0NGsKmVaHiTx3eV2+TYk1f zAM3UAudXWvjd3rJIJkHN3v53sLuTh2CYrqgJzQ4NuO8R7j9BmCApcqcbWRXW9oXDK92 3EPhbWViRiuZJTJvREUbjVOVKLjsz4t0AdYea1mUcPwurHkted9SZtPKK7UulrcrE50+ yN1dsHlNds2NuOb96DrKjjQ1y7GRcZtQUlLt2u27LDOPK7B/EuLnUOeIfpRkBnyMHGAT hBGdIwUg8T8LMs1+3pnzPQ1cqPO06/8dEKQGCqKC9LEAzQHrRp8Z3R7QcvNHye8DtHIv +RoQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=gH+zgaLGtNlAWmUEOuVzvZ627OFO4zEYvXx90uX0H7U=; b=r6CXE89F8Ys2s2qU0FERgPxwIwXKkWbgXIyqD25DzAtu/kmOVeTJxXI2vMveAppXbg hOLC54WIJx7kaOd/WHeefblfFAGCHC01vH2m1Ypbtww4Z0ptbi+obeTdPkHbMknMtVlF CJPWxnrCZwVjiZvRk8bcx8Kxv2ZEVCJaJUSXri9ihJoWtXfN/XV1U+wwMvakuwdfLVWv 4vLicG7ugiv455+HHiNHtPqzoXfrPTA66eF1iv+uH80yOwNF/ogqVUggzLWlSZSgsSJo Bl3SwzmmgQtWh8E2IIHQVTwdEo7VmMY2nhBxjFqlmMsysgHjmnwn/s2v1B6lTlaVFHN+ G4tQ== X-Gm-Message-State: AOAM530h5gpZMNhuMvUy4GNN52Gyaj7tkYgADmQ9iCDXIYD2vl5IahK6 8Vjn5JNbPD3rJ+FW6ys8drF34eEHAMuVmpRFI98= X-Google-Smtp-Source: ABdhPJz+hN+npVxVSN2DbTozUIUjkbAHpVLj5nR401vYL6XM09lOezgmoZAHrm3Bwbk7ZpinxD27cxvNqxVKfkV4S5o= X-Received: by 2002:a5d:8788:: with SMTP id f8mr5237703ion.193.1633035602037; Thu, 30 Sep 2021 14:00:02 -0700 (PDT) MIME-Version: 1.0 References: <20210927233143.GA16620@gmx.de> <20210928185230.GA7495@gmx.de> <20210929130217.GB25513@cventin.lip.ens-lyon.fr> <20210930191706.GA1641202@zira.vinc17.org> <20210930194800.GA15560@gmx.de> In-Reply-To: <20210930194800.GA15560@gmx.de> From: Pier Paolo Grassi Date: Thu, 30 Sep 2021 22:59:25 +0200 Message-ID: Subject: Re: less with subprocess To: dominik.vogt@gmx.de, Zsh-Users List Content-Type: multipart/alternative; boundary="000000000000f712f905cd3cbad5" X-Seq: 27188 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: --000000000000f712f905cd3cbad5 Content-Type: text/plain; charset="UTF-8" writing on disk it can eat away all the space I have on my device and make other processes that need that disk space to fail. Even if disk is cheap doesn't mean it's always plentifully available Pier Paolo Grassi Il giorno gio 30 set 2021 alle ore 21:50 Dominik Vogt ha scritto: > On Thu, Sep 30, 2021 at 09:17:06PM +0200, Vincent Lefevre wrote: > > There's another major issue: since there is no blocking, this can take > > much disk space. Thus such a function must not be used in a case one > > may be interested only in the beginning of the output. > > But ... even if you never press "F" in less to read the rest of > the input it's going to be stored somewhere, either in memory or > on disk. What's the point in worrying bout temporry disk space? > > Ciao > > Dominik ^_^ ^_^ > > -- > > Dominik Vogt > > --000000000000f712f905cd3cbad5 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
writing=C2=A0on disk it can eat away all the space I have = on my device and make other processes that need that disk space to fail. Ev= en if disk is cheap doesn't mean it's always plentifully available<= div>
Pier Paolo Grassi
<= /div>

Il giorno gio 30 set 2021 alle ore 21:50 Dominik Vogt <<= a href=3D"mailto:dominik.vogt@gmx.de">dominik.vogt@gmx.de> ha scritt= o:
On Thu, Sep 3= 0, 2021 at 09:17:06PM +0200, Vincent Lefevre wrote:
> There's another major issue: since there is no blocking, this can = take
> much disk space. Thus such a function must not be used in a case one > may be interested only in the beginning of the output.

But ... even if you never press "F" in less to read the rest of the input it's going to be stored somewhere, either in memory or
on disk.=C2=A0 What's the point in worrying bout temporry disk space?
Ciao

Dominik ^_^=C2=A0 ^_^

--

Dominik Vogt

--000000000000f712f905cd3cbad5--