<feed xmlns='http://www.w3.org/2005/Atom'>
<title>whoson.git/Makefile, branch main</title>
<subtitle>List interactive TSO/E, z/OSMF, and SSH sessions on z/OS</subtitle>
<id>https://git.abendless.com/whoson.git/atom?h=main</id>
<link rel='self' href='https://git.abendless.com/whoson.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/'/>
<updated>2026-11-29T00:57:06Z</updated>
<entry>
<title>Follow C-PROGRAMMING-STANDARDS.md throughout</title>
<updated>2026-11-29T00:57:06Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-29T00:57:06Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=7ecdc5efc90cd0f983764997fb17da6928b908fa'/>
<id>urn:sha1:7ecdc5efc90cd0f983764997fb17da6928b908fa</id>
<content type='text'>
The standards document that merged as PR #25 is now the reference for the
language level, the diagnostics, the names and the comments.  What the
audit found and this commit settles:

- C23 in full: nullptr instead of NULL, static_assert for every offset the
  walk reads, constexpr for the buffer and column widths, and the one
  compiler attribute wrapped in PRINTFLIKE so call sites stay C23.
- -Wstrict-prototypes and -Wmissing-prototypes, which the document requires
  and the Makefile did not carry.
- Lower-case constexpr names, and static so each stays internal.
- A Doxygen block on every function, type, global and macro, and /**&lt; */ on
  every member, as section 3.3 asks.
- -D_OPEN_SYS_FILE_EXT=1, the value the document names, in the Makefile and
  in .clangd.
- make format and make tidy, the two target names the document gives.
- The eye-catcher hex, the CHTRKID value and the EBCDIC reasoning now carry
  the why in a comment rather than standing bare.

Where the document and this program disagree, the program keeps its reason
and CONTRIBUTING.md records the agreement where it is not obvious.

Also fixes the wall of undecodable bytes after `make check`: the runtime's
own storage report, and the one the ps child inherits, are EBCDIC text
written to an ASCII log.  An untagged stdout or stderr is now tagged
ISO8859-1 before anything writes to it, so both reports arrive as text.
</content>
</entry>
<entry>
<title>Build as C23 and pin the control-block layout</title>
<updated>2026-11-29T00:41:20Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-29T00:41:20Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=0922e0b31b3a476c250d8677fb76fdf2d542723e'/>
<id>urn:sha1:0922e0b31b3a476c250d8677fb76fdf2d542723e</id>
<content type='text'>
The overlays become packed C23 structs, so the offsets are the sum of the
field widths instead of hand-written padding, and every field the walk reads
is pinned by static_assert. The CSCB and the ASSB are now validated by their
eye-catchers (and CHASID for the CSCB) before they supply a userid, a logon
procedure or CPU time.

The CPU column prints a compact duration instead of hours:minutes:seconds,
which read 1947:50:11 for a long session.
</content>
</entry>
<entry>
<title>Pass zopen's compiler through and find the listing formatter beside it</title>
<updated>2026-11-28T20:51:53Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T20:51:53Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=6b640055e224675dd92e3fc849504b7ccc19bf2f'/>
<id>urn:sha1:6b640055e224675dd92e3fc849504b7ccc19bf2f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fix the code review findings for 939f3ec</title>
<updated>2026-11-28T20:37:34Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T20:37:34Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=8f41c5a331d07580c9faf0adec41b314a97cba93'/>
<id>urn:sha1:8f41c5a331d07580c9faf0adec41b314a97cba93</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Release 1.1.0 and package as a zopen port</title>
<updated>2026-11-28T05:57:08Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T05:57:08Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=e8a4c44ab45e808113f206581a3cd8d6d3e38bc7'/>
<id>urn:sha1:e8a4c44ab45e808113f206581a3cd8d6d3e38bc7</id>
<content type='text'>
- buildenv: zopen stable line from the release tarball, DEV from main,
  make check as the port check, install under $ZOPEN_INSTALL_DIR.
- Size the session table from ASVTMAXU plus the process count, and stop
  collapsing SSH rows by ASID, so sessions sharing an address space are
  all listed.
- Read ASSBASST for every session, not only those with a CSCB.
- CHANGELOG 1.1.0, VERSION 1.1.0, README/CONTRIBUTING zopen and release
  steps, CI checks that buildenv agrees with VERSION.
- Suppress the Linux-clangd cascade for the z/OS-only headers by its
  real diagnostic ids.
