summaryrefslogtreecommitdiffhomepage
path: root/tests/git@git.abendless.com:/srv/git
diff options
context:
space:
mode:
authorSean Kurtz <seankurtz75@gmail.com>2026-11-27 18:10:43 -0600
committerSean Kurtz <seankurtz75@gmail.com>2026-11-27 18:10:43 -0600
commitbed906ea03f44454baa7089bb3cb975f94d77bcc (patch)
tree1b2f1fb4a7be820454792832df76c17f1da8069a /tests/git@git.abendless.com:/srv/git
parent327bb5eef966394d487046d3bfe2420a66d50a99 (diff)
downloadztop-bed906ea03f44454baa7089bb3cb975f94d77bcc.tar.gz
views: PS, FS and LOG, and a DEC-graphics frame
Two changes that share files -- the views, and the screen they are drawn on -- so one commit; splitting them would mean splitting src/ztop.c and tui/tui.h by hunk, which is not a split a reviewer could follow. The views. Seven tabs instead of four: PS (w_getpsent), FS (w_getmntent plus statvfs) and LOG, a read-only extended MCS console behind -c. LOG needs supervisor state, so MCSOPER and MCSOPMSG live in src/zmcs.s: it switches to supervisor state, calls the macro, switches back, and hands the caller a copy of the message data block. src/mdb.c walks that MDB (IEAVM105) for the job name and the text line, and is separate from src/ztop.c because it is the one place ztop parses bytes written by another address space, so it is worth a test that runs anywhere. The small structs become C23 typedefs, src/vsm.c keeps the 16M line apart, and README lists the seven views and the keys they moved. The screen. The frame, the meters and the scrollbar were the last parts that said "curses". Borders and meters are now the DEC Special Graphics set, designated into G0 with ESC ( 0 and released with ESC ( B, with a fallback to + - | # when TERM is not one we know; the meters are shade fill over a horizontal rule instead of a [#### ] bar; table selection is a background colour instead of reverse video, which is the tell almost everyone recognises as curses; the tab row separates with a gap instead of |; titles are a dim style and the frame is grey so the accent colour means selection. The designation is tracked per cell, because an SGR reset does not leave the graphics set, and only the cells that carry a border glyph pay for it -- six bytes a row at 80 columns. Everything stays 7-bit ASCII in the source, which is what .gitattributes now enforces for the whole tree: one rule, ISO8859-1 in the working tree, the same line the zopen git port uses, so a checkout on z/OS is tagged ASCII for make, sh, awk and the compiler and no file needs a hand tag. Verified on Linux: make test TESTCC=cc green (test_vsm, test_sys, test_mdb, tui/test_tui, leakcheck), make tidy adds no finding to the ten that predate this, src/ztop.c passes -fsyntax-only with the project's warnings. The frame was checked against a painted screen with tests/screen.py, which now understands ESC ( 0. Not yet built on z/OS: the CBT build, make check and make leakcheck run after the push and the PR carries their result.
Diffstat (limited to 'tests/git@git.abendless.com:/srv/git')
0 files changed, 0 insertions, 0 deletions