[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: TkExtra -- Swarm App w/o X
From: |
Anne Baretta |
Subject: |
Re: TkExtra -- Swarm App w/o X |
Date: |
Mon, 27 Jul 1998 08:56:33 +0000 |
Hi,
You can easily modify main.m to always run in batchmode, disabling the
following which starts the ObserverSwarm, and make it start the
BatchSwarm instead.
if (swarmGUIMode == 1)
{
// We've got graphics, so make a full ObserverSwarm to get GUI objects
printf("Create prprobserverSwarm.\n");
prprobserverSwarm = [PrPrObserverSwarm create: globalZone];
...
You can also use your shell to set an alias:
alias model='model -batchmode' for bash, alias model 'model -batchmode'
for tcsh.
Regards,
Anne
On 27 Jul, Laszlo Gulyas wrote:
>
> Well, I was not clear enough. Sorry for that!
>
> If I say '-batchmode', it works. However, I find it awkward to always
> spell it out. Any chance to change the default? (I mean, if there is no
> such a thing as GUI in the model, why am I supposed to specify it
> run-time?)
>
> Sorry, if I am pushing unimportant details...
>
==================================
Swarm-Support is for discussion of the technical details of the day
to day usage of Swarm. For list administration needs (esp.
[un]subscribing), please send a message to <address@hidden>
with "help" in the body of the message.
==================================