Julian Noble
|
f0c712543a
|
repl shutdown/eof fixes, PUNK_PIPE_EOF policy, console query guards, opunk::console voo class, test framework fixes
punk::repl (0.1.4):
- cancel the deferred (after idle) stdin reader registration when the repl finishes - a stale
registration could re-attach a reader to a completed repl (piped stdin racing shutdown produced
'error2 in repl_process_data: invalid thread handle ""')
- repl_process_data drops input arriving after codethread teardown instead of erroring
- repl::init constructs the process-default console object (anchored opunk::console instance
'default') and settles can_respond 1 for interactive stdin
app-punkshell:
- eof on the input channel now follows env(PUNK_PIPE_EOF): exit | interactive | unset=heuristic
(reopen console if available, else terminate) - replaces the unconditional CONIN$/dev-tty repl
restart that hung automated callers forever; documented in punk::config punk_env_vars_config
('help env')
punk::console (0.1.4):
- input_at_eof (certainty, with non-blocking probe read for deferred pipe eof) and
is_input_console_or_tty (heuristic incl. mintty-without-winpty env hints)
- get_size skips ANSI cursor-report mechanisms for non-terminal input (tput then 80x24 default)
- removed erroneous repl-restart attempts from get_ansi_response_payload eof handling (re-entrancy,
bypassed eof policy; one call was a typo repl::reopen)
- console_spec_resolve: -console (and legacy positional inoutchannels) accepts a channel pair, an
anchored opunk::console instance name, or an ::opunk::Console object value; settled can_respond 0
refuses query emission and supplies the object's default size; default_console proc + auto-attach
of the anchored 'default' instance for matching channel pairs
opunk::console (new, 0.1.0):
- voo-based -virtual class ::opunk::Console: console as an in/out channel pair with settled
capability facts; canonical instances anchored at ::opunk::console::instances::<name> with
value semantics as snapshots; subclass dispatch via slot-0 tag for future channel-environment
consoles (ssh, tk-widget terminals); added to bootsupport (with voo) for boot-level use
tests:
- src/tests/shell/testsuites/punkexe: hang-proof punk_run/punk_run_expect_alive harness; termination
guards, exitcode propagation, help-env render with piped stdin, default-console smoke test,
PUNK_TEST_GOALS-gated interactive drop-in goal tests
- src/tests/modules/punk/console: probe helper and console-spec/integration suites
- src/tests/modules/opunk/console: Console class suite incl. virtual dispatch
- runtests.tcl testinterp: 'package prefer latest' (dev 999999 alpha modules no longer shadowed by
stable bootsupport copies) and src/vendormodules on the module path (voo etc resolvable)
AGENTS: punk::args usage policy, -console migration contract, bootsupport update workflow
correction, opunk voo conventions, testinterp contracts
Assisted-by: harness=claude; primary-model=claude-fable-5; api-location=anthropic.com
|
3 weeks ago |
Julian Noble
|
b69d0e50f3
|
punk::path and punk::lib fixes
|
4 weeks ago |
Julian Noble
|
2b5cef9d36
|
fifo2 & startup interim fixes. sqids lib. vfs tidy
|
2 months ago |
Julian Noble
|
61aa54c738
|
punk::ns::corp and ansi fixes, punkcheck file save debug output
|
2 months ago |
Julian Noble
|
e67566bfdf
|
overtype fixes, raw-mode repl fixes - literal tab handling, punk::ansi fixes
|
2 months ago |
Julian Noble
|
36cb87b0dd
|
punk::lib - tclscript_info tclscript_showparse, remove line continuations for better cmdtrace support
|
3 months ago |
Julian Noble
|
4c6a3058c3
|
punk::ansi and overtype fixes and tests, grepstr fixes, punk::args synopsis improvements, voo module
|
3 months ago |
Julian Noble
|
6db4bfa15f
|
punk::path fix for unix systems, silence enableRaw_stty
|
4 months ago |
Julian Noble
|
d6d6ea8de5
|
overtype,punk::winlnk,punk::args,punk::console etc fixes.
|
4 months ago |
Julian Noble
|
413d25c065
|
fix ::env(SHELL) more posixy,mintty fixes,fglob -patterndebug,dirfiles_dict collection changes for links,remove punk::args stderr debug output
|
4 months ago |
Julian Noble
|
634087e383
|
punk::args minor performance tweaks, vfs updates for windows
|
6 months ago |
Julian Noble
|
50d264eb53
|
punk::console DECRQM DECRPM updates
|
7 months ago |
Julian Noble
|
5586c86758
|
punk::console more DEC/ANSI mode work
|
7 months ago |
Julian Noble
|
ce9c53cb34
|
ansi DEC modes, DECRQSS+DECRPSS, minor sixel work
|
7 months ago |
Julian Noble
|
ce9c44c3c3
|
repl debug, updated shellfilter,shellthread,punk::netbox
|
8 months ago |
Julian Noble
|
463b955303
|
bootsupport update
|
8 months ago |
Julian Noble
|
51fcdbfb0c
|
update bootsupport,_vfscommon
|
9 months ago |
Julian Noble
|
d405fbbf51
|
upgrade modpod, punk::args
|
10 months ago |
Julian Noble
|
0539d6ddcf
|
bootsupport,vfs,project_layouts update
|
10 months ago |
Julian Noble
|
963a5a788b
|
make.tcl and console rawmode fixes
|
10 months ago |
Julian Noble
|
2dd24a7ba9
|
punk::args add -defaultdisplaytype dict|list; punk::pdf improvements
|
11 months ago |
Julian Noble
|
d926570b8c
|
make.tcl bootsupport fixes etc
|
1 year ago |
Julian Noble
|
9201234c4f
|
add previous updates to bootsupport and project_layouts and common vfs
|
1 year ago |
Julian Noble
|
24d6f6e149
|
update bootsupport,vfs,project_layouts
|
1 year ago |
Julian Noble
|
ab43137c29
|
add punk::imap4 pkg, promise pkg, console/cesu/args updates
|
1 year ago |
Julian Noble
|
ae83749222
|
punk::args and ansi fixes, another vfs
|
1 year ago |
Julian Noble
|
1f68b9aa62
|
punk::args fixes, auto_execok override
|
1 year ago |
Julian Noble
|
5336b12bd5
|
table and interactive documentation fixes
|
2 years ago |
Julian Noble
|
ca1d9f422f
|
textblock unicode and table work, function documentation (i command)
|
2 years ago |
Julian Noble
|
de8c5ff7ad
|
punk::args and punk::ns improvements, command help with 'i'
|
2 years ago |
Julian Noble
|
9ad29680c3
|
misc ansi and console fixes
|
2 years ago |
Julian Noble
|
80239a0246
|
many punk::args and textblock changes
|
2 years ago |
Julian Noble
|
b309cea567
|
bootsupport sync
|
2 years ago |
Julian Noble
|
7409f3a605
|
console work
|
2 years ago |
Julian Noble
|
2ee3c3c763
|
console raw mode fix for unix
|
2 years ago |
Julian Noble
|
8d60f2e1f8
|
bootsupport, make.tcl, vendormodules, tomlish fixes + punk::winlnk
|
2 years ago |
Julian Noble
|
dbb7360568
|
ansi fixes + tomlish
|
2 years ago |
Julian Noble
|
4119d9fc7c
|
housekeeping - bootsupport, vfs deletion, project_layouts
|
2 years ago |
Julian Noble
|
4de01cf13f
|
vfs work, ansi fixes + modes crm, inverse
|
2 years ago |
Julian Noble
|
4838319af5
|
make.tcl updates support for modules_tclX where X is tcl major version
|
2 years ago |
Julian Noble
|
ce5819a715
|
overtype lib update and bootsupport update
|
2 years ago |
Julian Noble
|
27ca9cf38d
|
punk::ns use info cmdtype on 8.7+, major refactor of punk::repl and punk::args
|
2 years ago |
Julian Noble
|
b045baed30
|
better no_color support, slightly better ctrl-c handling (windows) + multishell.cmd fix to avoid batch file termination prompt
|
2 years ago |
Julian Noble
|
14eb0d7685
|
telnet and repl debug window placement based on terminal width
|
2 years ago |
Julian Noble
|
4f4498e9a4
|
more telnet,scriptwrap fixes
|
2 years ago |
Julian Noble
|
4aa2a348fd
|
telnet,ansi,winrun,scriptwrap fixes
|
2 years ago |
Julian Noble
|
ca342078e3
|
punk::basictelnet fixes
|
2 years ago |
Julian Noble
|
37f410960f
|
New punk::basictelnet module - still has fast-type misordering bug when mode raw
|
2 years ago |
Julian Noble
|
99c93cac8d
|
update bootsupport modules
|
2 years ago |
Julian Noble
|
cab6dc2e0c
|
ansi and raw repl modes - ansi testfiles
|
2 years ago |