In article <
[email protected]>, heinrichmartin <
[email protected]> wrote:
...
But what I am really after is: Is there an actual reference manual that lists
everything? I've found pretty complete, reference, documentation for TCL,
but not for Expect.
Probably not the answer you were looking for, but my best source was the >manpage (then the code). And I have detected new aspects in the manpage >after I _thinking_ that I have read it all.
Yeah, that's kind of what I expected. But, as I said, I can tell that
there are options to (e.g.) "expect" that are not documented either in EE
or in the man page. Observe:
expect 1.1> expect --help
Error: bad flag "--help": must be -glob, -regexp, -exact, -notransfer,
-nocase, -i, -indices, -iread, -timestamp, -timeout, -nobrace, or --
expect 1.2>
I know (or can guess) what some of those do, but most of them are not in EE
and at least a few of them are not in "man expect".
On a more cheery note, I did figure out from the above that there was a -timeout flag - which I think is a good thing. I've always thought that it would be a good thing to be able to specify the timeout "on-the-fly"
without having to modify the global variable ("timeout").
Anyway, as you say, reading the source code is always the last resort...
P.S. Incidentally, I don't think I ever actually have read the Expect manpage cover-to-cover. I didn't really realize that it was that sort of manpage (*) until I started researching for making this post (thread). I guess I need
to do that (read it cover-to-cover).
(*) By "that sort of manpage", I mean when you're talking about a
programming language and the manpage is actually the documentation for that programming language. "dmake" is an example of such - the manpage is the language documentation (and it is a very long manpage). It would be funny
if "man gcc" actually told you everything you need to learn the C language
and become a C programmer (heh heh).
--
Prayer has no place in the public schools, just like facts
have no place in organized religion.
-- Superintendent Chalmers
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)