| 1 | .TH EXPECTK 1 "15 February 1993" |
| 2 | .SH NAME |
| 3 | expectk \- Expect with Tk support |
| 4 | .SH SYNOPSIS |
| 5 | .B expectk |
| 6 | [ |
| 7 | .I args |
| 8 | ] |
| 9 | .SH INTRODUCTION |
| 10 | .B Expectk |
| 11 | is a combination of Expect with Tk. (See their respective man pages for a more comprehensive explanation |
| 12 | of either.) |
| 13 | .B Expectk |
| 14 | should run any |
| 15 | .B wish |
| 16 | or |
| 17 | .B Expect |
| 18 | script (with minor changes - see below). |
| 19 | .PP |
| 20 | The differences between the Expectk and Expect environment follows. |
| 21 | .PP |
| 22 | The |
| 23 | .B send |
| 24 | command is Tk's. Expect's |
| 25 | .B send |
| 26 | command can be invoked by the name |
| 27 | .BR exp_send . |
| 28 | (For compatibility, Expect allows either |
| 29 | .B send |
| 30 | or |
| 31 | .B exp_send |
| 32 | to be used.) |
| 33 | .PP |
| 34 | Scripts may be invoked implicitly on systems which support the #! notation |
| 35 | by marking the script executable, and making the first line in your script: |
| 36 | |
| 37 | #!/usr/local/bin/expectk \-f |
| 38 | |
| 39 | Of course, the path must accurately describe where |
| 40 | .B Expectk |
| 41 | lives. /usr/local/bin is just an example. |
| 42 | |