tcl-expect - Automates interactive applications (Tcl package)

Property Value
Distribution Debian 9 (Stretch)
Repository Debian Main i386
Package filename tcl-expect_5.45-7+deb9u1_i386.deb
Package name tcl-expect
Package version 5.45
Package release 7+deb9u1
Package architecture i386
Package type deb
Category interpreters
License -
Maintainer Sergei Golovan <>
Download size 134.68 KB
Installed size 272.00 KB
Expect is a tool for automating interactive applications according to a script.
Following the script, Expect knows what can be expected from a program and what
the correct response should be. Expect is also useful for testing these same
applications. And by adding Tk, you can also wrap interactive applications in
X11 GUIs. An interpreted language provides branching and high-level control
structures to direct the dialogue. In addition, the user can take control and
interact directly when desired, afterward returning control to the script.
This package contains the library and Tcl package Expect.


Package Version Architecture Repository
tcl-expect_5.45-7+deb9u1_amd64.deb 5.45 amd64 Debian Main
tcl-expect - - -


Name Value
libc6 >= 2.11
libtcl8.6 -


Name Value
expectk << 5.45


Type URL
Binary Package tcl-expect_5.45-7+deb9u1_i386.deb
Source Package expect

Install Howto

  1. Update the package index:
    # sudo apt-get update
  2. Install tcl-expect deb package:
    # sudo apt-get install tcl-expect




2017-07-23 - Sergei Golovan <>
expect (5.45-7+deb9u1) stretch; urgency=medium
* Added a patch by Georg-Johann Lay which now properly checks for EOF
and doesn't lose input when there are some characters in the input buffer
and EOF flag happens.
2015-10-23 - Sergei Golovan <>
expect (5.45-7) unstable; urgency=medium
* Applied a few fixes by upstream which were included in Expect 5.45.3
never released as a tarball (closes: #799301).
* Bumped standards version to 3.9.6.
2014-07-14 - Sergei Golovan <>
expect (5.45-6) unstable; urgency=low
* Split the expect package into expect and tcl-expect where the libexpect
library and the Tcl package are moved. Made the tcl-expect package
multiarch same.
* Renamed the expect-dev package into tcl-expect-dev and moved the included
scripts into the main expect package.
* Build expect with Tcl 8.6.
* Use CFLAGS from the dpkg build flags. Fixed potential security bug in
printf format handling.
* Bumped the debhelper compatibility version to 9.
* Bumped standards version to 3.9.5.
2013-11-04 - Sergei Golovan <>
expect (5.45-5) unstable; urgency=low
* Added patch which replaces memcpy my memmove for copying possibly
overlapping memory area, thanks to Per Cederqvist (closes: #728663).
2013-10-06 - Sergei Golovan <>
expect (5.45-4) unstable; urgency=low
* Execute tclsh8.5 instead of tclsh in expect scripts because tcl8.5
will stop providing /usr/bin/tclsh.
2013-05-06 - Sergei Golovan <>
expect (5.45-3) unstable; urgency=low
* Added conflicts header to the debian/control file which ensures that the
no longer existing expectk package gets removed (closes: #686364).
* Switched to 3.0 (quilt) source package format.
* Bumped debhelper compatibility level to 8.
* Bumped standards version to 3.9.4.
* Added hardening linker flags.
2011-11-04 - Sergei Golovan <>
expect (5.45-2) unstable; urgency=low
* Replaced ckalloc() call in exp_clib.c by malloc() because using the
ordinary free() leads to memory corruption after ckalloc() (which is
a macro for Tcl_Alloc()). See patches/22-segfault-with-stubs.patch
for segfaulting examples.
2011-08-17 - Sergei Golovan <>
expect (5.45-1) unstable; urgency=low
* New upstream release.
* Removed unnecessary patches.
* Removed the expectk package because expectk was dropped from the upstream
distribution. See NEWS.Debian for possible workarounds.
* Updated package to standards version 3.9.2 (no changes needed).
2010-10-27 - Sergei Golovan <>
expect ( unstable; urgency=low
* Added patch by upstream which fixes crash during exact string matching
in expect command if the search pattern contains non-ASCII characters.
2010-09-05 - Sergei Golovan <>
expect ( unstable; urgency=low
* Added patch by upstream (proposed by Per Cederqvist) which fixes
slow processing of certain regexp patterns by preventing their
convertation to glob patterns (closes: #591695).
* Don't load Expect package to tclsh 8.4 because it causes a
segmentation fault.
* Updated package to standards version 3.9.1 (no changes needed).

See Also

Package Description
tcl-fitstcl_2.4-3+b1_i386.deb Tcl interface to FITS files
tcl-funtools_1.4.7-1_i386.deb Minimal buy-in FITS library (Tcl interface)
tcl-memchan-dev_2.3+dfsg-1_i386.deb Tcl extension for in-memory channels - development files
tcl-memchan_2.3+dfsg-1_i386.deb Tcl extension for in-memory channels - runtime library
tcl-signal_1.4-4_i386.deb "Signal" extension for Tcl
tcl-snack-dev_2.2.10.20090623-dfsg-6_i386.deb Sound extension to Tcl/Tk and Python/Tkinter - development files
tcl-snack-doc_2.2.10.20090623-dfsg-6_all.deb Sound extension to Tcl/Tk and Python/Tkinter - documentation
tcl-snack_2.2.10.20090623-dfsg-6_i386.deb Sound extension to Tcl/Tk and Python/Tkinter - Tcl/Tk library
tcl-sugar_0.1-1_all.deb Lisp-like macro system for Tcl
tcl-tclex_1.2a1-16_i386.deb Lexical analyzer generator for Tcl
tcl-tclreadline_2.1.0-15+deb9u1_i386.deb GNU Readline Extension for Tcl/Tk
tcl-thread_2.8.0-1_i386.deb Tcl extension implementing script level access to Tcl threading capabilities
tcl-tls_1.6.7+dfsg-1.2_i386.deb TLS OpenSSL extension to Tcl
tcl-trf-dev_2.1.4-dfsg3-2+b1_i386.deb Tcl data transformations - development files
tcl-trf-doc_2.1.4-dfsg3-2_all.deb Tcl data transformations - documentation