Re: Booting zte and .txt --> question

Jeff Lee (shipbrk@gate.net)
Wed, 16 Aug 1995 17:33:35 -0400

Rob Miller wrote:
>
>So where do the application tokens `ZTED' and `TXED' come from and
>how does Geos figure out from them what the programs are (`Text Editor'
>is the icon I tap on) and where the programs are located ?

The tokens, and the accompanying numbers, are defined by the programmer.
They can be discovered by using the GEOSDUMP utility, which can be found
at ftp://ftp.biostat.washington.edu/pub/zoomer/geosdump.zip (among other
places).

I'm not sure yet what the numbers mean (perhaps someone with the SDK can
clue us in).

GEOS keeps a token database which, among other things, lets the File Manager
know what icons to use with data files (the first token/number pair in the
filenameTokens lines); I suspect it also cross-references the tokens with
the GEOS apps.

As to how it finds them, I *suspect* that it searches WORLD and its
subdirectories for the file that matches the token in the database,
but this is pure conjecture.

------------------------------------------------------------------------------
Jeff Lee SCA: Lord Godfrey de Shipbrook (Wyvernwood, Trimaris)
shipbrk@gate.net jlee@smylex.tscs.com http://www.gate.net/~shipbrk/

GCS/MU/FA/PA d- s:-- a28 C++++ UA-- P? L E- W++ N++ K+++ w+++(---)$ O+
M V+ !PS PE Y+ PGP- t(++) 5(+) X- R@ tv+ b++ DI++ D++ G e>++ h+ r- y++