TPK121 By F1RZN (c) 1996

Hi there,

I know that some of you have experienced troubles with the /info server,
so here is what you must do !
First of all,make sure info.Exe is in your TPK directory.
Then you must edit the file info.Cfg (it should be distributed along with
info.Exe ...In servers.Zip if I remember well)
Then in this file replace the sub-directory which is after the "path"
command by the subdirectory for outgoing files (files which can be
Accessed through remote commands) ...If you don't remember or if you
aren't sure then look in TPK.Cfg (the original one,given with TPK 1.82 )
for the line number 85...

Here is the actual text you're looking for,and the directory you need to
put in info.Cfg :

# repertoire d'envoi de fichiers (commandes distantes)
# si ce parametre n'est pas vide le systeme est ferme
# les commandes /dir /disk /free /send n'accederont qu'a ce repertoire
# directory of outgoing files (remote commands)
# if this parameter is not empty the system is closed.
# the commands /dir /disk /free /send have access only to this directory.
# whichever directory is right above :that's the one !

Then put your info.000,info.001,....,info.Nnn files in this directory.
If you don't put them in this directory,even if info.Cfg is ok then
/info will probably not work ! so be sure that the directory where your
info.Nnn files are is the directory in TPK.Cfg .

...These info files don't have to be in any special format or whatever...
Just plain text and they can be created with any text editor (the dos
edit command will do just fine).

Remember that info.000 will be sent when someone sends a /info to you,
info.001 will be sent when /info 001 is sent and so on...

And last but not least (!) you must authorise the info command as a
remote command in the file named execauto.TPK.
For doing this,add at the end of it the following lines:

After the line with "1" you must have 2 blank lines = you must hit twice
the return key when the cursor is on the line with "1".
...These lines must be empty but they must exist...If the
File ends at the line right after the "1" then info might not work at all.

This will authorise info as a remote command and will swapp the receive
buffer to whatever is configured using the sw command (you should put
sw on xms in your config.TPK if you have xms memory available on your pc ).

The 2 empty lines will make sure that any parameter is authorised to
be sent after the /info command (ie: /info 001 ...) for this remote
command that's what you want to do...

If you want more informations about remote commands read TPK091

Once this is done,servinfo doesn't need much more...Put it in your TPK
directory and in config.TPK put the line:
Br rxmsg se \TPK\servinfo.Exe
Assuming that \TPK is your main TPK directory of course !!
...Ho ! And there is a servinfo.Cfg too !

But it appears that as long as the files are in the right directory,
info.Cfg and servinfo.Cfg 's contents won't matter too much...Anyway,
if it doesn't work,put these right too (as explained above).

Servinfo will reply to any (personnal) message containing /info in it's
title and will send back the matching file to the sender of the message.
(it will send info.000 if /info is in the title,info.001 if /info 001
is in the title and so on...Like info.Exe but through messages instead of
sending back the file "live" while someone is connected...It allows to get
informations about a remote station you can't reach by any other mean than
sending a message through the bbs network.

Back to info:there's another way to deal with it...If you want to put
your info text files in another directory (let's say it's c:\TPK\info)
then write info.Cfg as explained above but before you start TPK type
append c:\TPK\info
Then to free the memory taken up by the command,once you're done with TPK
type :
Append ;
You can also do this by starting TPK through a batch file...It would then
look like: @echo off
Append c:\TPK\info
Append ;
Rem end of file

...This is if your TPK directory is c:\TPK ,of course.

If you want more info about batch files read your dos manual or
Type the help command from the dos prompt (fairly recent versions only).

The only difference when you do this is that you don't have to put your
TPK files in the "outgoing directory".

Ok,now that's enough for info...73 de chris_f1rzn

Back to main menu.