[TxMt] DIALOG1 or DIALOG2

Allan Odgaard throw-away-2 at macromates.com
Thu May 1 10:06:55 UTC 2008


On 29 Apr 2008, at 10:46, Hans-Joerg Bibiko wrote:

> what is the best way to detect whether only DIALOG1 is available or  
> DIALOG2?
>
> Up to now I would do this by checking whether the shell variable  
> DIALOG_1 is set. If yes I can use DIALOG2 features, if not I have to  
> use DIALOG1 syntax.

Just for the archive, we talked briefly about this on IRC, and there  
is no real good way, but testing for the presence of the DIALOG_1  
variable at least works for now.




More information about the textmate mailing list