src/sbbs3 logon.cpp 1.59 1.60 pack_qwk.cpp 1.65 1.66 pack_rep.cpp 1.40 1.41 readmsgs.cpp 1.69 1.70 sbbs.h 1.410 1.411 sbbsdefs.h 1.191 1.192 scansubs.cpp 1.18 1.19 text.h 1.18 1.19 text_defaults.c 1.15 1.16
Update of /cvsroot/sbbs/src/sbbs3
In directory cvs:/tmp/cvs-serv30476
Modified Files:
logon.cpp pack_qwk.cpp pack_rep.cpp readmsgs.cpp sbbs.h
sbbsdefs.h scansubs.cpp text.h text_defaults.c
Log Message:
Implemented the SCAN_UNREAD mode bit for scansubs(), scanallsubs(), scanposts(), and listsub(). These functions are exposed in the JS 'bbs' object as scan_subs(), scan_msgs(), and list_msgs().
Wherease previously, all of "your messages" (messages addressed to you)
would be found/displayed if the user answered (Y)es to the "Subjects Only?" prompt, and only un-read message (to you) would be displayed if they answered (N)o to the "Subjects Only?", providing long-standing confusion about the different behavior, now the user is prompted whether to display un-read messages only (in scansubs/scanallsubs), and in the case of the logon
question to "Search all subs for un-read messages to you?", only un-read messages are listed/displayed, regardless of how the user answers the
"Subjects Only?" question.
SCAN_UNREAD is only applicable when combined with SCAN_TOYOU.
Added new commands to the msg reading prompt: 'N' (list new messages), 'U'
list un-read messages to-you.
2 new text.dat entries: DisplayUnreadMessagesOnlyQ and NoMessagesFound
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ
telnet://vert.synchro.net