From: Eric Pruitt <eric.pruitt@gmail.com>
To: Ray Andrews <rayandrews@eastlink.ca>
Cc: zsh-users@zsh.org
Subject: Re: monitor screen output
Date: Mon, 11 Nov 2024 10:13:17 -0800 [thread overview]
Message-ID: <ZzJJPfAL9jEInJoI@sinister.lan.codevat.com> (raw)
In-Reply-To: <3436826a-2ed5-4161-9c42-91a226886249@eastlink.ca>
[-- Attachment #1: Type: text/plain, Size: 641 bytes --]
On Mon, Nov 11, 2024 at 09:18:31AM -0800, Ray Andrews wrote:
> I think the terminal emulator I use does keep a file. I'll look into that.
> It would be cool if every screen write tripped a flag somewhere tho, then it
> would be easy. Tx.
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
[-- Attachment #2: Type: text/html, Size: 914 bytes --]
next prev parent reply other threads:[~2024-11-11 18:13 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-11-11 16:44 Ray Andrews
2024-11-11 16:49 ` Bart Schaefer
2024-11-11 17:18 ` Ray Andrews
2024-11-11 18:13 ` Eric Pruitt [this message]
2024-11-11 21:45 ` Ray Andrews
2024-11-11 17:24 ` Josef Sachs
2024-11-11 18:01 ` Ray Andrews
2024-11-11 21:35 ` Sebastian Stark
2024-11-11 21:48 ` Ray Andrews
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=ZzJJPfAL9jEInJoI@sinister.lan.codevat.com \
--to=eric.pruitt@gmail.com \
--cc=rayandrews@eastlink.ca \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).