SUMMARY: expect and tcl

From: Coffindaffer, Virginia@MacPO1 (Virginia@MacPO1)
Date: Fri Jan 03 1997 - 16:31:00 CST


Original Question:
 Does anyone have a compiled version of "expect" that will run on
Solaris
2.5.1 ? My hardware is SC2000. I cannot get the "Makefile" to compile
the
expect program.

Thanks to LOTS of people:
Dave McFerren
Matthew Stier
Colin Wynne
Deepak Vaidya
Tim Carlson
Karl Vogel
Kevin Sheehan
Martin Huber
dengland@ivac.com
Peter Schmitt - yes, I have tcl.
Jack Reiner

I pulled first the source and had a couple of mistakes in my Makefile
but I
finally compiled both tcl and expect. "expect" needs "tcl" language.
Then,
Dave McFerren, indicated I could get the binary programs, tcl and
expect,
from
 http://sunsite.unc.edu/pub/solaris/sparc
I downloaded the gzip file and then untarred it and Volia - I had a
second
copy of expect and tcl that worked on both Solaris 2.4 and 2.5.1.

I needed the expect program to input answers to a disk to disk
ufsdump/ufsrestore that I wanted to run at night unattended. This
"expect"
program is so neat. Just a couple lines of code.
By the way, using "<< EOF" as standard input to ufsdump/ufsrestore does
not
work. Also, the "r" argument on ufsrestore is not acceptable. The best
way
to get input to ufsdump/ufsrestore is using expect with tcl.

Thanks everone.

coffindv@wangfed.com



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:11:42 CDT