Hi

> I couldn't find any documentation covering this in the webpage. Could you
> please tell me how to adapt a pure TCL/TK script to run in Websh?

If you have a plain Tcl sricpt that works in a CGI environment, it
will also work as-is in Websh. Websh just adds lots of functionality
regarding request handling and other web related stuff.

However Tk scripts are not compatible at all: Tk is a client GUI
framework and your cannot really use it in Websh at all.

(Well that's not quite true: as Websh is basically just an extended Tcl
shell, it could also be used to write a client app with a Tk GUI. But I
understood you wanted to have Websh on the web server side and write
something that renders a Tk GUI in the browser...)

If you want to build an ajax based rich web application, you might
want to consider looking at Aejaks (http://aejaks.sourceforge.net),
which is a Tcl ajax framework that borrows much from Tk (but is not
compatible either...)

hth
Ronnie
-- 
Ronnie Brunner | [EMAIL PROTECTED]
phone +41-44-247 79 79 | fax +41-44-247 70 75
Netcetera AG | 8040 Zürich | Switzerland | http://netcetera.ch

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to