<feed xmlns='http://www.w3.org/2005/Atom'>
<title>zash.git/web/content/docs/install.md, branch editor/one-editor</title>
<subtitle>Fast Almquist-family POSIX shell for z/OS UNIX with bundled libedit</subtitle>
<id>https://git.abendless.com/zash.git/atom?h=editor%2Fone-editor</id>
<link rel='self' href='https://git.abendless.com/zash.git/atom?h=editor%2Fone-editor'/>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/'/>
<updated>2026-11-26T03:54:08Z</updated>
<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>web: a Hugo site for zash</title>
<updated>2026-11-25T07:02:03Z</updated>
<author>
<name>Sean Kurtz</name>
<email>seankurtz75@gmail.com</email>
</author>
<published>2026-11-25T07:02:03Z</published>
<link rel='alternate' type='text/html' href='https://git.abendless.com/zash.git/commit/?id=392381b2de8bce919735fce753b3740747f2b2fa'/>
<id>urn:sha1:392381b2de8bce919735fce753b3740747f2b2fa</id>
<content type='text'>
A site in web/, built with Hugo and no theme module, so it builds offline
from one Go binary:

  hugo server --source web     preview on localhost:1313
  hugo --source web --minify   -&gt; web/public, which is ignored

Pages: a home page with the shell's pitch, a terminal card, the four
properties that define it and a short benchmark table, plus three docs
pages (building, development, status) in a section with a sidebar. The
palette comes from packaging/zash-logo.svg: mainframe navy, periwinkle, a
signal blue. Dark only, monospace where a shell would be monospaced.

Highlighting uses classes (`markup.highlight.noClasses = false`) against
assets/css/chroma.css generated with `hugo gen chromastyles --style=
tokyonight-night`, so code sits in the page instead of a monokai box.
site.css and copy.js go through Hugo's minify+fingerprint pipeline.

Two .gitignore fixes this needed: `docs/` matched web/content/docs/ (the
generated Doxygen output is at the root, so it is `/docs/` now), and
Hugo's .hugo_build.lock is ignored.

Not published yet: zash is private and Pages is not available for a
private repository on a free plan, so web/README.md records the options.
</content>
</entry>
</feed>
