Skip to content
Snippets Groups Projects
Commit 6e48a351 authored by rswindell's avatar rswindell
Browse files

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().
parent 0d51d960
No related branches found
No related tags found
No related merge requests found
......@@ -565,14 +565,17 @@ var TELNET_MODE_OFF =(1<<3); /* Not a telnet connection */
/********************************************/
/********************************************/
/* Bits in mode of bbs.scan_posts() */
/* Bits in mode of bbs.scan_subs() */
/* bbs.scan_msgs() */
/* and bbs.list_msgs() */
/********************************************/
var SCAN_READ =0; /* Just normal read prompt */
var SCAN_READ =0; /* Just normal read prompt (all messages) */
var SCAN_CONST =(1<<0); /* Continuous message scanning */
var SCAN_NEW =(1<<1); /* New scanning */
var SCAN_BACK =(1<<2); /* Scan the last message if no new */
var SCAN_TOYOU =(1<<3); /* Scan for messages to you */
var SCAN_FIND =(1<<4); /* Scan for text in messages */
var SCAN_NEW =(1<<1); /* Display messages newer than pointer */
var SCAN_BACK =(1<<2); /* Display most recent message if none new */
var SCAN_TOYOU =(1<<3); /* Display messages to you only */
var SCAN_FIND =(1<<4); /* Find text in messages */
var SCAN_UNREAD =(1<<5); /* Display un-read messages to you only */
/********************************************/
/********************************************/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment