https://www.kylheku.com/cgit/pw/
pw is an interactive tool (requiring a Unix TTY environment with
an ANSI terminal) for monitoring text spewages in real time.
The paradigm in pw is to pass text through a line-oriented FIFO buffer,
samples of which are displayed. There are filtering and triggered
snapshot features, split screen mechanisms for dealing with long lines,
viewing character-level deltas between snapshots and more.
pw supports being backgrounded with job control. When executing in the
job control background, it refrains from updating the terminal display;
yet it keeps peforming I/O, and all of its filtering and triggering
features are active. When brought into the foreground, it will refresh
the display with the latest data. This makes pw userful as a front end
for long-running batch programs that generate a lot of output (e.g.
debug traces).
pw is diferent form pv (Pipe View) in that it visualizes the
data itself, rather than statistics about it such as data
transfer rate; it is for drilling into the data, rather than
monitoring progress. It is oriented toward textual data such as
logs.
* The latest version 5 of pw now supports pass-through mode.
Whereas pw previously served as a pipeline endpoint can now be
inserted into the middle of a pipeline, or, as the last pipe element,
have its output redirected to a file. It then passes through
everything in addition to doing all the usual interactive monitoring.
Pass-through mode is automatically in effect whenever the standard
output file descriptor refers to something other than the controlling
terminal. When standard output is the controlling terminal, then pw
is in the original discard mode: data from standard input is
passed through the FIFO and discarded, so that all that goes to the
terminal are pw's controlled display updates.
* Other recent developments are that pw has been ported to
MacOS. It previously didn't work due to requiring a poll
funtion that works on TTY devices.
* A minor new feature is that in highlight mode, the line numbers
of lines which triggered the snapshot capture are shown in
inverse video, making it easier to see what is trigerring.
--
TXR Programming Language:
http://nongnu.org/txr
Cygnal: Cygwin Native Application Library:
http://kylheku.com/cygnal
Mastodon: @
[email protected]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)