Subj : src/sbbs3/prntfile.cpp To : Git commit to main/sbbs/master From : Digital Man Date : Sat Dec 05 2020 19:32:24 Re: src/sbbs3/prntfile.cpp By: Rob Swindell to Git commit to main/sbbs/master on Sat Dec 05 2020 07:26 pm > https://gitlab.synchro.net/main/sbbs/-/commit/bba2a9d5f6426be4cec140f8 > Modified Files: > src/sbbs3/prntfile.cpp > Log Message: > Don't print a CRLF in printfile() (called by menu) if no file exists > > printfile() assumes you want the file displayed starting in column 0, so > will send a CRLF to insure that it does (unless the P_NOCRLF mode flag is > specified). But this CRLF printing was happening before the file was opened > and when the P_NOERROR mode flag is specified, this should be a silent > failure with no print output. So move the CRLF printing to *after* the file > is opened. > > This expose an issue in the latest xtrn_sec.js where it makes several calls > to bbs.menu() with the P_NOERROR mode flag set, expecting nothing to happen > if/when the optional display files (e.g. xtrn*_tail.*) don't exist. > > Reported by JC via IRC. Correction: reported by Dan_C. -- digital man Synchronet/BBS Terminology Definition #49: MODEM = Modulator/Demodulator Norco, CA WX: 60.5øF, 22.0% humidity, 0 mph S wind, 0.00 inches rain/24hrs --- SBBSecho 3.11-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .