How can an image know it is running headless?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
4 messages Options
Reply | Threaded
Open this post in threaded view
|

How can an image know it is running headless?

jfabry
Hi all,

I would like to know how to know if the image is running in headless mode. Is there an expression I can run in my code to establish that?

TIA,

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile


Reply | Threaded
Open this post in threaded view
|

Re: How can an image know it is running headless?

Henrik Nergaard
MessageBrowser browse: (
        (Symbol selectorTable
                select: [ :s | s includesSubstring: #headless caseSensitive: false ]
        ) flatCollect: [ :s | s implementors ] as: OrderedCollection
).


Best regards,
Henrik

-----Original Message-----
From: Pharo-users [mailto:[hidden email]] On Behalf Of Johan Fabry
Sent: Wednesday, June 22, 2016 11:57 PM
To: Pharo is welcome <[hidden email]>
Subject: [Pharo-users] How can an image know it is running headless?

Hi all,

I would like to know how to know if the image is running in headless mode. Is there an expression I can run in my code to establish that?

TIA,

--
Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .

Johan Fabry   -   http://pleiad.cl/~jfabry
PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile


Reply | Threaded
Open this post in threaded view
|

Re: How can an image know it is running headless?

Sven Van Caekenberghe-2
In reply to this post by jfabry
SmalltalkImage>>#isHeadless ?

> On 22 Jun 2016, at 23:57, Johan Fabry <[hidden email]> wrote:
>
> Hi all,
>
> I would like to know how to know if the image is running in headless mode. Is there an expression I can run in my code to establish that?
>
> TIA,
>
> --
> Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
>
>


Reply | Threaded
Open this post in threaded view
|

Re: How can an image know it is running headless?

Valentin Ryckewaert
Sven is right, is Headless works well :)

2016-06-23 0:25 GMT+02:00 Sven Van Caekenberghe <[hidden email]>:
SmalltalkImage>>#isHeadless ?

> On 22 Jun 2016, at 23:57, Johan Fabry <[hidden email]> wrote:
>
> Hi all,
>
> I would like to know how to know if the image is running in headless mode. Is there an expression I can run in my code to establish that?
>
> TIA,
>
> --
> Does this mail seem too brief? Sorry for that, I don’t mean to be rude! Please see http://emailcharter.org .
>
> Johan Fabry   -   http://pleiad.cl/~jfabry
> PLEIAD and RyCh labs  -  Computer Science Department (DCC)  -  University of Chile
>
>