<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git/src/ztop.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:56:07Z</updated>
<entry>
<title>tui: mouse messages; ztop: clickable tabs, wheel, better help</title>
<updated>2026-11-26T03:56:07Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=8a85eb0a61c4deaa337f49f437e00710fc940556'/>
<id>urn:sha1:8a85eb0a61c4deaa337f49f437e00710fc940556</id>
<content type='text'>
Enable xterm SGR mouse reporting and decode it into TUI_MSG_MOUSE.  ztop
uses it for the view tabs, the storage sub-tabs, table rows and the
wheel.  The help panel now lists navigation explicitly, and the status
line shows the keys for the current view.
</content>
</entry>
<entry>
<title>Revert "tui: mouse messages; ztop: clickable tabs, wheel, better help"</title>
<updated>2026-11-26T03:55:52Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:55:52Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=431855189a87388c323787d668e0698cbfefef30'/>
<id>urn:sha1:431855189a87388c323787d668e0698cbfefef30</id>
<content type='text'>
This reverts commit 5f8909cf7beeefa6318c795f8bf52b4b9f4361ae.
</content>
</entry>
<entry>
<title>tui: mouse messages; ztop: clickable tabs, wheel, better help</title>
<updated>2026-11-26T03:55:37Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:55:37Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=5f8909cf7beeefa6318c795f8bf52b4b9f4361ae'/>
<id>urn:sha1:5f8909cf7beeefa6318c795f8bf52b4b9f4361ae</id>
<content type='text'>
Enable xterm SGR mouse reporting and decode it into TUI_MSG_MOUSE.  ztop
uses it for the view tabs, the storage sub-tabs, table rows and the
wheel.  The help panel now lists navigation explicitly, and the status
line shows the keys for the current view.
</content>
</entry>
<entry>
<title>ztop: start the full-screen view for a bare run on a terminal</title>
<updated>2026-11-26T03:50:55Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:50:55Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=cf9ba0191735a811b64d05f163ba275dd1d327d1'/>
<id>urn:sha1:cf9ba0191735a811b64d05f163ba275dd1d327d1</id>
<content type='text'>
`ztop` with no arguments printed the one-shot CSA report even on a tty,
which is not what a person expects from a monitor.  Now a terminal and no
report option means the TUI; -a, -s, -j, -x and a pipe keep the text.
</content>
</entry>
<entry>
<title>tui: let update reach the app, so quit works</title>
<updated>2026-11-26T03:47:13Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:47:13Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=a31dca8186343f5ec7c46a8807c60453addc94e3'/>
<id>urn:sha1:a31dca8186343f5ec7c46a8807c60453addc94e3</id>
<content type='text'>
</content>
</entry>
<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: 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>ztop: -d takes its interval</title>
<updated>2026-11-26T03:21:53Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:21:53Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=5a05816fd3f72af325d306a461941e0eb4509470'/>
<id>urn:sha1:5a05816fd3f72af325d306a461941e0eb4509470</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ztop: fix the assembler entry name and z/OS test compiler</title>
<updated>2026-11-26T02:42:55Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T02:42:55Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=642fbc02fb2a8e74d1e6663118d55110a9e5dfd7'/>
<id>urn:sha1:642fbc02fb2a8e74d1e6663118d55110a9e5dfd7</id>
<content type='text'>
HLASM upcases the CSECT name, so the C declaration needs the ZVSLIST asm
label (the binder otherwise reports it unresolved).  /bin/cc on z/OS is
the old XL C compiler and rejects -std=c17; tests build with ibm-clang,
and the README says to override TESTCC=cc on a Linux host.

Also note the Makefile's own chtag step: after a git checkout it can be
tagged UTF-8, and make spins reading it until it is ISO8859-1.
</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>
