Indexed Messages
19 August 2024 | UpdatesIt has been a long time coming, but after a LOT of rejigging bits of the original OBBS code BeeBS now has an indexed message reader. You can display an index of 5 messages at a time using either N or P to navigate through, or R followed by the message number to read an individual message. If you exit out of the message reader but return during the same session it will continue from the last message you read (rather than the newest message). The indexed message reader displays in plain ASCII text too.
The new code relies on using the original OBBS message file pointers (below) to jump around the message file to gather the field data (Name, Subject, To, From and Msg Number) which is then displayed (to save on memory the data is not stored in an array).
When reading messages from a specific board (rather than all messages) BeeBS checks to see if the message is on the current board, if so it will display the message details. If not 1 is either added or subtracted from the message number until the messages board and the current board match.
Unfortunately this can result in long load times for board that have infrequent posts, but as OBBS doesn’t store an index of which message is on which board there is no way to quickly filter this information without reading each message header.