<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git, branch main</title>
<subtitle>Interactive z/OS storage and address space monitor (VSMLIST, CVT/ASVT)</subtitle>
<id>https://git.abendless.com/ztop.git/atom?h=main</id>
<link rel='self' href='https://git.abendless.com/ztop.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/'/>
<updated>2026-11-28T00:15:26Z</updated>
<entry>
<title>Merge pull request #7 from skurtz97/feature/views-and-dec-glyphs</title>
<updated>2026-11-28T00:15:26Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T00:15:26Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=83e8fbc692b36be5ac9011ccf26b1b232d560008'/>
<id>urn:sha1:83e8fbc692b36be5ac9011ccf26b1b232d560008</id>
<content type='text'>
views: PS, FS and LOG, and a DEC-graphics frame</content>
</entry>
<entry>
<title>tidy: switch off bugprone-signed-bitwise</title>
<updated>2026-11-28T00:15:02Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T00:15:02Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=b5bb63d4760f6f6e0282fc9f7eec36b41705458c'/>
<id>urn:sha1:b5bb63d4760f6f6e0282fc9f7eec36b41705458c</id>
<content type='text'>
LLVM 23's version of the check reports unsigned operands, not just signed
ones: '\''unsigned b = a &gt;&gt; 2;'\'' and '\''p[0] = (unsigned char)(len &gt;&gt; 8);'\''
both warn, which is what the 22 findings in this tree were about.  Left
on it would mean either a NOLINT on every big-endian read or casts that
change nothing, so it goes off with the demonstration written beside it,
as the config asks.  What is left after that is the five findings the
project already carries: four atoi() calls on COLUMNS and LINES and the
analyzer false positive at the region[] guard.
</content>
</entry>
<entry>
<title>zmcs_req: the size check counted the compiler's padding</title>
<updated>2026-11-28T00:11:55Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T00:11:55Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=bf1d472621c76875f3c2167064cb924dcd373abb'/>
<id>urn:sha1:bf1d472621c76875f3c2167064cb924dcd373abb</id>
<content type='text'>
The assert demanded sizeof == 188, which is the end of the csa field; the
struct itself is 192 because save[] makes it 8-byte aligned.  Linux built
it silently -- the check is inside #if defined(__MVS__) -- and the first
z/OS build failed on it.  Assert the end of the last field instead, which
is what the stub's interface actually ends at and does not depend on how
the compiler pads a struct.
</content>
</entry>
<entry>
<title>views: PS, FS and LOG, and a DEC-graphics frame</title>
<updated>2026-11-28T00:10:43Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T00:10:43Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=bed906ea03f44454baa7089bb3cb975f94d77bcc'/>
<id>urn:sha1:bed906ea03f44454baa7089bb3cb975f94d77bcc</id>
<content type='text'>
Two changes that share files -- the views, and the screen they are drawn
on -- so one commit; splitting them would mean splitting src/ztop.c and
tui/tui.h by hunk, which is not a split a reviewer could follow.

The views.  Seven tabs instead of four: PS (w_getpsent), FS (w_getmntent
plus statvfs) and LOG, a read-only extended MCS console behind -c.  LOG
needs supervisor state, so MCSOPER and MCSOPMSG live in src/zmcs.s: it
switches to supervisor state, calls the macro, switches back, and hands
the caller a copy of the message data block.  src/mdb.c walks that MDB
(IEAVM105) for the job name and the text line, and is separate from
src/ztop.c because it is the one place ztop parses bytes written by
another address space, so it is worth a test that runs anywhere.  The
small structs become C23 typedefs, src/vsm.c keeps the 16M line apart,
and README lists the seven views and the keys they moved.

The screen.  The frame, the meters and the scrollbar were the last parts
that said "curses".  Borders and meters are now the DEC Special Graphics
set, designated into G0 with ESC ( 0 and released with ESC ( B, with a
fallback to + - | # when TERM is not one we know; the meters are shade
fill over a horizontal rule instead of a [####    ] bar; table selection
is a background colour instead of reverse video, which is the tell almost
everyone recognises as curses; the tab row separates with a gap instead
of |; titles are a dim style and the frame is grey so the accent colour
means selection.  The designation is tracked per cell, because an SGR
reset does not leave the graphics set, and only the cells that carry a
border glyph pay for it -- six bytes a row at 80 columns.  Everything
stays 7-bit ASCII in the source, which is what .gitattributes now
enforces for the whole tree: one rule, ISO8859-1 in the working tree,
the same line the zopen git port uses, so a checkout on z/OS is tagged
ASCII for make, sh, awk and the compiler and no file needs a hand tag.

Verified on Linux: make test TESTCC=cc green (test_vsm, test_sys,
test_mdb, tui/test_tui, leakcheck), make tidy adds no finding to the ten
that predate this, src/ztop.c passes -fsyntax-only with the project's
warnings.  The frame was checked against a painted screen with
tests/screen.py, which now understands ESC ( 0.  Not yet built on z/OS:
the CBT build, make check and make leakcheck run after the push and the
PR carries their result.
</content>
</entry>
<entry>
<title>Update README.md</title>
<updated>2026-11-27T20:21:06Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-27T20:21:06Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=4c95e6490d189b47cad050744de9768465e0307b'/>
<id>urn:sha1:4c95e6490d189b47cad050744de9768465e0307b</id>
<content type='text'>
Bad grammar in README.</content>
</entry>
<entry>
<title>Merge pull request #6 from skurtz97/feature/tabs</title>
<updated>2026-11-26T04:49:46Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T04:49:46Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=327bb5eef966394d487046d3bfe2420a66d50a99'/>
<id>urn:sha1:327bb5eef966394d487046d3bfe2420a66d50a99</id>
<content type='text'>
System, jobs, paging views and a leak check</content>
</entry>
<entry>
<title>docs: four views, the IPL fields, the leak check</title>
<updated>2026-11-26T04:49:30Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T04:49:30Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=ca1aebd13e439022d65a292c51a47fe752523ecf'/>
<id>urn:sha1:ca1aebd13e439022d65a292c51a47fe752523ecf</id>
<content type='text'>
</content>
</entry>
<entry>
<title>ztop: PVT has an unallocated pass, so it gets a total and a percent</title>
<updated>2026-11-26T04:48:39Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T04:48:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=33dbb6057513fc8ba498b7cc05b9e5ccfea5fb58'/>
<id>urn:sha1:33dbb6057513fc8ba498b7cc05b9e5ccfea5fb58</id>
<content type='text'>
Only CSA and PVT are asked for unallocated blocks; SQA and LSQA keep the
dash, because their totals are not knowable this way.
</content>
</entry>
<entry>
<title>tui: uppercase table headers, and a storage line that fits</title>
<updated>2026-11-26T04:46:56Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T04:46:56Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=986d03c57f5a55cde1f4e6af0418a5d9e062a689'/>
<id>urn:sha1:986d03c57f5a55cde1f4e6af0418a5d9e062a689</id>
<content type='text'>
The percent now sits next to the bar instead of floating, the unallocated
total is in the same units as the table, and the headers read USED like
the rest of the row.
</content>
</entry>
<entry>
<title>tests: a pty painter that prints the screen ztop thinks it drew</title>
<updated>2026-11-26T04:45:44Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T04:45:44Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=1e98f74f58f130c98b3da5becbab491961100a04'/>
<id>urn:sha1:1e98f74f58f130c98b3da5becbab491961100a04</id>
<content type='text'>
Checking the layout by eye over ssh is slow and lossy; this applies the
output to a 100x30 grid and prints each frame after a key.
</content>
</entry>
</feed>
