Getservinfo is a simple program which extracts info from the serverXX.in and init.srv files and outputs data in a shell readable form. It's meant to simplify writing servers using shell scripts. Here's an example output: SENDER='PE1XYZ' ; export SENDER SUBJECT='test' ; export SUBJECT HOMEBBS='PI8DAZ' ; export HOMEBBS BBSCALL='PE1NTP.#TWE.NLD.EU' ; export BBSCALL SYSTEMDIR='/usr/local/fbb/system/' ; export SYSTEMDIR MAILDIR='/usr/local/fbb/mail/' ; export MAILDIR USERSDIR='*,*,/home/ftp/pub/,*,*,*,*,*' ; export USERSDIR YAPPDIR='/home/ftp/pub/' ; export YAPPDIR DOCSDIR='/home/ftp/pub/' ; export DOCSDIR SYSOPCALL='PE1NTP' ; export SYSOPCALL MAILIN='mail.in' ; export MAILIN the serverXX.in file looked like this: SP BLAH < PE1XYZ test R:961212/1234Z @PI8DAZ /EX A simple example for a server: -------------------------- #!/bin/sh eval `getservinfo` ( echo "SP $SENDER @ $HOMEBBS" echo "Re: $SUBJECT" echo "Hello world!" echo "/EX" ) >> $MAILIN -------------------------- I've included 4 servers in the getservinfo package: * 7PREQ - Request binary files, encoded in 7+ (you can rename it to 7PSERV, AUTO7P, whatever) * REQFIL - Request text files * REQDIR - Request directories * REQZIP - Request text files - reply will be in ZIP/7+ They all take the users dir from $YAPPDIR (yappdir, docsdir and usersdir are all the same here). They do not accept drive letters (he, this is Linux :-) They all look for the file $XFBBDIR/servers.info and if it exists append it to the output. It could look like this: Available servers at PE1NTP: 7PSERV, MLIST, REDIST, REQCFG, REQDIR, REQFIL, REQLST, REQZIP, WP All files should be install in $XFBBDIR/bin/ Getservinfo (and more) is available at http://www.xs4all.nl/~tyz/fbb/ Regards, Mathijs PE1NTP@PI8DAZ.#TWE.NLD.EU || tyz@xs4all.nl