Message-ID: <3A75A295.4847DE09@csi.com>
Date: Mon, 29 Jan 2001 12:04:21 -0500
From: John Colagioia <JColagioia@csi.com>
Organization: No Conspiracy Here...
X-Mailer: Mozilla 4.76 [en] (Win98; U)
X-Accept-Language: en,fr,ru,es,it,ga,de,ja,gd,eu
MIME-Version: 1.0
Newsgroups: rec.arts.int-fiction
Subject: Re: [INFORM] Updating statusline in real-time?
References: <vuovgr0z1wi.fsf@csa.bu.edu>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: jcolagioia.krusty.portasystems.com
X-Original-NNTP-Posting-Host: jcolagioia.krusty.portasystems.com
X-Trace: 29 Jan 2001 11:56:55 EST, jcolagioia.krusty.portasystems.com
Lines: 23
X-Authenticated-User: jnc
Path: news.duke.edu!newsgate.duke.edu!solaris.cc.vt.edu!news.vt.edu!feed2.onemain.com!feed1.onemain.com!uunet!dca.uu.net!nyc.uu.net!excalibur.gbmtech.net
Xref: news.duke.edu rec.arts.int-fiction:82770

Emerick Rogul wrote:

> Hi,
> Is it possible to update the statusline in real-time in Inform?  I
> have a clock that's ticking off minutes in real-time and it's
> displayed in the statusline via "Statusline time;".  That much is
> working fine, but my statusline only gets updated after the user
> enters a command.  I'd prefer to see the time change in the statusline
> even if the user isn't currently entering a command.
>
> I thought this was how Infocom's Borderzone worked, but I may be
> misremembering.

It's definitely possible.  I haven't done it myself, exactly, but Graham
Nelson provided "Time and Dwarves" way back when to show off the real-time
capabilities:
    http://www.ifarchive.org/if-archive/games/source/inform/Time.inf
You'd have to shift the changes to operate on the status line, but (and he
says this because he doesn't have to do it) "that shouldn't be too hard."

Good luck.


