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=-3.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_EF,HEADER_FROM_DIFFERENT_DOMAINS,HTML_MESSAGE, MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED 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 91F1021BE7 for ; Mon, 11 Nov 2024 22:46:39 +0100 (CET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=zsh.org; s=rsa-20210803; t=1731361599; b=dNHUzbH/lbPpPwveoeEWjI1fgCKSQipMFlmLohXOlrVHyNMGZHlaiyy7JeCm2qBLwQRCCABSlL n45lirCHCuqSzgwn7Rm7WdWS1PIJAqw3b8jPmwpwTUmsAbwPfV2w4uHdaSQ4VIV+SWix71jhR5 9/OK7OtX7AyzIWpIUO2I0sTPauMxYbXAwf5Ir7Ry2tu8i4DAsCPjvUAFiDQ42MgpjRwclK0R85 IKQjdk4XE/SLzjYbx+2XEnrBPf4TaKVC1TuQs442+pAtasYFumlvzOF1+C0vQHyPW/vd+YLQg8 eLm9j0fai8mv/hXUw7q3J4vjHzRLjdjY0JAlzVFLRo8rtg==; ARC-Authentication-Results: i=1; zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed; d=zsh.org; s=rsa-20210803; t=1731361599; bh=26LZtSe3TlCBgxt6d+Zr7B8X/POZn15eQ2eZvnU+Res=; h=List-Archive:List-Owner:List-Post:List-Unsubscribe:List-Subscribe:List-Help: List-Id:Sender:In-Reply-To:From:References:To:Subject:MIME-Version:Date: Message-ID:Content-Type:DKIM-Signature; b=D0qqll3/8xFoJ1vugwKhooe3pdJUT21yCC4Ecdzbw3zgjdBzwak77mGpetwPVdO3TbUG8xCfka f1y95CUxNQNSWcTNzfTrVpOOeRsY0lI70Mkhx7h0Vql/QzuMA3ndKkT5oU8f6NOhT1RoYxtDgQ roK7GTBuNzVMld68uVTMMzPwy9CiOoYhkNJD11yMd4iDB+nGAPz8mHSUbDAdnAmqkZeRU+DMiD I4AeneOEPFlq/sDucvgN3KRuZsDzjcJIVENHR02b0mHDG52vsWEdK5HRJY7qPkiLeofkXjIR8H 3ePZfqSDTciWSS/5sQnj6oe3MiNFB4NdrCOOlOEuntUPqQ==; 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:In-reply-to:From:References:To: Subject:MIME-version:Date:Message-id:Content-type:Reply-To:Cc: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID; bh=95rnOBs4tdfPQ50XVYMIDPqHpsFzwi4wy6SCrtdrjGQ=; b=rMJ4USp24HCMseBjGB92XZv7qc MQPz+0DWKwcYcZ4zDvrqRS6m34WIRpLa5LQb5B91WBK9atl7s3Z/dlK9i35k0al9BKiUusvrfi0dD x1o7UN/d8ImjSZSxJNJ1byo3uQz7EYk/wN0ard4VhL5H7WUpxkIeCr4EE842xz3b/Q8O3jT9gJVri f6VF69KlokrgjbbxvQh4AG0/yyWmlkUZHt99kp7Zx9GmSMBR9/Vrj6w0J+txm3sNLq2g9hgOogPQH bSa8rnawf6jcI622kB7tjbf9uT+WxCUwBJgTYptbIC7bSEZu9PbvHMdCSNOuRmVNoenmmrwuiONsq ZcfK0WOw==; Received: by zero.zsh.org with local id 1tAcF4-000O3a-Ux; Mon, 11 Nov 2024 21:46:38 +0000 Authentication-Results: zsh.org; iprev=pass (mta04.eastlink.ca) smtp.remote-ip=24.224.136.10; dmarc=none header.from=eastlink.ca; arc=none Received: from mta04.eastlink.ca ([24.224.136.10]:40385) by zero.zsh.org with esmtps (TLS1.3:TLS_AES_128_GCM_SHA256:128) id 1tAcEM-000NIw-2V; Mon, 11 Nov 2024 21:45:54 +0000 Received: from mail-cms03.eastlink.ca ([71.7.199.167]) by mta04.eastlink.ca ([24.224.136.10]) with ESMTPS id <0SMT1T9FC32S0B30@mta04.eastlink.ca> for zsh-users@zsh.org; Mon, 11 Nov 2024 17:45:52 -0400 (AST) Received: from [192.168.0.15] ([24.207.19.13]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 256/256 bits) (Client did not present a certificate) by mail-cms03.eastlink.ca ([71.7.199.167]) with ESMTPSA id AcEKt7QWRdNQ8AcEKtS3bU; Mon, 11 Nov 2024 17:45:52 -0400 X-Authority-Analysis: v=2.4 cv=A5I+PLWG c=1 sm=1 tr=0 ts=67327b10 a=e7T7DzMKK1R988ZCg0wLyw==:117 a=e7T7DzMKK1R988ZCg0wLyw==:17 a=r77TgQKjGQsHNAKrUKIA:9 a=LtH_XGvNdJPJzszmPJcA:9 a=3ZKOabzyN94A:10 a=QEXdDO2ut3YA:10 a=uIDp5GC_AAAA:8 a=kgSgKPoct5VsaC96yJsA:9 a=_W_S_7VecoQA:10 a=9ETkemnmbuDqUL48d6ov:22 X-Vade-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddruddvgdduhedvucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecugfetuffvnffkpffmnecuuegrihhlohhuthemuceftddtnecunecujfgurheptgfkffggfgfuvfhfhfgjsegrtderredtvdejnecuhfhrohhmpeftrgihucetnhgurhgvfihsuceorhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrqeenucggtffrrghtthgvrhhnpefhteethfevgeeuvdelgefgvdevudefueduffdvgfelvddvgfdtieegueeuleeifeenucfkphepvdegrddvtdejrdduledrudefnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehinhgvthepvdegrddvtdejrdduledrudefpdhhvghloheplgduledvrdduieekrddtrdduhegnpdhmrghilhhfrhhomheprhgrhigrnhgurhgvfihssegvrghsthhlihhnkhdrtggrpdhnsggprhgtphhtthhopedvpdhrtghpthhtohepreerpdhrtghpthhtohepiihshhdquhhsvghrshesiihshhdrohhrghdpghgvthdqkghiphfrrghsshifugepthhruhgv X-Vade-Score: 0 X-Vade-State: 0 X-EL-AUTH: rayandrews@eastlink.ca Content-type: multipart/alternative; boundary="------------ed95hgM5LZVYoINE30Tmionq" Message-id: <9ce6705f-192c-4a62-8ae3-96f5aab9b4cc@eastlink.ca> Date: Mon, 11 Nov 2024 13:45:51 -0800 MIME-version: 1.0 User-Agent: Mozilla Thunderbird Subject: Re: monitor screen output To: zsh-users@zsh.org References: <4d7d4279-c30e-4c2d-9291-4ca985780673@eastlink.ca> <3436826a-2ed5-4161-9c42-91a226886249@eastlink.ca> Content-language: en-US From: Ray Andrews In-reply-to: X-Seq: 30105 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: This is a multi-part message in MIME format. --------------ed95hgM5LZVYoINE30Tmionq Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit On 2024-11-11 10:13, Eric Pruitt wrote: > Depending on what exactly you want to do, you could probably achieve > this using tmux and some combination of its hooks, pane flags and/or > pipe-pane. I recommend searching for "monitor-", "-hook" and > "pipe-pane" in tmux(1). Whether this would be better than Expect would > depend on the task at hand. If you don't already use tmux and aren't > interested in using it, Expect is probably better. > > Eric > Thanks.  I tried to decipher tmux once and got nowhere, it's one of those situations where the documentation presumes you are already adept with the thing.  I'll take another look tho. --------------ed95hgM5LZVYoINE30Tmionq Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: 8bit

On 2024-11-11 10:13, Eric Pruitt wrote:
Depending on what exactly you want to do, you could probably achieve this using tmux and some combination of its hooks, pane flags and/or pipe-pane. I recommend searching for "monitor-", "-hook" and "pipe-pane" in tmux(1). Whether this would be better than Expect would depend on the task at hand. If you don't already use tmux and aren't interested in using it, Expect is probably better.

Eric

Thanks.  I tried to decipher tmux once and got nowhere, it's one of those situations where the documentation presumes you are already adept with the thing.  I'll take another look tho.




--------------ed95hgM5LZVYoINE30Tmionq--