I had a similar problem. On FreeBsd I couldn't access bwidgets. And I
require Expectk as well. I tried to setup the appropriate statements
at the very top of app.tcl. But Vtcl knew they don't belong there
and threw them out again. Thus i created a wrapper script which
sources the application released by Vtcl.
#!/bin/sh
# umask 002 \
umask 002
# the next line restarts using wish\
exec wish8.3 "$0" "$@"
if [file isdirectory /usr/opt/vtcl-1.6.0a3/lib/bwidget] {
lappend auto_path /usr/opt/vtcl-1.6.0a3/lib/bwidget; # for Freebsd
}
package require Expect
source $argv0.tcl
This works for me except one caveat. I can't set the applications
icon in Icewm.
-Hanspeter
-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
vtcl-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/vtcl-user