[Starkit] Swisskit for Mac OS X

Jean-Claude Wippler jcw at equi4.com
Mon Nov 20 19:24:51 CET 2006


On Nov 20, 2006, at 19:12, Jeff Hobbs wrote:

> FWIW, I find this switcheroo:
>
> # . can bring up an X11-based Tk if the "DISPLAY" environment var  
> is set
> # . will use the Tk Aqua shared library instead if "DISPLAY" is not  
> set
>
> To be less than desirable.  I understand the desire at some level,  
> but it
> might not do what users want in all cases.  We played around with  
> something
> like this and found a couple cases where users had shells that set  
> DISPLAY in
> case X11 apps were spawned, but wanted the Aqua Tk.  While you can  
> say "do
> this":
> 	(unset DISPLAY ; swisskit ...)
> it simply defies the "intuitive" aspect in some sense, which is why  
> we decided
> to just dump X11 support (who wants that crappage? ;) ).

Yep - I understand.  Nevertheless: 1) I still prefer X11 for now (a  
matter of time, of course), and 2) you can make your scripts use Aqua  
with an "unset env(DISPLAY)" before the "package require Tk".  IOW,  
it's up to the script/starkit, which I think is useful.

Besides, I like having an exe file in my tool chest which covers all  
cases.

-jcw




More information about the Starkit mailing list