The errors don't happen if the characters are escaped; that works for '$', which can be escaped as '\x24'. However, the escape sequence for '[' would be '\x5B', and neither the interpreter nor the compiler seem to be able to handle that--they think it's the beginning of ... a list? Anyway, if you try to use '\x5B', Chicken waits for whatever-it-is to end, and of course it doesn't end. I suppose in principle one could use '\u005B', but my build of Tk doesn't seem to support Unicode escapes. I suspect that is the case with many stock Tcl/Tk installations. And I want my package to be easy to install, so people shouldn't have to compile Tk in order to use it.
Very unfortunate for me, since I was developing a file manager with an internal file viewer, so it needed to be able to load arbitrary files into a text widget; most directory listings are not a problem, but I happen to have tested the app on /usr/bin, which contains the file name "[".
In case it makes a difference, I have
Chicken 1.89
latest chicken/tk (? I guess--just installed with chicken-setup a
few days ago)
Tcl/Tk 8.4.9
... on Linux.-- Matt Gushee Englewood, CO, USA
_______________________________________________ Chicken-users mailing list [email protected] http://lists.nongnu.org/mailman/listinfo/chicken-users
