Subj : File access - BAJA
To   : Jim King
From : Amcleod
Date : Tue Apr 03 2001 01:37 am

RE: File access - BAJA
BY: Jim King to Amcleod on Tue Apr 03 2001 06:17 am

> PG's examples are helpful, but as I said writing to xtrn.cnf can be
> wreckless if I'm not careful. So I need more info on set_pos
>
> It occurred to me to ask the man his self. I got back..
>         from \sbbs\cnfs.fmt
>    total_xtrns                                     2
>    ...     xtrn->sec                               2
>    ...     xtrn->name                              41
>    ...     xtrn->code                              9
>    ...     xtrn->ar                                41
>    ...     xtrn->run_ar                            41
>    ...     xtrn->type                              1
>    ...     xtrn->misc                              4
>    ...     xtrn->event                             1
>    ...     xtrn->cost                              4
>    ...     xtrn->cmd                               64
>    ...     xtrn->clean                             64
>    ...     xtrn->path                              64
>    ...     unused                                  16
>
> Knowing all this... how would I translate ... say "xtrn->code 9" into a
> fread statement? Using "%!\..\crtl\xtrn.cnf" as the source.

Uhoh!

You will need more than this to be going on with, I fear!  This is only a
_portion_ of the definition of XTRN.CNF and you need to have it all.

Let me get back to you later...

---
� Synchronet � Vertrauen � Home of Synchronet � telnet://vert.synchro.net