[Mono-list] Re: Mono-list digest, Vol 1 #1815 - 12 msgs

l0ne l0ne@email.it
Fri, 18 Jun 2004 19:32:02 +0200

Il giorno 18/giu/04, alle 19:11, mono-list-request@lists.ximian.com ha 

> Message: 12
> Date: Fri, 18 Jun 2004 13:09:33 -0400
> Subject: Re: [Mono-list] [ann] Mono Starter for OS X
> From: Andy Satori <dru@druware.com>
> To: Elfred Pagan <elfred@gmail.com>, <mono-list@lists.ximian.com>
> Only if X is already running and you have your default Terminal 
> environment
> setup to launch X apps from Terminal.
> Andy

Actually, unless you're not using Apple's X11 or have an esoteric 
configuration on your X server, there's no problem: the exact command 
line executed is

  clear && export DISPLAY=:0.0 && "/path/to/mono" "/path/to/exe.exe" && 
exit 1

(the exit 1 prevents Terminal from closing the window on program 
termination.) The DISPLAY is all that's needed on a factory Apple X11 

Another thing I forgot to mention: this uses Cocoa bindings to store 
and show preferences and as such MIGHT not start on 10.2 and I'm quite 
sure it won't start except in late versions of 10.2 (10.2.6-10.2.8). It 
will work fine on any 10.3 box. The day I'll stop using Apple's 
programmer aids and write real code, it'll work on older 10.2 boxes 

  - e.v. aka l0ne

 Email.it, the professional e-mail, gratis per te: http://www.email.it/f
 Migliaia di prodotti a tua disposizione di Telefonia, Informatica,
* Audio Video, Climatizzazione, Orologi e tantissime offerte on-line…
 Clicca qui: http://adv.email.it/cgi-bin/foclick.cgi?mid=2648&d=18-6