>
> Grant Edwards writes:
> >
> > I just built and installed 3.99.1 under Solaris 2.5.1, and the following
> > script works under 3.1.1 but not 3.99.1
> >
> > (define s "hi there")
> > (pack (entry '.e :textvariable 's))
> >
> > Under 3.1.1 the entry widget displays "hi there" and allows me to edit the
> > string -- and if the variable s is changed, that change is reflected in the
> > entry widget.
> >
> > Under 3.99.1 the widget displays "s" and doesn't allow it to be changed.
> >
> This little program works on my Linux box with the correct behaviour (i.e.
Yes, it works, but it should not...
> the 3.1.1 one). I cannot test from here on Solaris but will try asap
>
> > What did I do wrong?
>
> Perhaps you have something (e.g. a resource) which sets the entry in disabled
> state. Just an idea.
... no, it's not the state: In the file tcl-glue.c the function
"char *STk_tcl_getvar(char *name, char *env)" does not return
a value. Patch it...
$ diff tcl-glue.c.orig tcl-glue.c
192c192
< STk_convert_for_Tcl(V, &dumb);
---
> return STk_convert_for_Tcl(V, &dumb);
... and it works under Solaris. I do not know why it works without patch
on Linux? Perhaps the Linux-Kernel is more intelligent and finds little
errors like this ;-)
>
>
>
> -- Erick
Thomas
--
****************************************************************************
INSTITUT FUER APPARATEBAU UND ANLAGENTECHNIK Dipl.-Ing. Thomas Buerger
TECHNISCHE UNIVERSITAET CLAUSTHAL Tel.: (49)5323/953-412
Am Regenbogen 15 Fax.: (49)5323/953-499
D-38678 Clausthal-Z. (Germany) Email:thomas.buerger_at_tu-clausthal.de
Schwerpunkt: Einsatz der Nahbereichsphotogrammetrie im Anlagenbau.
Project: Application of close-range-photogrammetry in plant engineering.
*************************************************** FIAT LinUX ;-) *********
Received on Sat May 16 1998 - 14:53:36 CEST