<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git/src/vsm.c, branch feature/mouse</title>
<subtitle>Interactive z/OS storage and address space monitor (VSMLIST, CVT/ASVT)</subtitle>
<id>https://git.abendless.com/ztop.git/atom?h=feature%2Fmouse</id>
<link rel='self' href='https://git.abendless.com/ztop.git/atom?h=feature%2Fmouse'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/'/>
<updated>2026-11-26T03:41:59Z</updated>
<entry>
<title>tui: a library of messages and widgets; add system and jobs views</title>
<updated>2026-11-26T03:41:59Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:41:59Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=c4ca679ab630d64f030f2529f6d3e3d0efbbd058'/>
<id>urn:sha1:c4ca679ab630d64f030f2529f6d3e3d0efbbd058</id>
<content type='text'>
The screen code moves to tui/ as a small toolkit: a cell buffer with a
diffing flush, a message loop in the shape of Bubble Tea (model, update,
view, ticks), and widgets for a viewport, a table, tabs, a text input,
a progress bar and a status line.  ztop is now one user of it.

ztop grows two views beside storage: SYSTEM (CVS name, release, address
space count) and JOBS (one line per ASCB, from the CVT and ASVT, which
need no authorization).  Views are tabs; each table keeps its own
selection and scroll position.

Follows the zash code style: doxygen headers, .clang-format, POSIX make.
</content>
</entry>
<entry>
<title>ztop: parse the VSMLIST answer, add a full-screen view</title>
<updated>2026-11-26T02:36:47Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T02:36:47Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=8f2578664a1420759f2a0e29e27d128a7d3e2567'/>
<id>urn:sha1:8f2578664a1420759f2a0e29e27d128a7d3e2567</id>
<content type='text'>
The old parser scanned from offset 4, which is the data-area pointer, not
the data.  Read the documented framing instead: the work area's first word
is the service return code, then the address and length of the data area.
Continuation (rc=4) reuses the same work area and must not clear that word,
so the request build now happens once and each piece is merged.

Parsing follows the reference: subpool descriptors, allocated blocks with
their free descriptors (used = block length - free), unallocated regions
and holes for CSA and PVT.  CSA gets a total and a percentage; the other
areas do not have that request.

The display is a small cell-buffer TUI: diffed output, ASCII box drawing,
termios raw input, CPR sizing because TIOCGWINSZ reports zero on z/OS, and
EBCDIC ESC on __MVS__.  One-shot output stays exact bytes for grep.

tests/test_vsm.c builds synthetic data areas for the parser and runs on
any host; tests/demo_tui.c exercises the terminal layer.
</content>
</entry>
</feed>
