Share

Expect

Code

Programming Languages: C, Tcl

License: Public Domain

Repositories

browse code, statistics, last commit on 2009-11-03 cvs -d:pserver:anonymous@expect.cvs.sourceforge.net:/cvsroot/expect login

cvs -z3 -d:pserver:anonymous@expect.cvs.sourceforge.net:/cvsroot/expect co -P modulename

Show:

What's happening?

  • expectk doesn't source .expect.rc

    Looks like expectk doesn't source local and global rc files. It happens both for CVS (with patch from 2585764, otherwise it doesn't start at all) and for older releases (e.g. 5.43.0). expectk -help returns the following among other info: -norc: Don't read ~/.expect.rc -NORC: Don't read system-wide expect.rc so, rc files should be sources. The attached patch moves my_rc and sys_rc...

    2009-11-11 19:19:00 UTC by teopetuk

  • Expect

    andreas_kupries committed patchset 489 of module expect to the Expect CVS repository, changing 1 files.

    2009-11-03 23:43:22 UTC by andreas_kupries

  • Comment: Identical issue to bug #2891422

    Fixed as well, now. Staying at version .15. Checked remainder of exp_error calls, they seems to be good.

    2009-11-03 23:39:16 UTC by andreas_kupries

  • Identical issue to bug #2891422

    As in Bug #2891422 % spawn -ignore foo pwd usage: -ignore : unknown signal name.

    2009-11-03 23:37:02 UTC by eee

  • Expect

    andreas_kupries committed patchset 488 of module expect to the Expect CVS repository, changing 2 files.

    2009-11-03 23:30:05 UTC by andreas_kupries

  • Comment: Wrong error message from "spawn" command

    Fix committed to head. Bumped to 5.44.1.15 Tcl_Obj* used argument for %s :( Replaced with correct char* typed variable.

    2009-11-03 19:28:56 UTC by andreas_kupries

  • Expect

    andreas_kupries committed patchset 487 of module expect to the Expect CVS repository, changing 4 files.

    2009-11-03 19:27:58 UTC by andreas_kupries

  • Wrong error message from "spawn" command

    Using Expect version 5.44.1.14, observed on AIX 5.3 and Solaris 9. # /usr/local/ActiveTcl/bin/tclsh % package req Expect 5.44.1.14 % spawn "ls -l /usr/bin" spawn ls -l /usr/bin couldn't execute "": no such file or directory % As you can see, the thing that spawn is saying it couldn't execute is "", instead of "ls -l /usr/bin".

    2009-11-03 18:59:21 UTC by eee

  • Followup: RE: Automatic remote files copy

    Can you try creating the script differently? Instead of having a bash script use expect to do this, make an expect script to do it. Have expect open the text file of logins and passwords, have expect loop through them and copy the files.

    2009-10-28 19:45:58 UTC by ender21014

  • Automatic remote files copy

    Hello, i want to copy a file from various accounts on a server, and save each file in differents directories.Then i write a bash script : <pre><code>#!/bin/bash FILE=$1 HOST=$2 IFS=: while read LOGIN PASS do mkdir $LOGIN expect -c " spawn scp $LOGIN@$HOST:programas/$FILE $LOGIN/$FILE expect { "*password:*" { send $PASS\r\n; interact }.

    2009-10-28 00:40:35 UTC by nokye

Our Numbers