<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git, branch feature/tui-state</title>
<subtitle>Interactive z/OS storage and address space monitor (VSMLIST, CVT/ASVT)</subtitle>
<id>https://git.abendless.com/ztop.git/atom?h=feature%2Ftui-state</id>
<link rel='self' href='https://git.abendless.com/ztop.git/atom?h=feature%2Ftui-state'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/'/>
<updated>2026-11-26T03:24:16Z</updated>
<entry>
<title>gitignore: core dumps and assembler listings</title>
<updated>2026-11-26T03:24:16Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:24:16Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=5c5ac59c8446fc06cbb55f779bbe05ef1179657c'/>
<id>urn:sha1:5c5ac59c8446fc06cbb55f779bbe05ef1179657c</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>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>tui: keys are EBCDIC, like every other character constant</title>
<updated>2026-11-26T03:20:23Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:20:23Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=4e9ac9b9115b593aaefb0d1c281a35db3f87c953'/>
<id>urn:sha1:4e9ac9b9115b593aaefb0d1c281a35db3f87c953</id>
<content type='text'>
Converting input with __e2a_l was exactly backwards: on z/OS a character
constant or string literal is EBCDIC ('2' is 0xF2, 'q' is 0x98, '[' is
0xAD), and the terminal hands back those same bytes, so a plain compare
already worked.  Keep the cursor restore from the previous change and
drop the translation.
</content>
</entry>
<entry>
<title>tui: translate input from EBCDIC, restore the cursor</title>
<updated>2026-11-26T03:13:47Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:13:47Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=6ea4a5ac01d04a3ed857f37634265bca25b89edb'/>
<id>urn:sha1:6ea4a5ac01d04a3ed857f37634265bca25b89edb</id>
<content type='text'>
The tty converts output but not input, so keys and cursor reports arrive
as EBCDIC in raw mode: 'q' is 0x98 and the report starts 0x27 0x5B.
Translate each read with __e2a_l before decoding, and make the code that
looks for ESC use the ASCII 0x1b it sees afterwards.  Leaving the screen
also forgot to show the cursor again.
</content>
</entry>
<entry>
<title>Makefile: assemble src/zvslist.S through clang, no chtag</title>
<updated>2026-11-26T03:11:43Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:11:43Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=9dd085c8ed0853f4d96b4de0b9aab71be537240e'/>
<id>urn:sha1:9dd085c8ed0853f4d96b4de0b9aab71be537240e</id>
<content type='text'>
The integrated assembler on Open XL 2.2 is GNU syntax and rejects
HLASM (CSECT, SYSSTATE).  With -fno-integrated-as clang hands the
preprocessed source to HLASM instead; -Xpreprocessor -P keeps the cpp
line markers out of it, and clang writes the temporary HLASM reads, so
the checked-out ASCII file no longer has to be tagged first.
</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: 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>
<entry>
<title>zvslist: drop the TESTAUTH gate, it reported 4 on an authorized module</title>
<updated>2026-11-25T22:21:17Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:21:17Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=ddeb7f2effb7f7a3ff3b183a741121e21e409f45'/>
<id>urn:sha1:ddeb7f2effb7f7a3ff3b183a741121e21e409f45</id>
<content type='text'>
</content>
</entry>
</feed>
