
Exploring expect
by Don Libes · first published 1994
6mentions
2recommended by
3HN commenters
2015–2022first – last mentioned
67% recommend33% neutral
Affiliate links. As an Amazon Associate I earn from qualifying purchases.
…experimenting with using Tcl as a basis for rapid prototyping and testing[4] of services and service compositions built with docker and docker-compose[5]. It would be awesome if O'Reilly would consider making Exploring Expect[1] an Open Book[3] – it's an "oldie but goodie"! [1] http://shop.oreilly.com/product/9781565920903.do [2] http://shop.oreilly.com/product/9780123847171.do [3] http://www.oreilly.com/openbook/ [4]…
on “Topics in Tcl Programming” ↗Expect is still pretty nice: http://www.nist.gov/el/msid/expect.cfm Exploring Expect by Don Libes, the principal author of Expect, is a classic among tech books: http://shop.oreilly.com/product/9781565920903.do
on “FireTcl: Tcl embedded in Firefox browser” ↗Don Libes' Exploring Expect[1] is a devops classic (if there is such a thing). Highly recommended for those wondering what Tcl is (still) good for! It would be nice if O'Reilly would make the text (completely) freely accessible[2],…
on “Tcl/Tk 8.6.6 Released” ↗Don Libes' Exploring Expect[1] is a devops classic (if there is such a thing). It would be nice if O'Reilly would make the text (completely) freely accessible[2], as they have done with some of their other older titles[3]. See…
on “Don Libes' Expect: A Surprisingly Underappreciated Unix Automation Tool” ↗For those seeing "Expect" and not knowing what's going on: https://en.wikipedia.org/wiki/Expect One of Tcl's first "killer apps". Don Libes' (creator of Expect) book "Exploring Expect" is also one of those technical masterpieces that are very enjoyable, entertaining technical reads. Recommended if only for the discussions of terminals and interactive i/o. [edit: typo/punctuation]
on “Using Pseudo-Terminals to Control Interactive Programs (2010)” ↗…interface.) The solution is to either 1) explicitly drive telnet to kill itself (i.e., a graceful logout) followed by "expect eof" or 2) "exec kill" as you are doing. This is described further in Exploring Expect beginning on page 103. Don
on “How stdbuf works” ↗