version 0.9i of tkined and scotty available

Juergen Schoenwaelder (schoenw@logic)
Tue, 19 Jul 94 22:17:13 +0200

Hi!

Another snapshot of my tkined and scotty sources is available:

ftp.ibr.cs.tu-bs.de [134.159.34.15]

/pub/local/tkined/tkined-0.9i.tar.gz
/pub/local/tkined/scotty-0.9i.tar.gz

Below are the relevant parts of my ChangeLog files. As usual, please
report all bugs and problems with the installation or use of this
software either on the list or directly to us.

Juergen

tkined:

* For every trace written to an interpreter we call tk's
update command to process incoming ined queue messages.
This is *very* slow but I don't know how to fix this
problem without changing the protocol.

* Added a check to expand() to ignore unnecessary calls
to methods that won't change anything.

* Removed trace_s() and trace_sl() and rewrote the trace()
function. This is the generic solution.

* Added some new functions trace_s and trace_sl to write
trace messages with appended strings and appended lists
correctly by using DStrings.

* Labels written to the text attribute of objects are
stored when a map is dumped.

* Changed some dump functions to append proper list
elements. This solves some problems with strings
containing quote characters.

* Changed the dump functions to save the data stored in
strip- or barcharts. This allows me to connect to a
tkined editor and download the current status.

* Objects can now be alligned on a grid using two new
commands: 'Set Grid Spacing' and 'Align to Grid'.
(I can't remember how I lived without them :-)

* Added a width and height attribute to tkined.defaults
that defines the initial size of the tkined window.

* There is a new ined command that generates a sequence
of tcl statements to rebuild an arbitrary object. The
syntax is `ined dump <id>' and returns a single line.
The contents is the same as used to write tkined map
files.

* Added a -notrace option to the ined commands.

* Replaced some calls to Tcl_Eval by calling the C function
directly. Also added lappend() and ldelete() to make list
handling of object references faster.

* The semantic of the ined send command was broken. If called
without further arguments, e.g. ined send foobar, tkined
appended the list of currently selected objects automatically.
This is not what we expect from it. Changed m_send().
*** POTENTIAL INCOMPATIBILITY ***

* Added a wrapper xwrite() to replace write() calls
with a more fail save version needed by some ugly
machines.

* Added a scale command to the edit menu to set the scale
factor used by strip- and barcharts. Also fixed a bug
in the scale tool which scaled always down to the maximum
value of a strip- or barchart.

* Chanced the ined restart command. New commands will be replaced
instead of appending them. A call without any arguments returns
the current list. This allows an application to add and remove
entries as it prefers.
*** POTENTIAL INCOMPATIBILITY ***

scotty:

* Renamed the directory with the MIB files from scotty-mib to
scotty. Please remove your old scotty-mib directory if you
don't use older versions anymore.

* Added an 'rcp info' command that is similar to the
'tcp info' and 'udp info' commands.

* Rewrote the icmp command and the RPC mechanism to use
read() and write() system calls instead of FILE operations.
This makes scotty run correctly on HPUX machines.

* Made stdin unbuffered when running in ined mode. This
makes the communication script running synchronous.

* Fixed a bug in the event / job handler which delayed
job starts. This lead to a race condition in event.c.

scripts:

* manager.tcl
Merged the usable contents of comm.tcl to manager.tcl and
removed comm.tcl. I also cleaned up the communication code
to allow downloading of maps.

* snmp_browser.tcl, snmp_monitor.tcl, snmp_trouble.tcl
Merged the two MIB browsers in snmp_monitor.tcl and
snmp_trouble.tcl back to a single one. Selecting a
variable for monitoring just starts a news snmp monitor
and starts the variable on all selected hosts.

* snmp_monitor.tcl, ip_monitor.tcl
Added a proc save that appends a new command to the
restart command list of tkined.

* snmp_trouble.tcl
Changed the ping command to write all nodes that answer to
snmp requests in the log window similar to the find commands
of ip_discover.tcl.

* ip_discover.tcl
Fixed another bug in the gateway merge phase. We now prefer
the gateway record with the most interfaces.

* library.tcl
Added two new procs SnmpGet and SnmpGetBulk as a replacement
to snmp get and snmp getbulk. The idea is to replace all
direct snmp calls with library calls that will make
transition to snmpV2 easy.

* snmp_trouble.tcl
Added "Udp Listener" command and added the ipRouteMask
to the "Routing Table" command (thanks to Erik).

Juergen