List of the Arachne system files
Warning: Following information have no value for users who want to
setup software just with mouse clicks.
|
|
Main configuraton file ARACHNE.CFG
Expected in: .\ARACHNE.CFG
when not found there: [arachne directory]\ARACHNE.CFG
written always to: [already existing file]
The configuration file can be changed using user friendly
setup pages. It is plain text, human readable file, so advanced
users can modify it.
See list of ARACHNE.CFG keywords.
ARACHNE.BAT, CORE.EXE
Expected in: .\
when not found there: [system path]\
these files are never overwritten by Arachne
CORE.EXE is main executable file of Arachne. It cannot be run standalone,
it must be run from inside of ARACHNE.BAT. Command line arguments
of ARACHNE.BAT will be passed to CORE.EXE.
Command line arguments:
URL | Start with desired document (default protocol is file:)
|
-o | Start in online mode (eg. with Connection @PPP.EXE ...)
|
-x [URL] | Start in fullscreen mode [and display desired document]
|
-s | User have to select video adapter, then go to SETUP.HTM. SETUP.BAT does this.
|
-c | Continue offline browsing (if you use Connection READY, it will force offline mode)
|
-cg | Continue offline browsing without reseting graphics mode (only for internal use of Arachne !)
|
-r | Continue online browsing (eg. with Connection @PPP.EXE ...)
|
-rg | Continue online browsing without reseting graphics mode (only for internal use of Arachne !)
|
-f | Create new font information (FONTINFO.BIN)
|
-u | Unload packet driver (ARACHNE.BAT only)
|
Plug-in configuration file MIME.CFG
Expected in: .\MIME.CFG
when not found there: [arachne directory]\MIME.CFG
this file is never overwritten by Arachne
You must manualy update MIME.CFG each time when you
need to add some plug-in to ARACHNE (for example Java interpreter, VRML
browser, or so ;-). If you want to write your own
DGI application, your installation program should ask
for path to MIME.CFG and update it automaticaly (like other programs are
updating for example AUTOEXEC.BAT and CONFIG.SYS).
Cache index file
User definable filename and location, usually: [arachne directory]\TOHLEUZ.MAM
Cache Index is binary file with following structure:
BinaryRecord
BinaryRecord
BinaryRecord
...
BinaryRecord
BinaryRecord has following structure:
int itemlength;//in this file, always 0x01A8
struct HTTPrecord cacheitem;
And this is prototype of HTTPrecord:
#define URLSIZE 256
struct HTTPrecord
{
char URL[URLSIZE]; // Uniform Resource Locator
int x; // coordinates where the document was last displayed
long y; //
long size; // size in bytes
char knowsize; // logical - size is valid
char mime[STRINGSIZE];// mime type
char locname[80]; // full filename (after conversion to TXT,HTM,GIF,BMP)
char rawname[80]; // full filename (before conversion)
int handle; // file handle
long lastseen; // last seen time
char postflag; // it is result of operation post
};
The Other *.CFG files
usually: [arachne directory]\*.CFG
These are the other configuration files. Their usage usually depends
on ARACHNE.CFG. Don't change them if you don't know what you are doing.
History file
User definable filename and location, usually: [arachne directory]\TADYJSEM.BYL
Plain text file - each line contains one URL. First line must be for some
reasons (mysterious even to the author) empty. Index of current URL is located
in ARACHNE.PCK file.
Runtime configuration file ARACHNE.PCK
Expected in: .\ARACHNE.PCK
when not found there: [arachne directory]\ARACHNE.PCK
written always to: .\ARACHNE.PCK
Run SETUP.BAT if you want to ignore this file and reset Arachne.
This file contains hardware dependent information about your video card !
struct ArachnePick
{
char graphics[16];//last video mode
char GUIstyle; //0-menu on the right side, 1-menu like normal browser
char xSwap; //0-XMS,1-EMS,2-disk
int mousex,mousey,framescount; //mouse x and y, number of frames
char target; //current target
char newframe;
long cachesize; //size of HTTP cache - not yet implemented
int history; //current pointer to history file
};
//there are 7 frames allocated. Each frame have following structure:
struct HTMLframe
{
//general information:
char framename[40]; //target=....
struct HTTPrecord cacheitem;
struct Url baseurl;
//frame size is declared in scrollbar structure:
struct ScrollBar scroll;
//real position in frame, in pixels
int posX;
long posY;
//frame colors:
unsigned char backR,backG,backB;
unsigned char textR,textG,textB;
unsigned char linkR,linkG,linkB;
/* unsigned char vlinkR,vlinkG,vlinkB;*/
int bgindex;
int cgatext;
//ptr to background image:
unsigned backgroundptr; //xSwap pointer
//adr to save posX and posY (in cache)
unsigned writeadr;
//document status: LOCAL/REMOTE/VIRTUAL
unsigned status;
//hidden frames are 1) parent frames 2) overwritten child frames
//if parent is overwritten, this frame should be hidden:
char hidden,parent;
//for virtual screen mechanism:
char usevirtualscreen;
char whichvirtual;
};
//end of frames
GLOBAL.title[80]; //current title
Icon files
Expected always in: [arachne directory]\
Files with extension *.IKN are Arachne icons.
On Arachne online homepage, there is available package MORE_IKN.
It is collection of various *.IKN files, which
can be useful for different file extensions on your hard disk.
This format was originaly used in IBASE image databes.
It's advantage against Windows *.ICO format is, that it contains colour
pallette. All 60x60 *.IKN files were created by me sometimes between
1991 and 1996 for IBASE "Command Center". I included some of them to
Arachne because I had no other idea how to use them ;-)
I don't recommend to publish them on WWW. It's proprietary file format,
usable only in PC enviroment.
However, IKN files can be used in your Intranet *.HTML files,
if you decide to use Arachne as your intranet client.
GIFIKN utility will allow you to customize Arachne toolbar.
It is available to owners of commercial multilicense
(see file REGISTER.HTM.
Font files
Expected always in: [arachne directory]\
FONTINFO.BIN and *.FNT files
are files used by X_LOPIF graphics library.
Currently, there is available free utility TFONTY to convert *.TTF
fonts to *.FNT format (for Windows) and FEDIT utility to edit
*.FNT files (for DOS).
After modifying Arachne FNT files, you have to run arachne -f
to create new font information (file FONTINFO.BIN).
See also details about distribution X_LOPIF
graphics library for C language.
The waste
Can be found on diffent places
Files like *._$B, *.TMP or $ROUTA$.BAT are temporary
and can be deleted when they stay on your hard disk (it can happen when
Arachne crashes). File TEXTAREA.TMP stores last unsubmitted <TEXTAREA>
tag. Extension *.IDX belong to index files - if you delete them,
Arachne and/or plug-ins will create them again.
Return to main help page.