<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/Makefile, branch fix/zos-spawn-fdmap</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=fix%2Fzos-spawn-fdmap</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=fix%2Fzos-spawn-fdmap'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-23T17:09:32Z</updated>
<entry>
<title>z/OS: run 31-bit and load IGGCSI00 through the C library</title>
<updated>2026-11-23T17:09:32Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-23T17:09:32Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=d1ea4c7f4530e3d1d4689a9d20029a0c1a418df5'/>
<id>urn:sha1:d1ea4c7f4530e3d1d4689a9d20029a0c1a418df5</id>
<content type='text'>
zash was AMODE 64, so calling the AMODE 31 IGGCSI00 needed assembler
glue (zos_csi.s) that switched addressing mode around the branch.  Built
with -m32 the program is 31-bit itself: the call goes through a plain
function pointer, the work area and the saved registers live in one
31-bit block in C, and the glue is gone.

The rest of the tree follows the change: the build, the off-z/OS lint
shim, DESIGN.md and README.md, the benches, the Lean spec of the
pattern matcher, and the tests that recorded what the extra address bits
had changed.
</content>
</entry>
<entry>
<title>z/OS: a wider spawn map, and the suite runs both builds</title>
<updated>2026-11-18T21:13:09Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T21:13:09Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=0d69168ada30c4b584a6c3aa77640d2b396d9599'/>
<id>urn:sha1:0d69168ada30c4b584a6c3aa77640d2b396d9599</id>
<content type='text'>
The map carried SYS_NFD+16 descriptors, so a script holding more pushed
the terminal's duplicate out of reach and its commands lost the
controlling terminal.  64 leaves room.

`make zos-check` now builds the EBCDIC program too and runs the
character-set tests against it, which nothing did before.
</content>
</entry>
<entry>
<title>z/OS: give the EBCDIC build its own name</title>
<updated>2026-11-18T20:26:27Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T20:26:27Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=468472467b8ac36ec10c864f67deacceb8164f16'/>
<id>urn:sha1:468472467b8ac36ec10c864f67deacceb8164f16</id>
<content type='text'>
Both zos-ascii and zos-ebcdic wrote ./zash, so `make zos-ascii` after an
EBCDIC build was "up to date" and left the EBCDIC program in place --
which cost a debugging session: the "ASCII" binary on cbt was EBCDIC.
ASCII is the build zopen uses and the one the tests run, so it keeps
./zash; EBCDIC is ./zash-ebcdic.
</content>
</entry>
<entry>
<title>Document what dbx and AMBLIST actually do here</title>
<updated>2026-11-18T16:54:44Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:54:44Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=922360861aba353ae21df28c80bc97c7c0211865'/>
<id>urn:sha1:922360861aba353ae21df28c80bc97c7c0211865</id>
<content type='text'>
Checked on the mainframe: `make zos-debug` builds, `st in main` stops at
src/main.c:401 with the source shown, and next/where keep reporting file
and line, but `st at "file":line" cannot resolve the source on
ibm-clang's debug info.  `make zos-amblist` writes a 48545-line map of
./zash (RMODE ANY, XPLINK, PO format 4, main entry AMODE 64).
</content>
</entry>
<entry>
<title>Makefile: zos-debug exists, and zos-amblist names the object it maps</title>
<updated>2026-11-18T16:51:05Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:51:05Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=d59f79a45e34ca34afa28d3b7876127b01160a1e'/>
<id>urn:sha1:d59f79a45e34ca34afa28d3b7876127b01160a1e</id>
<content type='text'>
The rule was zash-dbg, and the AMBLIST target asked for zos_csi.o where
every other rule says src/zos_csi.o.
</content>
</entry>
<entry>
<title>Makefile: use plain `NAME = value` so z/OS make can read it</title>
<updated>2026-11-18T16:50:35Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:50:35Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=9dba6eaae410d787f5b991cf8691cea160aa2fda'/>
<id>urn:sha1:9dba6eaae410d787f5b991cf8691cea160aa2fda</id>
<content type='text'>
z/OS make rejects `?=` outright (FSUM8232, nothing builds), so go back to
the assignment form the rest of the file uses and tell the linter, which
reads makefiles as shell, that this is make syntax.
</content>
</entry>
<entry>
<title>z/OS: dbx, an AMBLIST map and heap-checked test runs</title>
<updated>2026-11-18T16:47:51Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:47:51Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=987cdabc9fe2d5a56d3e7cf86e2716cbbc893df7'/>
<id>urn:sha1:987cdabc9fe2d5a56d3e7cf86e2716cbbc893df7</id>
<content type='text'>
lldb is not on z/OS, so the debug story there is dbx, which needs -g and
an unoptimised load: make zos-debug builds ./zash-dbg, zos-dbx runs it,
zos-attach attaches to a running shell and zos-dump reads a dump
(SVC and SYSMDUMP only: dbx does not read SYSUDUMP or CEEDUMP).

AMBLIST maps CSECTs, AMODE/RMODE and entry points of a program object,
which is the one question a debugger cannot answer from source:
make zos-amblist lists ./zash and the HLASM routine's object module.

The docs catch up with C17 and the new targets.
</content>
</entry>
<entry>
<title>z/OS: check the heap the way z/OS can</title>
<updated>2026-11-18T16:40:04Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:40:04Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=c321bd509b37bc180a5292e8ad142c3df9e2d28c'/>
<id>urn:sha1:c321bd509b37bc180a5292e8ad142c3df9e2d28c</id>
<content type='text'>
There is no ASan there, but Language Environment can put a check zone
after every heap element (above and below the 2 GB bar) and validate
the heap on every request: an overlay then abends with U4042 and prints
CEE3716I instead of staying silent.  A small C program that writes 8
bytes past a malloc() calibrated the options against the real system.

tests/zos/fuzz.sh now runs its 200 cases under those options, and
make zos-heapcheck runs the whole suite under them.  Its generator also
stays inside 32 bits now, so /bin/sh can run the script too.
</content>
</entry>
<entry>
<title>Build with C17 on every platform</title>
<updated>2026-11-18T16:09:07Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T16:09:07Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=b4d6bf138d7843d5ed497f2fb67917319c773e96'/>
<id>urn:sha1:b4d6bf138d7843d5ed497f2fb67917319c773e96</id>
<content type='text'>
C17 is C11 plus its defect reports, so no source changes; what it buys
is the current z/OS compiler's documented language level rather than
the provisional C11 of earlier releases.

Verified with clang (clean) and gcc (only the pre-existing -Wclobbered
warnings in src/exec.c and src/trap.c), and with make zos-lint.
The Linux suite is unchanged at 93 passed and linux/i-startup failed.
</content>
</entry>
<entry>
<title>Fixes for z/OS build and signals.</title>
<updated>2026-11-18T01:28:57Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-18T01:28:57Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=260a9baedba9a425fd17afbde16a44cdda21eeaa'/>
<id>urn:sha1:260a9baedba9a425fd17afbde16a44cdda21eeaa</id>
<content type='text'>
</content>
</entry>
</feed>
