Hi
the original command to get man doc from Tcl commands in Tcl mode was broken (at least in my system -with Developer Tools installed) I have simplify it to a simpler and working script borrow from the Shell script mode one:
---------------- word=${TM_SELECTED_TEXT:-$TM_CURRENT_WORD}
try_man () { if man n -w "$word" &>/dev/null; then page=$("$TM_SUPPORT_PATH/bin/html_man.sh" n "$word") echo "<meta http-equiv='Refresh' content='0;URL=tm-file://$page'>" exit_show_html fi }
try_man
echo "Couldn’t find documentation in 'man n' for “${word}”" -----------------
- Juan Falgueras
On 30 Apr 2008, at 17:37, Juan Falgueras wrote:
the original command to get man doc from Tcl commands in Tcl mode was broken (at least in my system -with Developer Tools installed) I have simplify it to a simpler and working script borrow from the Shell script mode one:
Is there any reason to actually keep this, instead of just removing it and relying on the command from the Shell Script bundle?
I can imagine for Tcl you’d want to provide the manual section, but doesn’t seem like your command does that.