tcl/expect for Pen.el – automating complex terminals
Summary
I add tcl/expect to Pen.el and provide a DSL to automate the terminal using expect.
The plan is to automate tmuxified and codexified terminals using expect, generated expectations and automated generated input (send).
Demo
pet
starts emacs’term
inside the docker containerpen-x
is the expect DSL
The following command runs the expect DSL
inside of emacs term
. It wraps bash and then
automates some input.
|
|
Thanks for reading!
If this article appears incomplete, it may be intentional. Try prompting for a continuation.
If this article appears incomplete, it may be intentional. Try prompting for a continuation.