Re: Tkined 1.3.3: Help!

Juergen Schoenwaelder (schoenw@ibr.cs.tu-bs.de)
Tue, 31 Oct 1995 00:03:38 +0100

Hi!

John Banghart <john@success.net> said:

John> I just upgraded to Tkined 1.3.3 and Scotty 2.0.1.
John> Unfortuantely, I can't seem to get the two to work together.
John> I have added the appropriate line in my tkined.defaults file,
John> and have placed that file in EVERY location that tkined is
John> supposed to look for it. Depite this, the "tools" option does
John> not appear when I start tkined.

Please run tkined in debug mode (tkined -debug). You will see a lot of
debug output including something like the following lines:

-- tkined0 attribute interpreter1 (manager.tcl)
# INTERPRETER create manager.tcl > interpreter0
# tkined0:interpreter0 editor tkined0 > tkined0
# tkined0:interpreter0 canvas .tkined0.canvas > .tkined0.canvas
-- tkined0 attribute interpreter2 ()
interpreter0 >> {ined} {size}
# tkined0:interpreter0 ined size > 0 0 1053 744
interpreter0 << ined ok 0 0 1053 744

A short explanation might be useful: The first line shows that tkined0
(this is the first editor view) reads the attribute interpreter1 which
contains the value manager.tcl. The second line shows that a new
INTERPRETER object is created which gets the name interpreter0. The
next two lines are internal operations on the interpreter0 object.
Line number 5 reads the attribute interpreter2 which returns an emtpy
value. This indicates that no more scripts should be started.

Line number 6 shows that the interpreter6 (running manager.tcl) is
sending the command "ined size" to the tkined editor tkined0. The
editor retrieves the size of the drawing area (line 7) and sends it
back to the interpreter in line 8.

It would be interesting to know how your trace differs from the one
shown above.

Juergen