Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

9
  • 4
    In fact, the use of a pty to connect to interactive processes is true of expect in general. Commented Jun 17, 2009 at 7:58
  • 25
    When pipelining calls to unbuffer, you should use the -p argument so that unbuffer reads from stdin. Commented Oct 6, 2009 at 20:18
  • 36
    Note: On debian systems, this is called expect_unbuffer and is in the expect-dev package, not the expect package Commented Jan 24, 2011 at 11:14
  • 5
    @bdonlan: At least on Ubuntu (debian-based), expect-dev provides both unbuffer and expect_unbuffer (the former is a symlink to the latter). The links are available since expect 5.44.1.14-1 (2009). Commented Apr 11, 2013 at 13:00
  • 3
    unbuffer is in the main expect package on debian now (it's still a symlink to expect_unbuffer, which is also in the main expect package) Commented Nov 4, 2015 at 23:50