TID: PX/Win v7.0 PX98-1008M
MSGID: 1:342/200 9c1d880e
TZUTC: -0600
Path: eternal-september.org!news.eternal-september.org!feeder3.e
ernal-september.org!tncsrv06.tnetconsulting.net!usenet.blueworld
osting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpr
ss.com!tr1.iad1.usenetexpress.com!peer03.iad!feed-me.highwinds-m
dia.com!news.highwinds-media.com!fx14.iad.POSTED!not-for-mail
From: "Digital Man"
Subject: A couple of questions
Message-ID: <661594B2.51571.sync@vert.synchro.net>
X-Comment-To: Nightfox
Organization: Vertrauen
Newsgroups: alt.bbs.synchronet
In-Reply-To: <66158E90.51569.sync@vert.synchro.net>
References: <66158E90.51569.sync@vert.synchro.net>
X-FTN-PID: Synchronet 3.20a-Win32 master/8108e0cd9 Apr 08 202 MSC 1916
X-FTN-MSGID: 51571.sync@1:103/705 2a7b9425
X-FTN-REPLY: 51569.sync@1:103/705 2a7b8e01
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
X-Gateway: vert.synchro.net [Synchronet 3.20a-Linux NewsLink 1.114]
Lines: 28
X-Complaints-To: https://www.astraweb.com/aup
NNTP-Posting-Date: Tue, 09 Apr 2024 19:19:17 UTC
Date: Tue, 9 Apr 2024 12:19:14 -0700
X-Received-Bytes: 2763
Xref: news.eternal-september.org alt.bbs.synchronet:39196
To: Nightfox
Re: A couple of questions
By: Digital Man to Nightfox on Tue Apr 09 2024 11:53 am
> i.e. in Synchronet (like WWIV before it), if you perform successive "new
> file scans" during the same "call" (logon), you'll see the same new files
> (unless any new files were uploaded during the call, and then you'd see them
> too). Synchronet has always worked this way:
> https://synchro.net/docs/user.html#NewFileScan
Correction to that document though:
"New File Scan (N)
N from the File Transfer prompt lists all new files uploaded since your last
logon."
The "since your last logon" part was actually changed to "since your last scan
during your last logon" at some point in SBBS v2.
Synchronet, internally, updates a value (sbbs_t::last_ns_time which is exposed
in JS as bbs.last_new_file_time) every time the user scans for new files. When
the user logs-off, that value is stored in the user's "last new file scan"
field (in JS, that's user.new_file_time). When the user logs back on, the
sbbs_t::ns_time (in JS, bbs.new_file_time) is set to the user.new_file_time,
but also may be adjusted by the user while online, and that value
(bbs.new_file_time) is what's used as the comparison date/time stamp to
determine what files are "new".
If you're writing your own "new file scan" mod, your mod would need to update
the bbs.last_new_file_time value to the current date/time every time a user
scans for new files. The storing of the last_new_file_time to the user's
'new_file_time' field/property is handled automatically by SBBS upon log-off.
--
digital man (rob)
Breaking Bad quote #28:
Gomey, got beat your pinata. - Hank Schrader
Norco, CA WX: 76.0øF, 16.0% humidity, 7 mph WNW wind, 0.00 inches rain/24hrs
--- Synchronet 3.20a-Linux NewsLink 1.114
* Vertrauen - Riverside County, California - telnet://vert.synchro.net
* Origin: Joe's BBS (1:342/200)
SEEN-BY: 15/0 90/1 105/81 106/201 128/260 129/305 135/220 225 153/7715
SEEN-BY: 218/700 226/30 227/114 229/110 112 113 206 317 426 428 470
SEEN-BY: 229/550 664 700 266/512 282/1038 291/111 292/854 320/219
SEEN-BY: 322/757 342/200 201 396/45 460/58 633/280 712/848 5075/35
PATH: 342/200 229/426
|