Ok, the other possibility is that it's doing a substring search on some versions of tclsh. Try this:

[EMAIL PROTECTED]:~> tclsh
% proc foo_bar {} { return 3 }
% foo_bar
3
% info commands foo_bar
foo_bar
% info commands foo
%

Tell me if you get different results.

-Kevin Ballard

On Jan 5, 2008, at 7:47 PM, Chris Janton wrote:

On 2008-01-05 , at 17:36 , Kevin Ballard wrote:

I think I must have misinformed you. Do not put the square brackets around the command when typing it at the tclsh prompt.

% info commands ui_channels

Try just doing that.


[EMAIL PROTECTED]:face:120 $ sw_vers
ProductName:    Mac OS X
ProductVersion: 10.4.11
BuildVersion:   8S2167
[EMAIL PROTECTED]:face:121 $ which tclsh
/usr/bin/tclsh
[EMAIL PROTECTED]:face:122 $ tclsh
% info commands ui_channels
% [EMAIL PROTECTED]:face:123 $

[EMAIL PROTECTED]:admin:121 $ sw_vers
ProductName:    Mac OS X Server
ProductVersion: 10.3.9
BuildVersion:   7W98
[EMAIL PROTECTED]:admin:122 $ which tclsh
/opt/local/bin/tclsh
[EMAIL PROTECTED]:admin:123 $ tclsh
% info commands ui_channels
% [EMAIL PROTECTED]:admin:124 $ /usr/bin/tclsh
% info commands ui_channels

house54 1 # sw_vers
ProductName:    Mac OS X
ProductVersion: 10.3.9
BuildVersion:   7W98
house54 2 # which tclsh
/usr/bin/tclsh
house54 3 # tclsh
% info commands ui_channels

house58 1 # sw_vers
ProductName:    Mac OS X
ProductVersion: 10.5.1
BuildVersion:   9B18
house58 2 # which tclsh
/usr/bin/tclsh
house58 3 # tclsh
% info commands ui_channels
% house58 4 #

8)
----------------------------------
Chris Janton  - face at CentosPrime dot COM
Netminder for Opus1.COM



--
Kevin Ballard
http://kevin.sb.org
[EMAIL PROTECTED]
http://www.tildesoft.com


_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo/macports-users

Reply via email to