Errata

Tcl/Tk in a Nutshell

Errata for Tcl/Tk in a Nutshell

Submit your own errata for this product.

The errata list is a list of errors and their corrections that were found after the product was released.

The following errata were submitted by our customers and have not yet been approved or disproved by the author or editor. They solely represent the opinion of the customer.

Color Key: Serious technical mistake Minor technical mistake Language or formatting error Typo Question Note Update

Version Location Description Submitted by Date submitted
Printed Page 11
Under "Pattern Globbing", the syntax {a,b,...} does not appear to apply

to Expect (I don't know if it works for Tcl).

Perhaps it would be a good idea to have a pointer in the Expect chapter to the
description of regular expressions and pattern globbing, since it is so
important to Expect.

Anonymous   
Printed Page 136
wm resizeable window

the paragraph describes how to use wm resizeable window [widthBool
heightBool]. The error is with the "e" in resizeable it should be
resizable no "e". When I tried it with the "e" I recieved the following
error "Error: unknown or ambiguous option
"resizeable": must be aspect, client, command..."

Anonymous   
Printed Page 183
expect

This entry is missing mention of the "-notransfer" option.

This option is described on page 154 of the book "Exploring Expect"
(11/96 edition).
Other missing options are: -indices (not sure if option -brace really
exists -- if it does, then it should also be listed as an option to the
interact command).

(Note: see pp. 531-536 of "Exploring Expect" for an accurate list of all
commands options.)

Anonymous   
Printed Page 184
the options are completely incorrect for the commands

expect_after, expect_background, expect_before. The options for each of
these commands are the same:
- -all, -info, -noindirect . The verbiage for expect_background and
expect_before should say that the options are the same as for the expect_after
command.

Anonymous   
Printed Page 190
command stty is missing options: < ttyname, raw, -raw, cooked, -cooked,

echo, -echo, rows [#], columns [#]. It also takes the same options as the stty
shell command (in addition to those explicitly listed in the last sentence).

Anonymous   
Printed Page 192
command trap is missing option -number.

Anonymous   
Printed Page 192
Under the wait description, it omits explaining that "wait -i -1" will

clean up a zombie child created by fork (I spent a lot of time trying
workarounds before I realized this). Also, it should say "the current spawned
process is waited for" rather than "the current process is waited for".

Anonymous