List of activation functions for the neuron is not displayed any more. I gues it happened after update of XFree86 4.2 -> 4.3. After some diging in the source, I found out that the list of functions is loaded properly, but the list control is either not created, or is not resized properly. Reproducible: Always Steps to Reproduce: 1. emerge snns 2. Load some network file (e.g.: snns /usr/share/doc/snns-4.2-r2/examples/xor.net) 3. On the main window click Display and Info buttons. 4. Select some connection between neurons, by draging the mouse from source neuron to destionation with middle mouse button pressed (e.g.: from 1 to 3) 5. In the Info windows select one of the options menus and choose 'change activation function' entry. Actual Results: Window with empty list appears. Expected Results: See window with a list of possible activation functions.
It seems that the problem is somwhere within xgui/sources/ui_mainP.c ui_editPopup function.
Would be nice if you could provide some patch... looks like the package is unmaintained upstream, no release for quite a while. I'll ask on the SNNS mailing list if someone perhaps already has some solution.
Reported the problem upstream, asked on the list. Stay tuned.
No reaction so far :-(
I have some good news and some bad news. Bad news first: snns code is quite a mess, for example it uses lots of static buffers without doing correct size checks. Good news follow: I found out that the problem you mentioned does not happen when you link with libXaw3d instead of libXaw. I also increased some buffer sizes which should make it less likely to crash when entering directories with lots of entries. Please give snns-4.2-r3 a try when it's available with your mirror.