From 24e17e01ab6356c4f59e1323097acd715cd3a120 Mon Sep 17 00:00:00 2001 From: Daniel Covington Date: Sat, 7 Nov 2026 08:58:32 -0500 Subject: [PATCH] vim: document the VICE command checks MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit NOTES records the dd/p, A/I/O/o, :q/:q! and missing-file checks that pass on the work disk, and that \x03 in -keybuf arrives as RUN/STOP so a script can leave insert mode. Generated with Codebuff 🤖 Co-Authored-By: Codebuff --- vim/NOTES.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/vim/NOTES.md b/vim/NOTES.md index 2ea8f14..8f24165 100644 --- a/vim/NOTES.md +++ b/vim/NOTES.md @@ -180,3 +180,18 @@ on the status row (since removed): - Keep a screenshot of every build step (`shots\cc-*.png`, `link.png`) and make the script fail *per step* ("cc vim.c produced no object") instead of at the end, or a compile failure looks like a linker failure. + +## Verified in VICE + +The editing commands were driven from `build.ps1 -Keys` against a scratch file +(`ALPHA`/`BRAVO`/`CHARLIE`/`DELTA` on `work.d81`), then read back with `c1541` +and compared: + +- `dd` removes the current line and `p` puts it below the next one. +- `A`, `I`, `O` and `o` insert where they should; RUN/STOP leaves insert mode. +- `:q` on a dirty buffer refuses with `unsaved - :q! quits`; `:q!` quits and + leaves the file alone. +- A missing file prompts `not found - create it? (y/n)`: `y` starts an empty + buffer that `:wq` creates, `n` goes back to the `file:` prompt. +- `\x03` in `-keybuf` arrives as RUN/STOP (PETSCII `$03`), so a script can + leave insert mode.