Re: Packages and Expect



On Apr 29, 10:35 pm, "Tom Conner" <tcon...@xxxxxxxxxx> wrote:

Is there any way to "package require expect" so that I don't have to worry
about the path to the .so file?

Figuring out what kind of case that the developer used for an
extension is one of the challenges of the community. I tend to do
this:

$ tclsh
% package require Tryit
can't find package Tryit
% package require tryit
can't find package tryit
% package require TryIt
can't find package TryIt
% ^D
$ cd /path/where/I/Installed/tryit
$ less pkgIndex.tcl

and then I look to see if I can figure out what name is being used.
The ones that always get me are bwidgets (which for some reason is
BWidget) and tclx (which is Tclx, but which has the man page of TclX).




.