home *** CD-ROM | disk | FTP | other *** search
-
- 92-01-13 Claes Boström.
- ---------------------------------------------------------------------
- SBBSHead 1.00 (C)1992 Claes Boström.
- ---------------------------------------------------------------------
- ▄███▄ ████▄ ████▄ ▄███▄ ██▐█▌▐███▌▐████▌ ████▄ ██ ▄███▄ ▄███▄
- ███ █ ██▐██ ██▐██ ███ █ ██▐█▌▐█▌ ▐██▐█▌ ██▐██ ███ ██▐██ ██▐██
- ▐██▌ ████▀ ████▀ ▐██▌ ████▌▐██▌ ▐████▌ ██▐██ ██ ██▐██ ██▐██
- ▐██▌ ████▄ ████▄ ▐██▌ ████▌▐██▌ ▐████▌ ██▐██ ██ ██▐██ ██▐██
- █ ███ ██▐██ ██▐██ █ ███ ██▐█▌▐█▌ ▐██▐█▌ ██▐██ ██ ██▐██ ██▐██
- ▀███▀ ████▀ ████▀ ▀███▀ ██▐█▌▐███▌▐██▐█▌ ████▀ ▄██▄ ██ ▀███▀ ▀███▀
- ---------------------------------------------------------------------
- SBBSHead 1.00 (C)1992 Claes Boström.
- ---------------------------------------------------------------------
-
-
-
- SBBSHEAD is a small utility that's makes a small 'head' in
- your FILES.BBS. This head holds valuable information about
- your fileareas and presents this information to your users.
-
-
-
- The program SBBSHEAD.EXE and this documentation is copyright
- by Claes Boström. Both are released as public domain. Any one
- may use it, copy it, spread it and so on.... but no one may
- change the program or this documentation in any way.
- Claes Boström still ownes the copyright to the program and
- the documentation.
-
- Permission granted to copy for non-commercial uses only.
- All other rights retained.
-
- Claes Boström specifically disclaims all warranties, expressed
- or implied, including but not limited to, implied warranties of
- merchantability and fitness for any particular purpose. In no
- event shall Claes Boström be liable for any loss of profit or
- any other commercial damage, including but not limited to
- special, incidental, consequential or other damages.
-
- If you find this software useful, send me a postcard to the
- following adress:
- Claes Boström, Lövåsvägen 11, 440 42 Alafors, Sweden.
- In this way, i can see how the program is spread across
- the world.... :-)
-
-
-
- IMPORTANT NOTICE !
- As always, take a backup before testing new software on your
- computer. In this case it is rather simple. Since the program
- only operates on the files called FILES.BBS in your directories
- for the file-base, use PKZIP or another packer to make an backup.
- Example here is for PKZIP. Make the root the current directory
- and zip all FILES.BBS into a single file.
- Example: PKZIP -r -p YOURNAME FILES.BBS
- This searches all directories on the disk for your FILES.BBS and
- pack's them into one file. Now you have a backup-file in the root.
- To unpack it: PKUNZIP -d YOURNAME and you have your original
- files back.
-
-
-
- This is the basic layout of SBBShead. It holds and displays the
- current information.
-
- * Name of file-area.
- * Securitylevel of that area.
- * How many files (excluding FILES.BBS and FILES.OLD) and how
- many bytes they are.
- * If they can DownLoad from this area.
- * It they have your permission to UpLoad to this area.
- * And, what age that are required to DownLoad from this area.
-
- Here are a the layout as it looks like in FILES.BBS.
- ╔═(SBBSHead 1.00 )══════════════════════════════════════════════════════════╗
- ║ SuperBBS Support-files, (C) THE BBS Seclvl: 1000 ║
- ╟────────────┬─────────────────┬─────────────────┬───────────────┬──────────╢
- ║ 3 files │ 18148 bytes │ DownLoad is ON │ UpLoad is OFF │ Age:Free ║
- ╚════════════╧═════════════════╧═════════════════╧═══════════════╧══════════╝
-
-
-
- Just put the program in any directory you want to.
- The program tries to find the needing files from the
- environment variable 'SBBS'. If you don't use it (required
- if you run SuperBBS Ver 1.12 or above) put the following
- statement in your AUTOEXEC.BAT-file.
- SET SBBS=<PATH to there you have the SuperBBS system-files>.
- Example is: SET SBBS=C:\BBS;
-
- If you are afraid of testing it, simply run the program
- with the following parameter, -1. (SBBSHEAD -1 ). The
- program only runs for the first area in your system
- (area number 1 from FLSEARCH.BBS) and creates the head
- in your FILES.BBS for that area. This is a simple way
- of testing that the software is able to run on your machine
- and that it does not destroys anything for you.
-
- The program works in this way. First it opens up the file
- FLSEARCH.BBS there the information about all file areas
- and their directories are located.
- For every file-area it finds it reads the FILES.BBS
- from that directory and copies it to memory. Then it
- makes a backup of that file in the same directory, this
- backup-file is named FILES.OLD. (So if anything goes wrong
- you should at least have a backup of your FILES.BBS).
- After that it retrieves information about the directory
- (Number of files and their filesizes).
- Then it creates the new FILES.BBS in the same directory.
- Then it writes the SBBSHead at top of that file. After that
- it reads information from the FILES.BBS in memory and puts t
- hat information into FILES.BBS at the disk.
- Under this part of the job it makes _ONE_ very
- important thing. In the first 800 bytes from the file
- in memory (the 10 first rows from FILES.BBS) it tries
- to find the ascii-chars 188, 189, 190 and 217 (╝,╜,╛,┘).
- If it finds any of theese it assumes that this is the
- end of the OLD SBBShead. From that point on it copies from
- memory to the FILES.BBS. So if you have been running
- other software that has an other layot of the 'head',
- you might need to edit the file afterwards.
-
-
-
- 91-11-23 1.00α Created first time.
- 91-12-23 1.00ß Removed 350-line limit and fixed some text.
- 91-11-25 1.00Γ Fixed a bug concerning other XXXXHEAD.
- 92-01-13 1.00 Official release. Completely rewrote the program
- to be more safe then handling the backup-files.
- Thank's Mikael Hugo, DataPhone BBS +46 8 269840,HST DS
- for testing this release.
-
- 92-01-13 Claes Boström. THE BBS, +46 303 42364, 1200-HST+, 24 H
-
-
-