espressomd-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ESPResSo-devel] Tcl interpreter changed?


From: Olaf Lenz
Subject: Re: [ESPResSo-devel] Tcl interpreter changed?
Date: Tue, 03 Jul 2007 14:24:19 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.8.1.4) Gecko/20070604 Thunderbird/2.0.0.4 Mnenhy/0.7.5.666

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello!

I have had a look at the "tclline.tcl" file, and I located the problem
in lines 133 and 134:

            set col [expr {$cursorLen % $env(COLUMNS)}]
            set row [expr {$n + ($cursorLen / $env(COLUMNS)) + 1}]

The environment-variable "COLUMNS" is most probably only defined on
Linux systems. This is not very nice. In general, the code seems to rely
on a number of Linux-specific features.
As stated in the file, the code originates from the Tcl wiki at
http://wiki.tcl.tk/. After I have done some reading on the page, it
seems to me that the copyright status of the code is not completely
clear. Although very improbable, in theory, one of the contributors
might sue us for copyright infringement if we simply put it into
ESPResSo. I know, this is annoying and not in the spirit of the thing,
but still, the legal status is unclear.

I would vote to look for a better replacement. In principle, there is a
real Tcl readline[1] package that we could incorporate into ESPResSo.
However, this would require us to generally check how the Tcl/Tk
interpreter of ESPResSo can be extended with additional packages.

Olaf

References:
[1]http://wiki.tcl.tk/12192 or
http://tclreadline.sourceforge.net/tclreadline.html
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGij/ytQ3riQ3oo/oRArF/AJ9ns877k0PZJRjihMGAPXY32jqNiACfUAzw
qVUu5O/+Zkxl25o6Zs4K8Gk=
=/YBb
-----END PGP SIGNATURE-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]