home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 2 BBS
/
02-BBS.zip
/
RENUM.ZIP
/
RENUM.DOC
< prev
next >
Wrap
Text File
|
1991-09-10
|
3KB
|
73 lines
RENUM
Yet Another Renum...
I got tired of sorting through all the different versions that are
available, so I wrote my own in the hopes that it could do everything I
wanted it to do.
This program is a Family mode or "Bound" executable. That means the same
.EXE runs under DOS and OS/2 the same way.
This program uses the -N switch in the same way that Bob Hartman's RENUM
does. You have to specify both numbers if you use -N. The first is the
number of low messages to preserve. Typically, you'll want to just use 1
to keep your highwater marker. The second is the maximum number of
messages to leave in the area. I normally use -N 1 100. If you don't use
-N, no messages will be deleted.
There's no -R switch like in Bob Hartman's program - this is the default
way the program works. In other words, the program always renumbers
messages into sequenced order with no "gaps".
This program NEVER deals with the dates of messages. It makes things
complicated, it locks up computers, I don't use it, so I kept it simple and
left it out.
This program NEVER deals with message attributes (although it easily
could). If you want to kill messages that are received or sent, you'll
have to do your own twiddling with the 'info.attrib' word.
This program deals with any flavor of LASTREAD file (including those with
multiple entries), the Maximus LASTREAD.BBS file (containing lastread
pointers for all the users), and the Opus LREAD.DAT file (used first in
version 1.70). If you don't have these files, that's no problem, the
program will skip them without complaining.
This program does NOT deal with user lastread pointers in a user list. It
could be modified to do so fairly easily, though...
Source code is provided for your entertainment. If you break it, you're
the owner of all the pieces. If you do something good to it, send me a
copy. Don't pass around modified copies, either in source or executable
form without my permission. Don't sell it.
-Ron Bemis
1:124/1113
214-231-3841
V1.0 Initial release for LASTREAD, LASTREAD.BBS files.
V1.1 Added capability of handling Opus 1.70's LREAD.DAT files.
V1.2 Added capability to process multiple areas with one command.
Example:
RENUM C:\MSG\NOTES -n 1 15 C:\MSG\BAD_MSGS
This example will renumber the "notes" area into sequential order,
and will ensure that only 15 messages remain in "bad_msgs".
Added capability to process all areas in the AREAS.BBS (or equivalent)
file.
Example:
RENUM -n 1 100 +\BINK\AREAS.BBS -n 1 15 C:\MSG\BAD_MSGS C:\MSG\JUNK
This will renumber all listed areas down to 100 messages, then remove
all but 15 messages in "bad_msgs" and "junk".
V1.3 Bug Fix