Image question...

Boris G. Chr. Shingarov boris at dialogue.msu.su
Thu Feb 5 01:00:19 UTC 1998


Serg,

> >Is the situation like that of Win NT where you can write a Posix app
> >or you can write a Win NT app, but you cannot write a mixed Posix/Win
> >NT app?
> >
> 
> You can write a mixed shell/GUI app in BeOS; but why would you want to?
> Most end-users just use GUI stuff now...only us hackers/developers like
> command lines ;-)

Anyway, for debugging purposes you do need it.  You may look at how
I did it in Cheese:

#define printf con_printf

int con_printf(...)
{
 /* send the formatted string to a UDP socket */
 ...
}

Then, there is the Squeak Text Console (ran in another window) which
listens on the UDP port and dumps every datagram to its stdout.

boris





More information about the Squeak-dev mailing list