<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/README.md, branch main</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=main</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-29T18:37:49Z</updated>
<entry>
<title>Remove host-specific references, add CI badge, and prepare 0.5.0-beta zopen buildenv</title>
<updated>2026-11-29T18:37:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-29T18:37:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=0014d37a6e3113dabc003e84cb2b0ba6bcb94b8c'/>
<id>urn:sha1:0014d37a6e3113dabc003e84cb2b0ba6bcb94b8c</id>
<content type='text'>
- Remove internal z/OS test-host name from notes/review-2026-11-27.md,
  web/layouts/home.html, and tests/zos/zosvars.{sh,exp} (making zosvars
  portable to any z/OS LPAR by comparing against live ZOS_SYSNAME).
- Add GitHub Actions CI status badge to README.md.
- Bump buildenv version to 0.5.0 with ZOPEN_STABLE_URL, ZOPEN_STABLE_TAG
  (v0.5.0-beta), ZOPEN_DEV_URL, and explicit empty ZOPEN_RUNTIME_DEPS.
</content>
</entry>
<entry>
<title>Fix z/OS 64-bit linkage/storage, EBCDIC, editor, and checkout issues</title>
<updated>2026-11-29T03:58:27Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-29T03:58:27Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=b97207f7e5dd3d8d147da525ede1ba3609f5c983'/>
<id>urn:sha1:b97207f7e5dd3d8d147da525ede1ba3609f5c983</id>
<content type='text'>
- Guard #pragma linkage with _LP64 (OS on -m64, OS_UPSTACK on -m32), use
  bit 31 (0x80000000u) for the OS VL bit, and allocate IGGCSI00/BPXWDY2
  work areas via __malloc31() per z/OS C/C++ Runtime Library Reference and
  Open XL C/C++ 2.2 Compiler Reference.
- Use isupper()/isdigit() in complete.c hlq_ok() and an EBCDIC/ASCII-safe
  ctrl_byte() helper in edit_builtin.c bind_keys().
- Tag temp files with sys_tmp_tag() in fc_edit() and edit_external(), add
  EINTR retry loops in edit_external(), route edit_bind_list() through
  out1, and clamp CSI/vi repeat counts against signed int overflow.
- Destroy posix_spawn_file_actions_t on error in sys_spawn() and clamp
  put_name() copy length in sys_posix.c.
- Replace non-ISO8859-1 dashes in README.md and C-PROGRAMMING-STANDARDS.md
  and mark notes/review-2026-11-27.md UTF-8 in .gitattributes so git
  checkout succeeds on z/OS.

Verified locally on Linux (make, make zos-lint, make check: 128/129 pass,
only pre-existing linux/i-dscomplete differs); z/OS CBT verification next.
</content>
</entry>
<entry>
<title>wip: vi external edit and dot-repeat, in-process cd subshell, perf test</title>
<updated>2026-11-28T06:08:16Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T06:07:39Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=cb1688f0233d53cfca8078f812c824213a5617fd'/>
<id>urn:sha1:cb1688f0233d53cfca8078f812c824213a5617fd</id>
<content type='text'>
The working tree the 2026-11-28 review was written against, committed
unchanged so the review fixes can sit on top of it.

- vi mode: `v` edits the line in $VISUAL, else $EDITOR (edit_external),
  and `.` repeats the last change, count and all.
- `( cd dir )` runs in-process with the directory saved and restored,
  instead of forking, and its invalidation of the cached logical cwd.
- tests/perf: a start-up cost guard; tests/run.sh runs that directory.
- README: set +o pipetag for ASCII builds.
- formal/zash-spec.txt regenerated as text.
- .clang-tidy: two checks re-enabled (no findings after the change).
- tests/scripts/webdocs: a `#` inside a fenced block is not a title.
</content>
</entry>
<entry>
<title>docs: zash is the successor to IBM's ksh88 /bin/sh</title>
<updated>2026-11-28T03:48:49Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-28T03:48:49Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=25e4830211e9810f1e2252219b8bd48ca59f401c'/>
<id>urn:sha1:25e4830211e9810f1e2252219b8bd48ca59f401c</id>
<content type='text'>
The shell it replaces is not a different language: it is of the
KornShell line, and a script written for it runs under zash.  Say that
where the documents used to imply the opposite -- "the dash of z/OS",
"the z/OS /bin/sh's semantics are not emulated" -- and sort what is
left into places where IBM departs from POSIX (zash follows POSIX) and
the few ksh88 features zash declines.
</content>
</entry>
<entry>
<title>web: a design pass, and documents that stand on their own</title>
<updated>2026-11-27T20:09:17Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-27T20:09:17Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=f49e1d77a2ebbd69d225e53197d1f0acfbc5d83b'/>
<id>urn:sha1:f49e1d77a2ebbd69d225e53197d1f0acfbc5d83b</id>
<content type='text'>
The home page drops the feature-card grid for a numbered spec sheet and a
full-width measured transcript.  The docs pages get three columns on a
wide screen - sections, text, and the page's own headings - with a rule
that runs the height of the text, and a row of section chips on a phone.
The hero carries the logo's periwinkle as a gradient and the grid of a
terminal screen, and the header a single lit hairline.

The generated README, Design and Specification pages no longer carry the
logo block, the byline, their own contents list or a second title: the
site header, the sidebar and the front matter do that.  Links between the
documents are page links, and the GitHub-only affordances (sidebar blob
links, "Edit this page") are gone.

