jimsh: persist history on Windows and add --interactive mode#372
jimsh: persist history on Windows and add --interactive mode#372Copilot wants to merge 10 commits into
Conversation
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/491f3d70-abfd-4fa9-9096-031a7f803ce6 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/491f3d70-abfd-4fa9-9096-031a7f803ce6 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/491f3d70-abfd-4fa9-9096-031a7f803ce6 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/491f3d70-abfd-4fa9-9096-031a7f803ce6 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
msteveb
left a comment
There was a problem hiding this comment.
Once you have added the --interactive flag to jimsh, the tests can be added to tests/jimsh.test
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/824500e5-facc-4ff2-8a1b-2b23a5dffb1b Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Implemented in bea8aa1. Added |
| exec [info nameofexecutable] --interactive << "expr {2 + 3}\nexit\n" | ||
| } -match glob -result {Welcome to Jim version*5*} | ||
|
|
||
| test jimsh-1.10 {jimsh --interactive history fallback to USERPROFILE} -body { |
There was a problem hiding this comment.
bootstrap jimsh won't have history support. So at the top of this file add 'constraint cmd history' and require that constraint for test jimsh-1.10
There was a problem hiding this comment.
Done in efb3097. I added constraint cmd history at the top of tests/jimsh.test and required -constraints history for jimsh-1.10.
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/ce0b36fd-74e5-4906-8180-d548d67c8c13 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
|
Just as a heads up, I was blocked by some firewall rules while working on your feedback. Expand below for details. Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
msteveb
left a comment
There was a problem hiding this comment.
This is almost good enough. But the new --interactive flag needs to be documented in jim_tcl.txt
Add it in the SYNOPSIS (as jimsh [--interactive] [|-]
And also add it in the section "JIMSH COMMAND INTERPRETER"
And since this is new in this version, add it in the section "Changes since 0.83"
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/625b6f56-5e72-49bc-822e-c5a7dc0eeb45 Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Updated in dc2f325. I added Screenshot: N/A (documentation-only change). Warning Firewall rules blocked me from connecting to one or more addresses (expand for details)I tried to connect to the following addresses, but was blocked by firewall rules:
If you need me to access, download, or install something from one of these locations, you can either:
|
msteveb
left a comment
There was a problem hiding this comment.
There are still two changes that need to be made in the documentation
…32b-4c70-80c2-ed90caf2bd0d Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
msteveb
left a comment
There was a problem hiding this comment.
There is still one remaining action item
Agent-Logs-Url: https://github.com/msteveb/jimtcl/sessions/0fc9a6b4-ad6a-400c-ae92-a684ddbca93e Co-authored-by: msteveb <188705+msteveb@users.noreply.github.com>
Addressed in 9d0b0a7 with the remaining documentation update in |
jim_tcl.txtcontent around "JIMSH COMMAND INTERPRETER"Changes since 0.83entry forjimsh --interactive