<feed xmlns='http://www.w3.org/2005/Atom'>
<title>clectio.git/config.def.h, branch v1.1</title>
<subtitle>tiny suckless C daily readings, floppy sized, bring your own Bible</subtitle>
<id>https://git.labunix.xyz/clectio.git/atom?h=v1.1</id>
<link rel='self' href='https://git.labunix.xyz/clectio.git/atom?h=v1.1'/>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/clectio.git/'/>
<updated>2026-07-30T09:02:48Z</updated>
<entry>
<title>reader: verse number in a left column, hang-indent wrapped text</title>
<updated>2026-07-30T09:02:48Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-30T09:02:48Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/clectio.git/commit/?id=ba1b441e1da4e99546b3b7e755c8d31b73055343'/>
<id>urn:sha1:ba1b441e1da4e99546b3b7e755c8d31b73055343</id>
<content type='text'>
putwrapped now peels the leading chap:verse token into a fixed VNUM-wide
column (new config knob, default 8) and hang-indents continuation lines
under the text, so the reading has a straight left margin instead of
wrapping flush to column 0. Verses without a numeric prefix still wrap
flush-left; the WRAP&lt;=0 (terminal-fit) path is unchanged.
</content>
</entry>
<entry>
<title>feat: -a/-g runtime reading toggle and WRAP config option</title>
<updated>2026-07-29T06:49:03Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-29T06:49:03Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/clectio.git/commit/?id=4290b7b2cbeeba4f08446f15c04b64d70dedbabc'/>
<id>urn:sha1:4290b7b2cbeeba4f08446f15c04b64d70dedbabc</id>
<content type='text'>
- -a/--all and -g/--gospel override the compiled GOSPEL_ONLY default per run;
  the reading text for both is always embedded, so this is free. Flags may
  appear in any position alongside the optional date.
- WRAP config.h option wraps reading text at N columns; 0 (default) fits the
  terminal via TIOCGWINSZ and leaves piped output one line per verse. Greedy,
  space-breaking, UTF-8 aware (continuation bytes do not count as columns).
- Rework arg parsing into a small flag loop; expand -h usage.

No table/data change; OF and EF both build clean under -Wall -Wextra. Binary
grows ~4 KB (666 KB OF). Stays compile-time-first, suckless-style: the only
run-time options are the reading-set toggle and -h.

Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a
</content>
</entry>
<entry>
<title>feat: config.h GOSPEL_ONLY -- print all readings (default) or just the Gospel</title>
<updated>2026-07-28T21:33:23Z</updated>
<author>
<name>Lukasz Kasprzak</name>
<email>lukas@labunix.xyz</email>
</author>
<published>2026-07-28T21:33:23Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/clectio.git/commit/?id=46e482552c35456ddc836720df0a44ba25f60544'/>
<id>urn:sha1:46e482552c35456ddc836720df0a44ba25f60544</id>
<content type='text'>
Add a compile-time toggle in config.h: GOSPEL_ONLY=0 (default) prints every
reading; GOSPEL_ONLY=1 prints only the Gospel. The Gospel is matched by its
part label, so it works for both forms. Help and the compiled-settings line
report the mode. Also tidy print_day's header underline to match the width of
the "&lt;form&gt; for &lt;date&gt;" line instead of the reading count. No data change;
strict -Wsign-conversion clean in both modes.

Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a
</content>
</entry>
<entry>
<title>clectio: tiny suckless C daily readings, all readings compiled in</title>
<updated>2026-07-28T20:07:45Z</updated>
<author>
<name>lectio</name>
<email>lukasz@arcofasiagroup.com</email>
</author>
<published>2026-07-28T20:07:21Z</published>
<link rel='alternate' type='text/html' href='https://git.labunix.xyz/clectio.git/commit/?id=42fd9a69fa2bc9ef11c65c169a58ff40c9cb0fa1'/>
<id>urn:sha1:42fd9a69fa2bc9ef11c65c169a58ff40c9cb0fa1</id>
<content type='text'>
clectio prints the Catholic liturgical day and its Mass readings for a date
with a single table lookup -- no computation, config file, network, or deps
beyond libc. The calendar, reading citations and scripture text are all
compiled in; the whole shipped package fits on a 1.44 MB floppy (~1.29 MiB)
and the binary is ~0.9 MB (OF) / ~0.3 MB (EF).

- suckless config.h: FORM_OF/FORM_EF, SIGLA_ENGLISH/SIGLA_LATIN, COLOR.
- Bring your own Bible: `make CORPUS=mybible.tsv` recompiles with any
  Vulgate-numbered 6-column TSV; only the ~12k cited verses are embedded.
- The hard liturgical logic stays in lectio (Go, oracle-validated); its
  clectio-gen emits the corpus-independent tables in gen/. The scripture text
  is LZSS-packed (lz.h) to fit; mktext/bin2h resolve+embed it at build time.
- Verified byte-identical to lectio's readings; day names match 157/157 over
  a 3-year sample. Default text: public-domain Latin Vulgate. ISC-licensed.

Claude-Session: https://claude.ai/code/session_01S1CD1u3tgSS4xNu6WHfp5a
</content>
</entry>
</feed>
