<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ztop.git/Makefile, 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:11:43Z</updated>
<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>Makefile: parenthesise the pipeline, z/OS make spins on |-and-||</title>
<updated>2026-11-25T22:15:44Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:15:44Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=e9fa5fa94954458fdf1ceeaee27901cc7db564ae'/>
<id>urn:sha1:e9fa5fa94954458fdf1ceeaee27901cc7db564ae</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: explicit rule, no suffix rule: z/OS make spins on .s.o for src/*.o</title>
<updated>2026-11-25T22:13:05Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:13:05Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=53dd4b26df108b850616d563fb63b08290e8c70f'/>
<id>urn:sha1:53dd4b26df108b850616d563fb63b08290e8c70f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: POSIX make, the one z/OS ships</title>
<updated>2026-11-25T22:03:29Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:03:29Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=1708975b46be7ff06ac1a7bb2a6576114d6d89f4'/>
<id>urn:sha1:1708975b46be7ff06ac1a7bb2a6576114d6d89f4</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Makefile: AC(1) and an apf target; keep the offset checks on z/OS</title>
<updated>2026-11-25T22:01:45Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T22:01:45Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=923179d8ce2dcfd2a6347559ddd7f714e94e8938'/>
<id>urn:sha1:923179d8ce2dcfd2a6347559ddd7f714e94e8938</id>
<content type='text'>
</content>
</entry>
<entry>
<title>zvslist: no line past column 71, and a build check for it</title>
<updated>2026-11-25T18:38:26Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T18:38:26Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=6d05c70dcdd26707d697cb74a6c039d2db9f4c07'/>
<id>urn:sha1:6d05c70dcdd26707d697cb74a6c039d2db9f4c07</id>
<content type='text'>
A character in column 72 is a continuation mark, so a long comment makes
the next statement a continuation of this one.
</content>
</entry>
<entry>
<title>build: make cannot default CC with ?=, it is predefined as cc</title>
<updated>2026-11-25T18:34:27Z</updated>
<author>
<name>skurtz97</name>
<email>skurtz97@users.noreply.github.com</email>
</author>
<published>2026-11-25T18:34:27Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/ztop.git/commit/?id=1ba9b02cc2a859bcc834bbbc5ed6ebaf592bdece'/>
<id>urn:sha1:1ba9b02cc2a859bcc834bbbc5ed6ebaf592bdece</id>
<content type='text'>
</content>
</entry>
</feed>
