3 ms·
How does this relate to classic tools like `expect`?
by Y_Y 2y ago
How does this relate to classic tools like `expect`?
- yjftsjthsd-h 2y agoFor one, this looks like a client/server model instead of one program directly controlling another.
- blueflow 2y agoAlso there is script(1).
- Zambyte 2y agoI don't think you can reasonably use expect with TUIs, but you can use this with TUIs.
- ComputerGuru 2y agofish-shell does for its integration tests, and yes, it’s brutal :)
- andyk 2y agoI tried to contrast to `expect` in a couple of my other responses, but yeah this is my sense too after looking briefly at `expect` - that ht always transparently sets up a terminal for you under the hood and you interact with that so you can always grab a screenshot of any terminal UI. I don’t think `expect` is targeted at this use case (though I am only learning about `expect` right now so could be wrong)
- xuhu 2y ago"getView command allows obtaining a textual view of a terminal window."
- deleted 2y ago[deleted]