I've long thought implementing something like TCL expect in Clojure would be a fun project, as far as I know it hasn't been tried (though the google results are drowned out by the Expectations testing library so who knows...).
If I were doing this from scratch I'd start with the Process and ProcessBuilder APIs, or use node child_process API with cljs. core.match might be useful for program interaction dispatch. On Tue, Feb 13, 2018 at 4:42 AM Stephen Feyrer <stephen.fey...@gmail.com> wrote: > Hi, > > I would like to ask, is there a Clojure version of the tlc expect library > or an equivalent? > > Something to launch and control other applications. Specifically I want > to control text based terminal application. Emulating the screen, moving > the cursor around and firing character codes at it? > > Thanks. > > > Stephen Feyrer. > > -- > You received this message because you are subscribed to the Google > Groups "Clojure" group. > To post to this group, send email to clojure@googlegroups.com > Note that posts from new members are moderated - please be patient with > your first post. > To unsubscribe from this group, send email to > clojure+unsubscr...@googlegroups.com > For more options, visit this group at > http://groups.google.com/group/clojure?hl=en > --- > You received this message because you are subscribed to the Google Groups > "Clojure" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to clojure+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Clojure" group. To post to this group, send email to clojure@googlegroups.com Note that posts from new members are moderated - please be patient with your first post. To unsubscribe from this group, send email to clojure+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/clojure?hl=en --- You received this message because you are subscribed to the Google Groups "Clojure" group. To unsubscribe from this group and stop receiving emails from it, send an email to clojure+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.