IUBio

'Help' not working in v2003

Kent K kek01 at yahoo.com
Mon Nov 3 04:10:35 EST 2003


I am posting a reply (can't directly since is to a msg >1 month old)
to an individual who had a problem getting help to work on a Mac, OS
X.

I had the same problem after installing v2003.0b1 on windows NT, and
have just now found the problem.  I think this may solve the problem
as well for Mac OS since the procedures I noticed that were involved
seem to apply.

To fix this go to your staden package directory, lib directory, then
tk_utils directory.  In here you should find a file named 'tclIndex'. 
In it search for all the lines shown below that have a '#' in front of
them below (they shouldn't be preceded by one yet).  Then type a '#'
in front of each line as shown below.  Lastly, insert the two lines
below, as shown, that do not have a '#' sign preceding them. 
Basically, this will allow gap4 and pregap4 to call the right
procedures so that the help is displayed.

#set auto_index(show_help) [list source [file join $dir help_ext.tcl]]
#set auto_index(show_help) [list source [file join $dir help_int.tcl]]
#set auto_index(show_help) [list source [file join $dir
help_windows.tcl]]
#set auto_index(show_help) [list source [file join $dir
help_macosx.tcl]]
#set auto_index(show_help) [list source [file join $dir
help_netscape.tcl]]
#set auto_index(show_url) [list source [file join $dir help_int.tcl]]
#set auto_index(show_url) [list source [file join $dir
help_windows.tcl]]
#set auto_index(show_url) [list source [file join $dir
help_macosx.tcl]]
#set auto_index(show_url) [list source [file join $dir
help_netscape.tcl]]
set auto_index(show_help) "[list source [file join $dir
help_choose.tcl]]; load_help_system {$dir}"
set auto_index(show_url) "[list source [file join $dir
help_choose.tcl]]; load_help_system {$dir}"


Note:  the last two set statements should each be a continuous line.
..they may wrap but don't put a carriage return after the ';'.

Hope this helps.  Anyone out there using v2003.0b1?  Anyone using it
on windows OS?

Kent




More information about the Staden mailing list

Send comments to us at biosci-help [At] net.bio.net