<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git/DESIGN.md, branch fix/default-tui</title>
<subtitle>Interactive z/OS storage and address space monitor (VSMLIST, CVT/ASVT)</subtitle>
<id>https://git.abendless.com/ztop.git/atom?h=fix%2Fdefault-tui</id>
<link rel='self' href='https://git.abendless.com/ztop.git/atom?h=fix%2Fdefault-tui'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/'/>
<updated>2026-11-26T03:48:09Z</updated>
<entry>
<title>docs: describe the views, the library and the CVT/ASVT source</title>
<updated>2026-11-26T03:48:09Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:48:09Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=facbb0d0820c6630a3c8548cad32ed448cc5b93b'/>
<id>urn:sha1:facbb0d0820c6630a3c8548cad32ed448cc5b93b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ztop: space out the region list, show real output in README</title>
<updated>2026-11-26T03:22:31Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:22:31Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=fb7691d2a64952c7eeb6160b05eb99a0e0f64fe6'/>
<id>urn:sha1:fb7691d2a64952c7eeb6160b05eb99a0e0f64fe6</id>
<content type='text'>
The first region ran into the word 'regions' and later ones had no
separator.  The README sample is now what the tool actually prints.
</content>
</entry>
<entry>
<title>zvslist: fix the service call and build the stub with clang</title>
<updated>2026-11-26T03:08:28Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:08:28Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=b9c2a4b5f138c3d7eff351f0c49aa6b631a9c1c8'/>
<id>urn:sha1:b9c2a4b5f138c3d7eff351f0c49aa6b631a9c1c8</id>
<content type='text'>
Three separate faults kept the call from returning:

- the binder rewrites =A(zvslist) into a function descriptor in an
  XPLINK module, so loading it into the base register sent every literal
  and branch elsewhere; BALR alone is the base setup the assembler needs;
- WKAREA=((4),5) passes the literal 5 as the work-area length, not R5,
  so the macro stored its control block at the start of a request it had
  been told was five bytes long;
- FREE and UNALLOC are different macro expansions, not a runtime space
  operand, so the stub now branches to power the right one.

Rename the source to src/zvslist.S and let ibm-clang assemble it, which
removes the chtag/column-71/EBCDIC dance from the build.  With these
changes VSMLIST answers without an APF bit, so the docs no longer claim
otherwise, and the sample output is the real layout.
</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>
<entry>
<title>DESIGN: ztop is APF-authorized, LINKAGE=SYSTEM is the path</title>
<updated>2026-11-25T21:53:26Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T21:53:26Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=79c0ef9ecc60b6348ac3a023f1bac4caa0cffee7'/>
<id>urn:sha1:79c0ef9ecc60b6348ac3a023f1bac4caa0cffee7</id>
<content type='text'>
</content>
</entry>
<entry>
<title>DESIGN: record the authorization wall, the ZOAU check, and the two stub traps</title>
<updated>2026-11-25T19:25:39Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T19:25:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=7906a3e175d69f58b06eb07ffd886955953f0cee'/>
<id>urn:sha1:7906a3e175d69f58b06eb07ffd886955953f0cee</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ztop: subpool storage for the CSA, SQA, LSQA and private area</title>
<updated>2026-11-25T18:29:58Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T18:29:58Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=a1f879b22c1823839b862e7b2bff52f065734046'/>
<id>urn:sha1:a1f879b22c1823839b862e7b2bff52f065734046</id>
<content type='text'>
VSMLIST is the only documented interface for this that an ordinary user
task may call; it is a macro, so src/zvslist.s issues it and the rest is
C23.  Snapshot only for now: no refresh loop, no limit column.
</content>
</entry>
</feed>
