bugs in install procedure scotty-2.0.0/tkined-1.3.3

John P. Rouillard (rouilj@dstar.iddis.com)
Thu, 24 Aug 1995 16:52:57 -0400

As usual, the system is solaris 2.3 tkined-4.0 and tk 7.4.

scotty/Makefile.in - dependencies on libraries incorrect resulting in
uneeded compiles during install.

Assumption is made that . is in path, and configure is not
found to remake Makefile

Also configure doesn't pick up any --with-tcl-include
arguments from the cache or status files, so running
./configure doesn't do anything useful in this
instance.

The following diff corrects the first two items.

diff -c -r1.1.1.1 Makefile.in
*** Makefile.in 1995/08/24 17:04:25 1.1.1.1
--- Makefile.in 1995/08/24 18:01:30
***************
*** 140,156 ****

all: scotty scwish ntping

! scotty: libscotty scotty.o
$(LD) -o scotty scotty.o libscotty.a $(TK_LIB) $(TCL_LIB) $(OSIMIS_LIBS) $(MSQL_LIB) $(GDMO_LIBS) $(LIBS)

! scwish: libscotty tkAppInit.o
$(LD) -o scwish tkAppInit.o libscotty.a $(TK_LIB) $(X11_LIBS) $(TCL_LIB) $(OSIMIS_LIBS) $(MSQL_LIB) $(GDMO_LIBS) $(LIBS)

libscotty:
for i in $(SUBDIRS) ; do ( cd $$i; $(MAKE) ) ; done

Makefile: Makefile.in configure
! configure

configure: configure.in
autoconf
--- 140,156 ----

all: scotty scwish ntping

! scotty: libscotty.a scotty.o
$(LD) -o scotty scotty.o libscotty.a $(TK_LIB) $(TCL_LIB) $(OSIMIS_LIBS) $(MSQL_LIB) $(GDMO_LIBS) $(LIBS)

! scwish: libscotty.a tkAppInit.o
$(LD) -o scwish tkAppInit.o libscotty.a $(TK_LIB) $(X11_LIBS) $(TCL_LIB) $(OSIMIS_LIBS) $(MSQL_LIB) $(GDMO_LIBS) $(LIBS)

libscotty:
for i in $(SUBDIRS) ; do ( cd $$i; $(MAKE) ) ; done

Makefile: Makefile.in configure
! ./configure

configure: configure.in
autoconf

### end of diff

tkined/configure -- When you use the argument --with-gcc, the variable
use_gcc is set, but the variable that should be set is trygcc.
the following diff fixes it.

diff -c -r1.1.1.1 configure
*** configure 1995/08/24 17:19:51 1.1.1.1
--- configure 1995/08/24 17:38:57
***************
*** 424,430 ****
# Check whether --with-gcc or --without-gcc was given.
withval="$with_gcc"
if test -n "$withval"; then
! use_gcc=1
fi

if test "$trygcc" = 1 ; then
--- 424,430 ----
# Check whether --with-gcc or --without-gcc was given.
withval="$with_gcc"
if test -n "$withval"; then
! trygcc=1
fi

if test "$trygcc" = 1 ; then

In the menu icon/network component/switch shows the default ? box
icon. Is there supposed to be a switch icon?

Also, is there some way to warn about conflicts in the tkined.defaults
files? I had multiple tkined.node38's. One was in the changed
tkined.default and one was in my tkined.defaults. Also some
mechanism for recording the highest numbered node would be
useful so that there could be gaps in the numbering
scheme. This would allow site specific icons to begin at say
1000 and default provided icons to begin at 1. As it currently
stands, I can't use the same tkined.defaults file with
previous versions of tkined since the numbering has gaps.

The icon/colors menu is working again under 1.3.3, as is group icon
placement and saving group icons.

On the snmp set parameters (from snmp trouble for example) "list alias" is
spelled "list aliase".

The help text is out of sync with the menu items on the tools menu,
and possibly others as well.

There is no way to remove a torn off menu (created by selecting the
------- item). You should add a menu item to the bottom of the menu to
allow the torn off menu to be closed.

When using Alt-W to close a log window (as opposed to using the pull
down menu), I get:

bad window path name ".tkined0.log0"
while executing
"winfo class $w"
invoked from within
"while {[winfo class $w] == "Menu"} {
set w [winfo parent $w]
}"
(procedure "tkTraverseToMenu" line 5)
invoked from within
"tkTraverseToMenu .tkined0.log0 w"
(command bound to event)

In the IP-monitor/modify/monitor/job:suspend it doesn't work and gives
rise to the error:

unknown status "suspend": should be suspended, waiting, running, or expired
while executing
"$jobid status suspend "
invoked from within
"if {$jobstat == "suspend"} { $jobid status suspend }"
(procedure "MoJoModify" line 66)
invoked from within
"MoJoModify"
(procedure "Modify Monitor Job" line 2)
invoked from within
"{Modify Monitor Job} {{NODE node47 mf1 159.220.37.68 0 {link39 link39 link61 link65}}}"

I think changing { $jobid status suspend } to { $jobid status
suspended } does the trick. At least suspended stays
highlighed from one invocation of modify job to the next.

How do I set syslog style reporting on by default for *monitor applications?
Also, is there a way to set syslog reporting on for just some
jobs in an IP/SNMP monitor?

I would still suggest binding close view on the popup log messages
and close view on the main tkined canvases to different
keys. On slow machines with lots of popups, it is still
possible to clobber the entire tkined with one too many
keypresses.

Lastly, when printing on letter size paper, it seems to resize the
canvas properly so that all of the icons are placed inside the papaer
border, but I have some text near the edge that keeps being
cut off. This may be a canvas bug and not a tkined bug, but I
thought I'd mention it anyway.

Also, there is a wierd interaction between the popup error dialogues
and posted (not detatched) menus. When a menu pops up, it is
always on the top of the window stack, and there doesn't seem
to be any way of getting on top of it. when a popup dialog box
comes up underneath the menu, the menu is insensitive as is
the top menu bar. This means that the menu can't be dismissed,
and therefore the ok button on the dialogue can't be clicked
on since it is obscured by the menu. Is the popup doing a grab
of some sort? I was able to move the dialogue box out from
under the menu using my window manager, but it was still
annoying since the dialogue is a transient, and my wm (tvtwm)
doesn't decorate transients.

Well that's all for now. More as I find them.

-- John
John Rouillard

Senior Systems Administrator IDD Information Services
rouilj@dstar.iddis.com Waltham, MA (617) 890-7227 x337
(617) 487-3937 (Direct)
Senior Systems Consultant (SERL Project) University of Massachusetts at Boston
rouilj@cs.umb.edu (preferred) Boston, MA, (617) 287-6480
===============================================================================
My employers don't acknowledge my existence much less my opinions.