Rick Engebretson wrote:
The EXPECT extension to TCL is made for controlling and communicating with other user specific programs. Pascal user specific programs would be perfect.
TCL was developed at UCBerkeley and Sun. Expect was developed at the US NIST. Nice, stable, well documented, public domain software.
Pascal is the weak link. You are very talented people with GPC. I really appreciate CBFalconer's concerns.
I'm sorry, but your mail is rather vague. I use Pascal (GPC) programs for various purposes all the time, including being called by as well as calling shell scripts or binaries written in other languages etc.
I use expect rather rarely, since for normal tasks, a shell (sh or bash) script seems less overhead and more portable. (And with one slightly more complex expect script, I had problems between expect versions which I never really figured out.) Expect's main use to me is when you need to control pseudo terminals. Anyway, I see no particular problems calling GPC programs from expect scripts.
What exactly are you calling for?
Frank