</content>
</entry>
<entry>
<title>Fix the review findings for 552c76c</title>
<updated>2026-11-28T03:35:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T03:35:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=2d57ddfcc32e62a74305b7e6bf5fb4df8d64709e'/>
<id>urn:sha1:2d57ddfcc32e62a74305b7e6bf5fb4df8d64709e</id>
<content type='text'>
CPU time is now TOD units (&gt;&gt; 12) and includes ASSBASST. TSO user and
logon procedure come from the CSCB. SSH sessions come from the
w_getpsent() process tree and join the address space by ASID. The ASVT
walk sizes itself from ASVTMAXU, validates each entry, and a fault while
reading a terminated address space skips that row instead of abending.

Output follows the zopen character-set convention: ASCII in ISO8859-1
files and IBM-1047 on terminals and pipes, driven by the descriptor tag,
with F_CONTROL_CVT saved and restored around the run. README, CHANGELOG,
CONTRIBUTING, CI and the issue/PR templates are corrected, and the
z/OS 2.5 floor is stated.
</content>
</entry>
<entry>
<title>Read sessions from common storage, one row per session</title>
<updated>2026-11-26T01:23:39Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T01:23:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=943973653539ac4c46032b9dd18047997974ade3'/>
<id>urn:sha1:943973653539ac4c46032b9dd18047997974ade3</id>
<content type='text'>
Replace the ZOAU display parsing with a walk of CVT -&gt; ASVT -&gt; ASCB. The
address space list, the TSO/E test (ASCBTSB), the CPU accumulators
(ASCBEJST + ASCBSRBT) and the two name pointers (ASCBJBNI, ASCBJBNS) are
all in common storage, so the program needs no ZOAU library, no LIBPATH,
no console and no authorization.

The table is now one row per interactive session and nothing else: the
started tasks, OMVS daemons and shell children that used to fill it are
gone. TYPE is TSO/E, z/OSMF or SSH. A TSO/E logon is a row because it has
a TSO/E session block; it is z/OSMF when the session was logged on by the
z/OSMF logon procedure, which is how z/OSMF gets a user in (the z/OSMF
Configuration Guide's COMMONPROC/FILEPROC, IZUFPROC by default); an SSH
session is an sshd started with -R, since the listener runs without it.

PID and the user come from ps -A -o pid,jobname,user,time,args, joined to
the address space by job name. JOBNAME and LOGONPROC are separate columns
because ASCBJBNI and ASCBJBNS are different names; the CPU counters are
printed as hours:minutes:seconds.

README and CHANGELOG describe the new design and the three types.
</content>
</entry>
<entry>
<title>whoson: report its version, and keep it in the Makefile</title>
<updated>2026-11-25T05:57:53Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:57:53Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=c0082e03976935b1b1ebf389c8f3053ed1668e9e'/>
<id>urn:sha1:c0082e03976935b1b1ebf389c8f3053ed1668e9e</id>
<content type='text'>
--version and -V print "whoson &lt;version&gt;"; the string comes from VERSION in
the Makefile through -DWHOSON_VERSION, so a hand compile still builds and
says "unknown".  The release workflow refuses a tag that disagrees with it.
</content>
</entry>
<entry>
<title>Makefile, README: record that every build is the release artifact</title>
<updated>2026-11-25T05:53:02Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:53:02Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=74df2ab81e8777fa3d6d8e72f83b01d6591409c5'/>
<id>urn:sha1:74df2ab81e8777fa3d6d8e72f83b01d6591409c5</id>
<content type='text'>
O3 without -g already; a z/OS program object has no symbol table, so there is
nothing for strip to remove: strings finds no function names in the binary,
/bin/strip leaves its size alone, and the driver ignores -s as a compile-only
flag.  Saying so keeps a strip step from being added to no effect.
</content>
</entry>
<entry>
<title>Makefile: add a list target for Open XL 2.2 compiler listings</title>
<updated>2026-11-25T05:49:22Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T05:49:22Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/whoson.git/commit/?id=07c60f2d8333ec442bfdd585151806a8d3b7aa1b'/>
<id>urn:sha1:07c60f2d8333ec442bfdd585151806a8d3b7aa1b</id>
<content type='text'>
The 2.2 driver can write a JSON listing and ship a formatter for it, so
`make list` builds and leaves the pseudo assembly with offsets, grouped by
function, in whoson.listing.  Clean removes both new files.
</content>
</entry>
</feed>