The xlc compiler is no longer called legacy in README, DESIGN or status.
</content>
</entry>
<entry>
<title>interactive: one editor, no library</title>
<updated>2026-11-26T03:54:08Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-26T03:54:08Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=87c6a0f8f822c57b4f63bc8bb099a33307871414'/>
<id>urn:sha1:87c6a0f8f822c57b4f63bc8bb099a33307871414</id>
<content type='text'>
libedit was a compile-time alternative (`make EDIT=libedit`).  It goes:
FreeBSD and NetBSD `sh` use it because it is in their base system, which
is not the case on z/OS, and it cost about a third of a millisecond to
reach the prompt -- three more shared libraries, `el_init()`, an
`~/.editrc` read and a copy of the history -- for the same cost per key.
What it bought was `~/.editrc` bindings and a kill ring; `bind` and the
built-in editor's own bindings cover the keys, and a second editor meant
a second build mode and a second set of interactive expectations, with
seven tests skipping under it.

Everything that existed only to serve two editors goes with it: the
`EDIT` switch and the two `edit_$(EDIT)` paths in the makefile, the
`$ZASH_EDITOR` variable the tests used to skip, the skip guards in
`tests/linux/`, the NUL stripping in `ptydrive.py` that libedit's redraw
needed, and the parallel paragraphs in README.md, DESIGN.md,
bench/README.md and the two website pages.  `bench/README.md` keeps the
measurement, since that is why the decision is written in DESIGN.md.

Checked on Linux (97 passed, 1 skipped, the one known local failure in
linux/i-dscomplete) and on z/OS (64 passed, 3 skipped, 0 failed, plus the
EBCDIC build).
</content>
</entry>
<entry>
<title>docs: the z/OS tables and prose at 64-bit, C23 and the LPA</title>
<updated>2026-11-25T19:19:07Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T19:19:07Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=e85914ec27f202a277a5a3e2a41a5f5328ab70cf'/>
<id>urn:sha1:e85914ec27f202a277a5a3e2a41a5f5328ab70cf</id>
<content type='text'>
README's benchmark table is the 64-bit run with the run-time in the LPA
and zsh installed (it was the 2.1-era table, and its zsh column was the
31 ms start-up, not zsh). bench/README.md keeps the 2.1 numbers as the
history of what the LPA fixed, and gains the start-up table it now has a
measurement for. investigation.md's §2 recommendation was still "build
31-bit"; it now says what happened instead.
</content>
</entry>
<entry>
<title>C23: compile as C23 and use its spelling</title>
<updated>2026-11-25T06:17:57Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T06:17:57Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=122dd54f6d915240cd5327d08f9b36e243983956'/>
<id>urn:sha1:122dd54f6d915240cd5327d08f9b36e243983956</id>
<content type='text'>
The z/OS toolchain would not take C23 when this was first written; IBM
Open XL C/C++ 2.2 does (clang 21.1, __STDC_VERSION__ 202311), and so
does the clang on Linux.  -std=c23 in the Makefile, and the standard
attributes in place of the ones that were macros:

  _Noreturn      -&gt; [[noreturn]] (on declarations and definitions)
  _Static_assert -&gt; static_assert
  _Alignas       -&gt; alignas
  NODISCARD      -&gt; [[nodiscard]]
  FALLTHROUGH    -&gt; [[fallthrough]]

PRINTFLIKE and UNREACHABLE() stay macros: [[gnu::format]] and
[[gnu::unreachable]] are vendor attributes, and the standard has no
[[format]] or [[unreachable]] for a header-only project yet.

Standard-library additions newer than the libc of either system
(&lt;stdbit.h&gt;, &lt;stdckdint.h&gt;) are not used, so gcc -std=c2x still builds
the tree warning-free.  The suite, ASan/UBSan and the z/OS lint pass as
before; linux/i-dscomplete remains the one local failure it was on
main.
</content>
</entry>
<entry>
<title>build: make the 64-bit z/OS build the default</title>
<updated>2026-11-25T06:06:46Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T06:06:46Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=b786aac5c1578a5e87c42db8273e13af09ab5ef7'/>
<id>urn:sha1:b786aac5c1578a5e87c42db8273e13af09ab5ef7</id>
<content type='text'>
zash is built 64-bit on z/OS now: -m64 for the ASCII and the EBCDIC
build and for the debug build, and `make` as well as `make zash` land
on zos-ascii there. The 31-bit build existed for the 64-bit start and
fork costs, which were the C run-time being loaded out of the linklist;
with CELQ* in the LPA the widths measure the same and the shell is
built at the width IBM builds for.

The catalog and dynamic-allocation modules are AMODE 31 and OS_UPSTACK
does not exist at -m64, so both are declared with plain OS linkage,
which is the 64-bit glue for an AMODE 31 callee. Neither module is
installed on the test system, so that path is unverified there;
csi_call() still catches a program check and retires the catalog.
IGGCSI00's VL bit comes from the width of a pointer, not 0x80000000.

Documentation follows: README gains a Recommendations section for the
LPA change and loses the 31-bit rationale; DESIGN.md's cost model,
catalog linkage and open questions match the measurements; bench/README
states the current width and the rerun numbers; investigation.md
records the decision.
</content>
</entry>
<entry>
<title>Merge pull request #13 from skurtz97/docs/startup-probe</title>
<updated>2026-11-24T20:37:10Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-24T20:37:10Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=7e063b3c1c9dc6c0257a606dd576ce7b411b093c'/>
<id>urn:sha1:7e063b3c1c9dc6c0257a606dd576ce7b411b093c</id>
<content type='text'>
docs: the 64-bit start-up cost is LE, not the address mode</content>
</entry>
</feed>
