home *** CD-ROM | disk | FTP | other *** search
/ Crawly Crypt Collection 1 / crawlyvol1.bin / bbs / citadel2 / archive.doc < prev    next >
Text File  |  1989-12-01  |  4KB  |  74 lines

  1. Archive Feature (available as of Commands version 29.101 86Aug02)
  2.  
  3.    An interest has been expressed recently in giving Citadel the ability to
  4. automatically maintain, in some way, a record of conversations that are
  5. held.  This has been motivated by the CitaBook project, story-telling, and
  6. other subjects that have, for one reason or another, given the system
  7. operator reason to pause, think, and wish to save those messages in a far
  8. more permanent form than as a C-86 message, which will inevitably scroll.
  9.  
  10.    The first attempt at such an ability was the EXTRACT utility.  Crappily
  11. written, an awkward user interface, and being an independent utility
  12. all contributed to it being spat upon by all who used it (including the
  13. author).
  14.  
  15.    The second attempt, which is itself recent as of this date, was essentially
  16. the integration of EXTRACT into CTDL.EXE.  This feature was restricted to
  17. aides at the sysConsole, and was accessed in a way similar to the manner
  18. in which messages are deleted.    The aide would hit <P>ause during the printout
  19. of the message to be extracted.  Then the aide would hit J, for Journal, to
  20. restart the message (to Delete a message, the aide would hit D).  At the
  21. end of the message, Citadel would ask for the file to store the message under.
  22. This is (I think) a very useful ability, and seems to work well.
  23.  
  24.    Still, it boils down to a lot of manual labor; it's only convenient for
  25. single messages.  What if the sysop wants to record an entire room on disk, on
  26. an ongoing basis?
  27.  
  28.    Therefore, Citadel now has the ability to maintain just such a textfile
  29. on disk. Called (for the time being) the Archive feature, it allows the sysop
  30. to designate virtually any room to be an Archive room.    Such a room then
  31. will have a filename associated with it.  Within the file of that name, each
  32. and every message that is entered into that room will also be recorded in
  33. MS-DOS textfile format.
  34.  
  35.  PROCEDURE:
  36.    The procedure to designate a room as Archive is to simply edit the room
  37. (note that this automatically excludes Aide>, Mail>, and the baseRoom as
  38. Archive rooms).  One of the questions that you will encounter will concern
  39. Archive status of the room. If you answer yes, the system will do one of two
  40. things:
  41.  
  42.  A) If the room was not an Archive room before, it'll ask for a filename to
  43. associate with the room.
  44.  B) If it was already an Archive room, it'll just assume that the filename
  45. should remain the same, and not bother you further about Archive stuff.
  46.  
  47.    If it does ask for filename, the filename that you should type in can be
  48. located anywhere in the system that you desire.  Once you have typed it
  49. in, Citadel will attempt to archive all the messages that are currently in
  50. the room (message numbers will be spewed out at this point to reassure you
  51. that there is* method in Citadel's madness).
  52.  
  53.    An Archive room puts each new message into the Archive file when it is
  54. initially entered into the room (note that Aide actions, such as deleting
  55. the message later, does not affect the Archive file).
  56.  
  57.  CONSIDERATIONS:
  58.    This feature is recommended only for high-performance systems, particularly
  59. those with fairly fast hard disks, since each message is, in effect, saved
  60. twice.    Furthermore, since active rooms will result in very fast file growth,
  61. close tabs should be kept on disk free space by the sysop.
  62.  
  63.  NOTES:
  64.    This is all Torkildson's fault.
  65.    The filenames are stored in the new .SYS file CTDLARCH.SYS file.  This file
  66. is unique in the respect that it is a human readable text file. Each Archive
  67. room on the system will have an entry in this file, in the following format:
  68.  
  69.  <room#><space><full-filespec>
  70.  
  71.    Thus, if the sysop wants to modify what file to store the Archive data in
  72. without going through the hassle of editing the room twice (see above), s/he
  73. can whip out their handy-dandy text editor, and fix it right then and there.
  74.