[TxMt] Re: TM hangs while waiting for tm_dialog2

António Afonso antonio.afonso at gmail.com
Mon Jan 26 21:40:00 UTC 2009

> but wait. You're using "$DIALOG" nib --load. The corrected --load
> (together with --dispose) command was introduced after TM build 1496.
> Thus, did you compiled DIALOG2 by yourself?
> Type in an empty line:
> "$DIALOG" help window
> and press CTRL+R. Do you see
> window usage:
> "$DIALOG" window --load «nib» [«options»]
> "$DIALOG" window --update «token» [«options»]
> "$DIALOG" window --wait «token»
> "$DIALOG" window --close «token»
> "$DIALOG" window --list
> if so please try --open instead of --load. The best would be to
> download the Dialog2 stuff (svn co http://svn.textmate.org/trunk/Tools/Dialog/)
>  and compile it again and execute ' "$DIALOG" help window' to see the
> commands.

Are you sure? I thought it was actually the other way around, it was
named window then renamed to nib, I remember updating my scripts
because of that.
I'm using Tools and PlugIns from svn, currently:

Dialog $ sudo svn up
At revision 11142.

Dialog $ svn log Commands/window.mm | head -n 5
r10952 | duff | 2008-12-04 11:11:41 +0100 (Thu, 04 Dec 2008) | 2 lines

?\226?\128?\162 change ?\226?\128?\152window?\226?\128?\153 command to
?\226?\128?\152nib?\226?\128?\153 and make the sub-commands be
--load/--dispose instead of --open/--close.

$ tm_dialog2 help nib
Displays custom dialogs from NIBs.

nib usage:
"$DIALOG" nib --load «nib file» [«options»]
"$DIALOG" nib --update «token» [«options»]
"$DIALOG" nib --wait «token»
"$DIALOG" nib --dispose «token»
"$DIALOG" nib --list

        --model «plist»
        --prototypes «plist»

> --Hans
> _______________________________________________
> textmate mailing list
> textmate at lists.macromates.com
> http://lists.macromates.com/listinfo/textmate

António Afonso

More information about the textmate mailing list