summaryrefslogtreecommitdiff
path: root/expect/expectk.man
diff options
context:
space:
mode:
Diffstat (limited to 'expect/expectk.man')
-rw-r--r--expect/expectk.man42
1 files changed, 42 insertions, 0 deletions
diff --git a/expect/expectk.man b/expect/expectk.man
new file mode 100644
index 00000000000..b8c71273abd
--- /dev/null
+++ b/expect/expectk.man
@@ -0,0 +1,42 @@
+.TH EXPECTK 1 "15 February 1993"
+.SH NAME
+expectk \- Expect with Tk support
+.SH SYNOPSIS
+.B expectk
+[
+.I args
+]
+.SH INTRODUCTION
+.B Expectk
+is a combination of Expect with Tk. (See their respective man pages for a more comprehensive explanation
+of either.)
+.B Expectk
+should run any
+.B wish
+or
+.B Expect
+script (with minor changes - see below).
+.PP
+The differences between the Expectk and Expect environment follows.
+.PP
+The
+.B send
+command is Tk's. Expect's
+.B send
+command can be invoked by the name
+.BR exp_send .
+(For compatibility, Expect allows either
+.B send
+or
+.B exp_send
+to be used.)
+.PP
+Scripts may be invoked implicitly on systems which support the #! notation
+by marking the script executable, and making the first line in your script:
+
+ #!/usr/local/bin/expectk \-f
+
+Of course, the path must accurately describe where
+.B Expectk
+lives. /usr/local/bin is just an example.
+